@import url("fonts.css");

/* ==========================================================================
   Terrassen-Meister – Design-System
   ========================================================================== */

:root {
  --gruen:       #40722c;
  --gruen-dark:  #2b4d1e;
  --gruen-deep:  #1d3614;
  --braun:       #633b00;
  --braun-hell:  #a4703a;
  --sand:        #ece1cf;
  --sand-hell:   #f6efe4;
  --creme:       #fbf8f3;
  --weiss:       #ffffff;
  --ink:         #16130f;
  --ink-70:      #4a443c;
  --muted:       #7a7268;
  --line:        rgba(22, 19, 15, .13);
  --line-soft:   rgba(22, 19, 15, .07);
  --signal:      #b4451f;

  --r-s: 4px;
  --r-m: 10px;
  --r-l: 18px;

  --shadow-s: 0 1px 2px rgba(22,19,15,.05), 0 2px 8px rgba(22,19,15,.04);
  --shadow-m: 0 2px 6px rgba(22,19,15,.06), 0 12px 32px rgba(22,19,15,.08);
  --shadow-l: 0 4px 12px rgba(22,19,15,.08), 0 24px 60px rgba(22,19,15,.13);

  --breit: 1220px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Cabinet Grotesk", "Satoshi", sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.35rem + 4.4vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.18; }
p  { text-wrap: pretty; }

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

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ------------------------------------------------------------- Bausteine - */
.wrap { width: 100%; max-width: var(--breit); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--eng { max-width: 780px; }

.sektion { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.sektion--sand { background: var(--sand-hell); }
.sektion--dunkel { background: var(--gruen-deep); color: #f2efe8; }
.sektion--dunkel h2, .sektion--dunkel h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .765rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gruen);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.sektion--dunkel .eyebrow { color: var(--sand); }

.lead { font-size: clamp(1.06rem, 1rem + .38vw, 1.28rem); color: var(--ink-70); line-height: 1.55; }
.sektion--dunkel .lead { color: rgba(255,255,255,.76); }

.kopf { max-width: 620px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.kopf .eyebrow { margin-bottom: 1.1rem; }
.kopf h2 + .lead { margin-top: 1.1rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gruen); color: #fff; padding: .8rem 1.4rem; border-radius: 0 0 var(--r-m) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------- Button -- */
.btn {
  --bg: var(--gruen); --fg: #fff; --bd: var(--gruen);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92em 1.7em;
  font-weight: 700; font-size: .96rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--r-m); cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43,77,30,.24); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); box-shadow: 0 10px 22px rgba(22,19,15,.1); }
.btn--hell { --bg: #fff; --fg: var(--gruen-deep); --bd: #fff; }
.btn--klein { padding: .68em 1.15em; font-size: .875rem; }
.btn--voll { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-pfeil {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; text-decoration: none; color: var(--gruen);
  border-bottom: 2px solid transparent; transition: border-color .2s, gap .2s var(--ease);
}
.link-pfeil:hover { border-color: currentColor; gap: .75rem; }
.link-pfeil svg { transition: transform .2s var(--ease); }
.link-pfeil:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- Topbar - */
.topbar {
  background: var(--gruen-deep); color: rgba(255,255,255,.9);
  font-size: .82rem; letter-spacing: .005em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; flex-wrap: wrap; min-height: 40px; padding-block: .3rem;
}
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__ort { margin-right: auto; }
.topbar__rechts { display: flex; align-items: center; gap: 1.6rem; }
.topbar svg { width: 15px; height: 15px; opacity: .8; flex: none; }
@media (max-width: 980px) { .topbar__zeit { display: none; } }
/* Auf dem Handy bleiben Telefon und Adresse stehen und teilen sich eine Zeile.
   Die Postleitzahl entfällt dort, sonst bricht die Zeile um; die Mailadresse
   steht ohnehin im Fußbereich. */
@media (max-width: 620px) {
  .topbar { font-size: .74rem; }
  .topbar .wrap { justify-content: space-between; gap: .6rem; flex-wrap: nowrap; }
  .topbar a { gap: .3rem; white-space: nowrap; }
  .topbar svg { width: 13px; height: 13px; }
  .topbar__ort { margin-right: 0; min-width: 0; }
  .topbar__plz { display: none; }
  .topbar__rechts { display: none; }
}

/* ---------------------------------------------------------------- Header - */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,243,.88);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.header.ist-gescrollt { box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(22,19,15,.07); background: rgba(251,248,243,.96); }
.header .wrap { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 76px; }
.header.ist-gescrollt .wrap { min-height: 64px; }
.header .wrap, .header__logo img { transition: min-height .25s var(--ease), height .25s var(--ease); }

.header__logo { flex: 0 0 auto; display: block; }
.header__logo img { height: 40px; width: auto; }
.header.ist-gescrollt .header__logo img { height: 33px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.4rem); }
.nav a {
  position: relative; text-decoration: none; font-weight: 700; font-size: .93rem;
  padding: .5rem .15rem; color: var(--ink-70); transition: color .18s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05rem; height: 2px;
  background: var(--gruen); transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }

.header__aktion { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }

.korb-btn { position: relative; }
.korb-btn__zahl {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--signal); color: #fff; font-size: .72rem; font-weight: 700;
  border-radius: 999px; box-shadow: 0 0 0 2px var(--creme);
  transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.korb-btn__zahl.sichtbar { transform: scale(1); }

.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: none; cursor: pointer; }
.burger span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: 116px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-m);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s var(--ease);
    max-height: calc(100dvh - 120px); overflow-y: auto;
  }
  .nav.offen { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.06rem; }
  .nav a::after { display: none; }
  .header__aktion .btn--anfrage { display: none; }
  .nav__anfrage { order: -1; margin-bottom: 1rem; border-bottom: 0 !important;
                  justify-content: center; color: #fff !important; font-size: .95rem !important; }
  .nav a { padding-block: .82rem; }
}

