/* ==========================================================================
   Indogreens – Storefront
   Farbwelt: tiefes Blattgrün als Leitfarbe, Limette als Akzent,
   warmes Off-White als Fläche. Ruhig, sachlich, großhandelstauglich.
   ========================================================================== */

:root {
  --green:      #0F4C3A;
  --green-d:    #0A3427;
  --green-l:    #17654D;
  --lime:       #8CBF4B;
  --lime-d:     #6F9C36;
  --gold:       #C08A2E;
  --ink:        #1E2B26;
  --muted:      #6B7A73;
  --line:       #DCE7DE;
  --bg:         #FAFBFA;
  --surface:    #FFFFFF;
  --surface-2:  #F1F6F1;
  --red:        #A8412F;
  --amber:      #B4801E;

  --radius:     14px;
  --radius-s:   9px;
  --shadow:     0 1px 2px rgba(15,76,58,.06), 0 6px 22px rgba(15,76,58,.07);
  --shadow-lg:  0 12px 44px rgba(15,76,58,.16);
  --wrap:       1180px;
  --font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--green); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
h2 { font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -.01em; }
h3 { font-size: 17px; }
p  { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr, .skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200;
}

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

/* ---------- Kopfbereich ---------- */

.topbar { background: var(--green-d); color: #CFE3D2; font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__note { opacity: .85; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__link { color: #CFE3D2; }
.topbar__link:hover { color: #fff; }

.langsw { display: flex; gap: 2px; }
.langsw a {
  color: #9FC0A8; padding: 2px 7px; border-radius: 5px; font-weight: 600;
  font-size: 11.5px; letter-spacing: .04em;
}
.langsw a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.09); }
.langsw a.is-active { color: var(--green-d); background: var(--lime); }

