/* symos.de – Gestaltung nach dem Vorbild schauertegmbh.de (Entscheidung 13 vom 18.09.2026),
   seit 20.09.2026 in der Anmutung „In Bewegung“ (Entscheidung 27): weißer Grund, feine Linien statt
   Schatten, keine Grauflächen, leichte Bewegung (Zoom auf dem Startbild, Laufband, hochzählende
   Kennzahlen, einblendende Kacheln). Bei „reduzierter Bewegung“ im System steht alles still.
   helles, klassisches Design – marineblaue Kopf- und Fußzeile, Foto in voller Breite oben,
   blaue Überschriften (Exo 2), Fließtext in Roboto, kantige blaue Knöpfe, hellgraue Bänder,
   kurze blaue Trennlinien zwischen den Abschnitten. Hauptfarbe ist das symos-Blau #36638a.
   Keine Scroll-Effekte; das Skript kümmert sich nur um Menü und Galerien. */

/* ---------------------------------------------------------------- Schriften (lokal, SIL Open Font License) */

@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/schriften/exo2.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/schriften/exo2-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/schriften/roboto.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/schriften/roboto-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------------- Grundwerte */

:root {
  --blau: #36638a;            /* symos-Blau (Logo, alte Seite) */
  --blau-dunkel: #284c6b;
  --blau-hell: #e9f0f6;
  --marine: #1d2d3d;          /* Kopf- und Fußzeile */
  --marine-hell: #2a4257;
  --text: #333333;
  --text-leise: #5d636a;
  --titel-grau: #3f444b;      /* Unterzeilen wie beim Vorbild */
  --pastell: #eef4fa;         /* Flächen (Fakten, Kontaktbox, Instagram-Streifen) – statt Grau */
  --grau: #f2f3f3;            /* nur noch Platzhalter hinter ladenden Bildern */
  --linie: #dfe6ec;
  --rand: 1px solid var(--linie);   /* feine Linie statt Schatten */
  --weiss: #ffffff;
  --seite: clamp(20px, 5vw, 64px);
  --rahmen: 1200px;
  --schrift: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --schrift-titel: "Exo 2", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--weiss); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  text-wrap: pretty;
}

img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
::selection { background: rgba(54, 99, 138, .25); }

h1, h2, h3, h4 { font-family: var(--schrift-titel); line-height: 1.15; margin: 0 0 .5em; color: var(--blau); text-wrap: balance; }
h1 { font-size: clamp(30px, 2.4vw + 16px, 44px); font-weight: 700; }
h2 { font-size: clamp(27px, 2vw + 14px, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 1vw + 14px, 25px); font-weight: 500; color: var(--titel-grau); }
p { margin: 0 0 1em; }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprunglink { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--marine); color: var(--weiss); padding: 10px 16px; }
.sprunglink:focus { top: 12px; color: var(--weiss); }

.rahmen { max-width: var(--rahmen); margin-inline: auto; padding-inline: var(--seite); }
.rahmen--text { max-width: calc(860px + 2 * var(--seite)); }

.untertitel { font-family: var(--schrift-titel); font-weight: 300; font-size: clamp(20px, 1.2vw + 12px, 26px); color: var(--titel-grau); margin: 0 0 1.2em; }
.klein { font-size: .9rem; color: var(--text-leise); }

/* ---------------------------------------------------------------- Knöpfe und Links */

.knopf {
  display: inline-block; padding: 12px 28px; border: 2px solid var(--blau); border-radius: 0;
  background: var(--blau); color: var(--weiss); font-family: var(--schrift); font-weight: 500; font-size: 16px;
  text-decoration: none; line-height: 1.3; transition: background .15s, border-color .15s, color .15s;
}
.knopf:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: var(--weiss); }
.knopf--umriss { background: transparent; color: var(--blau); }
.knopf--umriss:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.knopf--hell { background: var(--weiss); border-color: var(--weiss); color: var(--blau); }
.knopf--hell:hover { background: var(--blau-hell); border-color: var(--blau-hell); color: var(--blau-dunkel); }
.knopf--umriss-hell { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--weiss); }
.knopf--umriss-hell:hover { background: rgba(255, 255, 255, .12); border-color: var(--weiss); color: var(--weiss); }
.knopf__zusatz { font-weight: 400; opacity: .8; }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.pfeillink { font-weight: 500; text-decoration: none; }
.pfeillink::after { content: " →"; }
.pfeillink:hover { text-decoration: underline; }
.linkliste { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 8px; }

