/* ==========================================================================
   Köpi Biergarten Duisburg
   Farbwelt aus dem Logo des Restaurant 28 Süd (Olivgrün #878d56) und den
   Abschnittsfarben von restaurant-xxl.de (Creme #fff4e5, Gold #f0c36d,
   Dunkel #161514). Schrift Roboto wie auf der Hauptseite, selbst gehostet.
   ========================================================================== */

@layer reset, basis, layout, komponenten, bewegung;

/* --- Schriften ---------------------------------------------------------- */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Grundwerte --------------------------------------------------------- */
:root {
  --oliv:         #878d56;
  --oliv-dunkel:  #5c6238;
  --oliv-tief:    #3a3e25;
  --oliv-hell:    #eef0e1;
  --creme:        #fff4e5;
  --gold:         #f0c36d;
  --gold-dunkel:  #c9963a;
  --dunkel:       #161514;
  --hell:         #fffdf9;
  --schrift:      #26251f;
  --schrift-matt: #6b6a62;
  --auf-dunkel:   #f4f1ea;
  --linie:        color-mix(in srgb, var(--oliv) 25%, transparent);
  --rund:         14px;
  --rund-klein:   8px;
  --breite:       1180px;
  --luft:         clamp(3rem, 7vw, 6rem);
  --kopf-h:       84px;
  --schatten:     0 10px 30px -12px rgb(0 0 0 / .25);
  --schrift-fluss: 1.0625rem;
  color-scheme: light;
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; }
  img, picture, svg { display: block; max-width: 100%; }
  img { height: auto; }
  h1, h2, h3, p, dl, dd, figure { margin: 0; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  table { border-collapse: collapse; width: 100%; }
}

@layer basis {
  html { font-size: 100%; }
  body {
    font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: var(--schrift-fluss);
    line-height: 1.65;
    color: var(--schrift);
    background: var(--hell);
    overflow-x: clip;
  }
  body:not(.start) { padding-top: var(--kopf-h); }

  h1, h2, h3 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
  }
  h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); }
  h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
  h3 { font-size: 1.25rem; margin-bottom: .4rem; }
  p + p { margin-top: 1rem; }
  h2 + p, h3 + p { margin-top: 0; }
  p + h2, ul + h2, dl + h2, div + h2, p + h3 { margin-top: 2.2rem; }
  p { text-wrap: pretty; max-width: 68ch; }

  a { color: var(--oliv-dunkel); text-underline-offset: .18em; text-decoration-thickness: 1px; }
  a:hover { color: var(--oliv-tief); }
  :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

  .skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    padding: .6rem 1rem; background: var(--dunkel); color: #fff; border-radius: var(--rund-klein);
  }
  .skip:focus { top: 1rem; }

  .mitte { text-align: center; margin-inline: auto; }
  .klein { font-size: .92rem; color: var(--schrift-matt); }
  .vorspann { font-size: 1.2rem; line-height: 1.55; margin-block: 1rem 1.5rem; }
  .ueberzeile {
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-dunkel); margin-bottom: .6rem;
  }
  .block-oliv .ueberzeile, .block-dunkel .ueberzeile { color: var(--gold); }
  .adresse-gross { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin-block: 1rem; }
  .liste { list-style: disc; padding-left: 1.4rem; }
  .liste li + li { margin-top: .3rem; }
  .symbol { width: 1.35rem; height: 1.35rem; fill: currentColor; }
}