.nav__anfrage { display: none; }
@media (max-width: 1200px) { .nav__anfrage { display: inline-flex; } }

/* ------------------------------------------------------------------ Hero - */
.hero { position: relative; background: var(--creme); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  max-width: 1500px; margin-inline: auto;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); align-items: stretch; } }

.hero__text {
  padding: clamp(2.75rem, 1.5rem + 6vw, 6.5rem) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px; margin-left: auto; width: 100%;
}
.hero__text .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--gruen); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.hero__bild { position: relative; min-height: clamp(300px, 46vw, 620px); background: var(--sand); }
.hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--creme) 0%, rgba(251,248,243,0) 22%);
}
@media (max-width: 899px) { .hero__bild::after { display: none; } }

.hero__marke {
  position: absolute; left: clamp(1rem,3vw,2rem); bottom: clamp(1rem,3vw,2rem); z-index: 2;
  background: rgba(29,54,20,.86); backdrop-filter: blur(8px);
  color: #fff; padding: .85rem 1.15rem; border-radius: var(--r-m);
  font-size: .85rem; line-height: 1.4; max-width: 260px;
}
.hero__marke strong { display: block; font-size: .95rem; }

/* Fakten-Leiste */
.fakten { border-block: 1px solid var(--line); background: var(--weiss); }
.fakten__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fakten__item { padding: 1.5rem clamp(1rem,2.5vw,2rem); display: flex; gap: .9rem; align-items: flex-start; }
.fakten__item + .fakten__item { border-left: 1px solid var(--line-soft); }
@media (max-width: 780px) { .fakten__item + .fakten__item { border-left: 0; border-top: 1px solid var(--line-soft); } }
.fakten__item svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--gruen); margin-top: 2px; }
.fakten__item b { display: block; font-size: .97rem; line-height: 1.3; }
.fakten__item span { font-size: .85rem; color: var(--muted); }

/* -------------------------------------------------------- Kategoriekarten */
.kats { display: grid; gap: clamp(.85rem, 1.6vw, 1.4rem); grid-template-columns: repeat(6, 1fr); }
.kat {
  position: relative; grid-column: span 6; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.3rem, 2.4vw, 2rem); overflow: hidden;
  border-radius: var(--r-l); text-decoration: none; color: #fff; isolation: isolate;
  background: var(--gruen-deep);
}
@media (min-width: 720px) {
  .kat { grid-column: span 2; }
  .kat--gross { grid-column: span 3; min-height: 320px; }
  .kat--mittel { grid-column: span 3; min-height: 320px; }
}
.kat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.kat::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,28,10,.9) 0%, rgba(15,28,10,.5) 40%, rgba(15,28,10,.12) 100%);
  transition: opacity .4s;
}
.kat:hover img { transform: scale(1.055); }
.kat h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); }
.kat p { font-size: .9rem; color: rgba(255,255,255,.82); margin-top: .4rem; max-width: 34ch; }
.kat__mehr { margin-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; }
.kat__mehr svg { transition: transform .25s var(--ease); }
.kat:hover .kat__mehr svg { transform: translateX(4px); }

/* ------------------------------------------------------------ Produktnetz */
.pnetz {
  display: grid; gap: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.karte {
  display: flex; flex-direction: column; height: 100%;
  background: var(--weiss); border: 1px solid var(--line-soft); border-radius: var(--r-l);
  overflow: hidden; text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.karte:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--line); }