/* Wortmarke: vier Punkte, "symos", ein Punkt (hell, für dunklen Grund) */
.logo { height: 100%; width: auto; display: block; overflow: visible; }
.logo circle { fill: #9ec3e6; }
.logo text { font: 700 36px var(--schrift); fill: var(--weiss); letter-spacing: -.01em; }

/* ---------------------------------------------------------------- Kopf */

.kopf { position: sticky; top: 0; z-index: 50; background: var(--marine); color: var(--weiss); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding-block: 14px; }
.kopf__logo { display: flex; align-items: center; height: 30px; }
.kopf__schalter { display: none; }

.nav__liste, .nav__unterliste { list-style: none; margin: 0; padding: 0; }
.nav__liste { display: flex; gap: clamp(8px, 2vw, 28px); }
.nav__punkt { position: relative; }
.nav__punkt > a {
  display: block; padding: 10px 4px; color: rgba(255, 255, 255, .88); text-decoration: none;
  font-family: var(--schrift-titel); font-weight: 500; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav__punkt > a:hover, .nav__punkt > a.ist-aktiv, .nav__punkt > a[aria-current] { color: var(--weiss); border-bottom-color: #9ec3e6; }
.nav__unterliste {
  position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px 0;
  background: var(--marine-hell); border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__punkt:hover > .nav__unterliste, .nav__punkt:focus-within > .nav__unterliste { opacity: 1; visibility: visible; transform: none; }
.nav__unterliste a { display: block; padding: 9px 18px; color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 16px; }
.nav__unterliste a:hover { background: var(--blau); color: var(--weiss); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav__sozial { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.nav__sozial a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: rgba(255, 255, 255, .88); }
.nav__sozial a:hover { color: var(--weiss); }
.symbol { display: block; }
.fuss__sozial { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }

@media (max-width: 899px) {
  .kopf__innen { min-height: 72px; flex-wrap: wrap; }
  .kopf__logo { height: 24px; }
  .kopf__schalter {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: none; border: 1px solid rgba(255, 255, 255, .35); cursor: pointer;
  }
  .kopf__schalter-symbol, .kopf__schalter-symbol::before, .kopf__schalter-symbol::after {
    display: block; width: 22px; height: 2px; background: var(--weiss); transition: transform .2s, opacity .2s;
  }
  .kopf__schalter-symbol { position: relative; }
  .kopf__schalter-symbol::before, .kopf__schalter-symbol::after { content: ""; position: absolute; left: 0; }
  .kopf__schalter-symbol::before { top: -7px; }
  .kopf__schalter-symbol::after { top: 7px; }
  .kopf__schalter[aria-expanded="true"] .kopf__schalter-symbol { background: transparent; }
  .kopf__schalter[aria-expanded="true"] .kopf__schalter-symbol::before { transform: translateY(7px) rotate(45deg); }
  .kopf__schalter[aria-expanded="true"] .kopf__schalter-symbol::after { transform: translateY(-7px) rotate(-45deg); }

  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__sozial { padding: 4px 0 12px; }
  /* Ohne JavaScript bleibt das Menü sichtbar; mit JavaScript klappt es ein. */
  .js .nav { display: none; }
  .js .nav.ist-offen { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav__liste { flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding: 6px 0 12px; }
  .nav__punkt > a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav__unterliste { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 6px; min-width: 0; }
  .nav__unterliste a { padding: 9px 20px; font-size: 15px; }
}

/* ---------------------------------------------------------------- Bühne (Startseite): Foto in voller Breite, darauf Text und zwei Knöpfe */

.buehne { position: relative; isolation: isolate; color: var(--weiss); background: var(--marine); }
.buehne__bild { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.buehne__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
/* Das Foto zoomt nach dem Laden langsam heran (einmalig, 14 s) */
@keyframes buehne-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.buehne__bild img { transform-origin: center; animation: buehne-zoom 14s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { .buehne__bild img { animation: none; } }
.statisch .buehne__bild img { animation: none; }
.buehne__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29, 45, 61, .9) 0%, rgba(29, 45, 61, .66) 45%, rgba(29, 45, 61, .18) 100%);
}
.buehne__innen { padding-block: clamp(72px, 12vw, 170px); }
.buehne h1 { color: var(--weiss); max-width: 18ch; font-size: clamp(32px, 3vw + 14px, 54px); }
.buehne__text { max-width: 52ch; font-size: clamp(16px, 1.1vw + 10px, 19px); line-height: 1.6; color: #e3ebf1; margin: 0; }
.buehne__knoepfe { margin-top: 30px; }
.buehne .knopf { border-color: var(--weiss); background: var(--weiss); color: var(--blau); }
.buehne .knopf:hover { background: var(--blau-hell); border-color: var(--blau-hell); color: var(--blau-dunkel); }
.buehne .knopf--umriss-hell { background: transparent; border-color: rgba(255, 255, 255, .75); color: var(--weiss); }
.buehne .knopf--umriss-hell:hover { background: rgba(255, 255, 255, .14); border-color: var(--weiss); color: var(--weiss); }
@media (max-width: 700px) { .buehne__bild::after { background: linear-gradient(180deg, rgba(29, 45, 61, .55) 0%, rgba(29, 45, 61, .85) 100%); } }
/* Unterseiten mit Überschrift auf dem Bild: Text unten, Verlauf von unten, damit Gesichter oben frei bleiben.
   Höhere Bühne (Entscheidung 31): mehr vom Foto sichtbar, die Überschrift rückt unter die Personen. */
.buehne--seite .buehne__innen { padding-top: clamp(150px, 34vw, 440px); padding-bottom: clamp(36px, 5vw, 64px); }
.buehne--seite .buehne__bild::after { background: linear-gradient(180deg, rgba(29, 45, 61, .08) 0%, rgba(29, 45, 61, .3) 45%, rgba(29, 45, 61, .88) 100%); }
.buehne--seite h1 { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); margin-bottom: .3em; }
.buehne--seite .buehne__knoepfe { margin-top: 18px; }
.buehne__bild--oben img { object-position: center 20%; }
.buehne__bild--mitte img { object-position: center 50%; }

/* ---------------------------------------------------------------- Abschnitte */

.abschnitt { padding-block: clamp(44px, 6vw, 80px); }
/* Trennelement über einem Abschnitt: die fünf Logo-Punkte als Ringe (Entscheidung 20). Ohne Skript
   gefüllt; mit Skript füllen sie sich, je weiter der Abschnitt ins Bild rückt. */
.trenner { margin: 0 0 clamp(28px, 4vw, 44px); }
.trenner svg { display: block; overflow: visible; }
.trenner__ring { fill: var(--blau); stroke: var(--blau); stroke-width: 2.5; transition: fill .4s; }
.js .trenner__ring { fill: var(--weiss); }
.js .trenner__ring.ist-voll { fill: var(--blau); }
.abschnitt--eng { padding-top: clamp(24px, 3vw, 40px); }

.band { background: var(--weiss); border-bottom: var(--rand); padding-block: clamp(40px, 5vw, 64px); }

/* Laufband unter der Bühne: die Liste steht viermal hintereinander, die Schleife verschiebt um die Hälfte
   und ist so nahtlos; die Kopien sind für Vorleseprogramme verborgen. Zeigen: hält an; reduzierte
   Bewegung: steht umbrechend still, nur die erste Kopie. */
@keyframes laufband { to { transform: translateX(-50%); } }
.laufband { overflow: hidden; border-bottom: var(--rand); padding-block: 12px; }
.laufband__spur { display: flex; width: max-content; animation: laufband 40s linear infinite; }
.laufband:hover .laufband__spur, .laufband:focus-within .laufband__spur { animation-play-state: paused; }
.laufband ul { display: flex; list-style: none; margin: 0; padding: 0; }
.laufband li {
  white-space: nowrap; padding: 0 12px; font-family: var(--schrift-titel); font-weight: 600; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blau);
}
.laufband li { padding: 0 16px; }
.laufband li::after { content: "·"; margin-left: 32px; color: var(--blau); opacity: .4; }
@media (prefers-reduced-motion: reduce) {
  .laufband__spur { animation: none; width: auto; }
  .laufband ul { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .laufband ul[aria-hidden] { display: none; }
}
/* dasselbe für "?statisch" (Vorschaubilder); die Klasse setzt site.js */
.statisch .laufband__spur { animation: none; width: auto; }
.statisch .laufband ul { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
.statisch .laufband ul[aria-hidden] { display: none; }
.statisch .laufband li:last-child::after { content: none; }
@media (prefers-reduced-motion: reduce) { .laufband li:last-child::after { content: none; } }

/* Einblenden beim Scrollen (nur mit Skript, nicht bei reduzierter Bewegung): site.js setzt die Klassen */
.einblenden { opacity: 0; transform: translateY(22px); transition: opacity .6s ease-out, transform .6s ease-out; }
.einblenden.ist-sichtbar { opacity: 1; transform: none; }
.einblenden:nth-child(2) { transition-delay: .1s; }
.einblenden:nth-child(3) { transition-delay: .2s; }
.einblenden:nth-child(4) { transition-delay: .3s; }
.band--blau { background: var(--blau); color: var(--weiss); }
.band--blau h2 { color: var(--weiss); }
.band--blau p { color: rgba(255, 255, 255, .9); }

.zweispaltig { --spalt: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--spalt); row-gap: 28px; align-items: center; }
.zweispaltig--oben { align-items: start; }
.zweispaltig--gedreht > .zweispaltig__medien { order: 2; }
.zweispaltig__medien { min-width: 0; }
.zweispaltig__medien > img { width: 100%; }
@media (max-width: 860px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .zweispaltig--gedreht > .zweispaltig__medien { order: 0; }
}

.fliesstext > :last-child { margin-bottom: 0; }
.fliesstext p { max-width: 72ch; }
.fliesstext strong { color: var(--blau); font-weight: 700; }
.fliesstext h2 { margin-top: 1.6em; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { margin-top: 1.5em; }
.fliesstext h3:first-child { margin-top: 0; }
.fliesstext ul, .fliesstext ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.fliesstext li { margin-bottom: .4em; }
.fliesstext li::marker { color: var(--blau); }
.fliesstext table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; }
.fliesstext th, .fliesstext td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linie); }
.fliesstext th:empty { padding: 0; border: 0; }
.fliesstext td:first-child { width: 38%; font-weight: 700; color: var(--blau); }
.fliesstext td { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .fliesstext table, .fliesstext tbody, .fliesstext tr, .fliesstext td { display: block; width: 100%; }
  .fliesstext thead { display: none; }
  .fliesstext td:first-child { width: 100%; border-bottom: 0; padding-bottom: 0; }
}
.entwurfshinweis { background: #fff4d6; border-bottom: 1px solid #e6c65c; color: #5c4700; padding-block: 12px; font-size: .95rem; }

/* Faktenkasten neben dem Text (Leistungen: Fertigungsspektrum, Entscheidung 36) */
.spektrum { background: var(--pastell); padding: 26px 30px 22px; align-self: start; }
.spektrum__titel { margin: 0 0 10px; font-family: var(--schrift-titel); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); }
.spektrum .fakten { margin: 0; }

/* Faktenliste (Leistungen): Zeilen mit blauem Quadrat wie die Symbollisten des Vorbilds */
.fakten { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.fakten li { position: relative; padding: 4px 0 4px 22px; }
.fakten li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; background: var(--blau); }

/* ---------------------------------------------------------------- Startseite */

.kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kennzahl { text-align: center; padding: 8px 12px; }
.kennzahl__vorsatz { margin: 0; font-family: var(--schrift-titel); font-weight: 300; font-size: 20px; color: var(--titel-grau); min-height: 1.4em; }
.kennzahl__zahl { margin: 0; font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(40px, 4vw, 60px); line-height: 1.05; color: var(--blau); font-feature-settings: "tnum" 1; }
.kennzahl__text { margin: 6px 0 0; font-family: var(--schrift-titel); font-weight: 500; font-size: 20px; color: var(--titel-grau); }
@media (max-width: 640px) { .kennzahlen { grid-template-columns: 1fr; gap: 8px; } .kennzahl { border-top: 1px solid var(--linie); padding: 18px 0; } .kennzahl:first-child { border-top: 0; } }

/* Vier Kacheln (Geschäftsfelder): zwei Spalten, Teilefoto links, Text rechts */
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 32px); margin-top: 12px; }
.kachel { display: grid; grid-template-columns: 38% 1fr; background: var(--weiss); border: var(--rand); }
/* Das ganze Foto zeigen (nicht beschneiden); Hintergrund weiß wie der Fotohintergrund */
.kachel__bild { display: flex; align-items: center; background: var(--weiss); }
.kachel__bild img { width: 100%; height: auto; }
.kachel__text { padding: 24px 26px 28px; }
.kachel__text h3 { margin-bottom: .5em; }
.kachel__text p { margin: 0; font-size: 15.5px; color: var(--text-leise); }
@media (max-width: 1000px) { .kacheln { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kachel { grid-template-columns: 1fr; } }
/* Kurze Kacheln (Startseite): nur Teilefoto und Titel, die ganze Kachel ist ein Verweis auf das Geschäftsfeld */
.kachel--kurz { align-items: center; text-decoration: none; color: inherit; transition: border-color .2s; }
.kachel--kurz .kachel__text { padding: 18px 22px; }
.kachel--kurz h3 { margin: 0; font-size: clamp(18px, 1vw + 12px, 22px); }
.kachel--kurz:hover { border-color: var(--blau); }
.kachel--kurz:hover h3 { color: var(--blau); }
.kacheln + .knopfzeile { margin-top: 28px; }
.kachel[id] { scroll-margin-top: 110px; }

.aufruf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.aufruf h2 { margin-bottom: .3em; }
.aufruf p { margin: 0; max-width: 60ch; }
.aufruf .knopfzeile { margin: 0; }

/* ---------------------------------------------------------------- Unterseiten: Seitenkopf */

.seitenkopf__bild { background: var(--marine); }
.seitenkopf__bild img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; object-position: center 45%; }
.seitenkopf__bild--mitte img { object-position: center 50%; }
.seitenkopf__bild--oben img { object-position: center 15%; }
/* Band mit den Produktfotos (Leistungen), wie die Produktbänder des Vorbilds */
.teileband { background: var(--weiss); border-bottom: var(--rand); }
.teileband__innen { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.5vw, 20px); align-items: center; padding-block: clamp(20px, 3vw, 40px); }
.teileband__innen img { width: 100%; height: auto; }
@media (max-width: 700px) { .teileband__innen { grid-template-columns: repeat(3, 1fr); } }
/* Brotkrumen "Start / Seite" über der Überschrift (wie symanzik.de) */
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--text-leise); }
.brotkrumen li + li::before { content: "/"; margin: 0 8px; opacity: .55; }
.brotkrumen a { color: inherit; text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; color: var(--blau); }
.brotkrumen--hell ol { color: rgba(255, 255, 255, .85); }
.brotkrumen--hell a:hover { color: var(--weiss); }
.seitenkopf__innen { padding-top: clamp(40px, 5vw, 64px); }
.seitenkopf__innen h1 { margin-bottom: .4em; }
.seitenkopf__innen .untertitel { margin-bottom: 0; }

