/* ==========================================================================
   seefeld-langlauf.at – Stylesheet
   Stand: 14.11.2026

   INHALT
   1. Schriften (@font-face)
   2. Design-Tokens (CSS-Variablen)
   3. Reset und Grundstile
   4. Layout (Container, Raster, Seitenspalte)
   5. Komponenten
   6. Seitenspezifisches     (so wenig wie möglich)
   7. Hilfsklassen

   BREAKPOINTS (mobile first, nur min-width):
   - ab 768 px  = Tablet
   - ab 1024 px = Desktop
   Geprüft wird zusätzlich bei 360, 390, 1280 und 1440 px (siehe UMSETZUNG.md, Abschnitt 8).
   ========================================================================== */


/* ==========================================================================
   1. SCHRIFTEN
   Lokal eingebunden (kein Google-Fonts-Abruf, DSGVO). Nur das Latin-Subset,
   das alle deutschen Zeichen (ä ö ü ß) enthält. Lizenz: SIL OFL, siehe fonts/.
   font-display: swap zeigt sofort Systemschrift und tauscht dann aus.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}


/* ==========================================================================
   2. DESIGN-TOKENS
   Alle Farben, Schriften, Abstände und Radien stehen nur hier.
   In den Komponenten werden ausschließlich diese Variablen verwendet.
   ========================================================================== */

:root {
  /* Farben (aus dem Logo) */
  --c-petrol: #073540;            /* Grundfarbe: Überschriften, dunkle Flächen, Footer */
  --c-tuerkis: #00C6BF;           /* Logo-Türkis: nur auf Petrol, als Fläche oder Linie, nie als Text auf Weiß (Kontrast ca. 2:1) */
  --c-tuerkis-dunkel: #0E6E6C;    /* Links und kleine Labels auf Weiß */
  --c-button: #0F7A77;            /* Primärbuttons mit weißer Schrift */
  --c-bg: #F2F7F7;                /* Seitenhintergrund */
  --c-linie: #D3E2E2;             /* Rahmen und Trennlinien */
  --c-text-gedaempft: #4A6169;    /* zweitrangiger Fließtext */
  --c-text-auf-petrol: #C3DCDD;   /* Fließtext auf dunklen Flächen */
  --c-hellgruen: #E2F4F3;         /* helle Hinweisflächen */
  --c-weiss: #FFFFFF;             /* Karten, Buttons-Text */

  /* Loipenschwierigkeit (immer zusätzlich als Text A/B/C zeigen, nie nur Farbe) */
  --c-loipe-a: #1D5FBF;           /* A = leicht */
  --c-loipe-b: #B3261E;           /* B = mittel */
  --c-loipe-c: #1A1A1A;           /* C = schwer */

  /* Schriften */
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Abstände (8er-Raster, zum Teil feiner) */
  --space-1: 0.25rem;   /*  4 px */
  --space-2: 0.5rem;    /*  8 px */
  --space-3: 0.75rem;   /* 12 px */
  --space-4: 1rem;      /* 16 px */
  --space-5: 1.5rem;    /* 24 px */
  --space-6: 2rem;      /* 32 px */
  --space-7: 3rem;      /* 48 px */
  --space-8: 4.5rem;    /* 72 px */

  /* Radien */
  --radius: 18px;       /* Karten und Boxen */
  --radius-s: 10px;     /* Buttons, Chips, kleine Elemente */

  /* Breiten */
  --max-width: 1200px;  /* maximale Inhaltsbreite */
  --gutter: var(--space-4); /* seitlicher Rand; ab Tablet größer, siehe Layout */

  /* Sonstiges */
  --touch-min: 44px;    /* Mindestgröße für Touch-Ziele */
  --focus-ring: 3px solid var(--c-tuerkis-dunkel);
}


/* ==========================================================================
   3. RESET UND GRUNDSTILE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sprungmarken (z. B. #leutasch) landen nicht unter dem Seitenkopf */
  scroll-padding-top: var(--space-8);
}

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-petrol);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  /* Silbentrennung nur mit lang="de" im <html>-Tag. Verhindert, dass lange
     deutsche Wörter ("Langlauffreundliche") aus Boxen ragen. */
  hyphens: auto;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-petrol);
  /* keine einzelnen Wörter allein in der letzten Zeile */
  text-wrap: balance;
  /* Überschriften nicht automatisch trennen ("See-feld" im Hero). Lange Wörter: manuell mit &shy; */
  hyphens: manual;
}

h1 { font-size: 1.875rem; }  /* 30 px, ab Tablet größer (siehe unten) */
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}

ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

a {
  color: var(--c-tuerkis-dunkel);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--c-petrol);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

/* Sichtbarer Fokusrahmen für alle bedienbaren Elemente (Tastatur) */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* Auf Petrol-Flächen ist das dunkle Türkis kaum sichtbar, dort Logo-Türkis */
.on-dark :focus-visible {
  outline-color: var(--c-tuerkis);
}

/* Kurze Textblöcke (Kartentexte, Einleitungen, Labels): Zeilen ausgleichen, damit kein einzelnes
   Wort allein in der letzten Zeile steht. Bei längeren Absätzen greift text-wrap: pretty (siehe p). */
.card__text,
.hotel__text,
.page-head__lead,
.facts__label,
.stat__note,
.site-footer__about p,
.wax__col p,
.glance__hint,
.news p,
.compare__item p,
.school p,
.place-tiles span,
.hero__box p,
.teaser p,
.panel__cta-main p,
.wax__product,
.empty p,
.tip-strip p,
.host-cta p,
.place-section__head p {
  text-wrap: balance;
}

/* Kurze Elemente nie mitten im Wort oder in der Zahl umbrechen */
.nowrap {
  white-space: nowrap;
}

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
}


/* ==========================================================================
   4. LAYOUT
   Container, Abschnitte, Raster und Seitenspalte.
   ========================================================================== */

/* Container: zentriert, maximale Breite 1200 px, seitlicher Rand */
.container {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root {
    --gutter: var(--space-5);
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: var(--space-6);
  }
}

