/* ==========================================================================
   JuVi Haus- und Gartenservice
   Designsystem: Fraunces (Display) + Inter (Text/UI)
   ========================================================================== */

/* ------------------------------------------------------------------ Schriften */
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/fraunces-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2-variations");
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2") tech(variations);
}

/* ------------------------------------------------------------------- Tokens */
:root {
  /* Gruenskala — aufgebaut um das bestehende Markengruen #0c460c */
  --gruen-950: #041c06;
  --gruen-900: #06280a;
  --gruen-800: #093509;
  --gruen-700: #0c460c;   /* Marke */
  --gruen-600: #1a5c1a;
  --gruen-500: #2d7a2d;
  --gruen-300: #86bd86;
  --gruen-100: #e4f0e0;

  /* Warme Neutraltoene */
  --creme:  #fff8e5;
  --sand:   #f8f3e7;
  --papier: #ffffff;
  --tinte:  #1b1c19;
  --grau:   #5f6560;
  --linie:  rgba(27, 28, 25, .12);

  /* Typografie */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-hero:  clamp(2.75rem, 7.5vw, 6.5rem);
  --fs-h2:    clamp(2rem, 4.6vw, 3.6rem);
  --fs-h3:    clamp(1.35rem, 2.2vw, 1.9rem);
  --fs-lead:  clamp(1.05rem, 1.4vw, 1.3rem);
  --fs-body:  clamp(1rem, 1.05vw, 1.075rem);
  --fs-klein: .875rem;
  --fs-label: .78rem;

  /* Raum */
  --raum-sektion: clamp(5rem, 11vw, 9.5rem);
  --raum-xl: clamp(3rem, 6vw, 5rem);
  --raum-l:  clamp(2rem, 4vw, 3rem);
  --raum-m:  clamp(1.25rem, 2.5vw, 2rem);
  --raum-s:  1rem;
  --rand:    clamp(1.25rem, 5vw, 4rem);

  /* Breiten */
  --breit: 82rem;
  --schmal: 46rem;

  /* Form */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --schatten-s: 0 2px 8px rgba(6, 40, 10, .06);
  --schatten-m: 0 12px 32px rgba(6, 40, 10, .10);
  --schatten-l: 0 28px 64px rgba(6, 40, 10, .16);

  --kopf-h: 5.5rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

/* Das hidden-Attribut muss staerker sein als jede display-Angabe im Stylesheet.
   Ohne das blieb der Karten-Platzhalter sichtbar, obwohl er versteckt war. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--text);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* <picture> ist nur eine Huelle fuer die Formatauswahl. Ohne display:contents
   wuerde es als eigenes Kastenelement zwischen Container und Bild stehen und
   die absolut positionierten Bilder in Leistungskarten, Hero und Winterdienst
   aus ihrer Verankerung loesen. */
picture { display: contents; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--linie); margin: var(--raum-l) 0; }

:focus-visible {
  outline: 3px solid var(--gruen-500);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Auf dunklem Grund erreicht gruen-500 nur 2,99:1 gegen gruen-900 — WCAG 1.4.11
   verlangt 3:1. Das hellere gruen-300 kommt dort auf 8,2:1. */
.auf-dunkel :focus-visible,
.nav :focus-visible,
.fuss :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--gruen-300);
}

::selection { background: var(--gruen-700); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gruen-700); color: #fff;
  padding: .9rem 1.4rem; text-decoration: none;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------- Layout */
.sektion {
  padding: var(--raum-sektion) var(--rand);
  position: relative;
}

.bahn { width: 100%; max-width: var(--breit); margin-inline: auto; }

.auf-creme { background: var(--creme); }
.auf-sand  { background: var(--sand); }

/* Dunkle Flaechen — tragen den Rhythmus der Seite */
.auf-dunkel {
  background: var(--gruen-900);
  color: #eaf0e7;
}
.auf-dunkel h2, .auf-dunkel h3 { color: #fff; }
.auf-dunkel .lead { color: rgba(255,255,255,.78); }

/* Abgerundete Uebergaenge zwischen den Flaechen */
.rund-oben { border-start-start-radius: var(--radius-xl); border-start-end-radius: var(--radius-xl); }
.rund-unten { border-end-start-radius: var(--radius-xl); border-end-end-radius: var(--radius-xl); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--grau);
  text-wrap: pretty;
}

.mitte { text-align: center; }
.mitte .lead { margin-inline: auto; max-width: 46rem; }