@layer layout {
  .huelle { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
  .schmal { max-width: 760px; }

  .block { padding-block: var(--luft); }
  .block-hell  { background: var(--hell); }
  .block-creme { background: var(--creme); }
  .block-oliv  { background: var(--oliv-dunkel); color: var(--auf-dunkel); }
  .block-dunkel{ background: var(--dunkel); color: var(--auf-dunkel); }
  .block-galerie { padding-block: calc(var(--luft) / 2); }
  .block-oliv a, .block-dunkel a { color: var(--gold); }
  .block-oliv .klein, .block-dunkel .klein { color: color-mix(in srgb, var(--auf-dunkel) 75%, transparent); }

  /* Abschnitte unter dem Falz erst rendern, wenn sie in die Nähe kommen. */
  .zeig { content-visibility: auto; contain-intrinsic-size: auto 600px; }

  .zweispaltig {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
  .umgekehrt .spalte-bild { order: -1; }
  @media (min-width: 900px) { .umgekehrt .spalte-bild { order: 0; } }

  .spalte-bild picture img {
    width: 100%; border-radius: var(--rund); box-shadow: var(--schatten);
    aspect-ratio: 4 / 3; object-fit: cover;
  }
  .spalte-bild picture + picture { margin-top: -18%; width: 62%; margin-left: auto; position: relative; }
  .spalte-bild picture + picture img { border: 6px solid var(--hell); }
  .block-oliv .spalte-bild picture + picture img { border-color: var(--oliv-dunkel); }
  .block-dunkel .spalte-bild picture + picture img { border-color: var(--dunkel); }

  .karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.4rem;
    margin-block: 2rem;
  }
  .karte {
    padding: 1.6rem;
    background: var(--hell);
    border: 1px solid var(--linie);
    border-radius: var(--rund);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
  .karte h2 { font-size: 1.25rem; margin-bottom: .4rem; }
  .karten-bild .karte { padding: 0; overflow: hidden; }
  .karten-bild .karte img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .karten-bild .karte h3, .karten-bild .karte p { padding-inline: 1.3rem; }
  .karten-bild .karte h3 { margin-top: 1.1rem; }
  .karten-bild .karte p { padding-bottom: 1.3rem; }
  .block-creme .karte { background: var(--hell); }
}

@layer komponenten {
  /* --- Kopf: fixiert, Glas, schrumpft beim Scrollen ----------------------- */
  .kopf {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    background: color-mix(in srgb, var(--hell) 86%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--linie);
    color: var(--schrift);
  }
  .kopf-innen {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: var(--kopf-h);
  }
  .logo { display: flex; align-items: center; gap: .8rem; color: inherit; }
  .logo-bild { display: block; }
  .logo img { width: 58px; height: auto; transition: width .3s ease; }
  .logo-text { display: flex; flex-direction: column; line-height: 1.15; }
  .logo-marke { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: inherit; text-decoration: none; }
  .logo-ort { font-size: .78rem; color: var(--schrift-matt); text-decoration: none; }
  .logo-ort:hover { color: var(--oliv-dunkel); text-decoration: underline; }
  .menue .menue-extern a { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
  .symbol-extern { width: .9em; height: .9em; opacity: .7; }
  .hero-hauptseite { margin-top: 1.2rem; font-size: .95rem; }

  .menue ul { display: flex; align-items: center; gap: .2rem; }
  .menue a {
    display: inline-block; padding: .55rem .8rem; color: inherit; text-decoration: none;
    font-weight: 700; font-size: .95rem; border-radius: var(--rund-klein);
    transition: background .2s ease;
  }
  .menue a:hover { background: color-mix(in srgb, var(--oliv) 14%, transparent); }
  .menue a[aria-current="page"] { color: var(--oliv-dunkel); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
  .menue-aktion { margin-left: .6rem; }
  .menue-aktion .knopf { padding: .6rem 1.1rem; font-size: .92rem; }

  .menue-schalter {
    display: none; align-items: center; gap: .6rem; padding: .6rem .8rem;
    font-weight: 700; border-radius: var(--rund-klein);
  }
  .balken, .balken::before, .balken::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .balken { position: relative; }
  .balken::before, .balken::after { content: ""; position: absolute; left: 0; }
  .balken::before { top: -7px; }
  .balken::after  { top: 7px; }
  [aria-expanded="true"] .balken { transform: rotate(45deg); }
  [aria-expanded="true"] .balken::before { transform: rotate(90deg) translateX(7px); }
  [aria-expanded="true"] .balken::after { opacity: 0; }

  @media (max-width: 900px) {
    .menue-schalter { display: flex; }
    .menue {
      position: absolute; left: 0; right: 0; top: 100%;
      background: var(--hell); border-bottom: 1px solid var(--linie);
      box-shadow: var(--schatten);
      max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .menue.offen { max-height: 80vh; overflow: auto; }
    .menue ul { flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.2rem; gap: .1rem; }
    .menue a { display: block; padding: .8rem .6rem; font-size: 1.05rem; }
    .menue-aktion { margin: .6rem 0 0; }
    .menue-aktion .knopf { display: block; text-align: center; }
    .logo-ort { display: none; }
  }

  /* --- Brotkrumen --------------------------------------------------------- */
  .brotkrumen { padding-top: 1.2rem; font-size: .88rem; color: var(--schrift-matt); }
  .brotkrumen ol { display: flex; flex-wrap: wrap; gap: .4rem; }
  .brotkrumen li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }

  /* --- Knöpfe ------------------------------------------------------------- */
  .knopf {
    display: inline-block; padding: .85rem 1.5rem;
    background: var(--oliv); color: #fff; font-weight: 700; text-decoration: none;
    border-radius: 999px; border: 2px solid var(--oliv);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .knopf:hover { background: var(--oliv-dunkel); border-color: var(--oliv-dunkel); color: #fff; transform: translateY(-1px); }
  .knopf-gross { padding: 1rem 1.9rem; font-size: 1.08rem; }
  .knopf-gold { background: var(--gold); border-color: var(--gold); color: var(--dunkel); }
  .knopf-gold:hover { background: var(--gold-dunkel); border-color: var(--gold-dunkel); color: var(--dunkel); }
  .knopf-leer { background: transparent; color: inherit; border-color: currentColor; }
  .knopf-leer:hover { background: color-mix(in srgb, currentColor 10%, transparent); border-color: currentColor; color: inherit; transform: none; }
  .hero-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
  .hero-knoepfe.mitte { justify-content: center; }
  .text-link { font-weight: 700; }
  .text-link::after { content: " \2192"; }
  .text-link.hell { color: var(--gold); }

  /* --- Hero --------------------------------------------------------------- */
  .hero {
    position: relative; isolation: isolate;
    min-height: min(92svh, 860px);
    display: grid; align-items: end;
    padding-top: var(--kopf-h);
    color: #fff;
    background: var(--oliv-tief);
  }
  .hero-bild, .hero-bild img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  }
  .hero-bild img { object-position: center 60%; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(to top, rgb(12 14 6 / .88) 0%, rgb(12 14 6 / .45) 45%, rgb(12 14 6 / .15) 75%, rgb(12 14 6 / .35) 100%);
  }
  .hero-inhalt { padding-block: clamp(2.5rem, 6vw, 5rem); max-width: 820px; margin-left: max(1.25rem, (100% - var(--breite)) / 2); }
  .hero h1 { text-shadow: 0 2px 20px rgb(0 0 0 / .4); }
  .hero-ort { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--gold); margin-bottom: .8rem; }
  .hero-text { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); margin-top: 1.2rem; max-width: 60ch; color: rgb(255 255 255 / .92); }
  .hero .knopf-leer { color: #fff; }
  .hero-heute {
    display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem;
    padding: .5rem 1rem .5rem .8rem; font-size: .92rem; font-weight: 700;
    background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25);
    border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .punkt { width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(240 195 109 / .3); }

  /* --- Faktenband --------------------------------------------------------- */
  .fakten { background: var(--oliv); color: #fff; }
  .fakten-raster {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0;
  }
  .fakt {
    display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.2rem;
    font-weight: 700; line-height: 1.35; font-size: .98rem;
    border-left: 1px solid rgb(255 255 255 / .18);
  }
  .fakt:first-child { border-left: 0; }
  .fakt-symbol { flex: none; width: 2rem; height: 2rem; fill: var(--gold); }
  @media (max-width: 900px) {
    .fakt { border-left: 0; border-top: 1px solid rgb(255 255 255 / .18); padding-block: .9rem; }
    .fakt:first-child { border-top: 0; }
  }

  /* --- Öffnungszeiten ----------------------------------------------------- */
  .zeiten { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin-block: 1rem 1.4rem; }
  .zeiten dt { font-weight: 700; }
  .zeiten dd { font-variant-numeric: tabular-nums; }
  .zeiten-kueche { display: block; font-size: .88rem; color: var(--schrift-matt); }
  .zeiten-klein { gap: .25rem 1rem; font-size: .92rem; }

  .zeiten-tabelle { overflow-x: auto; margin-block: 1.5rem 2.5rem; border: 1px solid var(--linie); border-radius: var(--rund); }
  .zeiten-tabelle caption { text-align: left; padding: .9rem 1.1rem .3rem; font-weight: 700; color: var(--schrift-matt); font-size: .9rem; }
  .zeiten-tabelle th, .zeiten-tabelle td { padding: .8rem 1.1rem; text-align: left; border-top: 1px solid var(--linie); font-variant-numeric: tabular-nums; }
  .zeiten-tabelle thead th { border-top: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--schrift-matt); }
  .zeiten-tabelle tr.heute { background: var(--oliv-hell); }
  .marke-heute {
    display: inline-block; margin-left: .5rem; padding: .1rem .55rem; font-size: .75rem;
    background: var(--gold); color: var(--dunkel); border-radius: 999px; vertical-align: middle;
  }

  /* --- Galerie und Lichtbox ----------------------------------------------- */
  .galerie {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem; margin-block: 1.2rem;
  }
  .galerie-klein { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-block: 1.5rem; }
  .galerie-bild { display: block; overflow: hidden; border-radius: var(--rund-klein); background: var(--oliv-hell); }
  .galerie-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
  .galerie-bild:hover img { transform: scale(1.04); }

  .lichtbox {
    border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
    display: none; place-items: center; color: #fff;
  }
  .lichtbox[open] { display: grid; }
  .lichtbox::backdrop { background: rgb(10 10 8 / .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .lichtbox figure { display: grid; gap: .6rem; justify-items: center; max-width: 92vw; }
  .lichtbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: var(--rund-klein); box-shadow: 0 20px 60px rgb(0 0 0 / .6); }
  .lichtbox figcaption { font-size: .92rem; color: rgb(255 255 255 / .8); text-align: center; }
  .lichtbox-zu, .lichtbox-pfeil {
    position: fixed; width: 3rem; height: 3rem; display: grid; place-items: center;
    background: rgb(255 255 255 / .12); border-radius: 50%; font-size: 1.8rem; line-height: 1;
  }
  .lichtbox-zu { top: 1rem; right: 1rem; }
  .lichtbox-pfeil { top: 50%; transform: translateY(-50%); }
  .lichtbox-zurueck { left: 1rem; }
  .lichtbox-weiter { right: 1rem; }
  .lichtbox-zu:hover, .lichtbox-pfeil:hover { background: rgb(255 255 255 / .25); }

  /* --- Karte -------------------------------------------------------------- */
  .karte-figur { max-width: 800px; margin-inline: auto; }
  .karte-figur img { width: 100%; border-radius: var(--rund); box-shadow: var(--schatten); }
  .karte-figur figcaption { margin-top: .8rem; font-size: .9rem; color: var(--schrift-matt); text-align: center; }

  /* --- Fuß ---------------------------------------------------------------- */
  .fuss { background: var(--dunkel); color: var(--auf-dunkel); margin-top: 0; }
  .fuss a { color: var(--auf-dunkel); }
  .fuss a:hover { color: var(--gold); }
  .fuss-raster {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 2.5rem 2rem; padding-block: var(--luft) 3rem;
  }
  .fuss-titel { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
  .fuss-text { font-size: .95rem; }
  .fuss-text + .fuss-text { margin-top: .8rem; }
  .fuss-hinweis { font-size: .85rem; color: color-mix(in srgb, var(--auf-dunkel) 65%, transparent); margin-top: .8rem; }
  .fuss-liste li + li { margin-top: .35rem; }
  .fuss-liste a { text-decoration: none; font-size: .95rem; }
  .fuss-liste a:hover { text-decoration: underline; }
  .fuss-social { display: flex; gap: .8rem; margin-top: 1rem; }
  .fuss-social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgb(255 255 255 / .1); }
  .fuss-social a:hover { background: var(--oliv); color: #fff; }
  .fuss-zeile { border-top: 1px solid rgb(255 255 255 / .12); }
  .fuss-zeile-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.2rem; font-size: .85rem; color: color-mix(in srgb, var(--auf-dunkel) 65%, transparent); }

  .adresse p + p { margin-top: .6rem; }
  .block h2 + .karten { margin-top: 1.5rem; }

  /* --- Pulsierender Reservieren-Knopf ------------------------------------- */
  .knopf-puls { position: relative; overflow: hidden; isolation: isolate; }
  .knopf-puls::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .45) 50%, transparent 65%);
    transform: translateX(-130%);
    transition: transform .7s ease;
  }
  .knopf-puls:hover::after { transform: translateX(130%); }

  /* --- Anflug: Drohnenbild senkrecht, zoomt beim Scrollen ----------------- */
  .anflug {
    position: relative; isolation: isolate; overflow: clip;
    min-height: min(85svh, 820px);
    display: grid; align-items: end;
    color: #fff; background: var(--oliv-tief);
  }
  .anflug-bild, .anflug-bild picture, .anflug-bild img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  }
  .anflug-bild img { transform-origin: 55% 45%; }
  .anflug::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgb(12 14 6 / .85) 0%, rgb(12 14 6 / .35) 40%, transparent 70%);
  }
  .anflug-text { padding-block: clamp(2.5rem, 6vw, 5rem); max-width: 720px; margin-left: max(1.25rem, (100% - var(--breite)) / 2); }
  .anflug-text h2 { text-shadow: 0 2px 20px rgb(0 0 0 / .4); }
  .anflug-text p:not(.ueberzeile) { color: rgb(255 255 255 / .92); font-size: 1.1rem; }

  /* --- Geländeplan mit Markern -------------------------------------------- */
  .plan-hinweis { color: var(--schrift-matt); margin-bottom: 1.5rem; }
  .plan { position: relative; border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); }
  .plan img { width: 100%; }
  .plan-marker li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
  .plan-marker a { display: block; position: relative; color: #fff; text-decoration: none; }
  .marker-punkt {
    display: grid; place-items: center;
    width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: var(--gold); color: var(--dunkel); font-weight: 700; font-size: .95rem;
    border: 2px solid #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .4);
    transition: transform .2s ease;
  }
  .marker-punkt::before {
    content: ""; position: absolute; inset: -.35rem; border-radius: 50%;
    border: 2px solid var(--gold); opacity: .8;
  }
  .plan-marker a:hover .marker-punkt, .plan-marker a:focus-visible .marker-punkt { transform: scale(1.15); }
  .marker-text {
    position: absolute; left: 50%; bottom: calc(100% + .8rem); transform: translate(-50%, 6px);
    width: max-content; max-width: 240px; padding: .7rem .9rem;
    background: rgb(20 20 16 / .92); color: #fff; font-size: .88rem; line-height: 1.4;
    border-radius: var(--rund-klein); box-shadow: 0 10px 30px rgb(0 0 0 / .4);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .marker-text strong { display: block; margin-bottom: .15rem; color: var(--gold); }
  .marker-text::after {
    content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
    border: 7px solid transparent; border-top-color: rgb(20 20 16 / .92);
  }
  .plan-marker a:hover .marker-text, .plan-marker a:focus-visible .marker-text {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
  }
  /* Marker am linken Rand: Sprechblase nach rechts ausrichten. */
  .plan-marker li:nth-child(6) .marker-text { left: 0; transform: translate(0, 6px); }
  .plan-marker li:nth-child(6) a:hover .marker-text, .plan-marker li:nth-child(6) a:focus-visible .marker-text { transform: translate(0, 0); }
  .plan-marker li:nth-child(6) .marker-text::after { left: 1rem; }
  .plan-marker li:nth-child(5) .marker-text { left: auto; right: 0; transform: translate(0, 6px); }
  .plan-marker li:nth-child(5) a:hover .marker-text, .plan-marker li:nth-child(5) a:focus-visible .marker-text { transform: translate(0, 0); }
  .plan-marker li:nth-child(5) .marker-text::after { left: auto; right: 1rem; }

  .plan-legende {
    display: flex; flex-wrap: wrap; gap: .5rem .8rem; justify-content: center;
    margin-top: 1.4rem; counter-reset: legende; font-size: .95rem;
  }
  .plan-legende li { counter-increment: legende; }
  .plan-legende a {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem;
    background: var(--hell); border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; font-weight: 700;
  }
  .plan-legende a::before {
    content: counter(legende); display: grid; place-items: center;
    width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--gold); color: var(--dunkel); font-size: .8rem;
  }
  .plan-legende a:hover { border-color: var(--oliv); }
  @media (max-width: 600px) {
    .marker-punkt { width: 1.6rem; height: 1.6rem; font-size: .8rem; }
    .marker-text { display: none; }
  }

  /* --- Bilder in Textspalten: leichter Zoom beim Hover -------------------- */
  .spalte-bild picture { overflow: hidden; border-radius: var(--rund); }
  .spalte-bild img { transition: transform .5s ease; }
  .spalte-bild picture:hover img { transform: scale(1.03); }
  .menue a { position: relative; }
  .menue a:not([aria-current])::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .menue a:not([aria-current]):hover::after { transform: scaleX(1); }
  .menue-aktion a::after { display: none; }
}