/* Seitenabschnitt: einheitlicher vertikaler Abstand */
.section {
  padding-block: var(--space-7);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-8);
  }
}

/* Raster für Karten: 1 Spalte auf dem Handy, 2 ab Tablet, 3 ab Desktop.
   Karten in einer Reihe sind gleich hoch (align-items: stretch ist Standard bei Grid). */
.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3er-Raster schon ab Tablet dreispaltig: sonst bliebe bei 3 Karten eine allein in der zweiten Reihe */
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    gap: var(--space-5);
  }
}

/* Seite mit Seitenspalte ("Auf einen Blick"):
   Handy: Seitenspalte steht oben (steht im HTML zuerst).
   Desktop: Hauptspalte links, Seitenspalte rechts und mitlaufend. */
.layout-side {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

.layout-side__main {
  min-width: 0; /* verhindert, dass lange Inhalte das Raster aufweiten */
}

@media (min-width: 1024px) {
  .layout-side {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  /* Reihenfolge am Desktop: Hauptspalte links, Seitenspalte rechts */
  .layout-side__main {
    order: 1;
  }

  .layout-side__aside {
    order: 2;
    position: sticky;
    top: var(--space-6);
  }
}


/* ==========================================================================
   5. KOMPONENTEN
   Jede Komponente einmal definiert, überall wiederverwendet (BEM-Benennung).
   Reihenfolge: Seitenrahmen (Kopf, Navigation, Menü, Fuß), Grundbausteine (Buttons,
   Karte, Boxen), dann Bausteine einzelner Seiten (Wachstipp, Loipenlisten, Hotelkarte,
   Preistabelle, FAQ usw.), zuletzt Lightbox.
   ========================================================================== */

/* ---------- Seitenkopf (.site-header) ----------
   Weiße Leiste mit Logo links, Navigation rechts. Auf allen Seiten gleich. */
.site-header {
  background: var(--c-weiss);
  border-bottom: 1px solid var(--c-linie);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo img {
  height: 40px;   /* Handy; ab Desktop 50 px */
  width: auto;
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding-block: var(--space-4);
  }

  .site-header__logo img {
    height: 50px;
  }
}

/* ---------- Hauptnavigation (.main-nav) ----------
   Erst ab 1024 px sichtbar. Darunter passen sechs Punkte nicht sauber in eine
   Zeile, dort gilt das Handy-Menü. So gibt es nie ein halb umgebrochenes Menü. */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
}

.main-nav__list {
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 3px solid transparent;
  color: var(--c-petrol);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav__link:hover {
  border-bottom-color: var(--c-tuerkis);
  color: var(--c-petrol);
}

/* Aktive Seite: türkise Linie (Linie darf Logo-Türkis sein), zusätzlich fetter für Nicht-Farbsehende */
.main-nav__link[aria-current="page"] {
  border-bottom-color: var(--c-tuerkis);
  font-weight: 700;
}

/* ---------- Menü-Knopf (.nav-toggle) ----------
   "Hamburger" im Seitenkopf, nur unter 1024 px. Öffnet das Handy-Menü. */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius-s);
  background: var(--c-weiss);
  color: var(--c-petrol);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* ---------- Handy-Menü (.mobile-menu) ----------
   Vollbild auf Petrol mit großen Links. Wird mit dem Attribut "hidden" gesteuert
   (js/main.js). Ab 1024 gibt es es nicht mehr. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--c-petrol);
  color: var(--c-weiss);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

body.menu-open {
  overflow: hidden; /* Seite hinter dem Menü scrollt nicht mit */
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu__head img {
  height: 40px;
  width: auto;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--c-weiss);
  cursor: pointer;
}

.mobile-menu__nav {
  padding: var(--space-2) var(--gutter) 0;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--c-weiss);
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu__link:hover {
  color: var(--c-tuerkis);
}

.mobile-menu__link .icon {
  color: var(--c-tuerkis);
  flex: 0 0 auto;
}

/* Kachel zum Wachstipp im Menü */
.mobile-menu__tip {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: var(--space-5) var(--gutter) 0;
  padding: var(--space-4) 18px;
  border-radius: 14px;
  background: rgba(0, 198, 191, 0.16);
  color: var(--c-weiss);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__tip:hover {
  color: var(--c-weiss);
}

/* Impressum und Datenschutz klein unten */
.mobile-menu__legal {
  display: flex;
  gap: var(--space-5);
  margin-top: auto;
  padding: var(--space-5) var(--gutter);
  font-size: 0.875rem;
}

.mobile-menu__legal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  color: var(--c-text-auf-petrol);
}

/* ---------- Icon (.icon) ----------
   Kleine SVG-Symbole (Pfeil, Schließen, Menü) mit Linienfarbe der Schrift. */
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

/* ---------- Kleinbeschriftung (.eyebrow) ----------
   Versalien-Label über Überschriften. Auf Weiß dunkles Türkis,
   auf Petrol (".on-dark") Logo-Türkis (sonst zu wenig Kontrast). */
