/* ==========================================================================
   blatt & blüte | Startseite
   Farben und Typografie abgeleitet aus dem Logo (Blattgrün + Sonnengelb)
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-300-normal.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f7f6ee;
  --sage: #ebeedd;
  --ink: #2b3421;
  --ink-soft: #55603f;
  --green: #5f8f34;
  --green-deep: #3e5a22;
  --sun: #f8d813;
  --sun-soft: #f5dd6a; /* sanftes Gelb: aktuelle Seite im Menü */
  --green-warm: #48633a;
  --line: rgba(43, 52, 33, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-gap: clamp(4.5rem, 10vw, 9rem);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }
/* Sprungziele (z. B. #kontakt) nicht unter dem festen Header verstecken */
section[id] { scroll-margin-top: 4.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--green-deep); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap-narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Icons: Lucide (lokal in /icons, ISC-Lizenz), inline eingebunden.
   Grundstil wie im Original: Linie in Textfarbe, runde Enden. */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gelber Pinselstrich (Signatur-Element aus dem Logo) */
.swash {
  position: relative;
  isolation: isolate;
  font-style: italic;
  white-space: nowrap;
}
.swash-stroke {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.32em;
  color: var(--sun);
  z-index: -1;
}
.swash-stroke path {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
.stroke-drawn .swash-stroke path,
.swash.stroke-drawn .swash-stroke path {
  animation: draw-stroke 0.9s ease-out forwards;
}
@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}

/* ---------- Preloader (minimal, nur erster Besuch) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.preloader-inner { text-align: center; color: var(--green); }
.preloader-leaf {
  width: 44px;
  margin: 0 auto 0.6rem;
}
.preloader-leaf path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: preloader-draw 0.7s ease-out forwards;
}
@keyframes preloader-draw {
  to { stroke-dashoffset: 0; }
}
.preloader-inner p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}
.preloader.is-done,
.no-preload .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.no-preload .preloader { transition: none; }

/* ---------- Scroll-Faden entfernt ---------- */
main { position: relative; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius); /* gleiche Rundung wie die Bilder */
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--green); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.6rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand img { width: clamp(150px, 16vw, 200px); height: auto; }

/* Draw-Random-Underline (Osmo): Box unter dem Link, SVG wird per JS eingesetzt */
.text-draw__box {
  color: var(--sun);
  position: absolute;
  left: -4%;
  bottom: -7px;
  width: 108%;
  height: 0.625em;
  pointer-events: none;
}
.text-draw__box svg {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: visible !important;
}

/* Logo über dem Hero hell, nach dem Scrollen normal */
.brand img { transition: filter 0.3s ease, width 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1);
}

/* ---------- Vollbild-Menü (Clip-Path-Wipe, Logik in js/main.js) ---------- */

/* Menü-Button: drei Striche, wird beim Öffnen zum X */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  margin-right: -8px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.3s, opacity 0.5s ease 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Header, solange das Menü offen ist: transparent, Logo + Button hell
   (Klasse setzt main.js zeitversetzt, wenn das Panel oben angekommen ist) */
.menu-open .site-header,
.menu-open .site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.menu-open .site-header .brand img {
  filter: brightness(0) invert(1);
  width: clamp(180px, 20vw, 250px); /* Logo im offenen Menü etwas größer */
}
.menu-open .site-header .menu-toggle { color: #fff; }
html.menu-locked { overflow: hidden; }

/* Panel: startet unten zusammengeklappt, GSAP wischt es per clip-path auf */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow-y: auto;
  background: var(--green-warm);
  color: #fff;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.menu.is-open { pointer-events: auto; }
.menu-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  /* links bündig mit dem Logo (gleiche Formel wie .wrap) */
  padding: clamp(6.5rem, 14vh, 8.5rem) max(var(--gutter), (100% - var(--wrap)) / 2) clamp(1.5rem, 4vh, 2.5rem);
  transform-origin: 50% 0;
}
.menu-main {
  flex: 1; /* Links senkrecht mittig zwischen Header und Fußzeile */
  display: flex;
  align-items: center;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 4vh, 2.6rem); /* Abstand zwischen den Menüpunkten */
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-link {
  position: relative; /* Bezug für den Draw-Underline-Strich */
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.12;
  color: #fff;
  text-decoration: none;
}
/* Desktop: Schrift und Abstände richten sich auch nach der Bildschirmhöhe,
   damit alle Menüpunkte ohne Scrollen passen */
