/* ===================================================================
   ENERQiFOOD Redesign – warm ivory + Markengrün, Outfit, GSAP-Motion
   =================================================================== */

:root {
  --paper: #f2ecdd;
  --paper-deep: #eae2cd;
  --ink: #22200f;
  --ink-soft: #56523c;
  --green: #64a51f;
  --green-deep: #3f7311;
  --green-dark: #1d3305;
  --white: #fdfcf8;
  --radius: 20px;
  --shadow-tint: 34 32 15;
  --max: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2 { letter-spacing: -0.03em; line-height: 1.04; font-weight: 750; }

em { font-style: italic; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, background 0.25s;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgb(var(--shadow-tint) / 0.55);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn--ghost {
  color: var(--ink);
  border: 1.5px solid rgb(var(--shadow-tint) / 0.35);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--big { font-size: 1.1rem; padding: 1.05rem 2.2rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(var(--shadow-tint) / 0.08);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__q { color: var(--green-deep); }
.brand__i { color: #d81f26; }

.nav__brand { text-decoration: none; margin-right: auto; }

.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta { font-size: 0.92rem; padding: 0.65rem 1.3rem; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 96px clamp(1.25rem, 4vw, 3rem) 2rem;
  background:
    radial-gradient(120% 90% at 78% 30%, #efe4c6 0%, transparent 55%),
    var(--paper);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  padding-bottom: 0.3rem;
}
.hero__title em { color: var(--green-deep); line-height: 1.1; }

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* 3D-Bühne */
.hero__stage { perspective: 1100px; }

.hero__tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__bar {
  width: min(560px, 100%);
  margin: 0 auto;
  transform: translateZ(50px);
  filter: drop-shadow(0 30px 40px rgb(var(--shadow-tint) / 0.22));
}

.hero__shadow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 55%;
  height: 9%;
  transform: translateX(-50%) translateZ(-40px);
  background: radial-gradient(closest-side, rgb(var(--shadow-tint) / 0.32), transparent 70%);
  border-radius: 50%;
}

.hero__glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: translateZ(80px);
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 25%), rgb(255 255 255 / 0.28), transparent 42%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* ---------- Zutaten-Label-Block (grün) ---------- */

.label {
  background: linear-gradient(160deg, var(--green) 0%, #55931a 60%, var(--green-deep) 100%);
  color: var(--white);
  padding: clamp(5rem, 10vw, 8.5rem) clamp(1.25rem, 4vw, 3rem);
}

.label__inner { max-width: var(--max); margin: 0 auto; }

.label__title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }

.label__lead {
  margin-top: 1.2rem;
  max-width: 52ch;
  font-size: 1.12rem;
  color: rgb(255 255 255 / 0.88);
}

.cloud {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(1.4rem, 3vw, 2.6rem);
  row-gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.cloud__item {
  position: relative;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cloud__item:hover { transform: translateY(-4px) rotate(-1deg); }

.cloud__item--xl { font-size: clamp(2.4rem, 5.4vw, 5rem); }
.cloud__item--lg { font-size: clamp(2rem, 4.4vw, 4rem); color: #d9ecbc; }
.cloud__item--md { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.cloud__item--sm { font-size: clamp(1.25rem, 2.6vw, 2.2rem); color: #cfe6ab; font-weight: 600; }

.cloud__meta {
  position: absolute;
  left: 50%;
  top: -1.4em;
  transform: translateX(-50%) translateY(6px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  background: var(--white);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.28em 0.85em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.cloud__item:hover .cloud__meta { opacity: 1; transform: translateX(-50%) translateY(0); }

.label__foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 1.05rem;
  color: rgb(255 255 255 / 0.82);
}

.label__hint {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgb(255 255 255 / 0.6);
}

/* Zutat als Button: erbt Typo der Wolke, sieht aus wie Text, ist aber klickbar */
.cloud__btn {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.cloud__btn::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.12em;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: opacity 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cloud__item:hover .cloud__btn::after,
.cloud__btn:focus-visible::after,
.cloud__btn[aria-expanded="true"]::after {
  opacity: 0.85;
  transform: scaleX(1);
}
.cloud__btn:focus-visible {
  outline: none;
}
.cloud__btn[aria-expanded="true"] { color: var(--white); }

/* Q10 / B12 als Chips im Fließtext */
.label__chip {
  font: inherit;
  font-weight: 700;
  color: var(--white);
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  padding: 0.1em 0.6em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.label__chip:hover { background: rgb(255 255 255 / 0.24); transform: translateY(-1px); }
.label__chip[aria-expanded="true"] { background: var(--white); color: var(--green-deep); }

/* ---------- Aufklappbare Zutaten-Detailkarte ---------- */

.ingredient {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: 0 46px 90px -34px rgb(0 0 0 / 0.5);
  overflow: hidden;
}
.ingredient[hidden] { display: none; }

.ingredient__close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  background: var(--paper);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ingredient__close:hover { background: var(--paper-deep); color: var(--ink); transform: rotate(90deg); }

/* 3D-Bühne für den Orb (Slot: hier später echtes 3D-Modell / Foto einsetzbar) */
.ingredient__visual { perspective: 900px; }

.ingredient__orb {
  --tint: var(--green);
  position: relative;
  width: clamp(140px, 26vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
  background:
    radial-gradient(circle at 34% 26%, rgb(255 255 255 / 0.55), transparent 42%),
    radial-gradient(circle at 50% 62%, var(--tint), color-mix(in srgb, var(--tint) 52%, #17240a) 100%);
  box-shadow:
    inset 0 -20px 44px rgb(0 0 0 / 0.32),
    inset 0 16px 30px rgb(255 255 255 / 0.28),
    0 34px 60px -22px var(--tint);
}
.ingredient__orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, rgb(255 255 255 / 0.5), transparent 38%);
  transform: translateZ(30px);
  pointer-events: none;
}

.ingredient__glyph {
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 1;
  transform: translateZ(48px);
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.3));
}
.ingredient__glyph--badge {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  text-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}

.ingredient__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.ingredient__name {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ingredient__lead {
  margin-top: 0.7rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.ingredient__benefits {
  list-style: none;
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
}
.ingredient__benefits li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  line-height: 1.45;
}
.ingredient__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdfcf8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--green-deep);
}
.ingredient__nutrient {
  margin-top: 1.5rem;
}
.ingredient__nutrient span {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-dark);
  background: color-mix(in srgb, var(--green) 22%, var(--white));
  border: 1px solid color-mix(in srgb, var(--green) 40%, transparent);
  border-radius: 999px;
  padding: 0.4em 1em;
}

/* Sanfter Inhalts-Wechsel beim Umschalten der Zutat */
.ingredient__body.is-swapping { opacity: 0; transform: translateY(8px); }
.ingredient__body {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* ---------- Anatomie (Sticky Zoom) ---------- */

.anatomy { background: var(--paper-deep); }

.anatomy__pin {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

.anatomy__title {
  order: -1;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 2rem;
  text-align: center;
}

.anatomy__frame {
  position: relative;
  width: min(560px, 84vw);
}

.anatomy__img {
  border-radius: var(--radius);
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 99%);
  mask-image: radial-gradient(closest-side, #000 68%, transparent 99%);
  /* Zoom wächst überwiegend nach unten, damit der Titel darüber frei bleibt */
  transform-origin: 50% 12%;
  will-change: transform;
}

.callout {
  position: absolute;
  max-width: 220px;
  opacity: 0;
}
.callout figcaption {
  background: var(--white);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-soft);
  box-shadow: 0 16px 40px -18px rgb(var(--shadow-tint) / 0.5);
}
.callout strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 0.15rem; }

.callout--1 { top: 8%; left: -6%; }
.callout--2 { top: 42%; right: -8%; }
.callout--3 { bottom: 6%; left: 2%; }

/* ---------- Handarbeit Bento ---------- */

.craft {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.craft__title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: 3rem;
}

.bento__cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.bento__cell--big { grid-row: span 2; }

.bento__cell img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--big img { min-height: 480px; }
.bento__cell:not(.bento__cell--big):not(.bento__cell--stamp) img { min-height: 230px; max-height: 300px; }

.bento__cell figcaption,
.bento__cell--stamp p {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.6rem 1.4rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgb(20 18 8 / 0.45);
  background: linear-gradient(transparent, rgb(20 18 8 / 0.55) 35%, rgb(20 18 8 / 0.82));
}

.bento__cell--stamp {
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 1.5rem;
}
.bento__stampimg { width: 62%; max-width: 240px; transform: rotate(-6deg); }
.bento__cell--stamp p { background: linear-gradient(transparent, rgb(29 51 5 / 0.85)); }

/* ---------- Bestellen ---------- */

.order {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(5rem, 9vw, 7.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.order__media img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgb(var(--shadow-tint) / 0.45);
}

.order__copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.order__copy p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 44ch; font-size: 1.08rem; }

.order__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2rem; }

.order__mail { color: var(--green-deep); font-weight: 600; text-decoration: none; }
.order__mail:hover { text-decoration: underline; }

/* ---------- Shop-Modul ---------- */

.shop {
  background: var(--white);
  border-radius: 26px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: 0 40px 80px -34px rgb(var(--shadow-tint) / 0.45);
  border: 1px solid rgb(var(--shadow-tint) / 0.06);
}

.shop__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
}
.shop__title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-top: 0.5rem; }
.shop__desc { margin-top: 0.8rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 42ch; }

.shop__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgb(var(--shadow-tint) / 0.12);
}
.shop__pack {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green-dark);
  background: color-mix(in srgb, var(--green) 20%, var(--white));
  border-radius: 999px;
  padding: 0.32em 0.85em;
}
.shop__amount { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.shop__unit { font-size: 0.9rem; color: var(--ink-soft); flex-basis: 100%; }

.shop__qtyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}
.shop__label { font-weight: 600; }

.shop__stepper {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.25rem;
}
.shop__step {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgb(var(--shadow-tint) / 0.5);
  transition: background 0.2s, transform 0.15s;
}
.shop__step:hover { background: var(--green-deep); color: var(--white); }
.shop__step:active { transform: scale(0.92); }
.shop__qty {
  width: 3ch;
  text-align: center;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.shop__qty::-webkit-outer-spin-button,
.shop__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.shop__fields { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.shop__input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgb(var(--shadow-tint) / 0.12);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.shop__input::placeholder { color: color-mix(in srgb, var(--ink-soft) 75%, transparent); }
.shop__input:focus { outline: none; border-color: var(--green-deep); background: var(--white); }
.shop__input--area { resize: vertical; min-height: 3rem; }

.shop__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(var(--shadow-tint) / 0.12);
}
.shop__total span { color: var(--ink-soft); font-weight: 600; }
.shop__total strong { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }

.shop__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; margin-top: 1.4rem; }
.shop__send { width: 100%; }

.shop__note { margin-top: 1rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }

/* ---------- Shop-Seite (shop.html) ---------- */

.shoppage { padding-top: calc(72px + clamp(1.5rem, 4vw, 3rem)); }
.shoppage__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.shoppage__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  transition: color 0.2s, gap 0.2s;
}
.shoppage__back:hover { color: var(--ink); gap: 0.6rem; }

.shop__quickrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.shop__quicklink { color: var(--green-deep); font-weight: 600; text-decoration: none; }
.shop__quicklink:hover { text-decoration: underline; }

/* ---------- Kasse (checkout.html) ---------- */

.checkout { padding-top: calc(72px + clamp(1.5rem, 4vw, 3rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.checkout__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  counter-reset: step;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.steps__item { display: flex; align-items: center; gap: 0.6rem; }
.steps__item::before {
  counter-increment: step;
  content: counter(step);
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.steps__item:not(:last-child)::after { content: "›"; margin-left: 0.6rem; color: var(--ink-soft); opacity: 0.6; }
.steps__item--active { color: var(--ink); }
.steps__item--active::before { background: var(--green-deep); color: var(--white); }

.checkout__title { font-size: clamp(2rem, 4vw, 3rem); margin: 0.8rem 0 clamp(1.5rem, 3vw, 2.5rem); }

.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.checkout__main { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }

.cform {
  border: 1px solid rgb(var(--shadow-tint) / 0.1);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--white);
}
.cform__legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  padding: 0;
  margin-bottom: 1.1rem;
}
.cform__num {
  width: 1.7rem; height: 1.7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.9rem;
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.cform__field { display: grid; gap: 0.4rem; margin-top: 0.9rem; }
.cform__field:first-child { margin-top: 0; }
.cform__field > span { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.cform__field i { color: #d81f26; font-style: normal; margin-left: 0.15em; }
.cform__field--plz { max-width: 9rem; }
.cform__row .cform__field { margin-top: 0; }
.cform__address { margin-top: 1.1rem; }

/* Auswahl-Optionen (Lieferung) */
.choice { display: grid; gap: 0.7rem; }
.choice__opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgb(var(--shadow-tint) / 0.14);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.choice__opt:hover { border-color: rgb(var(--shadow-tint) / 0.3); }
.choice__opt:has(input:checked) { border-color: var(--green-deep); background: color-mix(in srgb, var(--green) 8%, var(--white)); }
.choice__opt input { accent-color: var(--green-deep); width: 1.1rem; height: 1.1rem; flex: none; }
.choice__body { display: grid; margin-right: auto; }
.choice__title { font-weight: 700; }
.choice__sub { font-size: 0.88rem; color: var(--ink-soft); }
.choice__price { font-weight: 750; text-align: right; white-space: nowrap; }
.choice__price small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--ink-soft); }

/* Zahlungs-Kacheln */
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.pay__opt { cursor: pointer; }
.pay__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 72px;
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgb(var(--shadow-tint) / 0.14);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.pay__opt:hover .pay__tile { border-color: rgb(var(--shadow-tint) / 0.3); }
.pay__opt input:checked + .pay__tile { border-color: var(--green-deep); background: color-mix(in srgb, var(--green) 8%, var(--white)); }
.pay__opt input:focus-visible + .pay__tile { outline: 2px solid var(--green-deep); outline-offset: 2px; }
.pay__icon { font-size: 1.4rem; line-height: 1; }
.pay__note { margin-top: 1rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }

/* Zusammenfassung */
.summary { position: sticky; top: calc(72px + 1rem); }
.summary__card {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 34px 70px -34px rgb(var(--shadow-tint) / 0.4);
  border: 1px solid rgb(var(--shadow-tint) / 0.06);
}
.summary__title { font-size: 1.3rem; }
.summary__item { display: flex; gap: 0.9rem; align-items: center; margin: 1.1rem 0; }
.summary__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; }
.summary__itemtext { display: grid; gap: 0.1rem; }
.summary__itemtext strong { font-weight: 700; }
.summary__itemtext span { color: var(--ink-soft); font-size: 0.92rem; }
.summary__edit { color: var(--green-deep); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.summary__edit:hover { text-decoration: underline; }

.summary__lines { display: grid; gap: 0.6rem; padding: 1.1rem 0; border-top: 1px solid rgb(var(--shadow-tint) / 0.12); }
.summary__lines > div { display: flex; justify-content: space-between; font-size: 0.98rem; }
.summary__lines dt { color: var(--ink-soft); }
.summary__lines dd { font-weight: 600; }
.summary__total { padding-top: 0.7rem; border-top: 1px solid rgb(var(--shadow-tint) / 0.12); }
.summary__total dt, .summary__total dd { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.summary__pay { width: 100%; margin-top: 0.4rem; }
.summary__legal { margin-top: 0.9rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-soft); }

.checkout__hint {
  background: #fdecec;
  border: 1px solid #f3b4b4;
  color: #a01a1f;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .cform__row { grid-template-columns: 1fr; }
  .pay { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Footer ---------- */

.footer { background: var(--green-dark); color: rgb(255 255 255 / 0.85); }

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 3rem;
}

.brand--footer { color: #fff; }
.footer address { font-style: normal; font-size: 0.95rem; margin-right: auto; }
.footer nav { display: flex; gap: 1.5rem; }
.footer nav a { color: rgb(255 255 255 / 0.75); text-decoration: none; font-size: 0.95rem; }
.footer nav a:hover { color: #fff; }

/* ---------- Reveal-Grundzustand (JS ergänzt Animation) ---------- */

.reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .nav__links { display: none; }

  .hero { padding-top: 84px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; }
  .hero__bar { width: min(380px, 82vw); }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }

  .bento { grid-template-columns: 1fr; }
  .bento__cell--big { grid-row: auto; }
  .bento__cell--big img { min-height: 320px; }

  .order { grid-template-columns: 1fr; }

  .callout { position: static; max-width: none; margin-top: 0.8rem; }
  .anatomy__frame { display: flex; flex-direction: column; }
  .anatomy__pin { min-height: auto; padding: 4rem 1.25rem; }

  .ingredient {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: clamp(2.2rem, 8vw, 3rem);
  }
  .ingredient__lead { max-width: none; }
  .ingredient__benefits { text-align: left; justify-self: stretch; }
}
