/* ══════════════════════════════════════════════════════════════════════
   Tourensache — Internetauftritt (public/index.html)
   ══════════════════════════════════════════════════════════════════════
   Bewusst getrennt von der App: kein React, kein Kartenbundle, keine
   1-MB-JavaScript-Datei. Wer die Seite zum ersten Mal öffnet, will wissen,
   was das hier ist — dafür muss kein Kartenrenderer starten.

   Warum nicht das „Kartenblatt"-Aussehen der App? Weil es dort richtig ist
   und hier falsch war: Haarlinien, 3px-Radien, Serifenschrift und ein
   einziger beiger Ton lesen sich als Formular. Ein Auftritt braucht ein
   Bild, eine große Schrift und Tiefe. Was bleibt, ist die Marke: das Rot
   der Wegelinie und das dunkle Grün.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Schriften (selbst gehostet – kein Google-Fonts-Abruf) ─────────── */
@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/archivo-700-latin.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:'Archivo';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/archivo-700-latin-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:'Archivo';font-style:normal;font-weight:800;font-display:swap;
  src:url('/assets/fonts/archivo-800-latin.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:'Archivo';font-style:normal;font-weight:800;font-display:swap;
  src:url('/assets/fonts/archivo-800-latin-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:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/source-sans-3-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;
  src:url('/assets/fonts/source-sans-3-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:700;font-display:swap;
  src:url('/assets/fonts/source-sans-3-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ── Marken- und Flächenwerte ───────────────────────────────────────── */
:root {
  --nacht:  #11201B;   /* Kopf, Fuß, Schleier über dem Foto */
  --tinte:  #16241E;   /* Überschriften */
  --grau:   #55625B;   /* Fließtext zweiter Ordnung – 6,4:1 auf --kreide */
  --kreide: #F3F5F3;   /* Seitengrund, kühl statt beige */
  --weiss:  #FFFFFF;
  --linie:  #DDE3DF;
  --tanne:  #1E4E3E;   /* zweite Marke, für Flächen und den Zweitknopf */
  --route:  #D0342C;   /* Wegelinie – das eine kräftige Rot */
  --route-d:#AE2A23;

  --r:      14px;      /* Karten */
  --r-s:    10px;
  --schatten:    0 1px 2px rgba(17,32,27,.05), 0 8px 24px -12px rgba(17,32,27,.22);
  --schatten-xl: 0 2px 4px rgba(17,32,27,.06), 0 22px 48px -20px rgba(17,32,27,.38);
  --breite: 1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--kreide);
  color: var(--tinte);
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .schrift-display {
  font-family: 'Archivo', 'Archivo Narrow', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}

.bahn { max-width: var(--breite); margin: 0 auto; padding: 0 22px; }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--route);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═════════ Kopfzeile ═════════
   Liegt über dem Foto und wird beim Scrollen fest und dunkel. */
.kopf {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.kopf-inner {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.kopf.fest {
  background: rgba(17, 32, 27, .93);
  backdrop-filter: saturate(150%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.kopf.fest .kopf-inner { padding-top: 10px; padding-bottom: 10px; }

.marke {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px;
  letter-spacing: -.02em; color: #fff; text-decoration: none;
  margin-right: auto;
  padding: 7px 0; min-height: 44px;
}
.marke svg { flex: none; }

.kopf-nav { display: flex; align-items: center; gap: 26px; }
.kopf-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(255,255,255,.86); text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.kopf-nav a:hover { color: #fff; }

/* ── Knöpfe ── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 13px 24px; min-height: 50px;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
}
.knopf:active { transform: translateY(1px); }
.knopf-rot   { background: var(--route); color: #fff; box-shadow: 0 8px 20px -10px rgba(208,52,44,.85); }
.knopf-rot:hover { background: var(--route-d); }
.knopf-hell  { background: #fff; color: var(--tinte); }
.knopf-hell:hover { background: #f0f2f0; }
.knopf-rand  { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.knopf-rand:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.knopf-dunkel{ background: var(--tanne); color: #fff; }
.knopf-dunkel:hover { background: #163C30; }
.knopf-klein { padding: 10px 18px; min-height: 42px; font-size: 15px; }

/* ═════════ Aufmacher ═════════ */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 132px 0 54px;
  overflow: hidden;
  isolation: isolate;
  background: var(--nacht);
}
.hero-bild {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 52%;
  z-index: -2;
}
/* Der Schleier: links dicht, damit der Text trägt; rechts offen, damit vom
   Bild etwas übrig bleibt. Ohne ihn stünde weiße Schrift auf hellem Himmel. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(11,20,17,.90) 0%, rgba(11,20,17,.72) 32%,
                           rgba(11,20,17,.30) 62%, rgba(11,20,17,.10) 100%),
    linear-gradient(to top, rgba(11,20,17,.66) 0%, rgba(11,20,17,0) 40%);
}

.hero-inhalt { position: relative; max-width: 760px; }

.eyebrow {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(35px, 6.3vw, 68px);
  color: #fff;
  margin: 0 0 20px;
  max-width: 15ch;
}
.hero h1 .betont { color: #F2B441; }

.hero-sub {
  font-size: clamp(16.5px, 2.1vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 54ch;
  margin: 0 0 30px;
}

/* ── Sucheinstieg: die eigentliche Handlung, deshalb erhöht und weiß ── */
.einstieg {
  display: flex; align-items: stretch; gap: 8px;
  background: #fff; padding: 8px;
  border-radius: 999px;
  box-shadow: var(--schatten-xl);
  max-width: 700px;
}
.einstieg-feld { flex: 1 1 0; min-width: 0; position: relative; display: flex; align-items: center; }
.einstieg-feld + .einstieg-feld::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--linie);
}
.einstieg label {
  position: absolute; left: 22px; top: 9px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--grau); pointer-events: none;
}
.einstieg input {
  width: 100%; font: inherit; font-size: 16px; font-weight: 600;
  border: 0; background: transparent; color: var(--tinte);
  padding: 25px 20px 11px 22px; border-radius: 999px;
  min-height: 62px;
}
.einstieg input::placeholder { color: #9AA49E; font-weight: 400; }
.einstieg input:focus { outline: none; }
.einstieg-feld:focus-within { background: #F5F7F5; border-radius: 999px; }
.einstieg .knopf { flex: none; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.hero-chips li::before { content: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-radius: 999px; min-height: 44px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background .16s ease, border-color .16s ease;
}
.chip:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.5); }
.chip-vor {
  flex-basis: 100%;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.58);
  margin: 0 0 2px;
}

.hero-fuss {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 22px 0 0; font-size: 14.5px; color: rgba(255,255,255,.78);
}
.punkt-frei { width: 8px; height: 8px; border-radius: 50%; background: #55D6A0; flex: none; margin-top: 8px; }

/* ═════════ Zahlenstreifen ═════════ */
.zahlen { background: var(--nacht); color: #fff; padding: 26px 0 30px; }
.zahlen-liste {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; list-style: none; margin: 0; padding: 0; text-align: center;
}
.zahlen-liste b {
  display: block;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(25px, 4.4vw, 40px); letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.zahlen-liste span {
  font-size: clamp(11px, 2.4vw, 13px); letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.62); line-height: 1.3;
}
.zahlen-quelle {
  text-align: center; margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.55);
}
.zahlen-quelle a { color: rgba(255,255,255,.78); }

/* ═════════ Abschnitte ═════════ */
.abschnitt { padding: clamp(56px, 8vw, 96px) 0; }
.abschnitt-kopf { max-width: 640px; margin: 0 0 clamp(32px, 4.5vw, 52px); }
.abschnitt-kopf.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.abschnitt h2 { font-size: clamp(27px, 3.7vw, 42px); margin: 0 0 14px; }
.abschnitt-kopf p { font-size: 18px; color: var(--grau); margin: 0; }

.marker {
  display: inline-block;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--route); margin: 0 0 12px;
}

/* ── Drei Schritte, an einer Wegelinie aufgereiht ──
   Die Nummerierung ist hier keine Deko: die Schritte laufen tatsächlich
   in dieser Reihenfolge ab, und die rote Linie ist dieselbe wie auf der
   Karte im Werkzeug. */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.schritte::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 21px; height: 2px;
  background: repeating-linear-gradient(to right,
    var(--route) 0 12px, transparent 12px 22px);
  opacity: .45;
}
.schritt { position: relative; }
.schritt-nr {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--route); color: #fff;
  display: grid; place-items: center;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px;
  margin: 0 0 18px;
  box-shadow: 0 0 0 6px var(--kreide);
  position: relative;
}
.schritt h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.02em; }
.schritt p { margin: 0; color: var(--grau); font-size: 16px; }

.schau {
  margin: clamp(34px, 5vw, 56px) auto 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--schatten-xl);
  border: 1px solid var(--linie);
  background: #fff;
  max-width: 980px;
}
.schau img { width: 100%; }
.schau-bu {
  font-size: 13.5px; color: var(--grau); text-align: center;
  margin: 14px 0 0;
}