.eyebrow {
  margin: 0;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.on-dark .eyebrow {
  color: var(--c-tuerkis);
}

/* ---------- Buttons (.btn) ----------
   Primär (türkis-grün, weiße Schrift), weiß (auf Petrol und Bildern), Umriss.
   Mindesthöhe 44 px (Touch). nowrap: Beschriftung bricht nicht um. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-s);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--c-button);
  border-color: var(--c-button);
  color: var(--c-weiss);
}

.btn--primary:hover {
  background: var(--c-petrol);
  border-color: var(--c-petrol);
  color: var(--c-weiss);
}

.btn--white {
  background: var(--c-weiss);
  border-color: var(--c-weiss);
  color: var(--c-petrol);
}

.btn--white:hover {
  background: var(--c-hellgruen);
  border-color: var(--c-hellgruen);
  color: var(--c-petrol);
}

.btn--outline {
  background: transparent;
  border-color: var(--c-petrol);
  color: var(--c-petrol);
}

.btn--outline:hover {
  background: var(--c-petrol);
  color: var(--c-weiss);
}

/* ---------- Textlink mit Pfeil (.link-arrow) ----------
   Z. B. "Mehr erfahren" am Ende einer Karte. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Hero (.hero) ----------
   Headerbild der Startseite mit Textbox. Bild füllt die Fläche (object-fit),
   Höhe 320 px auf dem Handy, 560 px am Desktop. Bild lädt sofort (fetchpriority). */
.hero {
  position: relative;
  background: var(--c-petrol);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Handy: Höhe ergibt sich aus der Textbox. Oben bleibt ein Streifen (padding-top)
   frei, damit das Foto mit dem Läufer sichtbar ist und die Box nicht höher als
   das Bild wird. Ab Tablet hat das Hero eine feste Höhe. */
.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 150px;
  padding-bottom: var(--space-4);
}

.hero__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 620px;
  padding: var(--space-5) 20px;
  border: solid 2px var(--c-tuerkis);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 80%); /* hell und leicht durchscheinend, passt zum Winterfoto */
  color: var(--c-petrol); /* dunkle Schrift: Weiß auf der hellen Box wäre nicht lesbar */
}

.hero__box h1,
.hero__box p {
  margin: 0;
  color: var(--c-petrol);
}

.hero__box h1 {
  line-height: 1.05;
  font-size: 2rem;
}

.hero__box p {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero {
    height: 460px;
  }

  /* Bildausschnitt: Der Läufer steht auf dem Foto mittig und läge sonst unter der
     Textbox links. Mit 20 % wandert er nach rechts neben die Box. */
  .hero__img {
    object-position: 20% center;
  }

  .hero__inner {
    height: 100%;
    padding-top: 0;
    padding-bottom: var(--space-6);
  }

  .hero__box {
    padding: var(--space-6) 36px;
  }

  .hero__box h1 {
    font-size: 2.75rem;
  }

  .hero__box p {
    font-size: 1.1875rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 560px;
  }

  .hero__inner {
    padding-bottom: 56px;
  }

  .hero__box h1 {
    font-size: 3.25rem;
  }
}

/* Eyebrow in der hellen Hero-Box: dunkles Türkis (Logo-Türkis hätte auf Hell zu wenig Kontrast) */
.hero__box .eyebrow {
  color: var(--c-tuerkis-dunkel);
}

/* Bildnachweis unter einem Foto */
.credit {
  margin: 0;
  padding-top: 6px;
  color: var(--c-text-gedaempft);
  font-size: 0.75rem;
  text-align: right;
}

/* ---------- Dunkle Box (.box-dark) ----------
   Petrol-Fläche mit hellem Text. Für Wachstipp-Teaser und Fakten-Block.
   Kinder nutzen Variante ".on-dark" (Fokus- und Eyebrow-Farben). */
.box-dark {
  padding: var(--space-5) 20px;
  border-radius: var(--radius);
  background: var(--c-petrol);
  color: var(--c-weiss);
}

.box-dark h2 {
  color: var(--c-weiss);
}

.box-dark p {
  color: var(--c-text-auf-petrol);
}

@media (min-width: 768px) {
  .box-dark {
    padding: var(--space-7) var(--space-6);
  }
}

@media (min-width: 1024px) {
  .box-dark {
    padding: 44px 48px;
  }
}

/* ---------- Webcam (.webcam) ----------
   Livebild der Webcam in Leutasch, Bild 14:9 zugeschnitten. Auf der Startseite
   klein und ohne Link. Auf dem Handy als kompakte Vorschau (.webcam--compact)
   im Wachstipp-Teaser. */
.webcam {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
}

.webcam img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.webcam figcaption {
  padding: var(--space-3) 18px;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

.webcam figcaption strong {
  color: var(--c-petrol);
}

/* Kompakte Handy-Vorschau: kleines Bild links, Text rechts, auf Petrol */
.webcam--compact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.webcam--compact img {
  flex: 0 0 96px;
  width: 96px;
  border-radius: 8px;
}

.webcam--compact figcaption {
  padding: 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.8125rem;
}

.webcam--compact figcaption strong {
  display: block;
  color: var(--c-weiss);
  font-size: 0.9375rem;
}

/* ---------- Karte (.card) ----------
   Weiße Karte mit dünnem Rahmen, optional Bild oben. Komplett klickbar,
   wenn sie ein <a> ist. Das Fußelement (".card__more") steht immer unten,
   auch bei unterschiedlich langen Texten (Karten in einer Reihe sind gleich hoch). */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
  color: var(--c-petrol);
  text-decoration: none;
}

a.card:hover {
  border-color: var(--c-tuerkis-dunkel);
  color: var(--c-petrol);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  padding: 18px;
}

.card__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
}

.card__text {
  margin: 0;
  color: var(--c-text-gedaempft);
}

.card__more {
  margin-top: auto;
  padding-top: 6px;
}

@media (min-width: 1024px) {
  .card__body {
    padding: 22px 24px 24px;
  }
}

/* ---------- Abschnittsüberschrift mit Label (.section-head) ----------
   Eyebrow + H2, optional mit Icon davor. */
.section-head {
  margin-bottom: var(--space-5);
}

.section-head h2 {
  margin: var(--space-2) 0 0;
}

/* ---------- Fakten (.facts) ----------
   Drei große Kennzahlen (".facts__figures") und darunter eine Faktenliste als <dl>.
   Auf dem Handy untereinander gestapelt (dt über dd), ab 1024 px zweispaltig. */
.facts__figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.facts__figure {
  padding-top: 10px;
  border-top: 3px solid var(--c-tuerkis);
}

.facts__number {
  margin: 0;
  color: var(--c-weiss);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap; /* Zahl und Einheit bleiben zusammen */
}

