/* Startseite gebietsheld.de. Gestaltung wie in der Anwendung: Straßenkarte.
   Tinte (dunkles Petrol) trägt, Strecke führt, Signalgelb heißt „jetzt / fällig“. Schrift: Overpass (aus der Welt der Wegweiser). */
@font-face { font-family: Overpass; src: url(../fonts/overpass-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Overpass; src: url(../fonts/overpass-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Overpass; src: url(../fonts/overpass-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Overpass; src: url(../fonts/overpass-latin-900-normal.woff2) format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --tinte: #12343B; --tinte-tief: #0D282E; --tinte-hell: #1E4C56; --strecke: #0B6E79; --signal: #FFC83D; --signal-tief: #6B4E00;
  --papier: #EDF1F0; --papier-2: #E2E8E7; --flaeche: #FFFFFF; --linie: #CFD9D8; --text: #15262B; --text-2: #4D5F64;
  --breite: 1200px; --rand: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.6 Overpass, system-ui, sans-serif; color: var(--text); background: var(--papier); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--strecke); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.innen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--signal); color: var(--tinte); font-weight: 800; padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 12px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 8px; font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: transform .12s ease-out, background-color .12s; }
.knopf:active { transform: translateY(1px); }
.knopf.signal { background: var(--signal); color: var(--tinte); }
.knopf.signal:hover { background: #FFD766; }
.knopf.rand { border-color: #ffffff59; color: #fff; }
.knopf.rand:hover { border-color: #fff; }
.knopf.strecke { background: var(--strecke); color: #fff; }
.knopf.strecke:hover { background: #095B64; }
.knopf.klein { min-height: 44px; padding: 0 18px; font-size: 16px; }
.knopf.dunkel { border-color: var(--linie); color: var(--tinte); }
.knopf.dunkel:hover { border-color: var(--tinte); }

/* ---------- Kopf ---------- */
.kopfband { background: var(--tinte); color: #fff; }
.kopf { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.marke { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-weight: 900; font-size: 22px; letter-spacing: -0.01em; color: inherit; text-decoration: none; margin-right: auto; }
.marke svg { width: 34px; height: 34px; flex: none; }
.kopf nav { display: flex; gap: 26px; }
.kopf nav a { color: #CFE0E3; text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; }
.kopf nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 899px) { .kopf nav { display: none; } .kopf { padding-block: 14px; } }
@media (max-width: 359px) { .kopf { gap: 12px; } .marke { font-size: 19px; gap: 8px; } .marke svg { width: 28px; height: 28px; } .knopf.klein { padding: 0 14px; } }

/* ---------- Auftakt: das Gebiet als Karte ---------- */
.auftakt { background: var(--tinte); color: #fff; overflow: hidden; position: relative; }
.auftakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; padding-block: clamp(24px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.auftakt h1 { font-weight: 900; font-size: clamp(3.4rem, 8.4vw, 7.2rem); line-height: .92; letter-spacing: -0.03em; }
.auftakt .unter { margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: #D5E3E5; max-width: 33ch; }
.auftakt .tun { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.auftakt .klein { margin-top: 18px; font-size: 15px; color: #A9C3C8; }
.kartenfeld { position: relative; margin-right: calc(-1 * var(--rand) - 40px); }
.gebiet { width: 100%; height: auto; }
.legende { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #A9C3C8; margin-top: 4px; padding-left: 6%; }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.legende .l-halt { background: #fff; box-shadow: 0 0 0 3px var(--signal); width: 12px; height: 12px; margin: 0 2px; }
.legende .l-faellig { border: 2.5px solid var(--signal); }

.g-flaeche { fill: #173F47; }
.g-grenze { fill: none; stroke: #3B6B75; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.g-see { fill: #23525C; }
.g-berg { fill: none; stroke: #23525C; stroke-width: 2; stroke-linecap: round; }
.g-str { fill: none; stroke: #2F5F69; stroke-width: 2.5; stroke-linecap: round; }
.g-ort circle { fill: #7FA3AB; }
.g-ort text, .g-name { fill: #9DBBC1; font: 600 15px Overpass, sans-serif; }
.g-ring { fill: none; stroke: var(--signal); stroke-width: 3; }
.g-route { fill: none; stroke: var(--signal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fahrt 2.8s cubic-bezier(.55, .1, .3, 1) .5s forwards; }
.g-halt { opacity: 0; animation: halt .4s ease-out forwards; }
.g-halt .punkt { fill: #fff; stroke: var(--signal); stroke-width: 4; }
.g-halt .nr { fill: var(--tinte); font: 900 17px Overpass, sans-serif; text-anchor: middle; }
.g-halt .schild { fill: #fff; }
.g-halt .zeit { fill: var(--tinte); font: 900 17px Overpass, sans-serif; }
.g-halt .ort { fill: var(--tinte); font: 600 17px Overpass, sans-serif; }
.g-start .punkt { fill: var(--signal); stroke: var(--tinte); stroke-width: 5; }
.g-zurueck .schild { fill: var(--tinte-tief); stroke: var(--signal); stroke-width: 1.5; }
.g-zurueck .zeit { fill: var(--signal); font: 800 15px Overpass, sans-serif; }
.d0 { animation-delay: .3s; } .d1 { animation-delay: 1.25s; } .d2 { animation-delay: 1.9s; } .d3 { animation-delay: 2.55s; } .d4 { animation-delay: 3.3s; }
@keyframes fahrt { to { stroke-dashoffset: 0; } }
@keyframes halt { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .g-route { animation: none; stroke-dashoffset: 0; } .g-halt { animation: none; opacity: 1; } }

@media (max-width: 899px) {
  .auftakt-raster { grid-template-columns: 1fr; gap: 8px; padding-top: 20px; }
  .auftakt .unter { max-width: 40ch; }
  .kartenfeld { margin: 12px calc(-1 * var(--rand)) 0; overflow: hidden; }
  .gebiet { width: 660px; max-width: none; margin-left: calc(50% - 279px); }
  .legende { padding: 0 var(--rand); }
}
@media (max-width: 479px) { .auftakt .tun .knopf { flex: 1 1 100%; } }
@media (max-width: 379px) { .gebiet { width: 600px; margin-left: calc(50% - 253px); } }
@media (max-width: 339px) { .gebiet { width: 540px; margin-left: calc(50% - 228px); } }
@media (min-width: 560px) and (max-width: 899px) { .gebiet { width: 100%; max-width: 760px; margin-inline: auto; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(64px, 9vw, 128px); }
.abschnitt.hell { background: var(--flaeche); }
.abschnitt h2 { font-weight: 900; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.022em; max-width: 18ch; }
.abschnitt .einleitung { margin-top: 20px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 56ch; }
h3 { font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.12; letter-spacing: -0.012em; }
.punkte { margin-top: 18px; display: grid; gap: 10px; }
.punkte li { position: relative; padding-left: 26px; }
.punkte li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--strecke); }

/* Bilder aus der Anwendung */
.bild { border-radius: 12px; overflow: hidden; background: var(--papier-2); box-shadow: 0 0 0 1px var(--linie), 0 40px 70px -40px rgba(18, 52, 59, .55); }
.bild img { width: 100%; height: auto; }
.handy { width: min(270px, 70vw); border: 9px solid var(--tinte); border-radius: 36px; overflow: hidden; background: var(--tinte); box-shadow: 0 34px 60px -30px rgba(18, 52, 59, .6); flex: none; }
.handy img { width: 100%; height: auto; border-radius: 27px; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }

/* ---------- Eine Woche: Stationen an einer Strecke ---------- */
.strecke { margin-top: clamp(40px, 6vw, 80px); position: relative; }
.station { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(20px, 3.4vw, 48px); align-items: start; position: relative; padding-bottom: clamp(64px, 9vw, 120px); }
.station::before { content: ""; position: absolute; left: 26px; top: 8px; bottom: -8px; width: 4px; background: var(--strecke); border-radius: 2px; }
.station .nr { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--tinte); color: #fff; font-weight: 900; font-size: 24px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--papier); }
.station .text { padding-top: 6px; }
.station .wann { display: block; font-weight: 800; color: var(--strecke); font-size: 16px; margin-bottom: 6px; }
.station .text p { margin-top: 14px; color: var(--text-2); max-width: 46ch; }
.station .schau { position: relative; min-width: 0; }
.station.breit { grid-template-columns: 56px minmax(0, 1fr); }
.station.breit .text { max-width: 760px; }
.station.breit .text p { max-width: 62ch; }
.station.breit .schau { grid-column: 2; margin-top: 36px; margin-right: calc(-1 * min(40px, var(--rand))); }
.schau .handy.dazu { position: absolute; right: clamp(16px, 4vw, 56px); bottom: -48px; width: clamp(170px, 19vw, 240px); }
.station.breit { padding-bottom: calc(clamp(64px, 9vw, 120px) + 64px); }
.station.breit .schau .handy.dazu { right: 10px; bottom: -104px; width: clamp(150px, 14vw, 196px); border-width: 7px; border-radius: 30px; }
.station.breit .schau .handy.dazu img { border-radius: 23px; }
.schau.zwei { display: flex; gap: clamp(16px, 3vw, 40px); align-items: flex-start; }
.schau.zwei .handy { flex: 0 1 270px; width: auto; min-width: 0; }
.schau.zwei .handy:nth-child(2) { margin-top: 56px; }
.ziel { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: clamp(20px, 3.4vw, 48px); align-items: center; }
.ziel i { width: 28px; height: 28px; margin-left: 14px; border-radius: 50%; border: 5px solid var(--signal); background: var(--papier); box-shadow: 0 0 0 6px var(--papier); position: relative; z-index: 1; }
.ziel p { font-weight: 600; font-size: 1.15rem; max-width: 44ch; }
.nur-schmal { display: none; }
@media (max-width: 899px) {
  .nur-breit { display: none; }
  .nur-schmal { display: block; }
  .station, .station.breit { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; }
  .station::before { left: 18px; }
  .station .nr { width: 40px; height: 40px; font-size: 19px; box-shadow: 0 0 0 5px var(--papier); }
  .station .text { padding-top: 2px; }
  .station .schau, .station.breit .schau { grid-column: 2; margin: 28px 0 0; }
  .station.breit { padding-bottom: clamp(64px, 9vw, 120px); }
  .schau.zwei .handy:nth-child(2) { display: none; }
  .ziel { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; }
  .ziel i { margin-left: 6px; }
}

/* ---------- Kalender und Google ---------- */
.zweier { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(32px, 5vw, 56px); }
.google { margin-top: clamp(40px, 6vw, 72px); border-top: 4px solid var(--tinte); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); }
.google h3 { max-width: 14ch; }
.google .freiwillig { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.google p + .punkte { margin-top: 16px; }
.google .mehr { margin-top: 18px; }
.zweier > div { margin-right: calc(-1 * min(40px, var(--rand))); }
@media (max-width: 899px) { .zweier, .google { grid-template-columns: 1fr; } .zweier > div { margin-right: 0; } .google h3 { max-width: none; } }

/* ---------- Team und Einstieg ---------- */
.spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); margin-top: clamp(32px, 5vw, 56px); }
.spalten h3 + p { margin-top: 12px; color: var(--text-2); }
@media (max-width: 799px) { .spalten { grid-template-columns: 1fr; } }

/* ---------- Daten ---------- */
.zusagen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(36px, 6vw, 96px); margin-top: clamp(28px, 4vw, 48px); }
.zusagen div { border-top: 1px solid var(--linie); padding: 22px 0 26px; }
.zusagen dt { font-weight: 800; font-size: 1.2rem; line-height: 1.25; }
.zusagen dd { margin-top: 8px; color: var(--text-2); max-width: 46ch; }
@media (max-width: 799px) { .zusagen { grid-template-columns: 1fr; } }

/* ---------- Fragen ---------- */
.fragen { margin-top: clamp(28px, 4vw, 48px); max-width: 820px; border-bottom: 1px solid var(--linie); }
.fragen details { border-top: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 800; font-size: 1.15rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; margin-right: 6px; width: 14px; height: 14px; border-right: 3px solid var(--strecke); border-bottom: 3px solid var(--strecke); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
.fragen details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.fragen details p { padding: 0 40px 22px 0; color: var(--text-2); max-width: 62ch; }

/* ---------- Schluss ---------- */
.schluss { background: var(--tinte); color: #fff; padding-block: clamp(64px, 9vw, 120px); }
.schluss .innen { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.schluss h2 { font-weight: 900; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -0.025em; }
.schluss p { margin-top: 18px; color: #D5E3E5; max-width: 46ch; font-size: 1.15rem; }
.schluss .tun { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.schluss .tun a:not(.knopf) { color: #CFE0E3; }
@media (max-width: 899px) { .schluss .innen { grid-template-columns: 1fr; } }

.fuss { background: var(--tinte-tief); color: #A9C3C8; font-size: 15px; padding-block: 28px 36px; }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.fuss a { color: #D5E3E5; }
.fuss .rechts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.fuss .quelle { flex-basis: 100%; font-size: 14px; }
@media (max-width: 699px) { .fuss .rechts { margin-left: 0; flex-basis: 100%; } .fuss a { display: inline-block; padding: 8px 0; } }

/* ---------- Rechtstexte ---------- */
.text-seite { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); background: var(--flaeche); }
.text-seite .innen > * { max-width: 760px; }
.text-seite h1 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.022em; }
.text-seite .stand { margin-top: 10px; color: var(--text-2); }
.text-seite h2 { font-weight: 800; font-size: 1.5rem; line-height: 1.2; margin-top: 48px; }
.text-seite h3 { font-size: 1.15rem; margin-top: 28px; letter-spacing: 0; }
.text-seite p, .text-seite ul, .text-seite address { margin-top: 12px; }
.text-seite address { font-style: normal; }
.text-seite ul { display: grid; gap: 8px; }
.text-seite ul li { position: relative; padding-left: 24px; }
.text-seite ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2.5px solid var(--strecke); }
.text-seite .kasten { margin-top: 20px; border-left: 4px solid var(--signal); background: var(--papier); padding: 16px 20px; border-radius: 0 8px 8px 0; }
.text-seite .kasten p:first-child { margin-top: 0; }
.text-seite [lang="en"] { color: var(--text-2); }
.text-seite .wege { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