/* Kleines Label ueber Ueberschriften */
.label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--text);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gruen-600);
  margin-bottom: var(--raum-s);
}
.label::before {
  content: "";
  width: 1.75rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.auf-dunkel .label { color: var(--gruen-300); }

.kopfblock { max-width: 50rem; margin-bottom: var(--raum-xl); }
/* Zentrierte Kopfblöcke bleiben schmaler — das liest sich mittig besser. */
.kopfblock.mitte { margin-inline: auto; max-width: 42rem; }

/* ------------------------------------------------------------------ Buttons */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1rem 1.85rem;
  border: 0;
  border-radius: 100px;
  background: var(--gruen-700);
  color: #fff;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 14px rgba(12, 70, 12, .22);
}
.knopf:hover {
  background: var(--gruen-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(12, 70, 12, .3);
}
.knopf:active { transform: translateY(0); }
.knopf[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.knopf svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.knopf--hell {
  background: #fff;
  color: var(--gruen-800);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}
.knopf--hell:hover { background: var(--creme); color: var(--gruen-900); }

.knopf--linie {
  background: transparent;
  color: currentColor;
  /* Fuer die Umrandung ist currentColor richtig — sie soll die Textfarbe erben. */
  box-shadow: inset 0 0 0 1.5px currentColor;
}
/* Die Flaeche darf NICHT currentColor sein: Sie loest zur eigenen Textfarbe auf,
   und da die Kontextregeln weiter unten (.hero, .banner) color:#fff
   setzen und spaeter in der Datei stehen, ergab das weisse Schrift auf weisser
   Flaeche — der Knopf verschwand beim Darueberfahren. Darum feste Farben. */
.knopf--linie:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
  color: var(--gruen-900);
}

.knopf--wa { background: #25d366; color: #04321a; box-shadow: 0 4px 14px rgba(37, 211, 102, .3); }
.knopf--wa:hover { background: #1eb857; color: #04321a; }

/* --------------------------------------------------------------- Kopfzeile */
.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem var(--rand);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.kopf__innen {
  max-width: var(--breit);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-m);
}

/* Ueber dem Hero durchsichtig mit hellen Links */
.kopf--transparent { background: transparent; }
/* :not(.knopf) ist wichtig — der Kontakt-Knopf ist dunkelgruen gefuellt und
   braucht weisse Schrift. Ohne die Ausnahme gewinnt diese Regel (0,3,1) gegen
   .knopf (0,1,0) und faerbt die Schrift dunkel: Kontrast 1,55:1, unlesbar. */
.kopf--transparent .nav a:not(.knopf) { color: #fff; }
.kopf--transparent .nav-schalter { color: #fff; }
.kopf--transparent .marke__bild { filter: brightness(0) invert(1); }

/* Nach dem Scrollen fest und hell */
.kopf.ist-fest {
  background: #fff;
  box-shadow: 0 1px 0 var(--linie), 0 8px 28px rgba(6, 40, 10, .07);
  padding-block: .7rem;
}
/* backdrop-filter erst ab Desktop: Ein Element mit backdrop-filter wird zum
   Bezugsrahmen fuer position:fixed-Kinder — das mobile Menue wuerde dadurch am
   Header statt am Bildschirm ausgerichtet und nur dessen Hoehe abdecken. */
@media (min-width: 901px) {
  .kopf.ist-fest {
    background: rgba(255, 255, 255, .93);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
  }
}
.kopf.ist-fest .nav a:not(.knopf) { color: var(--tinte); }
.kopf.ist-fest .nav-schalter { color: var(--tinte); }
.kopf.ist-fest .marke__bild { filter: none; }

.marke { display: flex; align-items: center; }
.marke__bild {
  width: clamp(150px, 17vw, 205px);
  height: auto;
  transition: filter .4s var(--ease), width .4s var(--ease);
}

.nav-schalter {
  display: none;
  background: none; border: 0; padding: .4rem;
  cursor: pointer; color: var(--tinte); line-height: 0;
}
.nav-schalter svg { width: 30px; height: 30px; fill: currentColor; }

.nav__liste {
  display: flex; align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  position: relative;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .4rem 0;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.ist-aktiv::after { transform: scaleX(1); }
.nav .knopf { padding: .7rem 1.35rem; font-size: .92rem; box-shadow: none; }
.nav .knopf::after { display: none; }
.kopf--transparent .nav .knopf { background: #fff; color: var(--gruen-800); }

@media (max-width: 900px) {
  .nav-schalter { display: block; }
  .nav {
    position: fixed; inset: 0;
    /* ueber dem Cookie-Hinweis (250), sonst ragt der ins offene Menue */
    z-index: 260;
    background: var(--gruen-900);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
  }
  .nav.ist-offen { opacity: 1; visibility: visible; }
  .nav__liste { flex-direction: column; gap: var(--raum-l); }
  .nav a:not(.knopf) { color: #fff; font-family: var(--display); font-size: 2rem; font-weight: 600; }
  .nav .knopf { color: var(--gruen-900); background: #fff; font-family: var(--text); font-size: 1rem; }
  .nav-schliessen {
    position: absolute; top: 1.5rem; right: var(--rand);
    background: none; border: 0; padding: .4rem;
    cursor: pointer; color: #fff; line-height: 0;
  }
  .nav-schliessen svg { width: 30px; height: 30px; fill: currentColor; }
  body.nav-offen { overflow: hidden; }
}
@media (min-width: 901px) { .nav-schliessen { display: none; } }

/* -------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  padding: calc(var(--kopf-h) + 3rem) var(--rand) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bild {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Verlauf, damit die Schrift auf jedem Bild sicher lesbar bleibt */
.hero__schleier {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,28,6,.62) 0%, rgba(4,28,6,.18) 32%, rgba(4,28,6,.55) 72%, rgba(4,28,6,.88) 100%),
    linear-gradient(90deg, rgba(4,28,6,.5) 0%, rgba(4,28,6,0) 62%);
}

.hero__innen { max-width: var(--breit); margin-inline: auto; width: 100%; color: #fff; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__text {
  margin-top: var(--raum-m);
  max-width: 40rem;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}
.hero__knoepfe {
  margin-top: var(--raum-l);
  display: flex; flex-wrap: wrap; gap: var(--raum-s);
}
.hero .knopf--linie:not(:hover) { color: #fff; }

.hero__hinweis {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: grid; place-items: center; gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__hinweis span {
  display: block; width: 1px; height: 2.4rem;
  background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0));
  animation: scrollHinweis 2.4s var(--ease) infinite;
}
@keyframes scrollHinweis {
  0%, 100% { opacity: .35; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}
@media (max-width: 720px) { .hero__hinweis { display: none; } }

/* ------------------------------------------------------- Vertrauensleiste */
.beleg {
  background: var(--gruen-900);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--rand);
}
.beleg__innen {
  max-width: var(--breit); margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--raum-m);
  align-items: center;
}
.beleg__punkt {
  display: flex; align-items: center; gap: .85rem;
  font-size: var(--fs-klein);
  line-height: 1.4;
}
.beleg__punkt + .beleg__punkt { border-left: 1px solid rgba(255,255,255,.16); padding-left: var(--raum-m); }
.beleg__punkt svg { width: 1.6rem; height: 1.6rem; fill: var(--gruen-300); flex: none; }
.beleg__punkt b { display: block; font-size: 1.05rem; font-weight: 600; color: #fff; }
.beleg__punkt span { color: rgba(255,255,255,.66); }
@media (max-width: 820px) {
  .beleg__innen { grid-template-columns: 1fr; }
  .beleg__punkt + .beleg__punkt { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------- Ueber uns */
.ueber {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 940px) { .ueber { grid-template-columns: 1fr; } }

.ueber__bildfeld { position: relative; }
/* Farbfeld hinter dem Foto — gibt Tiefe statt flacher Kachel */
.ueber__bildfeld::before {
  content: "";
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 62%; height: 68%;
  background: var(--gruen-100);
  border-radius: var(--radius-l);
  z-index: 0;
}
.ueber__bild {
  position: relative; z-index: 1;
  margin: 0; overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--schatten-l);
}
.ueber__bild img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform .8s var(--ease);
}
@media (hover: hover) { .ueber__bild:hover img { transform: scale(1.05); } }

/* Freigestelltes Zeitfenster, ueberlappt das Bild */
.ueber__zeiten {
  position: absolute; z-index: 2;
  left: -1.25rem; bottom: 1.75rem;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 1.15rem 1.5rem;
  box-shadow: var(--schatten-m);
  display: flex; align-items: center; gap: .9rem;
}
.ueber__zeiten dt {
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--grau); margin-bottom: .15rem;
}
.ueber__zeiten dd { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.ueber__zeiten .tage { color: var(--gruen-700); }
@media (max-width: 520px) {
  .ueber__zeiten { position: static; margin-top: 1rem; }
  .ueber__bildfeld::before { display: none; }
}

.ueber__text p { color: var(--grau); }
.ueber__text p strong { color: var(--tinte); font-weight: 600; }

/* ---------------------------------------------------------- Dienstleistungen */
.leistungen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--raum-m);
}
@media (max-width: 1000px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .leistungen { grid-template-columns: 1fr; } }

/* Titel liegt im Bild — kompakter und praesenter als Text darunter */
.leistung {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-l);
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  min-height: clamp(320px, 34vw, 440px);
  box-shadow: var(--schatten-s);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.leistung img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.leistung::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,28,6,.05) 30%, rgba(4,28,6,.5) 62%, rgba(4,28,6,.88) 100%);
  transition: opacity .45s var(--ease);
}
.leistung__inhalt {
  position: absolute; inset: auto 0 0 0;
  padding: var(--raum-m);
  display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem;
}
.leistung h3 {
  color: #fff; font-size: 1.3rem; line-height: 1.15;
}
.leistung__pfeil {
  width: 2.4rem; height: 2.4rem; flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.leistung__pfeil svg { width: 1.05rem; height: 1.05rem; fill: #fff; }

@media (hover: hover) {
  .leistung:hover { transform: translateY(-6px); box-shadow: var(--schatten-l); }
  .leistung:hover img { transform: scale(1.08); }
  .leistung:hover .leistung__pfeil { background: var(--gruen-500); transform: translateX(3px); }
}

/* ------------------------------------------------------------- Kennzahlen */
.zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--raum-l);
}
@media (max-width: 800px) { .zahlen { grid-template-columns: 1fr; text-align: center; } }

.zahl__wert {
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--gruen-300);
  display: block;
  margin-bottom: .5rem;
}
.zahl h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.zahl p { color: rgba(255,255,255,.65); font-size: var(--fs-klein); }