.facts__label {
  margin: 6px 0 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.facts__list {
  display: block;
  margin: 0 0 var(--space-4);
}

.facts__row {
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.facts__row dt {
  color: var(--c-tuerkis);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.facts__row dd {
  margin: 0;
  color: var(--c-weiss);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.facts__source {
  margin: 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .facts__figures {
    gap: var(--space-6);
    margin: var(--space-5) 0;
  }

  .facts__number {
    font-size: clamp(1.5rem, 3.4vw, 3.5rem); /* wächst mit der Breite, damit "über 245 km" nie in die Nachbarspalte läuft */
  }

  .facts__label {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .facts__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .facts__row {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-3) 0;
  }

  .facts__row dt {
    flex: 0 0 170px;
    font-size: 0.9375rem;
  }

  .facts__row dd {
    font-size: 1rem;
  }
}

/* ---------- Seitenfuß (.site-footer) ----------
   Petrol, vier Blöcke: Logo mit Kurztext, Langlauf-Links, Unterkünfte nach Ort, Rechtliches.
   Handy: untereinander. Ab 768 px zwei Spalten, ab 1024 px nebeneinander. */
.site-footer {
  margin-top: var(--space-7);
  background: var(--c-petrol);
  color: var(--c-weiss);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
}

.site-footer__about {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}

.site-footer__about img {
  height: 60px;
  width: auto;
  align-self: flex-start;
}

.site-footer__about p {
  margin: 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.9375rem;
}

.site-footer__about .site-footer__credit {
  font-size: 0.8125rem;
}

.site-footer__title {
  margin: 0 0 6px;
  color: var(--c-tuerkis);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  color: var(--c-weiss);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--c-tuerkis);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    margin-top: 96px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-block: 56px;
  }

  .site-footer__about {
    grid-column: auto;
  }
}

/* ---------- Lightbox (.lightbox) ----------
   Natives <dialog> auf abgedunkeltem Hintergrund. Für Webcam und Loipenkarte.
   Esc und Klick daneben schließen (js/main.js). Details folgen mit dem Loipenbericht. */
.lightbox {
  width: min(96vw, 1400px);
  max-height: 94vh;
  padding: var(--space-3);
  border: 0;
  border-radius: var(--radius);
  background: var(--c-weiss);
  color: var(--c-petrol);
}

.lightbox::backdrop {
  background: rgba(7, 53, 64, 0.85);
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.lightbox__close {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0 var(--space-4);
  border: 1px solid var(--c-linie);
  border-radius: var(--radius-s);
  background: var(--c-weiss);
  color: var(--c-petrol);
  font-weight: 600;
  cursor: pointer;
}


/* ---------- Brotkrumen (.breadcrumb) ----------
   "Start / Seitenname" über der H1 aller Unterseiten. */
.breadcrumb {
  margin-bottom: var(--space-2);
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

.breadcrumb a {
  display: inline-block;
  padding-block: var(--space-2); /* größere Klickfläche */
  color: var(--c-text-gedaempft);
}

/* ---------- Seitenkopf der Unterseiten (.page-head) ----------
   Brotkrumen, H1 und Einleitungstext. Optional mit Bild oder Icon (".page-head--split"). */
.page-head {
  display: grid;
  gap: var(--space-5);
  padding-top: var(--space-5);
}

.page-head h1 {
  margin: 0 0 var(--space-3);
}

.page-head__lead {
  max-width: 680px;
  margin: 0;
  color: var(--c-text-gedaempft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Icon und H1: auf kleinen Handys untereinander (lange Wörter brauchen die volle Breite), ab 480 px nebeneinander */
.page-head__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .page-head__title {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
  }
}

.page-head > * {
  min-width: 0; /* lange Wörter dürfen die Spalte nicht aufweiten */
}

.page-head__title h1 {
  min-width: 0;
  margin: 0;
}

.page-head__icon {
  flex: 0 0 auto;
  width: 48px;
  height: auto;
}

.page-head__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .page-head {
    padding-top: var(--space-6);
  }

  .page-head__lead {
    font-size: 1.1875rem;
  }

  .page-head__icon {
    width: 64px;
  }
}

@media (min-width: 1024px) {
  .page-head--split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-7);
  }
}

/* Platz zwischen Seitenkopf und Inhalt, Abstand zwischen Inhaltsblöcken */
.page-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-5);
}

@media (min-width: 1024px) {
  .page-body {
    gap: var(--space-6);
    padding-top: var(--space-6);
  }
}

/* Inhaltsbereich mit Seitenspalte: .page-body liefert den Abstand, .layout-side das Raster.
   Muss nach .page-body stehen, sonst gewinnt dessen display: flex. */