@media (min-width: 1024px) {
  .menu-links { gap: clamp(0.6rem, 2.2vh, 1.8rem); }
  .menu-link { font-size: clamp(2rem, min(4.2vw, 6.4vh), 4.2rem); }
}
.menu-link:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
/* Aktuelle Seite (aria-current="page" im HTML) */
.menu-link[aria-current="page"] { color: var(--sun-soft); }
/* Draw-Underline im Menü: an die große Schrift angepasst (dünner, näher am Text) */
.menu-link .text-draw__box {
  bottom: -0.26em;
  height: 0.28em;
}

/* Intro beim Öffnen: Buchstaben fahren nacheinander von unten ins Wort-Fenster.
   Pro Wort ein Clip-Fenster, damit lange Links umbrechen können (per JS erzeugt). */
.menu-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  white-space: nowrap; /* nie mitten im Wort umbrechen */
  /* Clip-Fenster nach oben/unten erweitern, damit Ober- und Unterlängen
     (g, ß, Umlautpunkte) nicht abgeschnitten werden; Zeilenhöhe bleibt gleich */
  padding: 0.08em 0.04em 0.22em;
  margin: -0.08em -0.04em -0.22em;
}
.menu-char {
  display: inline-block;
  white-space: pre;
}
.menu-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.menu-foot p { margin: 0; color: #fff; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.menu-contact a,
.menu-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}
.menu-contact a:hover { color: var(--sun); }
.menu-foot .icon { width: 1.05em; height: 1.05em; stroke-width: 1.75; }

/* Saisonales Plakat rechts im Menü (Adventstage). Nur ab Tablet, mobil reicht der Menüpunkt. */
.menu-main { justify-content: space-between; gap: clamp(1.5rem, 4vw, 4rem); }
.menu-promo {
  display: none;
  flex: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45);
}
.menu-promo img {
  display: block;
  width: auto;
  height: min(62svh, 44vw, 600px);
  aspect-ratio: 850 / 1200;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-promo:hover img { transform: scale(1.03); }
.menu-promo:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
@media (min-width: 768px) {
  .menu-promo { display: block; }
}

/* ---------- Hero (vollflächig) ---------- */
/* Inhalt links unten (in der Spalte des Logos) */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  text-align: left;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* oben dunkler für Header/Logo, unten links am dunkelsten für den Text */
  background:
    linear-gradient(to right, rgba(23, 30, 15, 0.45), rgba(23, 30, 15, 0) 65%),
    linear-gradient(to bottom, rgba(23, 30, 15, 0.5), rgba(23, 30, 15, 0.1) 35%, rgba(23, 30, 15, 0.7));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(5rem, 10vh, 7rem);
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  color: #fff;
}
.hero-title .line { display: block; }
.hero-title em { font-weight: 400; }
.hero-text {
  max-width: 560px;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-light:hover { border-color: var(--sun); color: var(--sun); }

/* Ladeanimation (CSS-Fallback; GSAP übernimmt, wenn verfügbar) */
[data-hero-item], [data-hero-media] {
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.8s ease forwards;
}
[data-hero-item]:nth-child(1) { animation-delay: 0.05s; }
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-text { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }
[data-hero-media] { animation-delay: 0.6s; }
@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}
.js [data-hero-item], .js [data-hero-media] { animation: none; }

/* ---------- Philosophie (dunkle Statement-Sektion) ---------- */
.philosophy {
  padding-block: var(--section-gap);
  text-align: center;
}
.philosophy-dark {
  background: var(--green-warm);
  padding-block: clamp(5.5rem, 12vw, 11rem);
}
.statement {
  font-family: var(--font-display);
  font-style: italic; /* Kundenwunsch 08.11.2026 */
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}
.philosophy-dark .statement { color: #ffffff; }
/* Wort-Reveal: Wörter starten gedimmt, GSAP blendet sie beim Scrollen ein */
.statement .word { opacity: 0.18; display: inline-block; }
.no-js .statement .word,
html:not(.js) .statement .word { opacity: 1; }

/* ---------- Leistungen ---------- */
.services {
  background: var(--sage);
  padding-block: var(--section-gap);
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  aspect-ratio: 4 / 5;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deep);
}
.card-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.service-card:hover .card-link .arrow { transform: translateX(5px); }