/* ------------------------------------------------------------ Winterdienst */
.winter {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--schatten-m);
}
@media (max-width: 900px) { .winter { grid-template-columns: 1fr; } }

.winter__bild { position: relative; min-height: 340px; }
.winter__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.winter__inhalt {
  background: var(--gruen-900);
  color: #fff;
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  display: flex; flex-direction: column; justify-content: center;
}
.winter__inhalt h2 { color: #fff; }
.winter__inhalt p { color: rgba(255,255,255,.76); margin-top: var(--raum-s); }
.winter__inhalt .knopf { margin-top: var(--raum-l); align-self: flex-start; }

/* ----------------------------------------------------------------- Galerie */
.galerie {
  columns: 4;
  column-gap: var(--raum-s);
}
@media (max-width: 1000px) { .galerie { columns: 3; } }
@media (max-width: 680px)  { .galerie { columns: 2; } }

.galerie button {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; margin-bottom: var(--raum-s);
  background: none; cursor: zoom-in;
  border-radius: var(--radius-m);
  overflow: hidden;
  line-height: 0;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.galerie img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.galerie button::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,28,6,0) 40%, rgba(4,28,6,.55) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.galerie__lupe {
  position: absolute; z-index: 2;
  right: .85rem; bottom: .85rem;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.7) translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.galerie__lupe svg { width: 1.05rem; height: 1.05rem; fill: var(--gruen-800); }
@media (hover: hover) {
  .galerie button:hover img { transform: scale(1.07); }
  .galerie button:hover::after { opacity: 1; }
  .galerie button:hover .galerie__lupe { opacity: 1; transform: scale(1) translateY(0); }
}
.galerie button:focus-visible .galerie__lupe { opacity: 1; transform: scale(1); }

/* ----------------------------------------------------------------- Fragen */
.faq {
  max-width: 52rem;
  margin-inline: auto;
  display: grid;
  gap: var(--raum-s);
}

.frage {
  background: var(--sand);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.frage.ist-offen {
  border-color: var(--gruen-300);
  box-shadow: var(--schatten-s);
}

.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-s);
  padding: 1.15rem var(--raum-m);
  cursor: pointer;
  list-style: none;                 /* Standarddreieck ausblenden */
}
.frage summary::-webkit-details-marker { display: none; }