.karte__bild { position: relative; aspect-ratio: 4 / 3; background: var(--sand-hell); overflow: hidden; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.karte:hover .karte__bild img { transform: scale(1.05); }
.karte__badge {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--signal); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: var(--r-s);
}
.karte__badge--lager { background: rgba(255,255,255,.94); color: var(--gruen-dark); left: auto; right: .8rem; }
.karte__inhalt { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.karte__kat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.karte h3 { margin: .45rem 0 .5rem; font-size: 1.075rem; line-height: 1.25; }
.karte__kurz { font-size: .875rem; color: var(--ink-70); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.karte__fuss { margin-top: auto; padding-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.preis { display: flex; flex-direction: column; }
.preis__wert { font-family: "Cabinet Grotesk", sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1; letter-spacing: -.02em; }
.preis__alt { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.preis__einheit { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.preis__qm { font-size: .78rem; color: var(--gruen); font-weight: 700; margin-top: .15rem; }

/* ------------------------------------------------------------ Produktseite */
.pdetail { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pdetail { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }

.galerie { position: relative; }

/* Wisch-Spur: ein Bild pro Bildschirm, rastet beim Loslassen ein. */
.galerie__spur {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: var(--r-l); background: var(--sand-hell);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.galerie__spur::-webkit-scrollbar { display: none; }
.galerie__spur:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }
.galerie__folie { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/3; }
.galerie__folie img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pfeile – am Rechner sichtbar, am Handy wischt man ohnehin. */
.galerie__pfeil {
  position: absolute; top: calc(50% - 3.2rem); transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--tinte);
  box-shadow: 0 2px 14px rgba(0,0,0,.18); transition: opacity .2s, background .2s;
}
.galerie__pfeil svg { width: 22px; height: 22px; }
.galerie__pfeil:hover { background: #fff; }
.galerie__pfeil--zurueck { left: .75rem; }
.galerie__pfeil--vor     { right: .75rem; }
.galerie__pfeil[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .galerie__pfeil { display: none; } }

/* Punkte – die Wisch-Anzeige fürs Handy */
.galerie__punkte {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(100% - 5.6rem);
  display: flex; gap: .4rem; z-index: 2;
}
.galerie__punkte span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: background .25s, width .25s;
}
.galerie__punkte span.ist-da { background: #fff; width: 18px; border-radius: 4px; }

.galerie__mini { display: flex; gap: .7rem; margin-top: .7rem; }
.galerie__mini button {
  width: 82px; aspect-ratio: 1; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--r-m); background: var(--sand-hell);
  transition: border-color .2s;
}
.galerie__mini button[aria-current="true"] { border-color: var(--gruen); }
.galerie__mini img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .galerie__mini button { width: 64px; }
}

.pinfo h1 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem); }
.pinfo__preisbox {
  margin: 1.6rem 0; padding: 1.4rem 1.5rem;
  background: var(--sand-hell); border: 1px solid var(--line-soft); border-radius: var(--r-l);
}
.pinfo__preis { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.pinfo__preis .preis__wert { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); }
.pinfo__mwst { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

.specs { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .93rem; }
.specs th, .specs td { text-align: left; padding: .72rem .2rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); width: 45%; }
.specs td { font-weight: 700; }

.mengenwahl { display: flex; align-items: stretch; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.zaehler { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.zaehler button { width: 44px; height: 100%; min-height: 48px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink-70); transition: background .15s; }
.zaehler button:hover { background: var(--sand-hell); }
.zaehler input { width: 74px; min-height: 48px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); font-weight: 700; -moz-appearance: textfield; }
.zaehler input::-webkit-outer-spin-button, .zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zaehler__einheit { display: grid; place-items: center; padding-inline: .85rem; font-size: .85rem; color: var(--muted); background: var(--sand-hell); }

.rechner { margin-top: 1.4rem; padding: 1.1rem 1.25rem; border: 1px dashed var(--line); border-radius: var(--r-m); background: #fff; }
.rechner label { font-size: .85rem; font-weight: 700; display: block; margin-bottom: .5rem; }
.rechner__zeile { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.rechner input { width: 110px; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: var(--r-s); }
.rechner__out { font-size: .9rem; color: var(--ink-70); }
.rechner__out b { color: var(--gruen); }

.prosa p + p { margin-top: 1rem; }
.prosa { color: var(--ink-70); }

/* ------------------------------------------------------------- Referenzen */
.galerie-netz { display: grid; gap: clamp(.7rem, 1.4vw, 1.15rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.galerie-netz figure { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--sand); }
.galerie-netz img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s var(--ease); }
.galerie-netz figure:hover img { transform: scale(1.05); }
.galerie-netz figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.1rem .95rem;
  background: linear-gradient(to top, rgba(15,28,10,.85), transparent);
  color: #fff; font-size: .88rem; font-weight: 500;
}
.galerie-netz .breit { grid-column: span 2; }
@media (max-width: 620px) { .galerie-netz .breit { grid-column: span 1; } }

/* ---------------------------------------------------------------- Ablauf - */
.ablauf { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); counter-reset: schritt; }
.ablauf__item { position: relative; padding-top: 2.9rem; }
.ablauf__item::before {
  counter-increment: schritt; content: counter(schritt, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: "Cabinet Grotesk", sans-serif; font-weight: 800; font-size: 1.05rem;
  color: var(--gruen); letter-spacing: .04em;
}
.ablauf__item::after { content: ""; position: absolute; top: 1.85rem; left: 0; width: 30px; height: 2px; background: var(--gruen); opacity: .35; }
.ablauf__item h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.ablauf__item p { font-size: .92rem; color: var(--ink-70); }

/* ------------------------------------------------------------ Holz/Video - */
.holz { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .holz { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.holz__video { position: relative; border-radius: var(--r-l); overflow: hidden; background: #16130f; box-shadow: var(--shadow-l); }
.holz__video video { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.holz__video figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  color: rgba(255,255,255,.92); font-size: .84rem;
}
.merkmale { display: grid; gap: 1.6rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.merkmale h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.merkmale p { font-size: .92rem; }
.sektion--dunkel .merkmale p { color: rgba(255,255,255,.72); }
.merkmale__num { font-family: "Cabinet Grotesk", sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--sand); line-height: 1; display: block; margin-bottom: .5rem; }

/* ------------------------------------------------------------ Standort --- */
.standort { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .standort { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.standort__daten { display: flex; flex-direction: column; gap: 1.5rem; }
.datenzeile { display: flex; gap: .95rem; align-items: flex-start; }
.datenzeile svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gruen); margin-top: 4px; }
.datenzeile b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; font-weight: 700; }
.datenzeile a { text-decoration: none; font-weight: 700; }
.datenzeile a:hover { color: var(--gruen); }
.zeiten { width: 100%; font-size: .93rem; border-collapse: collapse; }
.zeiten td { padding: .35rem 0; }
.zeiten td:last-child { text-align: right; font-weight: 700; }
.zeiten tr + tr td { border-top: 1px solid var(--line-soft); }

/* Karte mit Zwei-Klick-Lösung (DSGVO) */
.karte-box { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 340px; background: var(--sand); box-shadow: var(--shadow-s); }
.karte-box iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.karte-platzhalter {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(64,114,44,.14) 0 12%, transparent 12.5%),
    repeating-linear-gradient(38deg, rgba(22,19,15,.055) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-52deg, rgba(22,19,15,.055) 0 1px, transparent 1px 52px),
    linear-gradient(160deg, #eef1e8, #e4e0d4);
}
.karte-platzhalter__pin {
  width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--gruen); box-shadow: 0 8px 20px rgba(43,77,30,.35);
  display: grid; place-items: center; margin-bottom: .3rem;
}
.karte-platzhalter__pin::after { content: ""; width: 15px; height: 15px; background: #fff; border-radius: 50%; }
.karte-platzhalter p { font-size: .87rem; color: var(--ink-70); max-width: 34ch; }

/* --------------------------------------------------------------- Formular */
.formular { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feld { display: flex; flex-direction: column; gap: .4rem; }
.feld--voll { grid-column: 1 / -1; }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; } .feld { grid-column: 1 / -1; } }

.feld label { font-size: .86rem; font-weight: 700; }
.feld label .pflicht { color: var(--signal); }
.feld__hinweis { font-size: .78rem; color: var(--muted); font-weight: 400; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: .82rem .95rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-m);
  transition: border-color .18s, box-shadow .18s;
}
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(64,114,44,.15);
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:user-invalid, .feld select:user-invalid, .feld textarea:user-invalid { border-color: var(--signal); }
.feld__fehler { font-size: .8rem; color: var(--signal); font-weight: 700; display: none; }
.feld.hat-fehler .feld__fehler { display: block; }
.feld.hat-fehler input, .feld.hat-fehler select, .feld.hat-fehler textarea { border-color: var(--signal); }

.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.5; }
.checkbox input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gruen); }