.page-body.layout-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .page-body.layout-side {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

/* Variante "flach" (Verleih): Handy-Reihenfolge erste Box, Seitenspalte, Rest (so steht es im HTML).
   Desktop: erste Box und Rest links, Seitenspalte rechts über beide Zeilen. */
@media (min-width: 1024px) {
  .layout-side--flat > .layout-side__first {
    grid-column: 1;
    grid-row: 1;
  }

  .layout-side--flat > .layout-side__aside {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .layout-side--flat > .layout-side__rest {
    grid-column: 1;
    grid-row: 2;
  }
}

.layout-side__rest {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

/* Ohne Abstand nach oben (Hauptspalte neben der Seitenspalte) */
.page-body--flush {
  padding-top: 0;
}

/* Gruppe von Buttons in einer Liste (z. B. Ortslinks) */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Inhaltsfläche (.panel) ----------
   Weiße Fläche mit Rahmen für Textblöcke ("Kurz beantwortet", Tabellen, FAQ).
   ".panel--mint" = helle grüne Hinweisfläche ("Auch interessant", Gästekarte). */
.panel {
  padding: var(--space-5) 20px;
  border: 1px solid var(--c-linie);
  border-radius: 2px;
  background: var(--c-weiss);
}

.panel > :last-child {
  margin-bottom: 0;
}

.panel h2 {
  margin: 0 0 var(--space-3);
  font-size: 1.375rem;
}

.panel--mint {
  border-color: transparent;
  background: var(--c-hellgruen);
}

@media (min-width: 768px) {
  .panel {
    padding: 28px 32px;
  }

  .panel h2 {
    font-size: 1.75rem;
  }
}

/* Panel mit Icon/Text links und Button rechts (Gästekarte, Hinweisstreifen).
   Handy: untereinander. */
.panel--cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.panel__cta-main {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.panel__cta-main img {
  flex: 0 0 auto;
  width: 56px;
  height: auto;
}

.panel__cta-main h2 {
  margin: 0;
  font-size: 1.25rem;
}

.panel__cta-main p {
  margin: var(--space-1) 0 0;
  color: var(--c-text-gedaempft);
}

@media (min-width: 768px) {
  .panel__cta-main h2 {
    font-size: 1.5rem;
  }

  .panel__cta-main img {
    width: 72px;
  }
}

/* Text und Button nebeneinander erst ab 1280 px (daneben steht evtl. die Seitenspalte, sonst wird der Text zu schmal) */
@media (min-width: 1280px) {
  .panel--cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Kurzantwort (.answer) ----------
   Erster Absatz mit der Antwort auf die Hauptfrage der Seite (gut für Suchen und KI-Antworten). */
.answer {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- Hinweisbox (.note) ----------
   Orange Warnhinweis, z. B. "Kein Ticketverkauf auf der Loipe".
   Immer mit fettem Text als Einstieg, nie nur Farbe. */
.note {
  margin-top: var(--space-4);
  padding: 14px var(--space-4);
  border: 1px solid #F2C27D;
  border-radius: 12px;
  background: #FFF4E5;
  color: #5A3A06;
  line-height: 1.5;
}

/* ---------- Auf einen Blick (.glance) ----------
   Dunkle Seitenbox mit den wichtigsten Fakten. Handy: oben über dem Inhalt.
   Desktop: rechte Spalte, mitlaufend (siehe .layout-side). */
.glance {
  padding: var(--space-5) 20px;
  border-radius: var(--radius);
  background: var(--c-petrol);
  color: var(--c-weiss);
}

.glance__title {
  margin: 2px 0 6px;
  color: var(--c-weiss);
  font-size: 1.375rem;
}

.glance__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.glance__row dt {
  color: var(--c-text-auf-petrol);
  font-size: 0.9375rem;
}

.glance__row dd {
  margin: 0;
  color: var(--c-weiss);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  text-align: right;
}

.glance__row dd.nowrap {
  white-space: nowrap;
}

.glance__hint {
  margin: var(--space-3) 0 0;
  padding: 12px var(--space-4);
  border-radius: 12px;
  background: rgba(0, 198, 191, 0.16);
  color: var(--c-weiss);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.glance__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-min);
  margin-top: var(--space-2);
  color: var(--c-weiss);
  font-weight: 600;
  font-size: 0.9375rem;
}

.glance__link:hover {
  color: var(--c-tuerkis);
}

/* Kleine Verweisbox unter der Seitenspalte */
.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--touch-min);
  margin-top: var(--space-4);
  padding: var(--space-4) 18px;
  border: 1px solid var(--c-linie);
  border-radius: 14px;
  background: var(--c-weiss);
  color: var(--c-petrol);
  font-weight: 600;
  text-decoration: none;
}

.side-link:hover {
  border-color: var(--c-tuerkis-dunkel);
  color: var(--c-petrol);
}

/* ---------- Preistabelle (.price-table) ----------
   Zwei Spalten: Bezeichnung links, Preis rechts. Preis bricht nie um (nowrap),
   der Zusatztext steht unter der Bezeichnung. Mit <caption> und scope für Screenreader. */
.price-table caption {
  padding-bottom: var(--space-2);
  color: var(--c-petrol);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: left;
}

.price-table thead th {
  padding: 0 0 var(--space-2);
  color: var(--c-text-gedaempft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.price-table thead th:last-child,
.price-table td {
  text-align: right;
}

.price-table tbody th {
  padding: var(--space-3) var(--space-3) var(--space-3) 0;
  border-top: 1px solid var(--c-linie);
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}

.price-table td {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--c-linie);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  vertical-align: top;
  white-space: nowrap;
}

.price-table__note {
  display: block;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
  font-weight: 400;
}

.price-tables {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.price-tables > p {
  margin: 0;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

/* ---------- Häufige Fragen (.faq) ----------
   Aufklappbar mit <details>/<summary>, ohne JavaScript. Pfeil rechts per CSS. */
.faq details {
  border-top: 1px solid var(--c-linie);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--touch-min);
  padding: var(--space-3) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--c-tuerkis-dunkel);
  border-bottom: 2.5px solid var(--c-tuerkis-dunkel);
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq p {
  margin: 0 0 var(--space-4);
  color: var(--c-text-gedaempft);
  line-height: 1.6;
}

/* ---------- Auflistung mit Titel und Zusatz (.stack-list) ----------
   Z. B. "Wo gibt es Loipentickets?": fette Zeile, darunter grauer Text. */
.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  display: flex;
  flex-direction: column;
  padding: 11px 0;
  border-top: 1px solid var(--c-linie);
}

.stack-list strong {
  font-weight: 600;
}

.stack-list span {
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
}

/* ---------- Kennzahlen-Kacheln (.stat) ----------
   Zwei bis drei helle Kacheln mit Label, großer Angabe und Zusatz (Loipenzeiten). */
.stats {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  padding: var(--space-4) 18px;
  border-radius: 14px;
  background: var(--c-bg);
}

.stat__label {
  margin: 0;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat__value {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat__note {
  margin: 2px 0 0;
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
}

/* ---------- Auch interessant (.related) ----------
   Mint-Fläche mit Links zu verwandten Seiten. */
.related h2 {
  margin: 0 0 var(--space-3);
  font-size: 1.25rem;
}

.related__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.related__list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: 10px var(--space-4);
  border-radius: var(--radius-s);
  background: var(--c-weiss);
  color: var(--c-petrol);
  font-weight: 600;
  text-decoration: none;
}

.related__list a:hover {
  background: var(--c-petrol);
  color: var(--c-weiss);
}

/* ---------- Chip (.chip) ----------
   Kleines Merkmal-Etikett (z. B. "Sauna", "Klassisch"). Nur Text, ohne Funktion. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-hellgruen);
  color: var(--c-petrol);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Loipen-Badge (.badge) ----------
   Kürzel der Loipe (A3, B10, C1). Schwierigkeit über Farbe UND Buchstabe.
   A leicht (blau), B mittel (rot), C schwer (schwarz), ".badge--closed" = gesperrt (grau). */
.badge {
  display: inline-block;
  min-width: 2rem;
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--c-weiss);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.badge--a { background: var(--c-loipe-a); }
.badge--b { background: var(--c-loipe-b); }
.badge--c { background: var(--c-loipe-c); }
.badge--closed { background: #5E6E74; }

/* Legende A leicht / B mittel / C schwer */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Wachstipp (.wax) ----------
   Große dunkle Box ganz oben im Loipenbericht: Wetter, Gleit- und Steigwachs,
   optional "Tipp vom Profi", Quelle. Die Bereiche zwischen den Kommentaren
   WACHSTIPP:START/ENDE werden später vom Pflegeformular befüllt. */
.wax {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: var(--space-5) 20px;
  border-radius: var(--radius);
  background: var(--c-petrol);
  color: var(--c-weiss);
}

.wax__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.wax__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-weiss);
  font-size: 1.5rem;
}

.wax__head h2 img {
  width: 36px;
  height: auto;
}

.wax__stand {
  color: var(--c-text-auf-petrol);
  font-size: 0.875rem;
}

.wax__weather {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) 20px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-text-auf-petrol);
  font-size: 0.9375rem;
}

.wax__weather strong {
  color: var(--c-weiss);
}

.wax__cols {
  display: grid;
  gap: 14px;
}

.wax__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.wax__label {
  margin: 0;
  color: var(--c-tuerkis);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wax__product {
  margin: 0;
  color: var(--c-weiss);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.wax__col p:last-child {
  margin: 0;
  color: var(--c-text-auf-petrol);
  line-height: 1.6;
}

.wax__pro {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(19, 145, 143, 0.22);
  color: var(--c-weiss);
  line-height: 1.6;
}

.wax__source {
  margin: 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .wax {
    padding: 32px 36px;
  }

  .wax__head h2 {
    font-size: 1.875rem;
  }

  .wax__head h2 img {
    width: 44px;
  }

  .wax__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wax__col {
    padding: 22px 24px;
  }

  .wax__product {
    font-size: 1.5rem;
  }
}

/* Loipenbericht oben: Wachstipp links, Webcam rechts (Handy untereinander) */
.report-top {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 1024px) {
  .report-top {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: var(--space-5);
  }
}

/* Webcam mit Leiste darunter ("Groß ansehen") */
.webcam .webcam__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 22px;
}

.webcam__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
}

.webcam__meta {
  margin: 0;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

/* Knopf, der wie ein Textlink aussieht (z. B. "Groß ansehen", öffnet die Lightbox) */
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-min);
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.link-button:hover {
  color: var(--c-petrol);
}

/* ---------- Aktuell-Meldung (.news) ----------
   Eine kurze Meldung unter Wachstipp und Webcam. Ohne Meldung entfällt die ganze Box
   (Kommentare AKTUELL:START/ENDE im HTML). */
.news {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) 22px;
  border: 1px solid var(--c-linie);
  border-radius: 14px;
  background: var(--c-weiss);
}

.news p {
  margin: 0;
}

.news__tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: #D7F0EE;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .news {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}

/* ---------- Offene Loipen (.trail-places, .trail-place) ----------
   Pro Ort eine Karte mit Liste: Kürzel-Badge, Name, Haken "offen".
   Der Haken hat zusätzlich einen unsichtbaren Text, Status ist nie nur ein Symbol. */
.trail-places {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 768px) {
  .trail-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet: ungerade letzte Karte füllt die ganze Reihe (keine verwaiste Einzelkarte) */
@media (min-width: 768px) and (max-width: 1023px) {
  .trail-places > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .trail-places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.trail-place {
  padding: 20px 24px;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
}

.trail-place__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: 10px;
}

.trail-place__head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.trail-place__count {
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
  white-space: nowrap;
}

.trail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trail-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--c-linie);
}