/* Die Ueberschrift bleibt im summary, damit die Gliederung fuer Suchmaschinen
   und Screenreader erhalten bleibt — optisch soll sie aber nicht wie eine
   eigene Sektionsueberschrift wirken. */
.frage summary h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

/* Eigenes Plus-Zeichen, das sich beim Aufklappen dreht */
.frage summary::after {
  content: "";
  flex: none;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--gruen-700), var(--gruen-700)) center / .75rem 2px no-repeat,
    linear-gradient(var(--gruen-700), var(--gruen-700)) center / 2px .75rem no-repeat,
    var(--gruen-100);
  transition: transform .3s var(--ease);
}
.frage.ist-offen summary::after { transform: rotate(135deg); }

/* Die Huelle traegt die Hoehenanimation. Ohne sie springt die Seite beim
   Aufklappen um rund 280 Pixel — wer dann mit der Maus zur naechsten Frage
   wandert, greift ins Leere, weil ihm die Frage entgegenrutscht.
   Der Trick mit grid-template-rows animiert von 0fr auf 1fr und kommt ohne
   feste Hoehenangabe aus. */
.frage__huelle {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .34s var(--ease);
}
.frage.ist-offen .frage__huelle { grid-template-rows: 1fr; }

.frage__text {
  overflow: hidden;             /* noetig, damit 0fr wirklich zusammenfaellt */
  padding: 0 var(--raum-m);
  font-size: var(--fs-klein);
  line-height: 1.7;
  color: var(--grau);
  opacity: 0;
  transition: opacity .26s var(--ease), padding-bottom .34s var(--ease);
}
.frage.ist-offen .frage__text {
  opacity: 1;
  padding-bottom: var(--raum-m);
}