.hinweis {
  padding: 1rem 1.15rem; border-radius: var(--r-m); font-size: .89rem; line-height: 1.55;
  border: 1px solid; display: flex; gap: .75rem; align-items: flex-start;
}
.hinweis svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; }
.hinweis--info { background: rgba(64,114,44,.07); border-color: rgba(64,114,44,.25); color: var(--gruen-dark); }
.hinweis--warn { background: rgba(180,69,31,.07); border-color: rgba(180,69,31,.28); color: var(--signal); }
.hinweis--ok { background: rgba(64,114,44,.1); border-color: rgba(64,114,44,.35); color: var(--gruen-dark); }

.zone-info { margin-top: .5rem; font-size: .83rem; font-weight: 700; color: var(--gruen); min-height: 1.2em; }
.zone-info.warnung { color: var(--signal); }
/* Der Pauschalpreis ist die beste Nachricht im Formular – der darf auffallen. */
.zone-info--preis {
  display: inline-block; margin-top: .6rem; padding: .42rem .7rem;
  background: rgba(64, 114, 44, .1); border-radius: .4rem; font-size: .86rem;
}

/* ------------------------------------------------------------- Korb/Drawer */
.korb-lage { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.korb-lage.offen { visibility: visible; }
.korb-lage__bg { position: absolute; inset: 0; background: rgba(22,19,15,.45); opacity: 0; transition: opacity .3s; }
.korb-lage.offen .korb-lage__bg { opacity: 1; }
.korb {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--creme); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s var(--ease);
  box-shadow: var(--shadow-l);
}
.korb-lage.offen .korb { transform: none; }
.korb__kopf { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.korb__kopf h2 { font-size: 1.2rem; }
.korb__zu { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: var(--r-m); font-size: 1.4rem; line-height: 1; color: var(--ink-70); }
.korb__zu:hover { background: var(--sand); }
.korb__liste { flex: 1; overflow-y: auto; padding: 1rem 1.35rem; display: flex; flex-direction: column; gap: .9rem; }
.korb__leer { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: .92rem; }
.korb__pos { display: grid; grid-template-columns: 62px 1fr auto; gap: .85rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line-soft); }
.korb__pos img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--r-m); }
.korb__pos b { display: block; font-size: .88rem; line-height: 1.3; }
.korb__pos small { color: var(--muted); font-size: .8rem; }
.korb__pos .weg { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: .3rem; }
.korb__pos .weg:hover { color: var(--signal); }
.korb__fuss { padding: 1.15rem 1.35rem 1.5rem; border-top: 1px solid var(--line); background: var(--sand-hell); }
.korb__summe { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35rem; }
.korb__summe b { font-family: "Cabinet Grotesk", sans-serif; font-size: 1.35rem; font-weight: 800; }
.korb__hinweis { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.45; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 130%); transition: transform .38s var(--ease);
  background: var(--gruen-deep); color: #fff; padding: .85rem 1.3rem;
  border-radius: var(--r-m); box-shadow: var(--shadow-l); font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: .6rem; max-width: calc(100vw - 2rem);
}
.toast.zeigen { transform: translate(-50%, 0); }