@layer bewegung {
  /* Sanfte Bewegung nur für Browser mit Scroll-Timelines und nur, wenn der
     Nutzer keine reduzierte Bewegung eingestellt hat. Ohne beides sieht die
     Seite genauso aus, nur statisch. */
  @media (prefers-reduced-motion: no-preference) {
    /* --- Zeitgesteuert, braucht keine Scroll-Timeline ---------------------- */

    /* Reservieren-Knopf: pulsierender Goldring, dauerhaft. */
    .knopf-puls { animation: puls 2.4s ease-out infinite; }
    @keyframes puls {
      0%   { box-shadow: 0 0 0 0 rgb(240 195 109 / .85); }
      60%  { box-shadow: 0 0 0 16px rgb(240 195 109 / 0); }
      100% { box-shadow: 0 0 0 0 rgb(240 195 109 / 0); }
    }
    .knopf-gold.knopf-puls { animation-name: puls-gold; }
    @keyframes puls-gold {
      0%   { box-shadow: 0 0 0 0 rgb(255 255 255 / .8); }
      60%  { box-shadow: 0 0 0 16px rgb(255 255 255 / 0); }
      100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); }
    }

    /* Hero: Text, Knöpfe und Tagesanzeige kommen gestaffelt von unten. */
    .hero-inhalt > * { animation: aufsteigen .8s cubic-bezier(.2, .7, .2, 1) both; }
    .hero-inhalt > :nth-child(1) { animation-delay: .1s; }
    .hero-inhalt > :nth-child(2) { animation-delay: .2s; }
    .hero-inhalt > :nth-child(3) { animation-delay: .32s; }
    .hero-inhalt > :nth-child(4) { animation-delay: .44s; }
    .hero-inhalt > :nth-child(5) { animation-delay: .58s; }
    .hero-inhalt > :nth-child(6) { animation-delay: .7s; }
    @keyframes aufsteigen {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    /* Auftakt-Zoom liegt auf dem picture, die Scroll-Parallaxe unten auf dem img,
       damit sich beide nicht dieselbe transform-Eigenschaft streitig machen. */
    .hero-bild { animation: hero-auftakt 1.6s ease-out both; }
    @keyframes hero-auftakt { from { transform: scale(1.08); } to { transform: scale(1); } }

    /* Punkt in der Tagesanzeige und Marker im Geländeplan pulsieren. */
    .punkt { animation: punkt 1.8s ease-out infinite; }
    @keyframes punkt {
      0%   { box-shadow: 0 0 0 0 rgb(240 195 109 / .6); }
      70%  { box-shadow: 0 0 0 9px rgb(240 195 109 / 0); }
      100% { box-shadow: 0 0 0 0 rgb(240 195 109 / 0); }
    }
    .marker-punkt::before { animation: marker-ring 2.2s ease-out infinite; }
    .plan-marker li:nth-child(2n) .marker-punkt::before { animation-delay: .7s; }
    .plan-marker li:nth-child(3n) .marker-punkt::before { animation-delay: 1.3s; }
    @keyframes marker-ring {
      0%   { transform: scale(.8); opacity: .9; }
      100% { transform: scale(2); opacity: 0; }
    }

    @supports (animation-timeline: scroll()) {
      /* Kopf: auf der Startseite anfangs durchsichtig über dem Hero, beim
         Scrollen wird er zum Glasband und schrumpft. */
      .start .kopf {
        animation: kopf-fest linear both;
        animation-timeline: scroll(root);
        animation-range: 0 140px;
      }
      .start .logo img {
        animation: logo-klein linear both;
        animation-timeline: scroll(root);
        animation-range: 0 140px;
      }
      .start .kopf-innen {
        animation: kopf-flach linear both;
        animation-timeline: scroll(root);
        animation-range: 0 140px;
      }
      @keyframes kopf-fest {
        from { background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
        to   { background: color-mix(in srgb, var(--hell) 86%, transparent); border-color: var(--linie); color: var(--schrift); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
      }
      @keyframes logo-klein { from { width: 74px; } to { width: 54px; } }
      @keyframes kopf-flach { from { min-height: 104px; } to { min-height: 72px; } }
      .start .logo-ort { animation: ort-farbe linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
      @keyframes ort-farbe { from { color: rgb(255 255 255 / .8); } to { color: var(--schrift-matt); } }
      .start .logo-ort:hover { animation: none; color: var(--gold); }

      /* Hero-Bild wandert beim Scrollen leicht nach oben, Parallaxe ohne JS. */
      .hero-bild img {
        animation: hero-schub linear both;
        animation-timeline: scroll(root);
        animation-range: 0 100vh;
      }
      @keyframes hero-schub { from { transform: translateY(0) scale(1.04); } to { transform: translateY(12%) scale(1.04); } }

      /* Abschnitte blenden ein, sobald sie in den Sichtbereich treten. */
      .zeig > .huelle {
        animation: einblenden linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
      }
      @keyframes einblenden {
        from { opacity: 0; transform: translateY(28px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      /* Anflug: das senkrechte Drohnenbild zoomt heran, solange der Abschnitt
         durch den Sichtbereich wandert. */
      .anflug-bild img {
        animation: anflug-zoom linear both;
        animation-timeline: view();
        animation-range: entry 0% exit 100%;
      }
      @keyframes anflug-zoom { from { transform: scale(1); } to { transform: scale(1.4); } }

      /* Faktenband: Symbole springen beim Einblenden kurz an. */
      .fakt-symbol {
        animation: hopser linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 90%;
      }
      .fakt:nth-child(2) .fakt-symbol { animation-range: entry 10% entry 100%; }
      .fakt:nth-child(3) .fakt-symbol { animation-range: entry 20% entry 110%; }
      .fakt:nth-child(4) .fakt-symbol { animation-range: entry 30% entry 120%; }
      @keyframes hopser {
        from { transform: scale(.3) rotate(-15deg); opacity: 0; }
        60%  { transform: scale(1.18) rotate(4deg); opacity: 1; }
        to   { transform: scale(1) rotate(0); opacity: 1; }
      }

      /* Galerie-Kacheln kommen gestaffelt. */
      .galerie-bild {
        animation: einblenden linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 45%;
      }
      .galerie-bild:nth-child(2n) { animation-range: entry 12% entry 57%; }
      .galerie-bild:nth-child(3n) { animation-range: entry 24% entry 69%; }
      .galerie-bild:nth-child(4n) { animation-range: entry 36% entry 81%; }
    }
  }
}