/* Zeitleiste (Unsere Geschichte) */
.zeitleiste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.zeitleiste__eintrag { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.zeitleiste__zeit { margin: 0; font-family: var(--schrift-titel); font-weight: 700; font-size: 20px; color: var(--blau); font-feature-settings: "tnum" 1; }
.zeitleiste__text { margin: 0; font-size: 16px; }
@media (max-width: 520px) { .zeitleiste__eintrag { grid-template-columns: 1fr; gap: 2px; } }

/* Historie im Portrait (Entscheidung 30): Kapitel mit Text links, Stationen rechts, Fotos darunter in
   natürlichem Seitenverhältnis (gleiche Höhe). Die Stationen tragen Ringe wie das Logo. */
.kapitel-liste { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: 8px; }
.kapitel + .kapitel { border-top: var(--rand); padding-top: clamp(32px, 5vw, 56px); }
.kapitel__kopf { max-width: 720px; margin-bottom: 22px; }
.kapitel__zeitraum { margin: 0 0 4px; font-family: var(--schrift-titel); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); }
.kapitel__kopf h3 { margin: 0; font-size: clamp(24px, 1.6vw + 12px, 32px); font-weight: 700; color: var(--blau); }
.kapitel__inhalt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 32px; align-items: start; }
@media (max-width: 900px) { .kapitel__inhalt { grid-template-columns: 1fr; } }
.stationen { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--linie); }
.stationen li { position: relative; padding-bottom: 20px; }
.stationen li:last-child { padding-bottom: 0; }
.stationen li::before { content: ""; position: absolute; left: -35px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--weiss); border: 2.5px solid var(--blau); }
.stationen__jahr { margin: 0; font-family: var(--schrift-titel); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--blau); font-feature-settings: "tnum" 1; }
.stationen__datum { font-size: 14px; font-weight: 500; color: var(--text-leise); letter-spacing: .02em; }
.stationen__text { margin: 2px 0 0; font-size: 16px; }
.stationen__text p { margin: 0; }
.kapitel__galerie { display: flex; flex-wrap: wrap; gap: 24px 20px; margin-top: clamp(28px, 4vw, 44px); }
/* Als Tabelle wird die Figur genau so breit wie das Bild; die Unterschrift bricht darunter um. */
.kapitel__bild { display: table; margin: 0; max-width: 100%; }
.kapitel__bild img { display: block; height: clamp(170px, 17vw, 260px); width: auto; background: var(--grau); }
.kapitel__bild figcaption { display: table-caption; caption-side: bottom; font-size: 14px; color: var(--text-leise); padding-top: 8px; }
@media (max-width: 600px) {
  .kapitel__bild { display: block; flex-basis: 100%; width: 100%; }
  .kapitel__bild figcaption { display: block; }
  .kapitel__bild img { height: auto; width: 100%; }
}