/* ---------- Marquee (reines CSS) ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track .icon {
  color: var(--sun);
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Über uns ---------- */
.about-teaser {
  background: var(--sage);
  padding-block: var(--section-gap);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-media {
  overflow: hidden;
  border-radius: var(--radius);
}
.about-copy p { color: var(--ink-soft); margin-bottom: 1.6rem; }

/* ---------- Saisonband ---------- */
.season-band {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}
.season-band img {
  width: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.12);
}
.season-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(43, 52, 33, 0.28);
  padding: var(--gutter);
}
.season-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: #fff;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--green-warm);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 0.5rem;
  color: #fff;
}
.cta-band .swash-stroke { color: var(--sun); }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-dark {
  background: #fff;
  color: var(--green-deep);
}
.btn-dark:hover { background: var(--sun); color: var(--ink); }
.btn-outline-dark {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-dark:hover { border-color: var(--sun); color: var(--sun); }

/* ---------- Kontakt ---------- */
.contact { padding-block: var(--section-gap); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-text { color: var(--ink-soft); max-width: 46ch; }
.contact-details {
  display: grid;
  gap: 1.8rem;
  align-content: start;
}
/* Spaltenüberschriften im Fraunces-Stil der Seite (keine Mini-Überschriften) */
.detail-block h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.detail-block p { margin: 0; }
/* Adresse, Telefon, E-Mail mit Lucide-Icon davor (wie .bbf-reach im Footer) */
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.contact-line + .contact-line { margin-top: 0.35rem; }
.contact-line .icon {
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.22em;
  stroke-width: 1.75;
  color: var(--green);
}
.detail-block a { text-decoration: none; }
.detail-block a:hover { text-decoration: underline; }

/* ---------- Anlässe ---------- */
.occasions {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.occasions-title { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.occasion {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.2rem 0.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.occasion svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.occasion:hover { background: var(--sage); transform: translateY(-3px); }
.occasion:hover svg { transform: scale(1.1); }

/* ---------- Kundenstimmen ---------- */
.testimonials { padding-block: var(--section-gap); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.testimonial {
  margin: 0;
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; /* Bezug für das Google-Symbol */
}
/* Herkunft offenlegen: kleines graues Google-"G" oben rechts (icons/google.svg) */
.testimonial-source {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 1.05rem;
  height: 1.05rem;
  fill: #8c8c8c;
}
.stars {
  display: flex;
  gap: 0.2rem;
  color: var(--sun);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.stars .icon { fill: currentColor; stroke-width: 1; }
.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
}
.testimonial p { margin: 0 0 0.8em; } /* Absätze in längeren Bewertungen */
.testimonial p:last-of-type { margin-bottom: 1.1rem; }
/* Einzelne Bewertung (Hochzeitsseite): eine breite Karte statt Raster */
.testimonials--single .testimonial { padding: clamp(2rem, 4vw, 3rem); }
.testimonial footer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
/* Links zum Google-Profil unter den Bewertungen (neuer Tab) */
.testimonial-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
}

/* ---------- Gutschein ---------- */
.voucher {
  background: var(--sage);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.voucher-icon {
  display: block;
  width: 48px;
  height: 48px;
  stroke-width: 1;
  color: var(--green);
  margin: 0 auto 1.2rem;
}
.voucher-inner p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 1.8rem;
}

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section-gap); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--green);
  transition: transform 0.3s ease;
}
.faq-marker::after { transform: rotate(90deg); }
.faq-item[open] .faq-marker::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer p {
  padding: 0 2.5rem 1.3rem 0.2rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Karte & Geöffnet-Status ---------- */
.open-status {
  font-weight: 700;
  margin-bottom: 0.35rem !important;
}
.open-status .status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.45rem;
  vertical-align: 1px;
}
.open-status.is-open { color: var(--green-deep); }
.open-status.is-open .status-dot { background: var(--green); }
.open-status.is-closed { color: #9a5b2f; }
.open-status.is-closed .status-dot { background: #c07a44; }

.map-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.map-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
  min-height: 340px;
  display: grid;
  place-items: center;
}
.map-placeholder {
  text-align: center;
  padding: 2rem;
}
.map-placeholder svg {
  display: block;
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
  color: var(--green);
  margin: 0 auto 0.8rem;
}
.map-placeholder p { font-weight: 500; }
.map-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.map-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-box.is-loaded .map-placeholder { display: none; }

/* ---------- Footer (Vorlage "Sticker Slap Footer", JS: initFooter in main.js) ----------
   Heller Rahmen, Logo oben mittig, grünes Panel mit 2x2-Seitenlinks + Kontakt,
   unten der Schriftzug "blatt & blüte" (SVG-Handschrift) mit verschiebbaren
   Blumenfotos. Ohne JS: Panel + Links normal sichtbar, kein Schriftzug. */
.site-footer {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 0 clamp(6px, 0.9vw, 12px) clamp(6px, 0.9vw, 12px);
}
.bbf-top {
  display: flex;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 30px) 0 clamp(18px, 3vw, 40px);
}
.bbf-logo img { width: clamp(140px, 14vw, 190px); height: auto; }

.bbf-panel {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  border-radius: clamp(10px, 1.4vw, 18px);
  background: var(--green-warm);
  color: var(--paper);
}
.bbf-cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4cqw, 64px);
  padding: clamp(32px, 5.5cqw, 80px) clamp(20px, 4cqw, 64px) clamp(24px, 3cqw, 44px);
}

