/* =====================================================================
   Unterseiten (FAQ, Angebote, Soziale Aktionen, Detailseiten, Team, Über uns)
   Wird nach style.css geladen. Alle Regeln gelten nur innerhalb von <body class="sub">.
   Raster: 1440 px · 12 Spalten à 85 px · 20 px Abstand · 100 px Rand
   ===================================================================== */

.sub .container { width: 1030px; max-width: calc(100% - 32px); margin-inline: auto; }
.sub .anchor { position: absolute; }
.sub .hero-split .ph-label, .sub .event-tile .ph-label, .sub .hero-simple .ph-label { color: rgba(255,255,255,.35); }

/* ---------- Seitentitel grau ---------- */
.sub .hero-simple { position: relative; height: 785px; background: #626262; color: var(--white); overflow: hidden; }
.sub .hero-simple .hero-bg { position: absolute; inset: 0; }
.sub .hero-simple .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub .hero-simple .ph-label { place-items: end; padding: 16px 20px; }
.sub .hero-simple h1 {
  position: absolute; left: 0; right: 0; top: 360.25px; padding-left: 4.6px;
  text-align: center; font: 400 89px/89px var(--o); letter-spacing: 4.6px;
}
.sub .hero-simple h1.tight { padding-left: 3.93px; letter-spacing: 3.93px; }
.sub .hero-simple h1.inter { top: 350px; padding-left: .75px; margin-left: -4px; font: 400 89px/89px var(--i); letter-spacing: .75px; }

/* ---------- Seitentitel geteilt (Detailseiten) ---------- */
.sub .hero-split { display: grid; grid-template-columns: 705fr 735fr; height: 705px; }
.sub .hero-split .media { background: #00b6be; }
.sub .hero-split .content { background: var(--teal); color: var(--white); padding: 171px 0 0 17.687%; }
.sub .hero-split h1 { font: 800 76px/96px var(--o); letter-spacing: 4.4px; }
.sub .hero-split h1.wide { letter-spacing: 9px; }
.sub .hero-split.small .content { padding-top: 168.75px; }
.sub .hero-split.small h1 { font-size: 57px; line-height: 72px; letter-spacing: 4px; }
.sub .hero-split p { margin-top: 20.75px; font: 400 23px/32px var(--o); letter-spacing: .37px; white-space: nowrap; }
.sub .hero-split.small p { margin-top: 23px; }
.sub .btn {
  display: flex; align-items: center; justify-content: center; width: 289px; height: 88px; margin-top: 23.25px; padding: 0 24px;
  background: var(--white); color: var(--teal); font: 400 38px/1 var(--o); letter-spacing: 1.6px; white-space: nowrap; text-align: center;
  transition: background .15s, color .15s;
}
.sub .btn:hover { background: #e9f3f3; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Sprungmarken ---------- */
.sub .jump-section { padding-top: 92.875px; }
.sub .jump-events { padding-bottom: 87.125px; }
.sub .jump-detail { padding-bottom: 127.125px; }
.sub .jump-team { padding-bottom: 90.735px; }
.sub .jumplinks a { display: flex; align-items: flex-start; height: 49px; font: 400 22.5px/49px var(--o); letter-spacing: 1px; white-space: nowrap; }
.sub .jumplinks .down { flex: none; margin-top: 16.5px; }
.sub .jumplinks span { margin-left: 9px; }

/* ---------- Kacheln (Unsere Events, Soziale Aktionen) ---------- */
.sub .event-tile { display: grid; grid-template-columns: 735fr 705fr; height: 504px; margin-bottom: 40px; }
.sub .event-tile.reverse { grid-template-columns: 705fr 735fr; }
.sub .event-tile.reverse .media { order: -1; }
.sub .event-tile .media { background: #787878; }
.sub .event-tile .text { background: var(--teal); color: var(--white); padding-left: 22.177%; }
.sub .event-tile.reverse .text { padding-left: 19.592%; }
.sub .event-tile h2 { font-family: var(--o); font-weight: 800; white-space: nowrap; }
.sub .event-tile p { font: 600 18px/27px var(--f); letter-spacing: .2px; white-space: nowrap; }
.sub .event-tile .more { display: inline-flex; align-items: flex-start; margin-top: 12.5px; padding-left: 2.2px; font: 600 18px/27px var(--f); }
.sub .event-tile .more .pfeil { flex: none; margin: 9px 8px 0 0; }
.sub .t1 .text { padding-top: 117.75px; }
.sub .t1 h2 { font-size: 57px; line-height: 72px; letter-spacing: 4px; }
.sub .t1 p { margin-top: 11.2px; letter-spacing: .25px; }
.sub .t2 .text { padding-top: 144px; }
.sub .t2 h2 { font-size: 76px; line-height: 96px; letter-spacing: 9px; }
.sub .t2 h2.narrow { letter-spacing: 4.4px; }
.sub .t2 h2.narrow.h72 { letter-spacing: 3.6px; }
.sub .t2 p { margin-top: 9px; letter-spacing: .12px; }
.sub .t3 .text { padding-top: 112.75px; }
.sub .t3 h2 { font-size: 63px; line-height: 77px; letter-spacing: 2.2px; }
.sub .t3 p { margin-top: 11.2px; letter-spacing: 0; }
.sub .events-list { padding-bottom: 60px; }
.sub .events-list > .tile { margin-bottom: 40px; }   /* Zela-Kachel auf „Angebote“ */   /* + 40 px Kachelabstand = 100 px bis Footer */

/* ---------- Inhaltsblöcke (Bild + Text) ---------- */
.sub .feature { position: relative; display: grid; grid-template-columns: 630px 400px; height: 533px; }
.sub .feature + .feature { margin-top: 180px; }
.sub .feature.reverse { grid-template-columns: 400px 630px; }
.sub .feature.reverse .text { padding-left: 20px; }
.sub .feature.reverse .media { order: -1; }
.sub .feature .media { background: var(--placeholder); }
.sub .feature h2 { margin-top: 86.98px; color: var(--teal); font: 800 48px/48px var(--i); letter-spacing: .05px; white-space: nowrap; }
.sub .feature.h143 h2 { margin-top: 101.48px; }
.sub .feature .body { width: 612px; margin-top: 28.52px; color: #000; font: 400 22px/29px var(--o); letter-spacing: 1.13px; white-space: nowrap; }
.sub .feature .body p + p { margin-top: 29px; }
.sub .feature.tight .body p + p { margin-top: 0; }

/* ---------- FAQ ---------- */
.sub .faq { padding: 104.4px 0 100.5px; }
.sub .faq h2 { font: 800 40px/40px var(--i); letter-spacing: .1px; margin-bottom: 43.1px; }
.sub .faq-item .chev { position: absolute; right: 20px; top: 34.5px; transition: transform .2s; }

/* ---------- Wer sind wir: Seitenaufbau ---------- */
.sub .wer-flow { padding-bottom: 100px; }
.sub .wer-flow > * + * { margin-top: 140px; }
.sub .wer-flow .feature + .feature { margin-top: 140px; }
@media (min-width: 961px) {   /* nur Desktop – mobil gelten dieselben Abstände wie bei allen Petrol-Kacheln */
  .sub .tile.plain .text { padding-left: 22.177%; padding-top: 149.03px; }
  .sub .tile.plain h2 { font-size: 79px; }
  .sub .tile.plain p { margin-top: 16.11px; }
}

/* ---------- Unser Team: Zahlenband ---------- */
.sub .stats { height: 212px; background: var(--teal); color: var(--white); }
.sub .stats ul { position: relative; width: 1240px; height: 100%; margin-inline: auto; }
.sub .stats li { position: absolute; top: 0; width: 300px; height: 100%; text-align: center; }
.sub .stats .icon { position: absolute; top: 32px; }
.sub .stats .num { position: absolute; left: 0; right: 0; top: 98.74px; color: var(--accent); font: 800 42.5px/42.5px var(--i); letter-spacing: -.85px; }
.sub .stats .label { position: absolute; left: 0; right: 0; top: 159.31px; font: 400 19.3px/19.3px var(--i); letter-spacing: -.2px; }

/* ---------- Impressum, Datenschutz ---------- */
.sub .prose { padding: 100px 0 120px; max-width: 800px; font: 400 19px/1.6 var(--o); letter-spacing: .3px; overflow-wrap: break-word; hyphens: auto; }
.sub .prose h2 { font: 800 30px/1.25 var(--i); color: var(--teal); margin: 2em 0 .6em; }
.sub .prose h3 { font: 700 21px/1.3 var(--i); margin: 1.6em 0 .4em; }
.sub .prose p, .sub .prose ul, .sub .prose address { margin: 0 0 1em; }
.sub .prose address { font-style: normal; }
.sub .prose ul { list-style: disc; padding-left: 1.3em; }
.sub .prose li { margin-bottom: .3em; }
.sub .prose a { color: #000; text-decoration: underline; }
.sub .prose .toc { list-style: none; padding: 0; columns: 2; column-gap: 32px; }
.sub .prose .stand { color: #000; font-size: 16px; margin-top: 3em; }
.sub .ph { background: #fff2a8; color: #000; padding: 0 .25em; border-radius: 3px; font-style: normal; }
.sub .notice { border-left: 5px solid #e0b000; background: #fffbe6; padding: 16px 20px; margin-bottom: 40px; font-size: 17px; }
.sub .notice strong { display: block; margin-bottom: 4px; }

/* =====================================================================
   Kleinere Bildschirme
   ===================================================================== */
@media (max-width: 1272px) {
  .sub .container { width: auto; }
  .sub .feature, .sub .feature.reverse { grid-template-columns: 1fr 400px; gap: 30px; height: auto; min-height: 533px; }
  .sub .feature.reverse { grid-template-columns: 400px 1fr; gap: 20px; }
  .sub .feature .body { width: auto; max-width: 612px; white-space: normal; }
  .sub .feature .text { padding-bottom: 40px; }
  .sub .feature h2 { white-space: normal; }
  .sub .event-tile { height: auto; min-height: 504px; }
  .sub .event-tile .text { padding-right: 32px; padding-bottom: 56px; }
  .sub .event-tile p { white-space: normal; max-width: 432px; }
  .sub .event-tile p br, .sub .feature .body br { display: none; }
  .sub .hero-split .content { padding-right: 24px; }
  .sub .hero-split h1 { font-size: 52px !important; line-height: 66px !important; }
  .sub .event-tile h2 { font-size: 50px !important; line-height: 60px !important; letter-spacing: 3px !important; white-space: normal; }
  .sub .hero-split p { white-space: normal; }
  .sub .stats ul { width: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 16px; height: auto; }
  .sub .stats { height: auto; }
  .sub .stats li { position: static; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .sub .stats .icon, .sub .stats .num, .sub .stats .label { position: static; }
}

@media (max-width: 960px) {
  .sub .prose { padding: 56px 0 72px; font-size: 17px; }
  .sub .prose .toc { columns: 1; }
  .sub .hero-simple { height: 480px; }
  .sub .hero-simple h1 { top: auto; bottom: 0; position: relative; padding: 210px 16px 0; margin: 0; font-size: 52px; line-height: 1.1; letter-spacing: 3px; }
  .sub .hero-split { grid-template-columns: 1fr; height: auto; }
  .sub .hero-split .media { order: -1; height: 320px; }   /* mobil: erst das Bild (unter der transparenten Kopfzeile), dann der Petrol-Container mit der Überschrift */
  .sub .hero-split .content { padding: 44px 16px 56px; }
  .sub .hero-split.small .content { padding-top: 44px; }
  .sub .hero-split p br { display: none; }   /* Zeilenumbrüche des Desktop-Entwurfs entfallen mobil */
  .sub .event-tile, .sub .event-tile.reverse { grid-template-columns: 1fr; height: auto; }
  .sub .event-tile .media, .sub .event-tile.reverse .media { order: -1; }   /* mobil: erst das Bild, dann die Petrol-Box */
  .sub .event-tile .text, .sub .event-tile.reverse .text { padding: 56px 16px; }
  .sub .event-tile .media { height: 280px; }
  .sub .event-tile h2 { font-size: 44px !important; line-height: 52px !important; }
  .sub .event-tile p { margin-top: 12px !important; }
  .sub .jump-section { padding-top: 48px; padding-bottom: 48px !important; }
  .sub .feature, .sub .feature.reverse { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .sub .feature.reverse .media { order: 2; }
  .sub .feature.reverse .text { padding-left: 0; }
  .sub .feature .media { height: 420px; width: 100%; max-width: 400px; justify-self: center; }   /* Bilder immer mittig */
  .sub .feature h2 { margin-top: 0 !important; font-size: 36px; line-height: 42px; }
  .sub .feature .body { font-size: 19px; line-height: 27px; letter-spacing: .6px; }
  .sub .feature + .feature, .sub .wer-flow > * + * { margin-top: 72px; }
  .sub .faq { padding: 64px 0 72px; }
  .sub .faq h2 { font-size: 30px; line-height: 36px; margin-bottom: 28px; }
  .sub .faq-item summary { height: auto; padding: 22px 50px 22px 0; font-size: 20px; line-height: 29px; }
  .sub .faq-item .chev { top: calc(50% - 5px); right: 8px; }
  .sub .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

@media (max-width: 480px) {
  .sub .hero-simple h1 { font-size: 40px; letter-spacing: 2px; }
  .sub .hero-split h1 { font-size: 42px !important; line-height: 50px !important; }
  .sub .btn { width: auto; display: inline-flex; padding: 0 32px; font-size: 30px; }
  .sub .event-tile h2 { font-size: 36px !important; line-height: 44px !important; }
}

@media (max-width: 360px) {
  .sub .hero-split h1 { font-size: 36px !important; line-height: 44px !important; letter-spacing: 2px !important; }
  .sub .hero-simple h1 { font-size: 34px; }
}

/* ---------- Englische Version ---------- */
html[lang="en"] .sub .event-tile p, html[lang="en"] .sub .feature .body,
html[lang="en"] .sub .hero-split p, html[lang="en"] .sub .event-tile h2 { white-space: normal; }
html[lang="en"] .sub .event-tile p { max-width: 432px; }
html[lang="en"] .sub .event-tile .text { padding-right: 40px; }
html[lang="en"] .sub .hero-split p { max-width: 560px; }
.sub .lang-note { margin-bottom: 32px; color: #000; font-size: 16px; }

/* ---------- Unser Team: Bild füllt den Bildschirm, die Kennzahlen stoßen unten an den Rand ----------
   --stats-h = Höhe des Kennzahlen-Streifens (setzt main.js) */
.sub .hero-simple.short { height: max(420px, calc(100vh - var(--stats-h, 212px))); height: max(420px, calc(100svh - var(--stats-h, 212px))); }
.sub .hero-simple.short h1 { top: calc(50% - 30px); }

/* ---------- Desktop: 20 px mehr Abstand zwischen den Containern (Events, Soziales, Team) ---------- */
@media (min-width: 961px) {
  .sub .events-list .event-tile, .sub .events-list > .tile { margin-bottom: 60px; }
  .sub .events-list { padding-bottom: 40px; }     /* Abstand zum Footer bleibt 100 px */
}
@media (max-width: 960px) {
  .sub .hero-simple.short { height: max(240px, calc(100vh - var(--stats-h, 336px))); height: max(240px, calc(100svh - var(--stats-h, 336px))); }
  .sub .hero-simple.short h1 { position: absolute; left: 0; right: 0; top: calc(50% + 14px); bottom: auto; padding: 0 16px; }   /* mittig im sichtbaren Teil unter der Kopfzeile */
}

/* ---------- Mobil: bei Bild-Text-Modulen erst das Bild, darunter die Überschrift, dann der Text ---------- */
@media (max-width: 960px) {
  .sub .feature .text, .sub .feature.reverse .text { display: contents; }
  .sub .feature .media, .sub .feature.reverse .media { order: 1; }
  .sub .feature h2 { order: 2; }
  .sub .feature .body { order: 3; margin-top: 0; }
}

/* ---------- Über uns: Standort-Karte (SVG, Zoom von Mainz nach Gonsenheim, Steuerung in main.js) ---------- */
.sub .karte-sektion { background: var(--teal); color: var(--white); }
.karte-buehne { position: relative; height: clamp(480px, calc(100vh - 100px), 900px); overflow: hidden; }
/* Scrollytelling: die Karte bleibt stehen (sticky), während der Zoom dem Scrollen folgt; die Höhe der Sektion setzt main.js */
.karte-sektion.scrolly .karte-buehne { position: sticky; top: var(--kopf, 100px); }
.karte { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.karte .k-wasser { fill: var(--accent); }
.karte .k-wasser-linie { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.karte .k-strassen, .karte .k-detail { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.karte .k-detail { opacity: 0; }   /* die allerkleinsten Straßen blendet main.js scrollgesteuert ein */
.karte .k-pin-form { fill: var(--white); }
.karte .k-pin-logo { fill: var(--teal); }
.karte .k-pin-schatten { fill: #000; fill-opacity: .25; }
.karte-sektion.scrolly .k-pin-i { opacity: 0; }                  /* Pin erscheint erst, wenn herangezoomt ist … */
.karte-sektion.zoom .k-pin-i { animation: pin-huepf .7s cubic-bezier(.3, 1.5, .5, 1) both; }   /* … und „ploppt“ dann auf */
@keyframes pin-huepf { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.karte-label { position: absolute; z-index: 3; left: max(16px, calc((100% - 1240px) / 2)); bottom: 40px; max-width: calc(100% - 32px); padding: 20px 26px 24px; background: var(--teal); color: var(--white); border: 3px solid var(--white); }   /* Rahmen in Weiß, gleich dick wie die Linie – beides geht ineinander über */
.karte-label h2 { margin: 0; color: var(--white); font: 800 34px/40px var(--i); }
.karte-label p { margin: 8px 0 0; font: 400 19px/28px var(--o); white-space: normal; }
.karte-label br { display: inline; }
.karte-quelle { position: absolute; right: 16px; bottom: 12px; margin: 0; padding: 3px 8px; background: var(--teal); font: 400 12px/18px var(--i); }
@media (max-width: 960px) {
  .karte-buehne { height: clamp(440px, calc(100vh - 72px), 800px); }
  .karte-label { bottom: 44px; padding: 16px 20px; }
  .karte-label h2 { font-size: 26px; line-height: 32px; }
  .karte-label p { font-size: 17px; line-height: 25px; }
}
@media (prefers-reduced-motion: reduce) { .karte-sektion.zoom .k-pin-i { animation: none; } }

/* Verbindungslinie Kasten → Pin (Pfad setzt main.js) und Google-Maps-Knopf */
.karte-linie { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.karte-linie-halo, .karte-linie-pfad { fill: none; stroke-linecap: butt; stroke-dasharray: var(--len, 1200px); stroke-dashoffset: var(--len, 1200px); }   /* Länge der Linie setzt main.js, ausgefahren wird beim Scrollen */
.karte-linie-halo { stroke: var(--teal); stroke-width: 8; }      /* Petrol-Kontur: hebt die Linie von den weißen Straßen ab */
.karte-linie-pfad { stroke: var(--white); stroke-width: 3; }
.karte-linie-halo-punkt { fill: var(--teal); }
.karte-linie-punkt { fill: var(--white); }
.karte-linie circle { opacity: 0; }
.karte-sektion.scrolly .karte-label { visibility: hidden; clip-path: inset(0 0 100% 0); }   /* fährt beim Scrollen aus (main.js) */
.karte-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; height: 44px; margin-top: 16px; padding: 0 22px; background: var(--white); color: var(--teal); font: 600 17px/1 var(--i); transition: background .15s; }
.karte-btn:hover { background: #e9f3f3; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 560px) {
  .karte-label { padding: 14px 16px 18px; }
  .karte-label h2 { font-size: 22px; line-height: 28px; }
  .karte-label p { font-size: 16px; line-height: 23px; }
  .karte-btn { height: 40px; margin-top: 12px; padding: 0 14px; font-size: 15px; }
}

/* ---------- Zahlenband mit drei Kennzahlen (kjg-zahlen) ---------- */
@media (max-width: 960px) {
  .sub .stats.stats-3 ul { grid-template-columns: repeat(3, 1fr); column-gap: 8px; row-gap: 0; padding: 28px 12px; align-items: start; }
  .sub .stats.stats-3 li { justify-content: flex-start; gap: 10px; }
  .sub .stats.stats-3 .icon { width: 44px; height: 44px; object-fit: contain; }   /* gleich hohe Icon-Zeile, damit Zahlen und Beschriftungen auf einer Linie stehen */
  .sub .stats.stats-3 .num { font-size: 34px; line-height: 38px; }
  .sub .stats.stats-3 .label { font-size: 14px; line-height: 18px; text-align: center; min-height: 36px; overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }   /* Umbruch nur zwischen ganzen Wörtern, ohne Trennstrich */
}


/* Hinweis „Weiter scrollen“ auf der Karte */
.karte-buehne .scroll-hinweis { right: auto; left: 16px; top: 20px; }
@media (min-width: 961px) { .karte-buehne .scroll-hinweis { top: 40px; } }   /* Desktop: 20 px tiefer */

/* Zahlenband unter den Sprungmarken: weniger Leerraum davor, Abstand zum folgenden Abschnitt danach */
.sub .jump-section + .stats { margin-bottom: 100px; }
.sub .jump-section:has(+ .stats) { padding-bottom: 64px; }
@media (max-width: 960px) { .sub .jump-section + .stats { margin-bottom: 56px; } }

/* ---------- Kontaktband (kjg-kontakt): Petrol, weiße Schrift ---------- */
.sub .kontakt-band { background: var(--teal); color: var(--white); padding: 64px 24px; margin-top: 56px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.35); }
.sub .kontakt-inner { max-width: 760px; margin-inline: auto; }
.sub .kontakt-band h2 { color: var(--white); font: 800 40px/48px var(--i); letter-spacing: -.5px; }
.sub .kontakt-band p { margin-top: 16px; font: 400 21px/32px var(--o); }
.sub .kontakt-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.sub .kontakt-band .btn { display: inline-flex; margin-top: 0; width: auto; height: 64px; padding: 0 36px; font-size: 26px; }
@media (max-width: 960px) {
  .sub .kontakt-band { padding: 44px 20px; margin-top: 40px; }
  .sub .kontakt-band h2 { font-size: 30px; line-height: 38px; }
  .sub .kontakt-band p { font-size: 18px; line-height: 28px; }
}

/* Tastaturfokus für alle Knöpfe sichtbar */
.btn:focus-visible, .hero-btn:focus-visible, .karte-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Zitat ohne Bild: gleiche Petrol-Fläche wie die Zitate mit Foto, Text zentriert ---------- */
.sub .z-quote.ohne-bild { margin: 100px 0 0; padding: 0 16px; }
.sub .z-quote.ohne-bild .z-quote-inner { display: flex; align-items: center; justify-content: center; text-align: left; width: 1030px; }
.sub .z-quote.ohne-bild blockquote { position: static; margin: 0; padding: 0; max-width: 100%; }
.sub .z-quote.ohne-bild blockquote p { white-space: normal; text-wrap: balance; text-align: left; }
.sub .z-quote.ohne-bild blockquote br { display: none; }
.sub .z-quote.ohne-bild blockquote strong, .sub .z-quote.ohne-bild blockquote span { display: inline; }
@media (max-width: 960px) {
  .sub .z-quote.ohne-bild { margin-top: 56px; }
  .sub .z-quote.ohne-bild .z-quote-inner { padding: 36px 0; }
  .sub .z-quote.ohne-bild blockquote p { font-size: 22px; line-height: 32px; }
}

/* Seitenkopf geteilt, gespiegelt (FAQ): Überschrift links auf Petrol, Bild rechts */
@media (min-width: 961px) {
  .sub .hero-split.reverse { grid-template-columns: 735fr 705fr; }
  .sub .hero-split.reverse .media { order: 2; }
  .sub .hero-split.reverse .content { order: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 0 0 14.2vw; }
}


/* Reiner Textabschnitt (kjg-abschnitt ohne Bild): z. B. auf „Über uns“ ergänzbar */
.sub .feature.text-only { display: block; height: auto; }
.sub .feature.text-only h2 { margin-top: 0; white-space: normal; }
.sub .feature.text-only .text { max-width: 760px; }
.sub .feature.text-only .body { width: auto; max-width: 760px; white-space: normal; font: 400 22px/32px var(--i); letter-spacing: 0; }
.sub .feature.text-only .body br { display: none; }
@media (max-width: 960px) { .sub .feature.text-only .body { font-size: 18px; line-height: 28px; } }

/* Titel „Wo Sie uns finden“ vor dem Karten-Scrollytelling (Über uns) */
.sub .karte-titel h2 { font: 800 49px/49px var(--i); letter-spacing: -.5px; }
.sub .wer-flow .karte-titel + .karte-sektion { margin-top: 40px; }
@media (max-width: 960px) { .sub .karte-titel h2 { font-size: 36px; line-height: 42px; } .sub .wer-flow .karte-titel + .karte-sektion { margin-top: 28px; } }

/* =====================================================================
   Detailseiten (Angebote, soziale Aktionen): Scrollytelling – Steuerung assets/js/ablauf.js
   Sprungmarken · Zahlen · Abschnitt mit stehendem Bild · Zitat (füllt sich Buchstabe für Buchstabe) · Abschnitt · Kontakt
   ===================================================================== */

.sub .story { padding: 96px 0 72px; }
.sub .story-in { width: 1030px; max-width: calc(100% - 32px); margin-inline: auto; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 64px; }
.sub .story-bild { flex: 1 1 0; min-width: 0; position: sticky; top: 140px; }
.sub .story.links .story-in { flex-direction: row; }
.sub .story-rahmen .media { width: 100%; height: 100%; }
.sub .story-rahmen { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 200px); overflow: hidden; background: var(--placeholder); }
.sub .story-schritte { flex: 1 1 0; min-width: 0; }
.sub .story-schritt { display: flex; flex-direction: column; gap: 14px; transition: opacity .45s ease; }
.sub .story-schritt + .story-schritt { margin-top: 24px; }
.sub .story-schritte { align-self: center; }   /* Text steht mittig neben dem Bild */
.sub .story.aktiv .story-schritt:not(.an) { opacity: .28; }
.sub .story-schritt h2 { font: 800 44px/1.1 var(--i); }
.sub .story-schritt p { max-width: 34em; color: #000; font: 400 21px/32px var(--i); }

.sub .ablauf-zitat .z-quote.ohne-bild { margin: 0; }
.sub .ablauf-zitat .z-quote.ohne-bild .z-quote-inner { padding: 110px 0; }
.sub .ablauf-zitat .z-quote.ohne-bild blockquote p { font: italic 800 clamp(26px, 3.4vw, 44px)/1.22 var(--f); max-width: 920px; }
.sub .ablauf-zitat blockquote p span { display: inline; margin: 0; font: inherit; }   /* nicht wie die Rollen-Zeile (span) im Zitat */
.sub .ablauf-zitat blockquote p .zitat-wort { white-space: nowrap; }
.sub .zitat-b { transition: opacity .12s linear; }

@media (max-width: 960px) {
  .sub .story { padding: 32px 0 40px; }
  .sub .story-schritte { align-self: stretch; }
  .sub .story-in, .sub .story.links .story-in { flex-direction: column; gap: 0; }
  .sub .story-bild { position: sticky; top: 80px; z-index: 2; width: 100%; flex: none; background: var(--white); padding-bottom: 12px; }
  .sub .story-rahmen { aspect-ratio: 16 / 10; max-height: 34vh; width: 100%; }
  .sub .story-schritt { gap: 10px; }
  .sub .story-schritt + .story-schritt { margin-top: 18px; }
  .sub .story-schritt h2 { font-size: 30px; line-height: 36px; }
  .sub .story-schritt p { font-size: 18px; line-height: 28px; }
  .sub .ablauf-zitat .z-quote.ohne-bild .z-quote-inner { padding: 64px 0; }
  .sub .ablauf-zitat .z-quote.ohne-bild blockquote p { font-size: 24px; line-height: 32px; }
}

.sub .story + .kontakt-band, .sub .story + kjg-kontakt + .kontakt-band { margin-top: 0; }
.sub .stats + .story { padding-top: 0; }   /* Abstand nach dem Zahlenband kommt schon vom Zahlenband */

/* Block „Mehr dazu“ mit externen Links (z. B. Erdbeerfest-Spende) */
.sub .mehr-links { padding: 24px 0 96px; }
.sub .mehr-links h2 { font: 800 36px/1.1 var(--i); }
.sub .mehr-links ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sub .mehr-links .more-link { display: inline-flex; align-items: center; gap: 12px; color: #000; font: 400 21px/1.4 var(--i); }
@media (max-width: 960px) { .sub .mehr-links { padding: 16px 0 56px; } .sub .mehr-links h2 { font-size: 28px; } .sub .mehr-links .more-link { font-size: 18px; } }
.sub .mehr-links .more-link span { font: inherit; }

/* Angebote: Stichpunkte im Kopfbild (Alter, Termin, Ort) */
.sub .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 540px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-chips li, .sub .hero-chips li { padding: 7px 16px; border-radius: 999px; background: var(--accent); color: #000; font: 600 15px/1.2 var(--i); }   /* Koralle mit schwarzer Schrift (gut lesbar) */

/* Soziale Aktionen: Abschnitte mit eigenem Bild je Schritt – das Bild wechselt weich mit dem aktiven Schritt */
.sub .story.mit-bildern .story-schritte > h2 { margin-bottom: 8px; font: 800 44px/1.1 var(--i); }
.sub .story.mit-bildern .story-schritt { min-height: 34vh; justify-content: center; }
.sub .story.mit-bildern .story-schritt + .story-schritt { margin-top: 0; }
.sub .story-schritt h3 { color: var(--teal); font: 800 26px/1.2 var(--i); }
.sub .story-rahmen .story-b { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.sub .story-rahmen .story-b:first-child, .sub .story.aktiv .story-rahmen .story-b.an { opacity: 1; }
.sub .story.aktiv .story-rahmen .story-b:first-child:not(.an) { opacity: 0; }
@media (max-width: 960px) {
  .sub .hero-chips { margin-top: 18px; }
  .sub .hero-chips li { font-size: 14px; padding: 6px 13px; }
  .sub .story.mit-bildern .story-schritte > h2 { font-size: 30px; line-height: 36px; margin-top: 8px; }
  .sub .story.mit-bildern .story-schritt { min-height: 30vh; }
  .sub .story-schritt h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .sub .story-rahmen .story-b { transition: none; } }

.karte-quelle a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Kontaktformular (kontakt.html) ---------- */
.sub .formular { padding: 56px 0 120px; max-width: min(720px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 22px; }
.sub .f-einleitung { font: 400 21px/32px var(--i); }
.sub .f-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sub .f-feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sub .formular label { color: #000; font: 700 16px/1.3 var(--i); }
.sub .f-pflicht { color: var(--accent); }
.sub .formular input[type="text"], .sub .formular input[type="email"], .sub .formular input[type="tel"], .sub .formular input[type="number"],
.sub .formular input[type="date"], .sub .formular select, .sub .formular textarea {
  width: 100%; box-sizing: border-box; padding: 13px 14px; border: 2px solid var(--teal); border-radius: 0; background: var(--white); color: #000; font: 400 18px/1.4 var(--i); }
.sub .formular textarea { resize: vertical; min-height: 160px; }
.sub .formular input:focus-visible, .sub .formular select:focus-visible, .sub .formular textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sub .formular input:user-invalid, .sub .formular select:user-invalid, .sub .formular textarea:user-invalid { border-color: var(--accent); }
.sub .f-gruppe { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 22px 22px 24px; border: 2px solid var(--teal); }
.sub .f-gruppe[hidden] { display: none; }
.sub .f-gruppe legend { padding: 0 8px; color: var(--teal); font: 800 20px/1.2 var(--i); }
.sub .f-hinweis { margin-top: 2px; font: 400 15px/22px var(--i); opacity: .8; }
.sub .f-ein { display: flex; align-items: flex-start; gap: 12px; }
.sub .f-ein input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--teal); }
.sub .f-ein label { font: 400 16px/24px var(--i); }
.sub .f-ein a { text-decoration: underline; text-underline-offset: 3px; }
.sub .f-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub .f-status { min-height: 1.5em; font: 600 17px/1.5 var(--i); color: var(--teal); }
.sub .f-status.f-fehler { color: #b3123f; }
.sub .f-senden { align-self: flex-start; height: 56px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--teal); color: var(--white); font: 600 20px/1 var(--i); cursor: pointer; transition: background .15s; }
.sub .f-senden:hover { background: #005f60; text-decoration: underline; text-underline-offset: 5px; }
.sub .f-senden:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sub .f-senden:disabled { opacity: .6; cursor: default; }
@media (max-width: 960px) {
  .sub .formular { padding: 36px 0 80px; gap: 18px; }
  .sub .f-einleitung { font-size: 18px; line-height: 28px; }
  .sub .f-zeile, .sub .f-gruppe { grid-template-columns: 1fr; gap: 18px; }
  .sub .f-senden { width: 100%; align-self: stretch; }
}

/* Externe Links in den Modulen: im Satz unterstrichen, darunter Pfeil + Text (nur diese sind klickbar) */
.sub a.ext { color: inherit; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { .sub a.ext:hover { text-decoration-thickness: 2px; } }
.sub a.ext:focus-visible, .sub .ext-link .more-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sub .ext-link { margin-top: 18px; }
.sub .feature .body p.ext-link + p.ext-link, .sub .story-schritt p.ext-link + p.ext-link { margin-top: 10px; }
.sub .ext-link .more-link { display: inline-flex; align-items: flex-start; gap: 12px; color: #000; font: 400 19px/1.4 var(--i); }
.sub .ext-link .more-link span { margin-left: 0; font: inherit; }
.sub .ext-link .more-link .right { margin-top: 7px; }
@media (max-width: 960px) { .sub .ext-link .more-link { font-size: 17px; } }
.sub .feature .body p.ext-link, .sub .feature.tight .body p.ext-link { margin-top: 22px; }
.sub .feature .body p.ext-link + p.ext-link, .sub .feature.tight .body p.ext-link + p.ext-link { margin-top: 10px; }

/* Anfrage-Abschnitt auf den Verleih-Seiten (Formular mit vorausgewähltem Material) */
.sub .anfrage { padding: 40px 0 0; }
.sub .anfrage h2 { font: 800 44px/1.1 var(--i); }
.sub .anfrage-text { margin-top: 12px; max-width: 34em; font: 400 21px/32px var(--i); }
.sub .anfrage .formular { width: 1030px; max-width: calc(100% - 32px); margin-inline: auto; padding: 32px 0 100px; }
.sub .anfrage .container { max-width: calc(100% - 32px); }
.sub .f-feld[hidden] { display: none; }
.sub .f-mail a { text-decoration: underline; text-underline-offset: 3px; }
.sub .f-l-std[hidden], .sub .f-l-leihen[hidden] { display: none; }
@media (max-width: 960px) { .sub .anfrage h2 { font-size: 30px; line-height: 36px; } .sub .anfrage-text { font-size: 18px; line-height: 28px; } .sub .anfrage .formular { padding: 24px 0 72px; } }
.sub .f-gruppe .f-hinweis, .sub .f-gruppe .f-zeile { grid-column: 1 / -1; }

/* Schalter (Slider-Optik) für Material und Zeltart: gleich breite Segmente, auch auf dem Handy in einer Zeile */
.sub .f-wahl { grid-column: 1 / -1; }
.sub .f-etikett { display: block; margin-bottom: 8px; font: 700 17px/1.3 var(--i); }
.sub .f-schalter { display: flex; width: 100%; border: 2px solid var(--teal); border-radius: 999px; padding: 4px; gap: 4px; background: #fff; }
.sub .f-schalter label { flex: 1 1 0; min-width: 0; position: relative; }
.sub .f-schalter input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sub .f-schalter span { display: block; padding: 12px 10px; border-radius: 999px; text-align: center; font: 600 18px/1.2 var(--i); color: var(--teal); transition: background .2s, color .2s; }
.sub .f-schalter input:checked + span { background: var(--teal); color: #fff; }
.sub .f-schalter input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.sub .f-getrennt { grid-column: 1 / -1; margin-top: -8px; }
@media (max-width: 960px) { .sub .f-schalter span { padding: 11px 6px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .sub .f-schalter span { transition: none; } }