/* Galerie (wischbar, ohne Skript; site.js ergänzt Knöpfe) */
.galerie { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--blau) var(--linie); }
.galerie__bild { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
.galerie__bild:only-child { flex-basis: 100%; }
.galerie__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--grau); }
.abschnitt__galerie { margin-top: clamp(28px, 4vw, 48px); }
.abschnitt__galerie .galerie__bild { flex-basis: min(400px, 80%); }
.galerie-rahmen { position: relative; }
.galerie__knopf {
  position: absolute; top: calc(50% - 6px); transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--linie); cursor: pointer;
  background: rgba(255, 255, 255, .94); color: var(--marine); font-size: 1.4rem; line-height: 1;
}
.galerie__knopf:hover { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.galerie__knopf[disabled] { opacity: 0; pointer-events: none; }
.galerie__knopf--zurueck { left: 10px; }
.galerie__knopf--vor { right: 10px; }

/* Akkordeon */
.akkordeon { margin: 1.6em 0; border-top: 1px solid var(--linie); }
.akkordeon details { border-bottom: 1px solid var(--linie); }
.akkordeon summary { cursor: pointer; list-style: none; padding: 15px 36px 15px 0; position: relative; font-family: var(--schrift-titel); font-weight: 500; font-size: 19px; color: var(--titel-grau); }
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blau); line-height: 1; }
.akkordeon details[open] summary::after { content: "–"; }
.akkordeon details > div { padding: 0 0 18px; }
.akkordeon__untertitel { display: block; font-weight: 300; font-size: 16px; color: var(--text-leise); margin-top: 2px; }
.akkordeon__inhalt { display: grid; gap: 18px; max-width: 78ch; padding-bottom: 26px; }
.akkordeon__fakten { margin: 0; padding: 16px 20px; background: var(--pastell); display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.akkordeon__fakten dt { font-family: var(--schrift-titel); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--blau); }
.akkordeon__fakten dd { margin: 0; }
.akkordeon__hinweis { margin: 0; }
.akkordeon .knopfzeile { margin-top: 0; }
@media (max-width: 520px) { .akkordeon__fakten { grid-template-columns: 1fr; gap: 2px; } .akkordeon__fakten dd { margin-bottom: 8px; } }
.akkordeon__zeile { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--linie); font-weight: 500; }