@media (prefers-reduced-motion: reduce) {
  .frage__huelle, .frage__text { transition: none; }
}
.frage__text p { margin-bottom: .8em; }
.frage__text ul { margin: 0 0 .8em; padding-left: 1.2em; }
.frage__text li { margin-bottom: .35em; }
.frage__text strong { color: var(--tinte); }
.frage__text a { color: var(--gruen-700); }

@media (hover: hover) and (pointer: fine) {
  .frage:hover { border-color: var(--gruen-300); }
  /* Der Zeiger zeigt trotzdem eine Hand: Ein Klick pinnt die Frage fest,
     damit sie beim Wegfahren der Maus offen bleibt. */
  .frage[data-festgepinnt] { border-color: var(--gruen-500); }
}

/* Ohne Mauszeiger (Handy, Tablet) bleibt das Antippen der einzige Weg — das
   Pluszeichen macht sichtbar, dass hier etwas aufklappt. */
@media (hover: none) {
  .frage summary { padding-block: 1.3rem; }   /* grössere Tippfläche */
}

/* --------------------------------------------------------------- Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 20, 6, .95);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.ist-offen { display: flex; }
.lightbox img {
  max-width: min(94vw, 1180px); max-height: 86vh; width: auto;
  border-radius: var(--radius-m);
  object-fit: contain;
  box-shadow: var(--schatten-l);
}
.lightbox__knopf {
  position: absolute;
  background: rgba(255,255,255,.14);
  border: 0; color: #fff;
  width: 3rem; height: 3rem;
  border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .25s var(--ease);
}
.lightbox__knopf:hover { background: rgba(255,255,255,.3); }
.lightbox__knopf svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.lightbox__zu   { top: 1.25rem; right: 1.25rem; }
.lightbox__vor  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nach { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__zaehler {
  position: absolute; bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: var(--fs-klein);
  letter-spacing: .08em;
}
@media (max-width: 600px) {
  .lightbox__vor { left: .4rem; } .lightbox__nach { right: .4rem; }
}

/* ------------------------------------------------------------- Bewertungen */
.stimmen {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--raum-m);
}
@media (max-width: 900px) { .stimmen { grid-template-columns: 1fr; } }
.stimme {
  margin: 0;
  background: var(--creme);
  border-radius: var(--radius-m);
  padding: var(--raum-l);
  display: flex; flex-direction: column; gap: var(--raum-s);
  position: relative;
}
.stimme::before {
  content: "\201C";
  font-family: var(--display);
  font-size: 4.5rem; line-height: 1;
  color: var(--gruen-300);
  position: absolute; top: .6rem; right: 1.25rem;
}
.stimme blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.stimme figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.stimme h3 { font-family: var(--text); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .1rem; }
.stimme .rolle,
.bkarte .rolle { font-size: var(--fs-klein); color: var(--gruen-600); font-weight: 500; }

.platzhalter {
  padding: var(--raum-xl) var(--raum-l);
  text-align: center;
  background: var(--sand);
  border: 1px dashed var(--linie);
  border-radius: var(--radius-m);
}
.platzhalter p { color: var(--grau); margin-bottom: var(--raum-m); }

/* ----------------------------------------------------------------- Kontakt */
.kontakt {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 940px) { .kontakt { grid-template-columns: 1fr; } }