/* 2x2-Raster der Unterseiten */
.bbf-pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2cqw, 28px) clamp(20px, 3cqw, 48px);
}
.bbf-big {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.8cqw, 2.4rem);
  line-height: 1.15;
  color: var(--paper);
  text-decoration: none;
}
/* Unterstrich wächst beim Hover von links ein */
.bbf-big::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
}
.bbf-big:hover::after,
.bbf-big:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.bbf-big:focus-visible { outline: none; }

/* Zeilen-Maske: der Text steigt beim Einblenden aus ihr auf */
.bbf-line {
  display: block;
  overflow: hidden;
  overflow: clip;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.bbf-line > span { display: inline-block; }

/* Kontakt: Adresse (Link auf Google Maps), Telefon, E-Mail, je mit Icon davor */
.bbf-contact {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  font-style: normal;
  font-size: clamp(1rem, 1.5cqw, 1.2rem);
  line-height: 1.5;
}
.bbf-reach {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s;
}
.bbf-reach .icon {
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.22em; /* mittig zur ersten Textzeile */
  stroke-width: 1.75;
}
.bbf-reach:hover { color: var(--sun); }
/* Icon in eigener Zeilen-Maske (.bbf-line), steigt wie der Text auf */
.bbf-ico { flex-shrink: 0; padding-top: 0.22em; }
.bbf-ico > span { display: block; line-height: 0; }
.bbf-reach .bbf-ico .icon { display: block; margin-top: 0; }

/* Bühne für Schriftzug + Fotos: Breite aus Seitenverhältnis (--bbf-ar, von JS),
   Höhe begrenzt (--bbf-wmh); unten taucht der Schriftzug unter die Panelkante */
.bbf-stage {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, calc(var(--bbf-wmh, 34svh) * var(--bbf-ar, 4)));
  margin-top: auto;
  padding: 0 clamp(6px, 0.8cqw, 12px);
}
.bbf-stage-in { position: relative; container-type: inline-size; }
.bbf-wm-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
}
.bbf-wm-btn:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
.bbf-wm { display: block; width: 100%; height: auto; overflow: visible; }
.bbf-wm path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Verschiebbare Blumenfotos (statt Sticker) */
.bbf-photo {
  position: absolute;
  z-index: 3;
  translate: -50% -50%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.bbf-photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: grab;
  rotate: calc(var(--r, 0deg) + var(--tilt, 0deg));
  transition: rotate 0.5s cubic-bezier(0.2, 1.4, 0.3, 1);
}
.bbf-photo-btn:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; border-radius: 50%; }
.bbf-photo.is-drag { z-index: 30 !important; }
.bbf-photo.is-drag .bbf-photo-btn { cursor: grabbing; transition: rotate 0.12s linear; }
.bbf-photo-slap { display: block; }
/* Rund ausgeschnittene Blumen */
.bbf-photo-lift {
  display: block;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(15, 20, 10, 0.25), 0 8px 18px rgba(15, 20, 10, 0.22);
  transition: transform 0.35s cubic-bezier(0.2, 1.5, 0.3, 1), box-shadow 0.35s;
}
.bbf-photo-lift img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  pointer-events: none;
}
.bbf-photo-btn:hover .bbf-photo-lift,
.bbf-photo-btn:focus-visible .bbf-photo-lift {
  transform: translateY(-4%) scale(1.06);
  box-shadow: 0 4px 6px rgba(15, 20, 10, 0.2), 0 18px 28px rgba(15, 20, 10, 0.3);
}
.bbf-photo.is-drag .bbf-photo-lift {
  transform: translateY(-7%) scale(1.12);
  box-shadow: 0 4px 6px rgba(15, 20, 10, 0.18), 0 26px 32px rgba(15, 20, 10, 0.34);
}