.head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.head__in { display: flex; align-items: center; gap: 20px; min-height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--green); }
.brand:hover { text-decoration: none; }
.brand__mark { display: flex; flex: 0 0 auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.015em; }
.brand__sub {
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* Brotkrumen */
.crumbbar { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.crumbbar .wrap { padding-top: 9px; padding-bottom: 9px; }
.crumbbar a { color: var(--muted); }
.crumbbar a:hover { color: var(--green); }
.crumbbar span[aria-current] { color: var(--green); font-weight: 600; }
.crumbbar__sep { color: var(--line); margin: 0 3px; }

.mainnav { display: flex; gap: 4px; margin-left: auto; }
.mainnav a {
  padding: 9px 13px; border-radius: var(--radius-s); color: var(--ink);
  font-size: 14.5px; font-weight: 500;
}
.mainnav a:hover { background: var(--surface-2); text-decoration: none; }
.mainnav a.is-active { color: var(--green); background: var(--surface-2); font-weight: 600; }

.cartbtn {
  display: flex; align-items: center; gap: 8px; padding: 9px 15px;
  background: var(--green); color: #fff; border-radius: var(--radius-s);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.cartbtn:hover { background: var(--green-l); text-decoration: none; }
.cartbtn__badge {
  background: var(--lime); color: var(--green-d); border-radius: 20px;
  padding: 1px 8px; font-size: 12px; font-weight: 700;
}

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.burger span + span { margin-top: 5px; }

/* ---------- Meldungen ---------- */

.flash {
  max-width: var(--wrap); margin: 16px auto 0; padding: 13px 18px;
  border-radius: var(--radius-s); font-size: 14.5px; border-left: 3px solid;
}
.flash--ok   { background: #EDF6EA; border-color: var(--lime-d); color: #2C4A1C; }
.flash--err  { background: #FBEDEA; border-color: var(--red);    color: #6E2A1E; }
.flash--warn { background: #FDF5E4; border-color: var(--amber);  color: #6B4B12; }
.flash--info { background: var(--surface-2); border-color: var(--green); color: var(--green-d); }

/* ---------- Bausteine ---------- */

.section { padding: 60px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--surface-2); }

.lead { font-size: 18px; line-height: 1.6; color: var(--green-d); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-s); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
  background: var(--green); color: #fff; transition: background .15s ease;
}
.btn:hover { background: var(--green-l); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--lime { background: var(--lime); color: var(--green-d); }
.btn--lime:hover { background: var(--lime-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--danger { background: transparent; color: var(--red); border-color: #E8CFC9; }
.btn--danger:hover { background: #FBEDEA; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card__body { padding: 22px; }

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: var(--surface-2); color: var(--green);
}
.badge--gold { background: #FAF1DF; color: var(--gold); }
.badge--lime { background: #EDF6EA; color: var(--lime-d); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok   { background: #EDF6EA; color: var(--lime-d); }
.pill--warn { background: #FDF5E4; color: var(--amber); }
.pill--off  { background: #F2F2F0; color: var(--muted); }

.note {
  background: var(--surface-2); border-left: 3px solid var(--green);
  padding: 15px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 14.5px; margin: 0 0 20px;
}
.note--warn { background: #FDF5E4; border-color: var(--amber); }
.note p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.sm { font-size: 13px; }
.center { text-align: center; }

/* ---------- Startseite ---------- */

.hero {
  background: linear-gradient(158deg, #12563F 0%, var(--green) 42%, var(--green-d) 100%);
  color: #fff; overflow: hidden; position: relative;
}
/* Blattadern als feine Struktur – gibt der Fläche Tiefe, ohne laut zu werden */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(114deg, rgba(255,255,255,.028) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(66deg, rgba(255,255,255,.022) 0 1px, transparent 1px 78px);
}
.hero::after {
  content: ''; position: absolute; right: -160px; top: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(140,191,75,.26) 0%, transparent 66%); pointer-events: none;
}
.hero__in { padding: 84px 0 92px; max-width: 700px; position: relative; z-index: 1; }
.hero h1 { letter-spacing: -.028em; font-size: clamp(32px, 5.2vw, 52px); }

/* ---------- Bewegung ----------
   Alles hier respektiert prefers-reduced-motion: wer Animationen abgeschaltet
   hat, bekommt die Endzustände sofort und ohne Übergang. */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .62s cubic-bezier(.16,.8,.3,1), transform .62s cubic-bezier(.16,.8,.3,1);
  }
  .reveal:nth-child(2) { transition-delay: .07s; }
  .reveal:nth-child(3) { transition-delay: .14s; }
  .reveal:nth-child(4) { transition-delay: .21s; }

  .hero__in > * { animation: heroUp .7s cubic-bezier(.16,.8,.3,1) both; }
  .hero__in > *:nth-child(2) { animation-delay: .08s; }
  .hero__in > *:nth-child(3) { animation-delay: .16s; }
  .hero__in > *:nth-child(4) { animation-delay: .24s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Blattmarke atmet leicht – kaum sichtbar, gibt der Seite Leben */
  .brand__mark svg { transition: transform .5s cubic-bezier(.16,.8,.3,1); }
  .brand:hover .brand__mark svg { transform: rotate(-7deg) scale(1.06); }

  .pcard__top svg { transition: transform .5s cubic-bezier(.16,.8,.3,1); }
  .pcard:hover .pcard__top svg { transform: scale(1.06); }
}

/* ---------- Preisrechner ---------- */

.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 28px 22px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.calc::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--lime), var(--green));
}
.calc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.calc__head h3 { margin: 0; font-size: 17px; }
.calc__out { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.calc__price {
  font-size: clamp(38px, 6vw, 54px); font-weight: 800; color: var(--green);
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.calc__unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.calc__tier {
  display: inline-flex; align-items: center; gap: 7px; background: #EDF6EA; color: var(--lime-d);
  padding: 5px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700;
}
.calc__save { color: var(--gold); font-weight: 700; font-size: 13.5px; }

.calc__slider { margin: 22px 0 6px; }
.calc__slider input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 20px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime) var(--fill, 0%), var(--surface-2) var(--fill, 0%));
  outline: none; cursor: pointer;
}
.calc__slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); border: 4px solid #fff; cursor: grab;
  box-shadow: 0 2px 10px rgba(15,76,58,.35); transition: transform .15s ease;
}
.calc__slider input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.14); }
.calc__slider input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  border: 4px solid #fff; cursor: grab; box-shadow: 0 2px 10px rgba(15,76,58,.35);
}
.calc__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }

.calc__sum {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 2px;
  margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px;
}
.calc__cell { padding: 4px 0; }
.calc__cell span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.calc__cell strong { display: block; font-size: 19px; color: var(--ink); margin-top: 3px; font-variant-numeric: tabular-nums; }
.calc__cell--total strong { color: var(--green); }
.calc__note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.calc__cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .calc__price, .calc__cell strong { transition: color .2s ease; }
  .calc__price.is-pulse { animation: pulse .32s ease; }
  @keyframes pulse { 0% { transform: scale(1); } 45% { transform: scale(1.035); } 100% { transform: scale(1); } }
}

/* ---------- Preisleiter ---------- */

.ladder { position: relative; z-index: 1; }
.ladder__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px; align-items: end;
}
.ladder__step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 11px 14px; text-align: center; position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ladder__step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--lime); }
.ladder__kg { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.ladder__price { display: block; font-size: 19px; font-weight: 700; color: var(--green); margin-top: 5px; line-height: 1.15; }
.ladder__price small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.ladder__bar { height: 4px; border-radius: 4px; background: var(--lime); margin: 10px auto 0; }
.ladder__step:first-child .ladder__bar { background: var(--gold); }
.ladder__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* Auf dunklem Grund */
.ladder--onDark .ladder__step { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.ladder--onDark .ladder__step:hover { background: rgba(255,255,255,.12); border-color: var(--lime); }
.ladder--onDark .ladder__kg { color: #9FC0A8; }
.ladder--onDark .ladder__price { color: #fff; }
.ladder--onDark .ladder__price small { color: #9FC0A8; }
.ladder--onDark .ladder__note { color: #CFE3D2; }
.hero__kicker {
  display: inline-block; background: rgba(140,191,75,.18); color: var(--lime);
  padding: 5px 13px; border-radius: 20px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero__text { font-size: 18px; color: #CFE3D2; margin-bottom: 30px; line-height: 1.6; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.usp { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.usp__ico {
  width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2);
  display: grid; place-items: center; color: var(--green); margin-bottom: 14px;
}
.usp h3 { margin-bottom: 6px; }
.usp p { margin: 0; font-size: 14.5px; color: var(--muted); }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding: 22px 22px 22px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14.5px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 20px; top: 20px; width: 28px; height: 28px;
  background: var(--green); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}

.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sectionhead h2 { margin: 0; }

/* ---------- Produktkarte ---------- */

.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease;
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard__top { position: relative; aspect-ratio: 400 / 220; overflow: hidden; background: var(--green); }
.pcard__top svg { width: 100%; height: 100%; display: block; }
.pcard__badge { position: absolute; top: 11px; right: 11px; z-index: 2; }
.pcard__body { padding: 17px; flex: 1; display: flex; flex-direction: column; }
.pcard__name { font-size: 17px; font-weight: 700; color: var(--green); margin: 0 0 3px; }
.pcard__origin { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.pcard__veins { display: flex; gap: 5px; margin-bottom: 13px; }
.vdot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.vdot--green { background: #5E9E3E; }
.vdot--red   { background: #A8412F; }
.vdot--white { background: #D8D8D0; }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pcard__price { font-size: 19px; font-weight: 700; color: var(--green); line-height: 1.2; }
.pcard__price small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.pcard__lock { font-size: 12.5px; color: var(--muted); }

/* ---------- Produktseite ---------- */

.pdetail { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.pvisual { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; aspect-ratio: 400 / 300; background: var(--green); }
.pvisual svg { width: 100%; height: 100%; display: block; }
.pvisual--sm { aspect-ratio: 400 / 220; }

/* Häufige Fragen */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 0 18px;
}
.faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 15.5px; color: var(--green);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 21px; font-weight: 400; color: var(--muted); flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq__a { padding: 14px 0 17px; font-size: 14.8px; color: var(--ink); margin: 0; }

.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; }

.buybox { position: sticky; top: 90px; }
.buybox__price { font-size: 30px; font-weight: 700; color: var(--green); line-height: 1.1; }
.buybox__price small { font-size: 13px; font-weight: 500; color: var(--muted); display: block; margin-top: 2px; }

.veinpick { display: grid; gap: 8px; margin: 18px 0; }
.veinopt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; font-size: 14.5px; }
.veinopt:hover { border-color: var(--green); background: var(--surface-2); }
.veinopt input { accent-color: var(--green); }
.veinopt:has(input:checked) { border-color: var(--green); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--green); }
.veinopt__sku { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.tiers { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 6px; }
.tiers th { text-align: left; padding: 8px 10px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.tiers td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.tiers td:last-child, .tiers th:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.tiers tr.is-current td { background: #EDF6EA; }

/* ---------- Formulare ---------- */

.field { margin-bottom: 16px; }
.field > label, .flabel { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--surface);
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid rgba(15,76,58,.12); outline-offset: 0; }
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A73' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 13px; line-height: 1.55; }
.check input { margin-top: 3px; accent-color: var(--green); flex: 0 0 auto; width: 17px; height: 17px; }

.formrow { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.formrow--zip { grid-template-columns: 130px 1fr; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs a { padding: 11px 17px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--green); text-decoration: none; }
.tabs a.is-active { color: var(--green); border-color: var(--lime); }

/* ---------- Tabellen ---------- */

.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; padding: 11px 12px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tbody tr:hover { background: #FCFDFC; }
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Warenkorb / Kasse ---------- */

.checkout { display: grid; grid-template-columns: 1fr 350px; gap: 36px; align-items: start; }
.summary { position: sticky; top: 90px; }
.sumrow { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 14.5px; }
.sumrow--total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--green); }
.sumrow__v { font-variant-numeric: tabular-nums; white-space: nowrap; }

.qty { display: flex; align-items: center; gap: 0; max-width: 148px; }
.qty input { text-align: center; border-radius: 0; border-left: 0; border-right: 0; padding: 9px 4px; font-variant-numeric: tabular-nums; }
.qty button { width: 36px; height: 40px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 17px; color: var(--green); line-height: 1; }
.qty button:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.qty button:last-child { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.qty button:hover { background: var(--surface-2); }

.progress { height: 7px; background: var(--surface-2); border-radius: 20px; overflow: hidden; margin: 10px 0 6px; }
.progress__bar { height: 100%; background: var(--lime); border-radius: 20px; transition: width .3s ease; }

/* ---------- Inhaltsseiten ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { border-left: 3px solid var(--lime); margin: 0 0 1.2em; padding: 4px 0 4px 18px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 1.4em; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.pagehead { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 42px 0; margin-bottom: 46px; }
.pagehead h1 { margin: 0; }
.pagehead p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }

/* ---------- Fußbereich ---------- */

.foot { background: var(--green-d); color: #B9CDBE; margin-top: 70px; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 52px 20px 40px; }
.foot__brand { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.foot__mark { display: flex; flex: 0 0 auto; }
.foot__claim { color: var(--lime); font-size: 13.5px; margin-bottom: 16px; }
.foot__addr { font-size: 13px; line-height: 1.75; margin: 0; }
.foot__col h3 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 13px; }
.foot__col a { display: block; color: #B9CDBE; padding: 3.5px 0; font-size: 13.5px; }
.foot__col a:hover { color: #fff; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 20px 34px; font-size: 12.5px; line-height: 1.7; }
.foot__legal strong { color: #DCE7DE; }
.foot__copy { margin: 10px 0 0; opacity: .6; }
.foot__credit { margin: 14px 0 0; font-size: 12.5px; color: #B9CDBE; }
.foot__credit a { color: var(--lime); font-weight: 600; }
.foot__credit a:hover { color: #fff; }
.foot__heart { color: #E06A5A; font-size: 13px; }
.foot__creditsub { display: block; margin-top: 3px; font-size: 11.5px; opacity: .68; }
@media (prefers-reduced-motion: no-preference) {
  .foot__heart { display: inline-block; animation: heartBeat 2.6s ease-in-out infinite; }
  @keyframes heartBeat { 0%,72%,100% { transform: scale(1); } 78% { transform: scale(1.22); } 84% { transform: scale(1); } 90% { transform: scale(1.14); } }
}

/* ---------- Chat-Assistent ---------- */

.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; }

.chat__fab {
  display: flex; align-items: center; gap: 9px; padding: 13px 20px;
  background: var(--green); color: #fff; border: 0; border-radius: 30px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  box-shadow: var(--shadow-lg);
}
.chat__fab:hover { background: var(--green-l); }

.chat__panel {
  position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 40px));
  height: min(560px, calc(100vh - 100px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
}
/* display:flex würde das hidden-Attribut aushebeln – deshalb ausdrücklich. */
.chat__panel[hidden] { display: none; }

.chat__head {
  background: var(--green); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.chat__sub { display: block; font-size: 11.5px; color: #CFE3D2; }
.chat__close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }

.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 11px; background: var(--bg); }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.msg--bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--me  { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--sys { background: #FDF5E4; border: 1px solid #EBD9AE; color: #6B4B12; align-self: center; font-size: 12.5px; text-align: center; max-width: 96%; }
.msg--typing { color: var(--muted); font-style: italic; }

.chat__hint { margin: 0; padding: 9px 16px; font-size: 11.5px; color: var(--muted); background: var(--surface-2); border-top: 1px solid var(--line); line-height: 1.5; }
.chat__left { display: block; margin-top: 3px; font-weight: 600; color: var(--green); }
.chat__form { display: flex; gap: 8px; padding: 11px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; padding: 10px 13px; font-size: 14.5px; }
.chat__form button { padding: 10px 17px; background: var(--green); color: #fff; border: 0; border-radius: var(--radius-s); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 14px; }
.chat__form button:disabled { opacity: .5; cursor: not-allowed; }
.chat__privacy { margin: 0; padding: 0 16px 12px; font-size: 10.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Anpassung an kleine Bildschirme ---------- */

@media (max-width: 900px) {
  .pdetail, .checkout { grid-template-columns: 1fr; }
  .buybox, .summary { position: static; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .burger { display: block; }
  .mainnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px; gap: 2px; box-shadow: var(--shadow);
  }
  .mainnav.is-open { display: flex; }
  .head__in { flex-wrap: wrap; position: relative; }
  .cartbtn__txt { display: none; }
  .topbar__note { display: none; }
  .hero__in { padding: 52px 0 58px; }
  .section { padding: 42px 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .chat { right: 12px; bottom: 12px; }
  .chat__fabtxt { display: none; }
  .chat__fab { padding: 15px; border-radius: 50%; }
  .chat__panel { width: calc(100vw - 24px); height: calc(100vh - 90px); }
}

@media print {
  .topbar, .head, .foot, .chat, .btn { display: none !important; }
  body { background: #fff; }
}


/* ==========================================================================
   Einwilligungsleiste
   Unten angedockt statt bildschirmfüllend – sie informiert, sie erpresst nicht.
   Beide Knöpfe sind gleich gut erreichbar; ein „Ablehnen" im Kleingedruckten
   wäre keine freiwillige Einwilligung.
   ========================================================================== */

.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--surface); border-top: 3px solid var(--lime);
  box-shadow: 0 -8px 40px rgba(15,76,58,.16);
}
@media (prefers-reduced-motion: no-preference) {
  .consent { animation: consentUp .42s cubic-bezier(.16,.8,.3,1) both; }
  @keyframes consentUp { from { transform: translateY(100%); } to { transform: none; } }
}
.consent__box { max-width: var(--wrap); margin: 0 auto; padding: 20px 20px 22px; }
.consent__h { font-size: 17px; margin: 0 0 7px; }
.consent__t { font-size: 14px; line-height: 1.6; margin: 0 0 12px; max-width: 88ch; color: var(--ink); }

.consent__more { margin-bottom: 14px; }
.consent__more summary {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--green);
  padding: 4px 0; list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.consent__more summary::-webkit-details-marker { display: none; }
.consent__more summary::before { content: '▸'; transition: transform .2s ease; }
.consent__more[open] summary::before { transform: rotate(90deg); }

.consent__tbl { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.consent__tbl th, .consent__tbl td {
  text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top;
}
.consent__tbl th { width: 190px; color: var(--green); font-weight: 700; }
.consent__meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.consent__req, .consent__opt {
  display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px;
  border-radius: 20px; margin-left: 6px; text-transform: uppercase; letter-spacing: .04em;
}
.consent__req { background: var(--surface-2); color: var(--muted); }
.consent__opt { background: #EDF6EA; color: var(--lime-d); }

.consent__acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.consent__acts .btn { flex: 0 0 auto; }
.consent__link { font-size: 12.5px; color: var(--muted); }
.consent__link:hover { color: var(--green); }

/* Assistent wartet auf Einwilligung */
.chat--locked .chat__fab { background: var(--green-l); }
.chat__unlock { margin: 0; }

@media (max-width: 640px) {
  .consent__box { padding: 16px 16px 18px; }
  .consent__acts .btn { flex: 1 1 100%; justify-content: center; }
  .consent__tbl th { width: auto; display: block; padding-bottom: 2px; border: 0; }
  .consent__tbl td { display: block; padding-top: 0; }
}