/* ── Zwei Wege ── */
.wege { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.weg {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r);
  padding: 30px 28px 28px; display: flex; flex-direction: column;
  box-shadow: var(--schatten);
}
.weg-marke {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; margin: 0 0 16px;
}
.weg-frei { background: #E3F5EC; color: #0B6558; }
.weg-ki   { background: #FBE9E7; color: #A82922; }
.weg h3 { font-size: 24px; margin: 0 0 10px; }
.weg > p { color: var(--grau); margin: 0 0 18px; font-size: 16px; }
.weg ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.weg li { position: relative; padding-left: 27px; font-size: 15.5px; }
.weg li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 11px; border: solid var(--tanne);
  border-width: 0 2px 2px 0; transform: rotate(43deg);
}
.weg .knopf { margin-top: auto; align-self: flex-start; }

/* ── Beispieltouren ── */
.touren { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--schatten);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tour:hover { transform: translateY(-3px); box-shadow: var(--schatten-xl); }
.tour-bild { aspect-ratio: 3 / 2; overflow: hidden; background: #DDE3DF; }
.tour-bild img { width: 100%; height: 100%; object-fit: cover; }
.tour-text { padding: 15px 17px 17px; }
.tour-text h3 { font-size: 18px; margin: 0 0 4px; letter-spacing: -.02em; }
.tour-meta { font-size: 13.5px; color: var(--grau); margin: 0; }
.tour-los {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 11px 0 0; font-size: 14px; font-weight: 700; color: var(--route);
}

/* ── Warum ── */
.gruende { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grund h3 { font-size: 17.5px; margin: 0 0 7px; letter-spacing: -.015em; }
.grund p { margin: 0; font-size: 15.5px; color: var(--grau); }
.grund-icon {
  width: 40px; height: 40px; border-radius: var(--r-s);
  background: #E6EDE9; color: var(--tanne);
  display: grid; place-items: center; margin: 0 0 14px;
}

/* ── Abschluss-Aufruf ── */
.aufruf { background: var(--tanne); color: #fff; }
.aufruf .bahn { padding-top: clamp(52px, 7vw, 82px); padding-bottom: clamp(52px, 7vw, 82px); text-align: center; }
.aufruf h2 { font-size: clamp(27px, 4vw, 44px); margin: 0 0 14px; }
.aufruf p { font-size: 18px; color: rgba(255,255,255,.82); margin: 0 auto 28px; max-width: 46ch; }
.aufruf-knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Fußzeile ── */
.fuss { background: var(--nacht); color: rgba(255,255,255,.72); font-size: 15px; }
.fuss .bahn { padding-top: 46px; padding-bottom: 34px; }
.fuss-oben { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin: 0 0 34px; }
.fuss h4 {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fuss ul a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 2px 0;
}
.fuss a { color: rgba(255,255,255,.72); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-marke { color: #fff; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.fuss-satz { margin: 0; max-width: 40ch; font-size: 15px; }
.fuss-unten {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.fuss-unten p { margin: 0 0 7px; }

/* ═════════ Schmale Fenster ═════════ */
@media (max-width: 900px) {
  .schritte, .wege, .gruende { grid-template-columns: 1fr 1fr; }
  .schritte::before { display: none; }
  .touren { grid-template-columns: 1fr 1fr; }
  .fuss-oben { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .kopf-nav { display: none; }
  .hero { min-height: 0; padding: 108px 0 44px; }
  /* Auf dem Handy liegt der Text über der ganzen Höhe. Ein gleichmäßig
     dunkler Schleier machte das Foto unsichtbar — jetzt ist er nur dort
     dicht, wo Fließtext steht, und öffnet sich zur Bildmitte hin. Der
     Ausschnitt wandert dabei auf die Bergkette statt in den Wald. */
  .hero-bild { object-position: 52% 34%; }
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(11,20,17,.90) 0%,
        rgba(11,20,17,.74) 30%,
        rgba(11,20,17,.34) 56%,
        rgba(11,20,17,.30) 70%,
        rgba(11,20,17,.86) 100%);
  }
  .hero h1 { letter-spacing: -.022em; }
  /* Aus der Pille werden gestapelte Felder: nebeneinander wären beide
     Ortsfelder auf 375px zu schmal, um einen Ortsnamen zu lesen. */
  .einstieg { flex-direction: column; border-radius: var(--r); padding: 10px; gap: 4px; }
  .einstieg-feld { border-radius: var(--r-s); }
  .einstieg-feld + .einstieg-feld::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .einstieg input { border-radius: var(--r-s); min-height: 58px; }
  .einstieg .knopf { width: 100%; margin-top: 4px; }
  .schritte, .wege, .gruende, .touren { grid-template-columns: 1fr; gap: 20px; }

  /* Drei Zahlen nebeneinander auf 390px: „120.000+" war breiter als seine
     Spalte und drückte die Reihe bis an den Rand. Kleiner statt gestapelt —
     nebeneinander sind sie mit einem Blick zu vergleichen. */
  .zahlen-liste { gap: 6px; }
  .zahlen-liste b { font-size: 21px; letter-spacing: -.035em; }
  .zahlen-liste span { font-size: 9.5px; letter-spacing: .03em; }
  .abschnitt { padding: 48px 0; }
  .fuss-oben { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
