/* Gemeinsame Bausteine aller Demo-Seiten (Aufbau, nicht Farbe).
   Farben und Schriften kommen aus den Stil-Variablen der Branche; dazu
   --hervor (Akzent für Text) und --titel-gewicht / --titel-gross. */


h1, h2 { font-weight: var(--titel-gewicht); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.375rem; }
em { font-style: italic; color: var(--hervor); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kopf-name { display: inline-flex; align-items: center; gap: 10px; font-size: 1.375rem; }
.marke-zeichen {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--akzent); color: var(--akzent-text); font-size: 1.125rem; line-height: 1;
}
.kopf-aktion { min-height: 42px; font-size: .9375rem; }
.kopf-nav a.kopf-aktion { text-decoration: none; }

/* Start – füllt genau den ersten Bildschirm: von der Kopfleiste bis zur
   Daumenleiste (unter 900 px) bzw. bis zum Fensterrand. Das Foto nimmt den
   Platz, der neben dem Text übrig bleibt. Unter 900 px fehlen die Knöpfe:
   die Daumenleiste direkt darunter trägt dieselbe Hauptaktion. */
:root { --kopf-hoehe: 61px; --start-unten: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom)); }
main > section.start {
  display: flex; flex-direction: column; padding: 24px 20px 20px;
  min-height: calc(100vh - var(--kopf-hoehe) - var(--start-unten));
  min-height: calc(100svh - var(--kopf-hoehe) - var(--start-unten));
}
.start-inhalt {
  flex: 1; width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; gap: 20px; grid-template-rows: auto minmax(160px, 1fr);
}
.start h1 { font-size: var(--titel-gross); margin-bottom: .3em; }
.start h1 em { display: block; }
.start-satz { font-size: 1.0625rem; max-width: 34em; margin-bottom: 16px; }
.heute {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 16px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie);
  font-size: .9375rem;
}
.heute-punkt { width: 9px; height: 9px; border-radius: 50%; background: #2f8a5b; box-shadow: 0 0 0 4px rgba(47, 138, 91, .18); }
.heute:has([data-offen="nein"]) .heute-punkt { background: var(--text-leise); box-shadow: none; }
.start-knoepfe { display: none; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.start-bild { margin: 0; position: relative; min-height: 160px; }
.start-bild img {
  position: absolute; inset: 0; box-sizing: border-box; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius-bild);
}
/* Kleine Handys (iPhone SE & Co.): Text etwas enger, damit das Foto bleibt. */
@media (max-width: 899px) and (max-height: 720px) {
  main > section.start { padding-top: 16px; }
  .start .ueberschrift-klein { margin-bottom: 8px; }
  .start h1 { font-size: calc(var(--titel-gross) * .82); }
  .start-satz { font-size: .9375rem; line-height: 1.5; margin-bottom: 12px; }
  .heute { padding: 6px 14px; font-size: .875rem; }
}
@media (min-width: 900px) {
  :root { --kopf-hoehe: 75px; --start-unten: 0px; }
  main > section.start { padding: 48px 32px; }
  /* Fotospalte wächst mit der Fensterhöhe mit, damit das Foto nicht zum
     schmalen Streifen wird (höchstens 46 % der Breite). */
  .start-inhalt {
    max-width: 1320px; align-items: center; gap: 64px;
    grid-template-columns: minmax(0, 1fr) min(46%, calc((100svh - var(--kopf-hoehe) - 96px) * .8));
    grid-template-rows: minmax(480px, 1fr);
  }
  .start-bild { align-self: stretch; }
  .start-satz { font-size: 1.125rem; margin-bottom: 24px; }
  .start-knoepfe { display: flex; }
}

/* Attrappen-Weg in einer Karte */
.weg-raster { display: grid; gap: 32px; }
.weg-karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: calc(var(--radius-bild) + 8px);
  padding: 24px 20px;
}
@media (min-width: 900px) { .weg-raster { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } .weg-karte { padding: 32px; } }

/* Galerie */
.galerie-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 32px; }
.galerie-raster img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-bild); }
@media (min-width: 900px) { .galerie-raster { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

/* Bewertungen-Platzhalter */
.platzhalter {
  border: 2px dashed var(--linie); border-radius: calc(var(--radius-bild) + 8px);
  padding: 32px 24px; text-align: center; max-width: 760px; margin: 0 auto;
}
.platzhalter h2 { font-size: clamp(1.625rem, 5vw, 2.25rem); }

/* Gutschein */
.gutschein-raster { display: grid; gap: 32px; align-items: center; }
.gutschein-bild { margin: 0; }
.gutschein-bild img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius-bild); }
@media (min-width: 900px) { .gutschein-raster { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Hinweis-Karte (z. B. Stelle, WhatsApp) */
.hinweis-karte {
  display: grid; gap: 24px; align-items: center; padding: 32px 24px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: calc(var(--radius-bild) + 8px);
}
.hinweis-karte p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .hinweis-karte { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* Anfahrt */
.anfahrt-raster { display: grid; gap: 40px; }
.adresse { font-style: normal; margin: 28px 0 12px; line-height: 1.7; }
.lageplan { display: grid; gap: 16px; justify-items: start; }
.lageplan svg { width: 100%; height: auto; border-radius: calc(var(--radius-bild) + 8px); border: 1px solid var(--linie); }
.plan-grund { fill: var(--flaeche); }
.plan-gruen { fill: var(--linie); opacity: .6; }
.plan-strasse { fill: none; stroke: var(--bg-alt); stroke-width: 18; }
.plan-gasse { fill: none; stroke: var(--bg-alt); stroke-width: 8; }
.plan-platz { fill: var(--bg-alt); stroke: var(--linie); }
.plan-text { fill: var(--text-leise); font: 600 13px var(--schrift-text); }
.plan-text-ziel { fill: var(--text); font-size: 15px; }
.plan-ziel path { fill: var(--akzent); }
.plan-ziel circle { fill: var(--akzent-text); }
@media (min-width: 900px) { .anfahrt-raster { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; } }