.trail-list .badge {
  flex: 0 0 48px;
  min-width: 0;
  padding-inline: 0;
  font-size: 0.9375rem;
}

.trail-list__name {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-tuerkis-dunkel);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---------- Heute gesperrt (.closed-box) ----------
   Aufklappbare graue Box (<details>) mit den gesperrten Loipen, nach Ort gegliedert. */
.closed-box {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #E7EEEF;
}

.closed-box summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--touch-min);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.closed-box summary::-webkit-details-marker {
  display: none;
}

.closed-box summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2.5px solid var(--c-petrol);
  border-bottom: 2.5px solid var(--c-petrol);
  transform: rotate(45deg);
}

.closed-box[open] summary::after {
  transform: rotate(-135deg);
}

.closed-box__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: 14px;
}

.closed-box__place {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.closed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.closed-chips li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--c-linie);
  border-radius: 8px;
  background: var(--c-weiss);
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
}

/* Kopfzeile "Offene Loipen heute" mit Icon, Text und Legende */
.section-title {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-title__main {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.section-title__main img {
  flex: 0 0 auto;
  width: 48px;
  height: auto;
}

.section-title h2 {
  margin: 0;
}

.section-title p {
  max-width: 640px;
  margin: var(--space-2) 0 0;
  color: var(--c-text-gedaempft);
}

@media (min-width: 1024px) {
  .section-title {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .section-title__main img {
    width: 64px;
  }
}

/* Gesamter Loipenbericht: Abstand der Abschnitte */
.report-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ---------- Ortsnavigation (.place-nav) ----------
   Sprungmarken zu den Orten auf der Unterkunftsseite, mit Anzahl der Häuser.
   Auf dem Handy waagrecht umbrechend, Touch-Ziele 44 px. */
.place-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-5);
}

.place-nav__label {
  margin-right: var(--space-2);
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
}

.place-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--c-petrol);
  color: var(--c-weiss);
  font-weight: 600;
  text-decoration: none;
}