.kontakt__wege { display: grid; gap: var(--raum-s); margin-top: var(--raum-l); }
.weg {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.weg:hover { border-color: var(--gruen-500); transform: translateX(4px); box-shadow: var(--schatten-s); }
.weg__symbol {
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 50%;
  background: var(--gruen-100);
  display: grid; place-items: center;
}
.weg__symbol svg { width: 1.25rem; height: 1.25rem; fill: var(--gruen-700); }
.weg--wa .weg__symbol { background: #e3f8ec; }
.weg--wa .weg__symbol svg { fill: #128c4a; }
.weg b { display: block; font-size: 1rem; font-weight: 600; }
.weg span { font-size: var(--fs-klein); color: var(--grau); }

.formular {
  background: #fff;
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: var(--schatten-m);
  display: grid;
  gap: var(--raum-m);
}
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--raum-m); }
@media (max-width: 600px) { .feldpaar { grid-template-columns: 1fr; } }

.feld { display: flex; flex-direction: column; gap: .45rem; }
.feld label { font-size: .9rem; font-weight: 600; }
.feld .pflicht { color: #b3261e; }
.feld input, .feld select, .feld textarea {
  width: 100%;
  padding: .95rem 1.05rem;
  font-family: var(--text);
  font-size: 1rem;
  color: var(--tinte);
  background: var(--sand);
  border: 1.5px solid transparent;
  border-radius: var(--radius-s);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gruen-500);
}
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: #b3261e; }
.feld .fehler { font-size: .82rem; color: #b3261e; min-height: 1.1em; }

.honig {
  position: absolute !important; left: -9999px;
  opacity: 0; height: 0; width: 0; pointer-events: none;
}

.status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-s);
  font-size: .95rem;
  display: none;
}
.status.ist-sichtbar { display: block; }
.status.ist-ok    { background: var(--gruen-100); color: var(--gruen-800); }
.status.ist-fehler{ background: #fdeceb; color: #8c1d18; }

.hinweis-klein { font-size: .82rem; color: var(--grau); }
.hinweis-klein a { color: var(--gruen-700); }

/* ------------------------------------------------------------------ Banner */
.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-l);
  padding: clamp(3rem, 7vw, 6rem) var(--raum-l);
  text-align: center;
  color: #fff;
}
.banner img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,28,6,.72), rgba(4,28,6,.82));
}
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,.82); margin-top: var(--raum-s); }
.banner__knoepfe {
  margin-top: var(--raum-l);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--raum-s);
}

/* ---------------------------------------------------------------- Fusszeile */
.fuss {
  background: var(--gruen-950);
  color: rgba(255,255,255,.72);
  padding: var(--raum-xl) var(--rand) var(--raum-l);
}
.fuss__innen {
  max-width: var(--breit); margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--raum-l);
}
@media (max-width: 820px) { .fuss__innen { grid-template-columns: 1fr; } }

.fuss__marke img { width: 190px; filter: brightness(0) invert(1); margin-bottom: var(--raum-s); }
.fuss__marke p { font-size: var(--fs-klein); max-width: 32ch; }

/* Spaltentitel der Fusszeile: semantisch h2, optisch ein kleines Label. */
/* Bewusst ein Absatz, keine Ueberschrift: In der Fusszeile stand hier ein h2 und
   damit auf einer Stufe mit den Inhaltsabschnitten der Seite. */
.fuss__titel {
  font-family: var(--text);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.4;
  color: #fff; margin-bottom: var(--raum-s);
}
.fuss__adresse {
  font-style: normal;
  font-size: var(--fs-klein);
  line-height: 1.7;
  margin-top: var(--raum-m);
}
.fuss__adresse a { text-decoration: underline; }

.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fuss a { text-decoration: none; font-size: var(--fs-klein); transition: color .25s var(--ease); }
.fuss a:hover { color: #fff; }

.fuss__sozial { display: flex; gap: .65rem; margin-top: var(--raum-m); }
.fuss__sozial a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease);
}
.fuss__sozial a:hover { background: var(--gruen-600); }
.fuss__sozial svg { width: 1.05rem; height: 1.05rem; fill: #fff; }

.fuss__unten {
  max-width: var(--breit); margin: var(--raum-l) auto 0;
  padding-top: var(--raum-m);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--raum-s);
  font-size: .8rem;
}
.fuss__unten a { color: var(--gruen-300); }

/* --------------------------------------------------- Sterne und Monogramm */
/* Die fuenf Sterne liegen einmal als <symbol> in der Seite; jede Karte
   bindet sie mit einem einzigen <use> ein. */
.svg-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }

.sterne {
  display: block; flex: none;
  width: 5.75rem; height: 1.15rem;
  fill: #d98c1f;
}
.sterne--gross { width: 7.5rem; height: 1.5rem; }

/* Monogramm statt Portraet: Die Bewertungen stammen von Google — deren
   Profilbilder duerfen wir nicht mitnehmen. */
.monogramm {
  flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gruen-100);
  color: var(--gruen-700);
  font-weight: 600; font-size: .95rem;
}

/* ------------------------------------------------------- Bewertungsband */
.band__kopf {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--raum-l);
  margin-bottom: var(--raum-l);
}
/* Die Ueberschrift darf nicht die ganze Zeile fuellen, sonst rutscht die
   Bilanz darunter und der Kopf wirkt auseinandergerissen. */