/* Positionsliste im Anfrageformular */
.pos-liste { display: flex; flex-direction: column; gap: .75rem; }
.pos-liste__zeile { display: flex; gap: .9rem; align-items: center; padding: .75rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-m); }
.pos-liste__zeile img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--r-s); }
.pos-liste__zeile b { font-size: .89rem; display: block; }
.pos-liste__zeile small { color: var(--muted); font-size: .8rem; }
.pos-liste__zeile .menge { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------------------------------------------------------------- Footer - */
.footer { background: var(--gruen-deep); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 0; font-size: .92rem; }
.footer__grid { display: grid; gap: clamp(1.75rem, 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: "Satoshi", sans-serif; font-weight: 700; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer__logo img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1rem; }
.footer__unten {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-block: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; justify-content: space-between; align-items: center;
  font-size: .84rem;
}
.footer__unten nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ------------------------------------------------------------- Breadcrumb */
.krumen { font-size: .82rem; color: var(--muted); padding-block: 1.1rem; }
.krumen a { text-decoration: none; }
.krumen a:hover { color: var(--gruen); text-decoration: underline; }
.krumen span { margin-inline: .45rem; opacity: .5; }

/* ---------------------------------------------------------- Seitentitel -- */
.seitenkopf { background: var(--sand-hell); border-bottom: 1px solid var(--line-soft); padding-block: clamp(2rem, 1rem + 3.5vw, 4rem); }
.seitenkopf h1 { max-width: 18ch; }
.seitenkopf .lead { margin-top: 1.1rem; max-width: 58ch; }

/* ------------------------------------------------------ Scroll-Animation - */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.sichtbar { opacity: 1; transform: none; }
.reveal-gruppe > * { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal-gruppe.sichtbar > * { opacity: 1; transform: none; }
.reveal-gruppe.sichtbar > *:nth-child(1) { transition-delay: 0ms; }
.reveal-gruppe.sichtbar > *:nth-child(2) { transition-delay: 70ms; }
.reveal-gruppe.sichtbar > *:nth-child(3) { transition-delay: 140ms; }
.reveal-gruppe.sichtbar > *:nth-child(4) { transition-delay: 210ms; }
.reveal-gruppe.sichtbar > *:nth-child(5) { transition-delay: 280ms; }
.reveal-gruppe.sichtbar > *:nth-child(6) { transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-gruppe > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ----------------------------------------------------------- Cookie-Bar -- */
.cookiebar {
  position: fixed; left: 50%; bottom: 18px; z-index: 130; width: min(560px, calc(100vw - 2rem));
  transform: translate(-50%, calc(100% + 30px)); transition: transform .45s var(--ease);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--shadow-l); padding: 1.35rem 1.5rem;
}
.cookiebar.zeigen { transform: translate(-50%, 0); }
.cookiebar h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.cookiebar p { font-size: .86rem; color: var(--ink-70); margin-bottom: 1.1rem; }
.cookiebar__aktionen { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookiebar__aktionen .btn { flex: 1 1 auto; }

/* ------------------------------------------------------------- Utilities - */
.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-s { margin-top: .75rem; } .mt-m { margin-top: 1.5rem; } .mt-l { margin-top: 2.5rem; }
.zentriert { text-align: center; } .zentriert .kopf { margin-inline: auto; }
.trenner { height: 1px; background: var(--line-soft); border: 0; margin-block: clamp(2rem, 4vw, 3.5rem); }

/* ==========================================================================
   Kino-Hero – scrollgesteuerte Bühne
   ========================================================================== */

.kino { position: relative; background: #0d1408; }
.kino__buehne {
  /* Bewusst etwas niedriger als der Bildschirm: Der Anfang des nächsten
     Abschnitts schaut hervor und lädt zum Weiterscrollen ein. */
  position: relative; height: 88svh; min-height: 480px; max-height: 900px;
  overflow: hidden; display: grid; place-items: center; isolation: isolate;
}

/* Bildebenen */
.kino__bild {
  position: absolute; inset: 0; z-index: -3;
  opacity: 1;
}
.kino__bild img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 55%;
  /* Einmaliges, sehr langsames Heranfahren beim Laden – kein Dauerlauf. */
  animation: heranfahren 14s var(--ease) forwards;
}
@keyframes heranfahren {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Abdunkelung + Holzton-Verlauf */
.kino__buehne::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(13,20,8,.24) 0%, rgba(13,20,8,.68) 58%, rgba(13,20,8,.9) 100%),
    linear-gradient(184deg, rgba(13,20,8,.72) 0%, rgba(13,20,8,.15) 34%, rgba(13,20,8,.55) 74%, rgba(13,20,8,.95) 100%);
}
/* feines Korn – nimmt dem Bild das Digitale */
.kino__buehne::after {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: korn 720ms steps(3) infinite;
}
@keyframes korn {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2%, 1%); }
  66%  { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* Text */
.kino__inhalt {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--breit); margin-inline: auto; padding-inline: var(--gutter);
  display: grid;
}
.kino__stufe {
  grid-area: 1 / 1; max-width: min(46ch, 62%);
  color: #fff;
  animation: kino-auf .9s var(--ease) both;
}
@keyframes kino-auf {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.kino__stufe .eyebrow { color: var(--sand); margin-bottom: 1.35rem; }
.kino__stufe h1, .kino__stufe h2 {
  font-size: clamp(2.3rem, 1.35rem + 3.9vw, 4.5rem);
  color: #fff; margin-bottom: 1.15rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}
.kino__stufe h1 em, .kino__stufe h2 em { font-style: normal; color: #a4d18a; }
.kino__stufe p {
  font-size: clamp(1.05rem, .96rem + .5vw, 1.32rem);
  color: rgba(255,255,255,.86); max-width: 34ch; line-height: 1.5;
  text-shadow: 0 1px 18px rgba(0,0,0,.5);
}
.kino__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

/* Am Handy darf der Text die volle Breite nutzen – 62 % ergäben dort
   eine Spalte von rund 240 px, in der jede Zeile umbricht. */
@media (max-width: 760px) {
  .kino__buehne { height: auto; min-height: 0; padding-block: clamp(4.5rem, 16vw, 7rem); }
  .kino__stufe  { max-width: none; }
  .kino__aktionen .btn { flex: 1 1 auto; justify-content: center; }
}

/* Wer Bewegung abgestellt hat, bekommt dasselbe Bild ohne Anlauf. */
@media (prefers-reduced-motion: reduce) {
  .kino__buehne::after { display: none; }
  .kino__bild img { animation: none; transform: none; }
  .kino__stufe { animation: none; }
  .kino__stufe h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 3.6rem); }
}

/* ==========================================================================
   Jahresringe – Vergleich als Canvas
   ========================================================================== */
.ringe { position: relative; border-radius: var(--r-l); overflow: hidden; background: #14200d; box-shadow: var(--shadow-l); }
.ringe canvas { display: block; width: 100%; height: auto; }
.ringe__legende {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between;
  gap: 1rem; padding: 2.5rem 1.15rem 1rem;
  background: linear-gradient(to top, rgba(10,16,6,.92), transparent);
  font-size: .8rem; color: rgba(255,255,255,.82);
}
.ringe__legende b { display: block; color: #fff; font-size: .92rem; }
.ringe__legende div:last-child { text-align: right; }

.holz--ringe { grid-template-columns: 1fr; }
@media (min-width: 880px) { .holz--ringe { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }

/* ==========================================================================
   Feinschliff: Holzmaserung, Produktkacheln, Zitatband
   ========================================================================== */

/* Sehr feine Maserung statt flacher Farbfläche – gibt der Seite Material */
.sektion--sand, .seitenkopf { position: relative; isolation: isolate; }
.sektion--sand::before, .seitenkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.55' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.52 0 0 0 0 0.42 0 0 0 0 0.28 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='600' height='400' filter='url(%23m)'/%3E%3C/svg%3E");
  background-size: 600px 400px;
}

/* Freisteller brauchen Weiß und volle Fläche, nicht beschnitten */
.karte__bild { aspect-ratio: 1 / 1; background: #fff; }
.karte { background: var(--weiss); }
.galerie__haupt { aspect-ratio: 1 / 1; background: #fff; }
.galerie__haupt img { object-fit: contain; }
.galerie__mini button { background: #fff; }
.galerie__mini img { object-fit: contain; }

/* ------------------------------------------------------------- Zitatband - */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(360px, 52vw, 560px);
  display: grid; place-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: #14200d;
}
.band__bild { position: absolute; inset: -12% 0; z-index: -2; }
.band__bild img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(12,20,8,.9) 0%, rgba(12,20,8,.66) 48%, rgba(12,20,8,.34) 100%);
}
.band__inhalt { max-width: 780px; color: #fff; }
.band blockquote {
  margin: 0; font-family: "Cabinet Grotesk", sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3.1rem); line-height: 1.1;
  letter-spacing: -.022em; text-wrap: balance;
}
.band blockquote em { font-style: normal; color: #a4d18a; }
.band__zusatz { margin-top: 1.4rem; color: rgba(255,255,255,.78); font-size: clamp(1rem,.95rem+.3vw,1.15rem); max-width: 56ch; }
.band .btn { margin-top: 2rem; }

/* ------------------------------------------ Foto vom Transporter, Lieferung -
   Bild und Text stehen nebeneinander statt übereinander: Die Beschriftung am
   Fahrzeug ist Werbung und soll lesbar bleiben, nicht unter einem Farbschleier
   verschwinden. Unter 860 px rutscht der Text unter das Bild. */
.lieferbild {
  display: grid; gap: clamp(1.5rem, 4vw, 3.25rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
}
.lieferbild__foto {
  margin: 0; border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--shadow-m); background: var(--sand);
}
.lieferbild__foto img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.lieferbild__text h2 { margin-top: .6rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.lieferbild__text p { margin-top: 1rem; color: var(--ink-70); }
.lieferbild__preis {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  margin-top: 1.2rem !important; padding: .85rem 1.15rem;
  border-radius: var(--r-m); background: var(--weiss);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
}
.lieferbild__preis strong {
  font-family: "Cabinet Grotesk", sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.35rem); color: var(--gruen);
  letter-spacing: -.02em; line-height: 1;
}
.lieferbild__preis span { color: var(--ink-70); font-weight: 600; }
.lieferbild .btn { margin-top: .4rem; }

@media (max-width: 860px) {
  .lieferbild { grid-template-columns: 1fr; }
  .lieferbild__foto img { aspect-ratio: 3 / 2; }
}

/* Kategoriekacheln etwas ruhiger, Text besser lesbar */
.kat::after {
  background: linear-gradient(to top, rgba(13,20,8,.93) 0%, rgba(13,20,8,.55) 45%, rgba(13,20,8,.18) 100%);
}
.kat h3 { text-shadow: 0 1px 18px rgba(0,0,0,.4); }

/* Produktraster: mehr Luft, klarere Trennung */
.pnetz { gap: clamp(1rem, 2.2vw, 2rem); }

/* ==========================================================================
   Touch-Geräte: großzügige Tippflächen (Apple 44 px, WCAG 2.2 AA)
   Gilt nur für Finger-Bedienung, das Desktop-Layout bleibt kompakt.
   ========================================================================== */
@media (pointer: coarse) {
  .btn, .btn--klein { min-height: 46px; padding-inline: 1.35em; }
  .korb-btn { min-width: 46px; }
  .burger { width: 48px; height: 48px; }

  .topbar .wrap { min-height: 46px; }
  .topbar a { min-height: 44px; display: inline-flex; align-items: center; }

  .krumen { padding-block: .35rem; }
  .krumen a { display: inline-block; padding-block: .7rem; }

  .link-pfeil { min-height: 44px; }

  .footer ul { gap: 0; }
  .footer ul li { display: flex; align-items: stretch; min-height: 44px; }
  .footer ul li a { display: flex; align-items: center; width: 100%; }
  .footer__unten nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .krumen a { padding-block: .85rem; }
  .kat__mehr { min-height: 44px; }
  .datenzeile a { display: inline-flex; align-items: center; min-height: 44px; }
  .zeiten td { padding-block: .6rem; }

  .checkbox input { width: 26px; height: 26px; }
  .checkbox { min-height: 44px; }

  .zaehler button { min-width: 52px; min-height: 52px; }
  .zaehler input { min-height: 52px; }
  .galerie__mini button { width: 68px; }

  .feld input, .feld select, .feld textarea { min-height: 48px; font-size: 16px; }  /* 16px = kein Auto-Zoom in iOS */
  .rechner input { min-height: 48px; font-size: 16px; }

  .korb__zu { width: 48px; height: 48px; }
  .korb__pos .weg { min-height: 44px; display: inline-flex; align-items: center; }
  .cookiebar__aktionen .btn { min-height: 46px; }

  /* Karten und Kategorien sind ohnehin groß – hier nur die Textlinks darin */
  .kat__mehr { min-height: 40px; align-items: center; }
}

/* Der Honeypot darf keine Fläche belegen */
form [aria-hidden="true"] input { height: 1px; width: 1px; padding: 0; border: 0; }

/* ---------------------------------------------------------- Bereichsfilter */
.filter { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.filter__chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--weiss); color: var(--ink-70);
  font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: border-color .18s, color .18s, background .18s, transform .18s var(--ease);
}
.filter__chip span {
  display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px;
  background: var(--sand-hell); color: var(--muted);
  border-radius: 999px; font-size: .76rem; transition: background .18s, color .18s;
}
.filter__chip:hover { border-color: var(--gruen); color: var(--ink); transform: translateY(-1px); }
.filter__chip.ist-aktiv { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.filter__chip.ist-aktiv span { background: rgba(255,255,255,.22); color: #fff; }
@media (pointer: coarse) { .filter__chip { min-height: 46px; } }

/* ------------------------------------------------------- Sortimentstabelle */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-l); background: var(--weiss); }
.liste { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
.liste thead th {
  text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 1rem .85rem; border-bottom: 1.5px solid var(--line);
  background: var(--sand-hell); white-space: nowrap;
}
.liste td { padding: .95rem .85rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.liste tbody tr:last-child td { border-bottom: 0; }
.liste tbody tr { transition: background .15s; }
.liste tbody tr:hover { background: var(--sand-hell); }
.liste .rechts, .liste th.rechts { text-align: right; }
.liste small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; margin-top: .15rem; }
.liste s { color: var(--muted); font-size: .82rem; }
.liste b { font-family: "Cabinet Grotesk", sans-serif; font-size: 1.02rem; letter-spacing: -.01em; }
.liste .gruen { color: var(--gruen); }
.liste__bild { width: 56px; padding-right: 0 !important; }
.liste__bild img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: var(--r-s); }
.liste__name a { font-weight: 700; text-decoration: none; }
.liste__name a:hover { color: var(--gruen); text-decoration: underline; text-underline-offset: 3px; }
.lager { font-size: .82rem; font-weight: 700; color: var(--gruen); white-space: nowrap; }
.lager--anfrage { color: var(--muted); font-weight: 500; }

@media (max-width: 820px) {
  .tabelle-rahmen { overflow: visible; border: 0; background: none; }
  /* Tabellen-Boxmodell auflösen, sonst erzwingen die Zellen eine Mindestbreite */
  .liste, .liste tbody { display: block; width: 100%; min-width: 0; }
  .liste thead { display: none; }
  .liste tbody tr > * { min-width: 0; }   /* Grid-Kinder dürfen schrumpfen */
  .liste__name, .liste__name a, .liste small { overflow-wrap: anywhere; }
  .liste tbody tr {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .3rem .9rem;
    background: var(--weiss); border: 1px solid var(--line-soft); border-radius: var(--r-l);
    padding: 1rem; margin-bottom: .85rem;
  }
  .liste td { border: 0; padding: 0; }
  .liste td:not(.liste__bild):not(.liste__name) { grid-column: 2; display: flex; justify-content: space-between; gap: 1rem; }
  .liste td[data-titel]::before {
    content: attr(data-titel); color: var(--muted); font-size: .78rem;
    letter-spacing: .07em; text-transform: uppercase; font-weight: 700; flex: 0 0 auto;
  }
  .liste td.rechts { text-align: right; }
  /* Zusatz wie „pro Pack" darf umbrechen, sonst schiebt die Zeile bei 320 px seitlich raus */
  .liste td[data-titel] { flex-wrap: wrap; align-items: baseline; }
  .liste td[data-titel] > small { flex: 1 1 100%; text-align: right; margin-top: 0; }
  .liste td:last-child { grid-column: 1 / -1; margin-top: .6rem; }
  .liste td:last-child .btn { width: 100%; }
}
.liste td.rechts b, .liste td.rechts s { white-space: nowrap; }

/* ==========================================================================
   Lokale Landingpage: Liefergebiet, FAQ, Abschluss-Band
   ========================================================================== */
.gebiet {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.gebiet__block {
  background: var(--weiss); border: 1px solid var(--line-soft);
  border-radius: var(--r-l); padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.gebiet__block h3 { margin-bottom: .75rem; font-size: 1.05rem; }
.gebiet__liste {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.gebiet__liste li {
  background: var(--sand); color: var(--ink);
  border-radius: 999px; padding: .3rem .7rem; font-size: .86rem;
}
.hinweis-mini { margin-top: .9rem; color: var(--muted); font-size: .9rem; }

.faq { display: grid; gap: .6rem; }
.faq__item {
  background: var(--weiss); border: 1px solid var(--line-soft);
  border-radius: var(--r-l); overflow: hidden;
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  font-family: "Cabinet Grotesk", sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 46px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gruen);
  flex: 0 0 auto; transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { background: var(--sand-hell); }
.faq__item p { padding: 0 1.25rem 1.15rem; color: var(--muted); max-width: 78ch; }

.cta-band {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(150deg, var(--gruen-dark), var(--gruen));
  color: #fff; border-radius: var(--r-l);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 60ch; }
.btn--gross { padding: .95rem 1.8rem; font-size: 1rem; }
.cta-band .btn { background: #fff; color: var(--gruen-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--sand); border-color: var(--sand); }

/* Einwilligung für die Karte merken */
.karte-merken {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .85rem; font-size: .86rem; color: var(--muted); cursor: pointer;
}
.karte-merken input { width: 17px; height: 17px; accent-color: var(--gruen); cursor: pointer; }
@media (pointer: coarse) {
  .karte-merken { min-height: 44px; }
  /* WCAG 2.5.8: mindestens 24 × 24 px für jede Bedienfläche */
  .karte-merken input { width: 24px; height: 24px; }
}

/* Datenschutz: Statuszeile und Widerruf */
.dsg-status {
  background: var(--weiss); border: 1px solid var(--line-soft); border-radius: var(--r-m);
  padding: 1rem 1.15rem; margin: 1rem 0 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem;
}
.dsg-status p { margin: 0; font-size: .93rem; color: var(--ink-70); flex: 1 1 20ch; }
.dsg-status .btn[disabled] { opacity: .45; }

/* Noch auszufüllende Stellen in den Rechtstexten – vor dem Livegang ersetzen */
.luecke {
  background: rgba(180, 69, 31, .12); color: var(--signal);
  border-bottom: 2px dotted var(--signal); border-radius: 3px;
  padding: .05em .35em; font-weight: 700; font-size: .95em;
}

/* ==========================================================================
   Einwilligungsdialog (nur aktiv, wenn EINWILLIGUNG = true)
   ========================================================================== */
.cookiebar--wahl { width: min(600px, calc(100vw - 2rem)); }
/* Beide Hauptknöpfe gleich gewichtet – „Ablehnen" darf nicht schwerer zu
   finden sein als „Akzeptieren". */
.cookiebar__aktionen .btn--gleich { --bg: var(--weiss); --fg: var(--ink); --bd: var(--ink); }
.cookiebar__aktionen .btn--gleich:hover { --bg: var(--ink); --fg: var(--weiss); }

.cookiebar__wahl { display: grid; gap: .7rem; margin-bottom: 1.1rem; }
.cbkat {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--sand-hell); border-radius: var(--r-m); padding: .8rem .95rem;
  font-size: .82rem; line-height: 1.5; color: var(--ink-70); cursor: pointer;
}
.cbkat b { display: block; color: var(--ink); font-size: .87rem; margin-bottom: .1rem; }
.cbkat input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gruen); }
.cbkat--pflicht { cursor: default; opacity: .8; }

.cookiebar__zeile { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: .9rem; }
.cb-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: .82rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.cb-link:hover { color: var(--ink); }
@media (pointer: coarse) {
  .cbkat { min-height: 46px; }
  .cbkat input { width: 24px; height: 24px; }
  .cb-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* [hidden] muss die display-Regeln oben schlagen */
.cookiebar__wahl[hidden] { display: none; }
.cb-link[hidden] { display: none; }

/* Sprungziel für „Anfrage stellen" – der klebende Kopf darf nichts verdecken */
.sprungziel { display: block; height: 0; scroll-margin-top: 96px; }
@media (max-width: 700px) { .sprungziel { scroll-margin-top: 84px; } }