.place-nav a:hover {
  background: var(--c-button);
  color: var(--c-weiss);
}

.place-nav__count {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem;
}

/* Vorteile direkt unter der H1 der Unterkunftsseite (Nahe der Loipe, Wachsraum, Skikeller) */
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--c-linie);
  border-radius: 999px;
  background: var(--c-weiss);
  font-size: 0.9375rem;
  font-weight: 500;
}

.perks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-tuerkis);
}

/* ---------- Ortsabschnitt (.place-section) ----------
   Abschnitt pro Ort mit Überschrift, Einleitung und Karten-Raster. */
.place-section {
  padding-top: var(--space-7);
}

.place-section__head {
  margin-bottom: var(--space-5);
}

.place-section__head h2 {
  margin-bottom: var(--space-2);
}

.place-section__head p {
  max-width: 680px;
  margin: 0;
  color: var(--c-text-gedaempft);
}

/* Leerer Ort ("Aktuell keine Einträge") */
.empty {
  padding: var(--space-5);
  border: 1px dashed var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
}

.empty p:first-child {
  font-weight: 600;
}

.empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Hotelkarte (.hotel) ----------
   Foto 4:3, Name, Kategorie, Entfernung zur Loipe mit Loipenkürzel, Kurztext,
   Merkmal-Chips und Button "Zur Website". Alle Einträge gleichwertig.
   Button steht unten (margin-top: auto), auch bei unterschiedlich langen Texten. */
.hotel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
}

.hotel__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hotel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-3);
  padding: 18px 20px 20px;
}

.hotel__title {
  margin: 0;
  font-size: 1.0625rem;
  hyphens: manual; /* Hotelnamen nicht trennen (z. B. "Ferienwoh-nungen"); passen auch in schmale Karten */
}

@media (min-width: 1024px) {
  .hotel__title {
    font-size: 1.1875rem;
  }
}

.hotel__type {
  margin: 2px 0 0;
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

.hotel__dist {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.hotel__dist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hotel__text {
  margin: 0;
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.hotel__action {
  margin-top: auto;
  padding-top: var(--space-2);
}

/* Gastgeber-Kasten ("Ihr Haus liegt an der Loipe?") */
.host-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) 20px;
  border-radius: var(--radius);
  background: var(--c-petrol);
  color: var(--c-weiss);
}

.host-cta h2 {
  margin: var(--space-1) 0 var(--space-2);
  color: var(--c-weiss);
  font-size: 1.5rem;
}

.host-cta p {
  margin: 0;
  color: var(--c-text-auf-petrol);
}

@media (min-width: 768px) {
  .host-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
  }
}

/* Mint-Streifen mit Tipp und Link (Gästekarte auf der Unterkunftsseite) */
.tip-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--c-hellgruen);
}

.tip-strip p {
  margin: 0;
}

@media (min-width: 768px) {
  .tip-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Schulkarte (.school) ----------
   Eine Langlaufschule: Name, Untertitel, Beschreibung, Chips und Kontaktlinks. */
.school {
  padding: var(--space-5);
  border: 1px solid var(--c-linie);
  border-radius: 14px;
}

.school + .school {
  margin-top: var(--space-4);
}

.school h3 {
  margin: 0;
}

.school__sub {
  margin: 2px 0 var(--space-3);
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
}

.school p {
  color: var(--c-petrol);
}

.school__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  margin-top: var(--space-3);
}

.school__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  font-weight: 600;
}

/* Vergleich Klassisch / Skating: zwei Kacheln mit Icon */
.compare {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compare__item {
  padding: var(--space-5);
  border-radius: 14px;
  background: var(--c-bg);
}

.compare__item img {
  width: 96px;
  height: auto;
  margin-bottom: var(--space-3);
}

.compare__item h3 {
  margin: 0;
  font-size: 1.375rem;
}

.compare__tag {
  margin: 2px 0 var(--space-3);
  color: var(--c-tuerkis-dunkel);
  font-size: 0.875rem;
  font-weight: 600;
}

.compare__item p:last-child {
  margin: 0;
}

/* Bild mit Text nebeneinander (Seekirchl, Verleih-Foto) */
.media-text {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.media-text img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.media-text h2 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .media-text {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Kontaktliste (Verleih): Beschriftung über dem Wert, Wert bricht ggf. um */
.contact-list {
  margin: var(--space-4) 0 0;
}

.contact-list div {
  padding: 10px 0;
  border-top: 1px solid var(--c-linie);
}

.contact-list dt {
  color: var(--c-text-gedaempft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 500;
}

.contact-list a {
  display: inline-block;
  padding-block: 4px; /* größere Klickfläche */
}

/* ---------- Loipenkarte (.map-figure) ----------
   Große Karte mit Button "Vergrößern" (öffnet die Lightbox). */
.map-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-linie);
  border-radius: var(--radius);
  background: var(--c-weiss);
}

.map-figure img {
  width: 100%;
  height: auto;
}

.map-figure__zoom {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-min);
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-s);
  background: rgba(7, 53, 64, 0.9);
  color: var(--c-weiss);
  font-weight: 600;
  cursor: pointer;
}

.map-figure__zoom:hover {
  background: var(--c-petrol);
}

.map-figure figcaption {
  padding: var(--space-3) var(--space-4);
  color: var(--c-text-gedaempft);
  font-size: 0.875rem;
}

/* Orte als Kacheln (Loipenkarte) */
.place-tiles {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .place-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-2);
  }
}

@media (min-width: 1024px) {
  .place-tiles {
    gap: var(--space-3);
  }
}

.place-tiles li {
  padding: var(--space-3);
  border: 1px solid var(--c-linie);
  border-radius: 14px;
  background: var(--c-weiss);
}

.place-tiles strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 800;
}

.place-tiles span {
  color: var(--c-text-gedaempft);
  font-size: 0.9375rem;
  hyphens: manual; /* Ortsbeschreibungen in schmalen Kacheln nicht trennen */
}