.band__kopf > :first-child { flex: 1 1 24rem; max-width: 34rem; }
.band__bilanz {
  flex: 0 1 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
}
.band__bilanz p { font-size: var(--fs-klein); color: var(--grau); }
.band__bilanz b { color: var(--tinte); }
@media (max-width: 760px) { .band__bilanz { align-items: flex-start; } }

.band { position: relative; }
.band__fenster {
  overflow: hidden;
  /* Weiche Kanten, damit die Karten in die Flaeche hineinlaufen statt
     abgeschnitten zu wirken. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.band__spur {
  display: flex;
  width: max-content;
  animation: band-lauf 75s linear infinite;
}
/* Beide Saetze muessen exakt gleich breit sein, sonst ruckt das Band bei
   jedem Durchlauf. Deshalb traegt jeder Satz seinen Abstand selbst —
   einschliesslich des Abstands nach rechts. Laege die Luecke auf der Spur,
   entspraeche -50 % nicht einem vollen Satz. */
.band__satz { display: flex; gap: var(--raum-m); padding-right: var(--raum-m); }

@keyframes band-lauf {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* Angehalten wird beim Zeigen auf die Karten — bewusst NICHT auf das ganze
   .band: Der Pause-Knopf liegt darin, und "Fortsetzen" haette sichtbar nichts
   bewirkt, solange der Zeiger noch auf dem Knopf steht. */
.band__fenster:hover .band__spur,
.band__fenster:focus-within .band__spur,
.band.ist-pausiert .band__spur { animation-play-state: paused; }

.bkarte {
  flex: none;
  width: min(24rem, 78vw);
  margin: 0;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  padding: var(--raum-l);
  display: flex; flex-direction: column; gap: var(--raum-s);
  box-shadow: var(--schatten-s);
}
.bkarte blockquote {
  margin: 0; font-size: .98rem; line-height: 1.62; color: var(--tinte);
  /* Sicherheitsnetz fuer spaeter nachgetragene, sehr lange Bewertungen —
     die Karte bleibt dann so hoch wie die uebrigen. */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9;
  overflow: hidden;
}
.bkarte figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.bkarte__name { font-weight: 600; font-size: .98rem; letter-spacing: -.01em; margin-bottom: .1rem; color: var(--tinte); }

/* Ein Band, das von selbst laeuft, muss sich anhalten lassen (WCAG 2.2.2).
   Hover und Tastaturfokus halten es an — der Knopf ist die verlaessliche
   Variante fuer alle, die weder das eine noch das andere nutzen. */
.band__leiste { display: flex; justify-content: flex-end; margin-top: var(--raum-m); }
.band__pause {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--linie);
  border-radius: 999px; padding: .5rem 1.05rem;
  font: inherit; font-size: .82rem; color: var(--grau);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.band__pause:hover { color: var(--gruen-700); border-color: var(--gruen-300); background: var(--papier); }
.band__symbol { width: 13px; height: 13px; fill: currentColor; }
.band__symbol--start { display: none; }
.band.ist-pausiert .band__symbol--pause { display: none; }
.band.ist-pausiert .band__symbol--start { display: block; }

/* --------------------------------------------------------------- Standort */
.standort {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: var(--raum-xl); align-items: center;
}
@media (max-width: 900px) { .standort { grid-template-columns: 1fr; gap: var(--raum-l); } }

.standort__text .lead { margin-top: var(--raum-m); }
.standort__daten {
  font-style: normal;
  display: grid; gap: var(--raum-m);
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  margin: var(--raum-l) 0;
  font-size: var(--fs-klein); line-height: 1.7;
  color: rgba(255,255,255,.82);
}
.standort__daten b {
  display: block; margin-bottom: .35rem;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gruen-300);
}
.standort__daten a { color: #fff; }

.standort__karte { position: relative; }
.karte__rahmen {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--gruen-800);
  box-shadow: var(--schatten-m);
}
.karte__rahmen iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Vorschaufläche vor dem Klick — nutzt die vorhandene .platzhalter-Regel
   und macht sie fuer die dunkle Flaeche lesbar. */
.platzhalter--karte {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--raum-s);
  padding: var(--raum-l);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.24);
}
.platzhalter--karte p { color: rgba(255,255,255,.8); margin: 0; max-width: 28rem; }
.platzhalter__nadel { width: 34px; height: 34px; fill: var(--gruen-300); }
.platzhalter__fein { font-size: .78rem; }
.platzhalter--karte .platzhalter__fein { color: rgba(255,255,255,.62); }
.platzhalter--karte a { color: var(--gruen-300); }

@media (max-width: 600px) {
  .karte__rahmen, .platzhalter--karte { aspect-ratio: 1 / 1; }
  .platzhalter--karte { padding: var(--raum-m); }
}