/* Impressum + Datenschutz klein unten rechts */
.bbf-legal {
  position: absolute;
  z-index: 6;
  right: clamp(12px, 1.6cqw, 22px);
  bottom: clamp(12px, 1.6cqw, 22px);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* button = "Cookie-Einstellungen" (öffnet den Einwilligungs-Banner) */
.bbf-legal a,
.bbf-legal button {
  display: block;
  border: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  padding: 0.3em 0.8em;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}
.bbf-legal a:hover,
.bbf-legal button:hover { background: #fff; }

@container (max-width: 760px) {
  .bbf-cols { grid-template-columns: 1fr; padding-bottom: 12px; }
  /* Rechtliches über den Schriftzug, damit nichts überlappt */
  .bbf-legal { position: static; order: 1; padding: 0 clamp(20px, 4cqw, 64px) 18px; }
  .bbf-stage { order: 2; }
  .bbf-legal a,
  .bbf-legal button { font-size: 0.8rem; }
}
@container (max-width: 520px) {
  /* schmale Panels: Seitenlinks untereinander (2x2 wäre zu eng) */
  .bbf-pages ul { grid-template-columns: 1fr; }
}
/* Handys (unter 768px Bildschirmbreite): KEINE Blumenfotos im Footer (Kundenwunsch).
   main.js entfernt sie dort zusätzlich ganz aus der Seite; Tablets ab 768px behalten sie. */
@media (max-width: 767px) {
  .bbf-photo { display: none; }
}

/* ---------- Angebots-Overlay (Inhalt in js/angebot.js) ---------- */
.promo {
  width: min(540px, 100% - 2rem);
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.promo:focus { outline: none; }
.promo::backdrop {
  background: rgba(43, 52, 33, 0.6);
  backdrop-filter: blur(3px);
}
.promo-box {
  position: relative;
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}
.promo-media { margin: 0; }
.promo-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.promo-body {
  padding: clamp(1.5rem, 4vw, 2.2rem);
  text-align: center;
}
.promo-body h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  margin-bottom: 0.4em;
}
.promo-body p {
  white-space: pre-line;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.promo-body > :last-child { margin-bottom: 0; }
.promo-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--promo-x, var(--ink));
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Schlichtes, dünnes X (Farbe pro Angebot über xFarbe in js/angebot.js) */
.promo-close svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.promo-close:hover { transform: rotate(90deg); opacity: 0.7; }
/* Kein Kreis als Fokusrahmen; Tastatur-Fokus zeigt stattdessen eine kräftigere Linie */
.promo-close:focus { outline: none; }
.promo-close:focus-visible svg { stroke-width: 2.2; }

/* Stil "ellipse": Bild als Fläche, Text unten links in einer Ellipse.
   Die Ellipsen hängen am Textblock (Pseudo-Elemente in %), wachsen und
   schrumpfen also mit dem Text. Schriftgrößen in cqw (Prozent der Blockbreite). */
.promo--ellipse {
  --promo-color: #b57647;
  --promo-text: #ffebce;
  width: min(780px, 100% - 2rem);
}
.promo--ellipse .promo-box {
  container-type: inline-size;
  overflow: hidden;
  background: var(--promo-color);
}
.promo--ellipse .promo-media img {
  aspect-ratio: 3 / 2;
  object-position: 65% 50%;
}
.promo--ellipse .promo-body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  isolation: isolate;
  width: max-content;
  max-width: 54cqw;
  padding: 1.6cqw 1.6cqw 3.6cqw 4.2cqw;
  text-align: left;
  color: var(--promo-text);
}
/* Desktop: Ellipse als Rahmen um den Text, Mittelpunkt unter der Textmitte, ungedreht.
   Maße/Lage (--ell-w, --ell-h, --ell-x, --ell-y) berechnet main.js (fitEllipse);
   Kippwinkel muss zu ELL_TILT in main.js passen.
   Ohne JS: Fallback 220 % / 250 % des Textblocks, Mittelpunkt bei 20cqw auf der Unterkante. */
.promo--ellipse .promo-body::before,
.promo--ellipse .promo-body::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: var(--ell-w, 220%);
  height: var(--ell-h, 250%);
  left: calc(var(--ell-x, 20cqw) - var(--ell-w, 220%) / 2);
  bottom: calc(var(--ell-y, 0px) - var(--ell-h, 250%) / 2);
  border-radius: 50%;
  background: var(--promo-color);
  pointer-events: none;
}
/* hintere Ellipse: gleiche Farbe, halbe Deckkraft, etwas höher */
.promo--ellipse .promo-body::before {
  opacity: 0.5;
  translate: 0 -2.2cqw;
}
.promo--ellipse .promo-body h2 {
  font-style: italic;
  font-size: 4.2cqw;
  line-height: 1.05;
  color: var(--promo-text);
  margin-bottom: 1.4cqw;
}
.promo--ellipse .promo-body p {
  font-size: 1.8cqw;
  line-height: 1.5;
  color: var(--promo-text);
  opacity: 0.92;
  max-width: none;
  margin: 0 0 2.6cqw;
}
.promo--ellipse .promo-body .btn {
  background: var(--promo-text);
  color: var(--promo-color);
  font-size: max(0.78rem, 1.6cqw);
  padding: 0.7em 1.4em;
}
.promo--ellipse .promo-body .btn:hover { background: #fff; }
.promo--ellipse .promo-body > :last-child { margin-bottom: 0; }

/* Schmale Blöcke (Handy): Hochformat, breiterer Textblock, feste Schriftgrößen */
@container (max-width: 520px) {
  .promo--ellipse .promo-media img { aspect-ratio: 4 / 5; object-position: 72% 50%; }
  /* Text steht unter dem Bild (im Fluss), das Bild sitzt damit komplett darüber;
     nur der gewölbte Rand der Ellipse ragt ins Bild */
  .promo--ellipse .promo-body {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 1cqw 6.5cqw 6.5cqw;
  }
  /* Ellipse über die volle Breite: Halbachse 1,5 x Breite, damit die
     Oberkante auch rechts noch über dem Text liegt (Scheitel bleibt bei 20 %) */
  .promo--ellipse .promo-body::before,
  .promo--ellipse .promo-body::after {
    width: 300%;
    height: 250%;
    left: calc(20cqw - 150%);
    bottom: -125%;
  }
  /* eigenes Hochformat-Bild (bildMobil): 4:5-Ausschnitt, etwas Boden unten abschneiden */
  .promo--ellipse.has-mobile-img .promo-media img { aspect-ratio: 4 / 5; object-position: 50% 55%; }
  .promo--ellipse .promo-body::before { translate: 0 -3cqw; }
  .promo--ellipse .promo-body h2 { font-size: 1.5rem; margin-bottom: 0.45rem; }
  .promo--ellipse .promo-body p { font-size: 0.875rem; margin-bottom: 1rem; }
  .promo--ellipse .promo-body .btn { font-size: 0.8rem; }
}

/* Ein- und Ausblenden */
.promo[open] { animation: promo-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.promo[open]::backdrop { animation: promo-fade 0.35s ease; }
.promo.is-closing { animation: promo-out 0.25s ease forwards; }
.promo.is-closing::backdrop { animation: promo-fade 0.25s ease reverse forwards; }
@keyframes promo-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}
@keyframes promo-out {
  to { opacity: 0; transform: translateY(10px) scale(0.98); }
}
@keyframes promo-fade {
  from { opacity: 0; }
}

/* Solange das Overlay offen ist: Seite fixieren */
html.has-modal { overflow: hidden; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* Kleinerer Hero (Leistungsseiten, Über uns): gleicher Aufbau wie die Startseite,
   Inhalt links unten, etwas kräftigerer Verlauf für helle Motive */
.hero--page { min-height: clamp(460px, 72svh, 760px); }
.hero--page .hero-title {
  font-size: clamp(2.2rem, 6.2vw, 5rem); /* 2.2rem: „Hochzeitsfloristik“ passt auch auf schmale Handys */
  margin-bottom: 1rem;
}
.hero--page .hero-overlay {
  background:
    linear-gradient(to right, rgba(23, 30, 15, 0.55), rgba(23, 30, 15, 0.05) 70%),
    linear-gradient(to bottom, rgba(23, 30, 15, 0.55), rgba(23, 30, 15, 0.2) 35%, rgba(23, 30, 15, 0.75));
}

/* ---------- Adventstage (adventstage.html, <html class="theme-advent">) ----------
   Farben aus dem Flyer: Braun #b57647, Creme #ffebce.
   Die Seiten-Tokens werden umgefärbt, dadurch passen Buttons, dunkle Sektionen,
   CTA-Band, Menü und Footer automatisch. Flächen mit Text etwas dunkler (#925c36),
   damit Creme/Weiß gut lesbar bleibt. */
.theme-advent {
  --advent: #b57647;
  --advent-deep: #925c36;
  --advent-cream: #ffebce;

  --paper: #faf6f0;
  --sage: #f3e9dd;
  --ink: #3a2a1e;
  --ink-soft: #6b5241;
  --green: #b57647;
  --green-deep: #7f4f2c;
  --green-warm: #925c36;
  --sun: #ffebce;
  --sun-soft: #ffdcae;
  --line: rgba(58, 42, 30, 0.14);
}
.theme-advent .site-header.is-scrolled { background: rgba(250, 246, 240, 0.92); }

/* Hero wie auf den anderen Unterseiten (Kundenwunsch 08.11.2026: cleanes Design).
   Nur Bildausschnitt und ein warmer, brauner Verlauf statt des grünen. */
.hero--advent .hero-bg img { object-position: 50% 80%; }
.hero--advent .hero-overlay {
  background:
    linear-gradient(to right, rgba(48, 30, 17, 0.6), rgba(48, 30, 17, 0.05) 70%),
    linear-gradient(to bottom, rgba(48, 30, 17, 0.55), rgba(48, 30, 17, 0.2) 35%, rgba(48, 30, 17, 0.75));
}

/* Wann und wo: Flyer links, Zeiten rechts */
.advent-info { background: var(--sage); padding-block: var(--section-gap); }
.advent-info-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.advent-flyer { margin: 0; }
.advent-flyer img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(58, 42, 30, 0.18);
}
.advent-details h2 { margin-bottom: 0.4rem; }
.advent-date {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--advent-deep);
  margin: 0 0 1.4rem;
}
.advent-hours { margin: 0 0 1.4rem; display: grid; gap: 0.7rem; }
.advent-hours div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.advent-hours dt { font-weight: 700; }
.advent-hours dd { margin: 0; color: var(--ink-soft); }
.advent-details .contact-line { color: var(--ink-soft); margin-bottom: 1.6rem; }
.advent-details .contact-line .icon { color: var(--advent); }
.advent-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 900px) {
  .advent-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .advent-hours div { display: block; } /* Tag und Uhrzeit untereinander, beide Zeilen gleich */
}

