/* Über uns — seiteneigene Gestaltung (nach site.css geladen)
   Szene „Die Fahrt seit 2009" im Bühnen-Muster (.bs, site.css): Himmel + Ufer (.fj-himmel-svg),
   Fluss (.fj-see-svg), Arche-Schiff groß links (.bs-objekt), vordere Wellen (.bs-vorn), Tafel rechts.
   Erzeugt von .nomad/werkzeug/jahre_szene.py, Ablauf in assets/seiten/ueber-uns.js.
   Nichts ist per CSS versteckt: ohne GSAP steht das fertige Bild (heute, Crew an Deck). */

.scrolly-jahre { --bs-bw: min(54vw, 96svh); --bs-ar: 800 / 540; --wl: 22svh; --horizont: 60svh; background: #0F6E7B; }
/* Wasserlinie des Schiffs (viewBox-y 470 von 80…620 → 0,1876 × Breite) sitzt auf --wl über dem Rand */
.scrolly-jahre .bs-objekt { top: auto; translate: none; bottom: calc(var(--wl) + 2.5svh - var(--bs-bw) * .1876); }
.scrolly-jahre .bs-szene > .fj-himmel-svg { inset: 0 0 auto 0; height: calc(var(--horizont) + 2px); }
.scrolly-jahre .bs-szene > .fj-see-svg { inset: var(--horizont) 0 auto 0; height: calc(100% - var(--horizont)); }
.scrolly-jahre .bs-vorn { top: auto; height: calc(var(--wl) + 4svh); }
.sp-fahrt text, .fj-himmel-svg text { font-family: var(--font-head); }
.fj-name { font-size: 17px; font-weight: 700; letter-spacing: .06em; fill: #FFFFFF; }
.fj-hafen { font-size: 9px; font-weight: 700; letter-spacing: .08em; fill: #0A2E36; }
.fj-schild { font-size: 10.5px; font-weight: 700; fill: #0A2E36; }
.scrolly-jahre .scrolly-wert small { max-width: 22ch; line-height: 1.3; }

/* Dauerschleifen: Wolken ziehen, Wellen laufen (je eine Kachel = 1600 Einheiten), Sonne dreht */
.fjz-wolken-fern  { animation: fjz-zug calc(170s * var(--tempo)) linear infinite; }
.fjz-wolken-mitte { animation: fjz-zug calc(115s * var(--tempo)) linear infinite; }
.fjz-wolken-nah   { animation: fjz-zug calc(80s * var(--tempo)) linear infinite; }
@keyframes fjz-zug { from { transform: translateX(0); } to { transform: translateX(-1600px); } }
.fjz-strahlen { animation: fjz-dreh calc(90s * var(--tempo)) linear infinite; }
@keyframes fjz-dreh { to { transform: rotate(360deg); } }
.fjz-lauf { animation: fjz-zug calc(var(--lauf, 20s) * var(--tempo)) linear infinite; }
.fjz-lauf-0 { --lauf: 64s; } .fjz-lauf-1 { --lauf: 48s; } .fjz-lauf-2 { --lauf: 36s; }
.fjz-lauf-3 { --lauf: 27s; } .fjz-lauf-4 { --lauf: 20s; } .fjz-lauf-5 { --lauf: 15s; }
.fjz-vlauf-0 { --lauf: 12s; } .fjz-vlauf-1 { --lauf: 9.5s; } .fjz-vlauf-2 { --lauf: 7.5s; }
.fjz-hub { animation: fjz-hub calc(var(--hub-t, 5s) * var(--tempo)) var(--ease-in-out) infinite alternate; }
.fjz-hub-0 { --hub-t: 6.2s; --hub: 1.5px; } .fjz-hub-1 { --hub-t: 5.6s; --hub: 2.5px; animation-delay: -1.3s; }
.fjz-hub-2 { --hub-t: 5s; --hub: 3.5px; animation-delay: -2.1s; } .fjz-hub-3 { --hub-t: 4.6s; --hub: 5px; animation-delay: -.7s; }
.fjz-hub-4 { --hub-t: 4.2s; --hub: 7px; animation-delay: -2.8s; } .fjz-hub-5 { --hub-t: 3.8s; --hub: 9px; animation-delay: -1.6s; }
.fjz-vhub-0 { --hub-t: 3.6s; --hub: 10px; animation-delay: -.4s; } .fjz-vhub-1 { --hub-t: 3.2s; --hub: 13px; animation-delay: -1.9s; }
.fjz-vhub-2 { --hub-t: 2.9s; --hub: 16px; animation-delay: -1.1s; }
@keyframes fjz-hub { from { transform: translateY(calc(var(--hub) * -1)); } to { transform: translateY(var(--hub)); } }
.fjz-moewen { animation: fjz-moewen calc(26s * var(--tempo)) var(--ease-in-out) infinite alternate; }
@keyframes fjz-moewen { from { transform: translate(-40px, 6px); } to { transform: translate(60px, -10px); } }
.fjz-moewe { transform-box: fill-box; transform-origin: 50% 100%; animation: fjz-fluegel calc(1.6s * var(--tempo)) var(--ease-in-out) infinite alternate; }
@keyframes fjz-fluegel { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
.fjz-funke { animation: fjz-funkeln calc(3.4s * var(--tempo)) var(--ease-in-out) infinite alternate; }
.fjz-funke-1 { animation-delay: -1.1s; } .fjz-funke-2 { animation-delay: -2.2s; }
@keyframes fjz-funkeln { from { opacity: .15; } to { opacity: .85; } }
.fj-windrad { animation: fjz-dreh calc(9s * var(--tempo)) linear infinite; }
/* Schiff: wiegt sich, Flagge flattert verzögert, Beatmungskurve läuft, Bugwelle schäumt */
.sp-fahrt .fj-wiegen { transform-box: fill-box; transform-origin: 50% 82%; animation: fj-wiegen calc(5.4s * var(--tempo)) var(--ease-in-out) infinite; }
@keyframes fj-wiegen { 0%, 100% { transform: rotate(-1.4deg) translateY(2px); } 50% { transform: rotate(1.2deg) translateY(-7px); } }
.sp-fahrt .fj-flagge { transform-box: fill-box; transform-origin: 100% 50%; animation: fj-flagge calc(5s * var(--tempo)) var(--ease-in-out) .15s infinite; }
@keyframes fj-flagge { 0%, 100% { transform: skewY(-3deg) scaleX(1); } 50% { transform: skewY(3deg) scaleX(.94); } }
.sp-fahrt .fj-kurve { stroke-dasharray: 250 60; animation: fj-kurve calc(3.2s * var(--tempo)) linear infinite; }
@keyframes fj-kurve { from { stroke-dashoffset: 310; } to { stroke-dashoffset: 0; } }
.sp-fahrt .fj-bugwelle { transform-box: fill-box; transform-origin: 0 100%; animation: fj-gischt calc(2.7s * var(--tempo)) var(--ease-in-out) infinite alternate; }
@keyframes fj-gischt { from { transform: scale(.92, .85); opacity: .75; } to { transform: scale(1.06, 1.1); opacity: 1; } }
.sp-fahrt .fj-flamme { transform-box: fill-box; transform-origin: 50% 100%; animation: fj-flamme calc(1.8s * var(--tempo)) var(--ease-in-out) infinite alternate; }
@keyframes fj-flamme { from { transform: scaleY(.88); } to { transform: scaleY(1.08); } }
@media (prefers-reduced-motion: reduce) {
  /* dämpfen, nicht abschalten: Tempo kommt aus --tempo (2.5), hier kleinere Ausschläge */
  .sp-fahrt .fj-wiegen { animation-name: fj-wiegen-rm; }
  .fjz-moewen { animation-name: fjz-moewen-rm; }
}
@keyframes fj-wiegen-rm { 0%, 100% { transform: rotate(-.4deg); } 50% { transform: rotate(.4deg) translateY(-2px); } }
@keyframes fjz-moewen-rm { from { transform: translate(-12px, 2px); } to { transform: translate(18px, -3px); } }

/* Dunkelmodus: Abendhimmel, dunkleres Wasser */
html.dark .scrolly-jahre .fjz-h1 { stop-color: #0B2530; }
html.dark .scrolly-jahre .fjz-h2 { stop-color: #164252; }
html.dark .scrolly-jahre .fjz-h3 { stop-color: #2A6474; }
html.dark .scrolly-jahre .fjz-w1 { stop-color: #2B6B78; }
html.dark .scrolly-jahre .fjz-w2 { stop-color: #164E5A; }
html.dark .scrolly-jahre .fjz-w3 { stop-color: #0A2E36; }
html.dark .scrolly-jahre .fjz-sonne { opacity: .35; }
html.dark .scrolly-jahre .fj-land, html.dark .scrolly-jahre .fj-ferne { filter: brightness(.72) saturate(.9); }

/* Tablet/Handy: Schiff oben groß, Tafel als Karte unten (site.css), Horizont höher */
@media (max-width: 1023px) {
  .scrolly-jahre { --bs-bw: min(94vw, 74svh); --wl: 44svh; --horizont: 38svh; }
  .scrolly-jahre .bs-objekt { left: 50%; translate: -50% 0; }
  .scrolly-jahre .bs-vorn { height: calc(var(--wl) + 2svh); }
}

/* Geschichte: Jubiläumsplakette */
.jubilaeum { margin: 0; display: grid; gap: 1rem; justify-items: center; padding: 1rem 0 0; background: none; box-shadow: none; }   /* Emblem liegt frei auf der Sektion, ohne Karte */
.jubilaeum img { width: min(100%, 26rem); height: auto; }
.jubilaeum figcaption { text-align: center; color: var(--muted); font-weight: 500; max-width: 30ch; }
.jubilaeum figcaption strong { display: block; color: var(--fg); font-family: var(--font-head); font-size: 1.25rem; }
.prosa h3.reise-zwischen { margin: 1.6rem 0 .5rem; }

/* Unser Team — echtes Teamfoto groß */
.team-foto { margin: 0 0 2rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1188 / 569; background: var(--surface-2); }
.team-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-text { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .team-text { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.team-text p { margin: 0 0 1rem; }

/* Kernwerte mit den echten Fotos */
.wert-foto { margin: -1.6rem -1.6rem .4rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface-2); }
.wert-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wert-mit-foto { overflow: hidden; align-content: start; }

/* Erfolge: Kopf mit Foto */
.erfolge-kopf { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .erfolge-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.erfolge-kopf .sektion-kopf { margin-bottom: 0; }
.erfolge-foto { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 20px 50px -24px rgb(0 0 0 / .6); }
.erfolge-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Leitsatz unter den Ansprechpartnern */
.leitsatz { margin: 2.5rem auto 0; max-width: 46rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.leitsatz p { margin: 0; font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--fg); text-wrap: balance; }
.person .person-rolle { margin: .15rem 0 0; color: var(--muted); }

/* Imagefilm im Abschnitt „Warum wir Arche heißen" */
.film-rahmen { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #0A2E36; aspect-ratio: 16 / 9; }
.film-rahmen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-notiz { margin: .8rem 0 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .geschichte-film { position: sticky; top: 6.5rem; } }
.auf-gischt .geschichte-zitat { background: var(--card); }