/* --------------------------------------------------------- Scroll-Animation */
/* Wichtig: Die Elemente werden NUR versteckt, wenn JavaScript nachweislich
   laeuft (html.js wird inline im <head> gesetzt). Ohne JS — oder wenn das
   Skript scheitert — bleibt die gesamte Seite sichtbar. */
.js [data-zeig] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--verzug, 0ms);
}
.js [data-zeig].ist-da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-zeig] { opacity: 1; transform: none; }
  .hero__bild img { animation: none; transform: none; }
}

/* ------------------------------------------------------------- Rechtstexte */
.recht {
  max-width: var(--schmal);
  margin-inline: auto;
  padding-top: var(--kopf-h);
}
/* Auf den Rechtstextseiten traegt die Seitenueberschrift ein h1. Die globale
   h1-Regel setzt --fs-hero (bis 6,5rem) — auf einer reinen Textseite waere das
   deutlich zu gross, daher hier auf die h2-Groesse zurueckgenommen. */
/* Seitentitel. Die globale h1-Regel setzt --fs-hero (bis 6,5rem) — auf einer
   reinen Textseite waere das deutlich zu gross. */
.recht h1 {
  font-size: var(--fs-h2);
  margin-bottom: var(--raum-l);
}
/* Abschnitte innerhalb des Rechtstexts */
.recht h2 {
  font-size: 1.3rem;
  margin-top: var(--raum-l); margin-bottom: .6rem;
}
.recht p, .recht li { color: var(--grau); }
.recht strong { color: var(--tinte); }
.recht a { color: var(--gruen-700); overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Druck — vor allem fuer das Impressum, das gelegentlich ausgedruckt wird
   -------------------------------------------------------------------------- */
/* Wer Bewegung abbestellt hat, bekommt kein laufendes Band, sondern eine
   Reihe zum Selbstscrollen. Der gespiegelte Satz waere dabei nur Doppelung. */
@media (prefers-reduced-motion: reduce) {
  .band__spur { animation: none; width: auto; }
  .band__satz[aria-hidden="true"] { display: none; }
  .band__fenster {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
    scroll-snap-type: x mandatory;
  }
  .bkarte { scroll-snap-align: start; }
  .band__leiste { display: none; }
}

@media print {
  /* Bedienelemente und Zierrat gehoeren nicht aufs Papier */
  .kopf, .fuss, .lightbox, .hero__hinweis, .nav, .nav-schalter,
  .skip-link, .knopf, .beleg, .band__leiste, .platzhalter, .karte__rahmen,
  .band__satz[aria-hidden="true"] {
    display: none !important;
  }

  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }

  /* Einblende-Effekte duerfen im Druck nichts verstecken */
  .js [data-zeig] { opacity: 1 !important; transform: none !important; }

  .sektion { padding: 0 !important; }
  .recht { max-width: none; padding-top: 0; }

  h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  h1 { font-size: 20pt; }
  h2 { font-size: 13pt; }
  p, li { color: #000 !important; orphans: 3; widows: 3; }

  a { color: #000 !important; text-decoration: underline; }
  /* Linkziele sichtbar machen — auf Papier ist ein Link sonst wertlos.
     Ausgenommen tel: und mailto: sowie die eigene Adresse: dort steht die
     Angabe bereits im Linktext, "0172 2724320 (tel:+49...)" waere doppelt. */
  main a[href^="http"]:not([href*="juvigarten.de"])::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
    word-break: break-all;
  }

  img, picture { max-width: 100% !important; page-break-inside: avoid; }

  /* Das Band wird auf Papier zu einer ruhigen Liste */
  .band__fenster { overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .band__spur { animation: none !important; display: block !important; width: auto !important; }
  .band__satz { display: block !important; padding: 0 !important; }
  .bkarte { width: auto !important; box-shadow: none !important; margin-bottom: .6rem; page-break-inside: avoid; }
  .bkarte blockquote { display: block !important; overflow: visible !important; -webkit-line-clamp: none !important; }

  /* Das Band wird auf Papier zu einer ruhigen Liste */
  .band__fenster { overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .band__spur { animation: none !important; display: block !important; width: auto !important; }
  .band__satz { display: block !important; padding: 0 !important; }
  .bkarte { width: auto !important; box-shadow: none !important; margin-bottom: .6rem; page-break-inside: avoid; }
  .bkarte blockquote { display: block !important; overflow: visible !important; -webkit-line-clamp: none !important; }
  .auf-dunkel, .auf-creme, .auf-sand { background: #fff !important; color: #000 !important; }
  .auf-dunkel h1, .auf-dunkel h2, .auf-dunkel h3 { color: #000 !important; }
}