/* Einleitung: Überschrift links, Text rechts */
/* Zoom-Parallax (Adventsseite): 300vh hoch, innen klebt ein Bildschirm voller
   Bilder, die GSAP (main.js) beim Scrollen hochskaliert. Mittelbild x4 = Vollbild. */
.zoom-parallax { position: relative; height: 300vh; background: var(--paper); }
.zp-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.zp-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.zp-frame { position: relative; width: 25vw; height: 25vh; }
.zp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zp-frame img.zp-pos-low { object-position: 50% 78%; }
/* Versatz zur Mitte; --zp-gap = einheitlicher Abstand zwischen allen Bildern */
.zoom-parallax { --zp-gap: clamp(6px, 1vw, 14px); }
.zp-layer:nth-child(2) .zp-frame { top: calc(-27.5vh - var(--zp-gap)); left: 5vw; width: 35vw; height: 30vh; }
.zp-layer:nth-child(3) .zp-frame { top: -10vh; left: calc(-22.5vw - var(--zp-gap)); width: 20vw; height: 45vh; }
.zp-layer:nth-child(4) .zp-frame { left: calc(25vw + var(--zp-gap)); width: 25vw; height: 25vh; }
.zp-layer:nth-child(5) .zp-frame { top: calc(25vh + var(--zp-gap)); left: 5vw; width: 20vw; height: 25vh; }
.zp-layer:nth-child(6) .zp-frame { top: calc(25vh + var(--zp-gap)); left: calc(-20vw - var(--zp-gap)); width: 30vw; height: 25vh; }
.zp-layer:nth-child(7) .zp-frame { top: calc(20vh + var(--zp-gap)); left: calc(22.5vw + var(--zp-gap)); width: 15vw; height: 15vh; }
/* Ohne Bewegung: nur die Collage zeigen, kein langer Scrollweg */
@media (prefers-reduced-motion: reduce) {
  .zoom-parallax { height: 100vh; }
}