/* Personen (Kontakt) */
.personenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 36px 28px; margin-top: 12px; }
.person__bild { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; background: var(--grau); }
.person__name { margin: 0; font-family: var(--schrift-titel); font-weight: 500; font-size: 20px; color: var(--titel-grau); }
.person__funktion { margin: 2px 0 8px; font-size: 15px; color: var(--text-leise); }
.person__kontakt { margin: 0; font-size: 15.5px; line-height: 1.7; overflow-wrap: anywhere; }
.person__kontakt a { text-decoration: none; }
.person__kontakt a:hover { text-decoration: underline; }
@media (max-width: 520px) { .personenraster { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; } }

/* Kontaktbox */
.kontaktbox { background: var(--pastell); padding: clamp(22px, 3vw, 34px); }
.kontaktbox h2 { font-size: 24px; margin-bottom: .4em; }
.kontaktbox h3 { font-size: 18px; margin: 1.2em 0 .3em; }
.kontaktbox p { margin: 0 0 .6em; }
.kontaktbox address { margin-bottom: 4px; }

/* Downloads: Knöpfe wie auf der alten symos-Seite und beim Vorbild */
.downloads { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.downloads a { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 28px; background: var(--blau); color: var(--weiss); text-decoration: none; }
.downloads a:hover { background: var(--blau-dunkel); color: var(--weiss); }
.downloads__titel { font-weight: 500; font-size: 17px; }
.downloads__info { font-size: 13px; opacity: .85; }

/* Karten (Karriere-Übersicht, Ausbildungen, Jobs) */
.kartenraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.karte { display: flex; flex-direction: column; background: var(--weiss); border: var(--rand); }
.karte__bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grau); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__text { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 22px 22px 24px; }
.karte__text h3 { margin: 0; }
.karte__text h3 a { color: inherit; text-decoration: none; }
.karte__text p { margin: 0; color: var(--text-leise); font-size: 15.5px; }
.karte__text .knopf { margin-top: auto; align-self: flex-start; }