/* ---------- Textseite (.prose) ----------
   Fließtext für Impressum, Datenschutz und 404: gut lesbare Zeilenlänge. */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: var(--space-6);
  font-size: 1.375rem;
}

.prose p,
.prose li {
  line-height: 1.7;
}

.prose a {
  word-break: break-word; /* lange Web-Adressen sprengen sonst die Seite */
}

.prose .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* ---------- Lightbox, Ergänzung ----------
   Titelzeile in der Lightbox (Titel und Aktualisierung links, Schließen rechts) */
.lightbox {
  background: #052b34;
  color: var(--c-weiss);
}

.lightbox::backdrop {
  background: rgba(4, 30, 36, 0.92);
}

.lightbox__title {
  margin: 0;
  color: var(--c-weiss);
  font-size: 1.25rem;
}

.lightbox__meta {
  margin: 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.875rem;
}

.lightbox__close {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--c-weiss);
}

.lightbox__hint {
  margin: var(--space-3) 0 0;
  color: var(--c-text-auf-petrol);
  font-size: 0.8125rem;
  text-align: center;
}


/* ==========================================================================
   6. SEITENSPEZIFISCHES
   So wenig wie möglich. Nur, wenn eine Regel wirklich nur auf einer Seite vorkommt.
   ========================================================================== */

/* ---------- Startseite ----------
   Handy-Reihenfolge steht im HTML: Wachstipp → Text → Gut zu wissen → Fakten.
   Ab 768 px ist die Reihenfolge anders: Fakten vor "Gut zu wissen" (siehe Entwurf). */
.home-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-top: var(--space-5);
}

@media (min-width: 768px) {
  .home-main {
    gap: var(--space-8);
    padding-top: var(--space-6);
  }

  .home-facts {
    order: 1;
  }

  .home-know {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .home-main {
    gap: 88px;
    padding-top: var(--space-7);
  }
}

/* Wachstipp-Teaser und Webcam: Handy ein dunkler Block, Desktop zwei Spalten */
.home-top {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .home-top {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .home-top .webcam--big {
    align-self: center;
  }
}

.teaser {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.teaser__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.teaser__head img {
  width: 52px;
  height: auto;
}

.teaser h2,
.teaser p {
  margin: 0;
}

.teaser h2 {
  font-size: 1.75rem;
}

.teaser p {
  max-width: 460px;
}

.teaser__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.teaser__updated {
  color: var(--c-text-auf-petrol);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .teaser h2 {
    font-size: 2.5rem;
  }

  .teaser p {
    font-size: 1.125rem;
  }

  .teaser__head img {
    width: 64px;
  }
}

/* Auf dem Handy: kleine Webcam-Vorschau im Teaser; am Desktop: große Webcam daneben */
.home-top .webcam--compact {
  display: flex;
}

.home-top .webcam--big {
  display: none;
}

@media (min-width: 1024px) {
  .home-top .webcam--compact {
    display: none;
  }

  .home-top .webcam--big {
    display: block;
  }
}

/* Fließtext "So muss Langlaufurlaub sein" mit Foto (Foto erst ab Tablet) */
.intro {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.intro__icon {
  width: 200px;
  height: auto;
  margin-bottom: var(--space-4);
}

.intro h2 {
  margin: var(--space-3) 0 var(--space-4);
}

.intro p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.intro__photo {
  display: none;
  margin: 0;
}

.intro__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.intro__photo figcaption {
  margin-top: 6px;
  color: var(--c-text-gedaempft);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .intro__photo {
    display: block;
  }

  .intro__icon {
    width: 260px;
  }

  .intro p {
    font-size: 1.1875rem;
  }
}

@media (min-width: 1024px) {
  .intro {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: var(--space-5);
  }
}


/* ---------- TEST (15.11.2026, leicht rückgängig zu machen): größeres Logo ----------
   Das Logo ist größer und sitzt so, dass die Stockspitzen und Skier des Läufers unten
   über die Kopfleiste hinausragen. Der untere Rand der Leiste liegt etwa auf Höhe des
   Logo-Quadrats (ca. 82 % der Logohöhe), der Rest steht über. Rückgängig machen:
   diesen ganzen Block löschen, dann gilt wieder das Logo aus Abschnitt 5.
   Sicherung der alten Fassung: _sicherung\style_2026-11-15_vor-logo-test.css */
.site-header {
  position: relative;
  z-index: 20; /* Logo liegt über dem Foto oder Inhalt darunter */
}

.site-header__inner {
  height: 60px;
  padding-block: 0;
}

.site-header__logo {
  align-self: flex-start;
  margin-top: 0;
}

.site-header__logo img {
  height: 62px;
}

@media (min-width: 1024px) {
  .site-header__inner {
    height: 75px;
    padding-block: 0;
  }

  .site-header__logo {
    margin-top: 0;
  }

  .site-header__logo img {
    height: 84px;
  }
}


/* ==========================================================================
   7. HILFSKLASSEN
   ========================================================================== */

/* Text nur ab Tablet zeigen (auf schmalen Handys wäre die Spalte zu eng, z. B. in den Kennzahlen) */
.wide-only {
  display: none;
}

@media (min-width: 768px) {
  .wide-only {
    display: inline;
  }
}

/* Nur für Screenreader sichtbar (z. B. Beschriftung zu Icons) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Link "Zum Inhalt springen": erst bei Tastaturfokus sichtbar */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  background: var(--c-petrol);
  color: var(--c-weiss);
  border-radius: var(--radius-s);
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--c-weiss);
}

/* Ausnahme für !important: [hidden] muss immer gewinnen, auch gegen display-Regeln
   von Komponenten (z. B. geschlossenes Handy-Menü). */
[hidden] {
  display: none !important;
}

/* ---------- Bildnachweis direkt im Foto (.foto, .foto__credit) ----------
   Kleine Zeile unten rechts auf dem Bild, z. B. "Foto: Olympiaregion Seefeld, Stephan Elsler".
   Ergänzt am 15.11.2026. */
.foto {
  position: relative;
  display: block;
}

.foto__credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(7, 53, 64, 0.72);
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1.3;
  pointer-events: none;
}