.page-intro { padding-block: var(--section-gap); }
.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: start;
}
.split h2 { margin: 0; }
.split p { color: var(--ink-soft); }
.split p:last-child { margin-bottom: 0; }

/* Abschnitt für die Leistungsliste mit Hover-Bild (sage-Hintergrund) */
.offers {
  background: var(--sage);
  padding-block: var(--section-gap);
}

/* Leistungsliste mit Hover-Bild (Vorlage "Services with animated hover modal",
   als GSAP + CSS umgesetzt; Logik: initHoverServices in js/main.js) */
.hs-list { list-style: none; margin: 0; padding: 0; }
.hs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(1.6rem, 3.5vw, 3rem) clamp(0rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.hs-list li:last-child .hs-row { border-bottom: 1px solid var(--line); }
.hs-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.6vw, 3.8rem);
  line-height: 1.1;
}
.hs-text { margin: 0; color: var(--ink-soft); text-align: right; }
.hs-title, .hs-text { transition: transform 0.3s ease; }
.hs-row:hover { opacity: 0.5; }
.hs-row:hover .hs-title,
.hs-row:hover .hs-text,
.hs-row:focus-visible .hs-title { transform: translateX(10px); }
.hs-row:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* Bildfenster + runder Cursor: folgen der Maus (fixed, per GSAP bewegt und skaliert) */
.hs-modal,
.hs-cursor,
.hs-cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}
.hs-modal {
  width: clamp(240px, 26vw, 400px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.hs-slider { position: absolute; inset: 0; }
.hs-slide { width: 100%; height: 100%; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; }
.hs-cursor,
.hs-cursor-label {
  z-index: 41;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.hs-cursor { background: var(--green-deep); }
.hs-cursor-label {
  z-index: 42;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}
/* Ohne Maus (Touch) oder bei reduzierter Bewegung: nur die Liste */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .hs-modal, .hs-cursor, .hs-cursor-label { display: none; }
}
@media (max-width: 700px) {
  .hs-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .hs-text { text-align: left; }
}

/* Seitenkopf ohne Bild (Impressum, Datenschutz) */
.page-head {
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 300;
  margin: 0;
}

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-gap); }
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 2.4em 0 0.6em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.legal h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 1.3em 0 0.35em;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal a { word-break: break-word; }
/* "Cookie-Einstellungen öffnen" in der Datenschutzerklärung, sieht aus wie ein Link */
.legal-consent-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.legal-note {
  padding: 1rem 1.2rem;
  background: var(--sage);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
/* Gelb markierte Platzhalter: vor Livegang ersetzen */
mark.todo {
  background: rgba(248, 216, 19, 0.45);
  color: var(--ink);
  padding: 0 0.2em;
  border-radius: 2px;
}

/* Seiten ohne dunklen Hero: Header-Logo und Menü-Button von Anfang an dunkel
   (offenes Menü bleibt hell, siehe .menu-open) */
html.header-solid:not(.menu-open) .site-header:not(.is-scrolled) .brand img { filter: none; }
html.header-solid:not(.menu-open) .site-header:not(.is-scrolled) .menu-toggle { color: var(--ink); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Einwilligungs-Banner (Logik: js/consent.js, Inhalte: js/cookie-einstellungen.js) ----------
   Mittig über abgedunkelter Seite, Scrollen gesperrt bis zur Entscheidung.
   Impressum/Datenschutz (.consent--ecke): ohne Sperre unten rechts.
   "Alle ablehnen" und "Alle akzeptieren" bewusst gleich gestaltet. */
html.consent-locked { overflow: hidden; scrollbar-gutter: stable; }
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 59; /* über Header (50), unter Banner (60) */
  background: rgba(43, 52, 33, 0.6); /* wie beim Angebotsfenster */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.consent-overlay[hidden] { display: none; }
.consent {
  position: fixed;
  z-index: 60; /* über Header (50), unter Preloader (200) */
  inset: 0;
  margin: auto;
  height: fit-content;
  width: min(430px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100svh - 2 * var(--gutter));
  overflow-y: auto;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(43, 52, 33, 0.22);
}
.consent[hidden] { display: none; }
.consent--ecke {
  inset: auto var(--gutter) var(--gutter) auto;
  margin: 0;
}
.consent-title {
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.6rem;
}
.consent-text {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.consent a { color: var(--ink); }
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.consent-actions .btn { width: 100%; justify-content: center; white-space: nowrap; padding-inline: 0.8rem; }
.consent-more {
  display: block;
  margin: 0.9rem auto 0;
  padding: 0.2rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-more:hover { color: var(--ink); }
.consent-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.consent-list li:last-child .consent-row { border-bottom: 0; }
.consent-row-text { display: grid; gap: 0.2rem; }
.consent-row-title { font-weight: 700; font-size: 0.95rem; }
.consent-row-desc { font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }
/* Schalter */
.consent-switch {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 42px;
  height: 24px;
  margin: 0.1rem 0 0;
  border-radius: 999px;
  background: rgba(43, 52, 33, 0.22);
  cursor: pointer;
  transition: background 0.25s;
}
.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s;
}
.consent-switch:checked { background: var(--green); }
.consent-switch:checked::after { transform: translateX(18px); }
.consent-switch:disabled { opacity: 0.55; cursor: default; }
.consent-switch:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.consent-foot { margin: 0.9rem 0 0; font-size: 0.82rem; text-align: center; color: var(--ink-soft); }
@media (max-width: 480px) {
  .consent { width: calc(100% - 1.5rem); max-height: calc(100svh - 1.5rem); }
  .consent--ecke { inset: auto 0.75rem 0.75rem; width: auto; }
  .consent-actions { grid-template-columns: 1fr; }
}

/* ---------- Scroll-Reveal (Zustände, Animation via GSAP) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  /* Karten untereinander: Bilder im Querformat, damit sie nicht den ganzen Bildschirm füllen */
  .card-media { aspect-ratio: 3 / 2; }
  .occasion-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }

  /* Vollbild-Menü: Fußzeile untereinander */
  .menu-foot { flex-direction: column; align-items: flex-start; }
}

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

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal],
  [data-hero-item], [data-hero-media] {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track { animation: none; }
  .hero-bg img, .hero-bg video, .season-band img { transform: none; }
  .preloader { display: none; }
  .statement .word { opacity: 1 !important; }
}