/* Stellen, Ausbildungen, Praktikum */
.stelle { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.stelle__rand { display: grid; gap: 22px; }
.stelle__rand img { width: 100%; }
.stelle__fakten { margin: 0; padding: 20px 22px; background: var(--pastell); }
.stelle__fakten dt { font-family: var(--schrift-titel); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--blau); }
.stelle__fakten dd { margin: 0 0 12px; }
.stelle__fakten dd:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .stelle { grid-template-columns: 1fr; } }
.bewerbung, .hinweis { background: var(--weiss); border: var(--rand); border-top: 4px solid var(--blau); padding: clamp(22px, 3vw, 34px); }
.bewerbung h2, .hinweis h2 { font-size: 24px; }
.hinweis { max-width: 780px; }
.person--gross { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin: 12px 0 16px; }
.person--gross .person__bild { margin: 0; }
@media (max-width: 520px) { .person--gross { grid-template-columns: 110px 1fr; } }

/* „Nach oben“-Knopf (wie symanzik.de): mit Skript erst nach dem Scrollen sichtbar, das Einblenden weich,
   das Ausblenden sofort; ohne Skript immer sichtbar als gewöhnlicher Link auf den Seitenanfang. */
.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--blau); color: var(--weiss); border-radius: 50%;
}
.nach-oben:hover { background: var(--blau-dunkel); color: var(--weiss); }
.js .nach-oben { opacity: 0; visibility: hidden; }
.js .nach-oben.ist-sichtbar { opacity: 1; visibility: visible; transition: opacity .2s; }
@media (prefers-reduced-motion: reduce) { .js .nach-oben.ist-sichtbar { transition: none; } }

/* Fehlerseite */
.fehlerseite__code { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(64px, 12vw, 140px); line-height: 1; color: var(--blau-hell); margin: 0; }

/* ---------------------------------------------------------------- Fuß */

.fuss { background: var(--marine); color: rgba(255, 255, 255, .85); font-size: 16px; }
.fuss a { color: var(--weiss); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__innen { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; align-items: start; }
.fuss__marke .logo { height: 26px; }
.fuss__titel { margin: 0 0 10px; font-family: var(--schrift-titel); font-weight: 700; font-size: 17px; color: var(--weiss); text-transform: uppercase; letter-spacing: .04em; }
.fuss__adresse, .fuss__kontakt { line-height: 1.7; }
.fuss__links { display: grid; gap: 8px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 18px 26px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.fuss__unten p { margin: 0; }
@media (max-width: 860px) { .fuss__innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__innen { grid-template-columns: 1fr; gap: 24px; } }

@media print {
  .nach-oben { display: none; }
  .kopf, .fuss, .buehne__knopf, .sprunglink { display: none; }
  body { font-size: 11pt; }
}
