/* Hanken Grotesk, selbst gehostet (SIL Open Font License 1.1).
   Variable Schrift 400–800, Teilmengen Latein und Latein erweitert. */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Agent Bakery – lokale Vorschau */

:root {
  --bg: #F1F3F5;
  --surface: #FFFFFF;
  --ink: #1B2A3A;
  --ink-soft: #566476;
  --line: #DCE1E7;
  --line-dark: #2E4054;
  --muted-dark: #A9B6C4;
  --accent: #3D7BF7;     /* Signalblau, sparsam */
  --ok: #2F7A57;         /* geprüft */

  --r-panel: 20px;
  --r-card: 14px;
  --r-small: 10px;

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(27, 42, 58, .06), 0 8px 24px rgba(27, 42, 58, .08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; }
h1 { line-height: 1.04; }
h2 { line-height: 1.1; }
h3 { line-height: 1.25; font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }

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

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-small);
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: var(--r-small);
  font: inherit; font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { border-color: #2F4459; box-shadow: 0 6px 18px rgba(27, 42, 58, .18); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #BCC6D1; }
.btn-ghost:hover { border-color: #8C99A8; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { border-color: #fff; }
.btn-wide { width: 100%; }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.text-link:hover { color: #2F4459; text-decoration-thickness: 3px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(241, 243, 245, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none;
}
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: .96rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); background: rgba(27, 42, 58, .05); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.top-cta { min-height: 40px; padding: 0 16px; }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: clamp(20px, 3.2svh, 36px) 0 clamp(48px, 7vw, 88px); }
.hero-head { text-align: center; margin: 0 auto clamp(20px, 3svh, 32px); }
.hero h1 { font-size: clamp(1.9rem, min(3.3vw, 5.4svh), 3rem); line-height: 1.1; max-width: 40ch; margin: 0 auto; text-wrap: balance; }
.hero-actions .btn-lg { min-width: 170px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(16px, 2.6svh, 26px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.04rem; border-radius: 12px; }
/* Bild so groß, dass Überschrift, Buttons und Szene auf den ersten Bildschirm passen */
.hero .bakery { width: min(100%, max(620px, calc((100svh - 340px) * 1.875))); margin-inline: auto; }

.bakery { position: relative; margin: 0; border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); background: #DCD8D0; }
.scene { position: relative; }
.scene img { width: 100%; height: auto; }

.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 8px;
  transform: translate(-13px, -50%);
  text-decoration: none; color: var(--ink);
}
.spot-dot {
  position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.spot-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink); transition: background-color .15s ease; }
.spot-dot::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .9);
  animation: ping 2.8s ease-out infinite;
}
.spot:nth-child(2) .spot-dot::before { animation-delay: .45s; }
.spot:nth-child(3) .spot-dot::before { animation-delay: .9s; }
.spot:nth-child(4) .spot-dot::before { animation-delay: 1.35s; }
.spot:nth-child(5) .spot-dot::before { animation-delay: 1.8s; }
.spot:nth-child(6) .spot-dot::before { animation-delay: 2.25s; }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.spot-label {
  padding: 5px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-weight: 600; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transition: background-color .15s ease, color .15s ease;
}
.spot:hover .spot-label, .spot.is-active .spot-label { background: var(--ink); color: #fff; }
.spot:hover .spot-dot::after, .spot.is-active .spot-dot::after { background: var(--accent); }
.spot:focus-visible { outline: none; }
.spot:focus-visible .spot-label { outline: 2px solid #fff; outline-offset: 2px; background: var(--ink); color: #fff; }

/* Karte am Klickpunkt */
.spot-card {
  position: absolute; z-index: 5; width: min(300px, calc(100% - 24px));
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, .97); color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  pointer-events: none;
  animation: card-in .16s ease-out;
}
@keyframes card-in { from { opacity: 0; transform: translateY(4px); } }
.spot-card-title { display: block; font-size: 1rem; margin-bottom: 2px; }
.spot-card-text { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }
.spot-card-hint { display: block; margin-top: 8px; font-size: .8rem; font-weight: 600; color: #B4602A; }
.spot-left { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 18ch; }
.section-head p { color: var(--ink-soft); max-width: 54ch; }
.section-head .text-link { display: inline-block; margin-top: 14px; }
.white { background: var(--surface); }
.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: var(--muted-dark); }

/* Rezeptkacheln */
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dish {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease;
}
.dish:has(.dish-cta):hover { border-color: #B5C0CC; box-shadow: var(--shadow); }
.dish-img { display: grid; place-items: center; height: 140px; background: #EEF2F6; }
.dish-img img { width: 84px; height: 84px; transition: transform .35s ease; }
.dish:has(.dish-cta):hover .dish-img img { transform: scale(1.06); }
.dish-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.dish h3 { font-size: 1.3rem; }
.dish-body > p { color: var(--ink-soft); }
.dish-status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.dish-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); }
.status-tested::before { background: var(--ok); }
.dish-status[hidden] { display: none; }
.dish-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft);
}
.dish-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dish-meta svg { width: 15px; height: 15px; flex: none; }
.dish-cta {
  align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.dish-cta::after { content: ""; position: absolute; inset: 0; }
.dish-cta:focus-visible { outline: none; }
.dish:has(.dish-cta:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.dish-soon .dish-img { background: #F1F3F5; }
.dish-soon .dish-img img { filter: grayscale(1); opacity: .45; }
.dish-soon h3, .dish-soon .dish-body > p { color: #8A8F96; }
.dish-soon .dish-body > .dish-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.dish[hidden] { display: none; }

/* Startseite: Auszug aus dem Rezeptbuch */
.section-head.single { grid-template-columns: 1fr; }
.teaser-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teaser {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
  text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease;
}
.teaser-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #EEF2F6; }
.teaser-img img { width: 52px; height: 52px; }
.teaser-body { display: flex; flex-direction: column; gap: 2px; }
.teaser-title { font-size: 1.08rem; letter-spacing: -.01em; }
.teaser-text { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
.teaser .dish-status { font-size: .82rem; }
.teaser-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* Rezeptseite */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: 16px; }
.page-head p { color: var(--ink-soft); max-width: 60ch; font-size: 1.08rem; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.filters-count { flex: none; color: var(--ink-soft); font-size: .94rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.picker { position: relative; flex: 0 1 320px; min-width: 0; }
.picker-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 9px 14px 9px 18px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 1px 2px rgba(27, 42, 58, .05);
  transition: border-color .15s ease, box-shadow .2s ease;
}
.picker-btn:hover { border-color: #B5C0CC; }
.picker-btn[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 42, 58, .08); }
.picker-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.picker-text { display: grid; gap: 1px; }
.picker-label { font-size: .8rem; color: var(--ink-soft); }
.picker-value { font-weight: 600; }
.picker-chevron { width: 18px; height: 18px; flex: none; color: var(--ink-soft); transition: transform .2s ease; }
.picker-btn[aria-expanded="true"] .picker-chevron { transform: rotate(180deg); }
.picker-menu {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0;
  min-width: 100%; width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  animation: picker-in .16s ease-out;
}
.picker-menu[hidden] { display: none; }
.picker-menu [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: var(--r-small); cursor: pointer;
}
.picker-menu [role="option"]:hover, .picker-menu [role="option"]:focus { background: var(--bg); outline: none; }
.picker-menu [role="option"]:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.picker-menu [aria-selected="true"] { font-weight: 600; }
.picker-menu [role="option"] > span:first-child { min-width: 0; }
.picker-count {
  flex: none; min-width: 26px; padding: 2px 8px; border-radius: 999px; text-align: center; font-variant-numeric: tabular-nums;
  font-size: .82rem; font-weight: 500; color: var(--ink-soft); background: #EEF2F6;
}
.picker-menu [aria-selected="true"] .picker-count { background: var(--ink); color: #fff; }
@keyframes picker-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.recipes-page { padding-bottom: clamp(64px, 9vw, 120px); }

.custom-band {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin-top: 20px; padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-card); background: var(--ink); color: #fff;
}
.custom-band h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.custom-band p { color: var(--muted-dark); max-width: 60ch; }

/* Was drin ist */
.pantry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stage { padding: 28px 24px 8px 0; }
.stage + .stage { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stage h3 { font-size: 1.2rem; margin-bottom: 14px; }
.stage ul, .kitchen ul, .price ul { list-style: none; margin: 0; padding: 0; }
.stage li { padding: 8px 0; color: #D4D7DB; line-height: 1.45; }

/* Ablauf */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 28px 0 0; }
.timeline li::before {
  content: counter(step); display: grid; place-items: center; position: relative; z-index: 1;
  width: 36px; height: 36px; margin-bottom: 22px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--ink); font-weight: 600; font-size: .95rem;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; border-top: 1px solid #BCC6D1; }
.t-time { display: block; font-size: .9rem; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.timeline h3 { font-size: 1.22rem; margin-bottom: 8px; }
.timeline p { color: var(--ink-soft); }

/* Preise */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
.price-main { background: var(--ink); color: #fff; border-color: var(--ink); }
.price h3 { font-size: 1.15rem; }
.amount { font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.amount small { font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-left: 6px; }
.price-main .amount small { color: var(--muted-dark); }
.price > p:not(.amount) { color: var(--ink-soft); }
.price-main > p:not(.amount) { color: var(--muted-dark); }
.price li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); line-height: 1.4; }
.price-main li { border-top-color: var(--line-dark); }
.price li::before {
  content: ""; position: absolute; left: 3px; top: 15px; width: 11px; height: 6px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}
.price-main li::before { border-color: #7FA8FF; }
.price .btn { margin-top: auto; }
.price-flag { position: absolute; top: 26px; right: 26px; font-size: .84rem; color: var(--muted-dark); }
.price-note { margin-top: 20px; max-width: 72ch; color: var(--ink-soft); font-size: .95rem; }

/* Datenhoheit */
.kitchen-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kitchen-cols > div { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); }
.kitchen h3 { margin-bottom: 10px; }
.kitchen li { padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.45; color: var(--ink-soft); }
.kitchen li:first-child { border-top: 0; }

/* Team: Karte zeigt Profil beim Überfahren (Maus) oder nach Tippen (Touch) */
.baker-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.baker {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color .2s ease, box-shadow .2s ease, border-radius .2s ease;
}
.baker-head {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 14px 22px 14px 14px;
  background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: inherit;
}
.baker-head img { flex: none; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.baker-text { flex: 1; min-width: 0; }
.baker-text b { display: block; font-weight: 600; font-size: 1.06rem; }
.baker-text > span { color: var(--ink-soft); font-size: .95rem; }
.baker-hint {
  flex: none; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--ink-soft); transition: opacity .2s ease;
}
.baker-bio { color: var(--ink-soft); line-height: 1.6; font-size: .97rem; }
.baker-bio p + p { margin-top: 12px; }

/* Maus: Profil klappt als Fortsetzung der Karte über den folgenden Inhalt, ohne ihn zu verschieben */
@media (hover: hover) and (pointer: fine) {
  .baker-bio {
    position: absolute; z-index: 5; top: 100%; left: -1px; right: -1px; margin-top: -1px;
    padding: 4px 24px 22px; background: var(--surface);
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card);
    box-shadow: 0 18px 36px rgba(27, 42, 58, .12);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .baker-bio::before { content: ""; display: block; height: 1px; margin-bottom: 16px; background: var(--line); }
  .baker:hover, .baker:has(.baker-head:focus-visible), .baker.is-open {
    z-index: 5; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    box-shadow: 0 18px 36px rgba(27, 42, 58, .12);
  }
  .baker:hover .baker-bio, .baker:has(.baker-head:focus-visible) .baker-bio, .baker.is-open .baker-bio {
    opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease;
  }
  .baker:hover .baker-hint, .baker:has(.baker-head:focus-visible) .baker-hint, .baker.is-open .baker-hint { opacity: 0; }
  .baker-head:focus-visible { outline: none; }
}

/* Touch: Tippen klappt das Profil in der Karte auf */
@media (hover: none), (pointer: coarse) {
  .baker-bio { display: none; padding: 0 20px 20px; }
  .baker-bio::before { content: ""; display: block; height: 1px; margin-bottom: 16px; background: var(--line); }
  .baker.is-open .baker-bio { display: block; }
  .baker.is-open { border-color: #C4CCD6; }
}

/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 80px); }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 22px; max-width: 66ch; color: var(--ink-soft); }

/* Fit-Check */
.intake-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intake h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.intake-copy p { color: var(--muted-dark); max-width: 44ch; }

.order { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); background: var(--surface); color: var(--ink); border-radius: var(--r-card); }
.order-row { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.order-row.two { grid-template-columns: 1fr 1fr; gap: 16px; }
.order-row.two > div { display: grid; gap: 6px; min-width: 0; }
.order label, .order legend { font-weight: 600; font-size: .92rem; }
.order .req, .order-note span { color: var(--warm); }
.order-note { margin-top: -6px; font-size: .85rem; color: var(--ink-soft); }
.order legend { margin-bottom: 8px; }
.order input:not([type="radio"]), .order select, .order textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #C7D0DA; border-radius: 8px; background: #fff; color: var(--ink); font: inherit;
}
.order textarea { resize: vertical; }
.order input:focus, .order select:focus, .order textarea:focus { border-color: var(--ink); outline: 2px solid rgba(27, 42, 58, .12); outline-offset: 0; }
.order select:has(option[value=""]:checked) { color: var(--ink-soft); }
.order select option { color: var(--ink); }
.order .is-invalid { border-color: #B3261E !important; }
.order-msg { min-height: 1.5em; font-size: .95rem; }
.order-msg.is-error { color: #B3261E; }

/* Footer */
.foot { background: var(--ink); color: var(--muted-dark); padding: 28px 0 36px; border-top: 1px solid var(--line-dark); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { color: var(--muted-dark); text-decoration: none; }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Impressum und Datenschutz */
.legal { padding: clamp(48px, 8vw, 96px) 0; min-height: calc(100svh - 180px); }
.legal-in { max-width: 760px; }
.legal .eyebrow { display: block; margin-bottom: 10px; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal .stand { margin-top: 10px; color: var(--ink-soft); }
.legal h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.4rem; }
.legal h3 { margin-top: 24px; margin-bottom: 8px; font-size: 1.1rem; }
.legal p, .legal address, .legal li { line-height: 1.65; color: #34445A; }
.legal p + p { margin-top: 12px; }
.legal address { font-style: normal; margin-bottom: 12px; }
.legal ul { margin: 10px 0 14px; padding-left: 20px; list-style: disc; }
.legal li { margin: 4px 0; }
.legal a { overflow-wrap: anywhere; }
.legal code { font-size: .92em; }
.brand-light { color: #fff; }

/* Rezept-Dialog */
.spread {
  width: min(1100px, 100% - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--r-panel);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.spread::backdrop { background: rgba(27, 42, 58, .55); backdrop-filter: blur(3px); }
.spread[open] { animation: open-book .25s ease-out; }
@keyframes open-book { from { opacity: 0; transform: translateY(12px); } }
.spread-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.spread-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.spread-close:hover { background: #EEF1F4; border-color: #8C99A8; }
.page { padding: clamp(24px, 4vw, 44px); }
.page-left { background: #F6F8FA; border-right: 1px solid var(--line); }
.spread-img { width: 84px; height: 84px; padding: 16px; margin: 0 0 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.page .dish-status { margin-bottom: 10px; }
.page h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; padding-right: 40px; }
.spread-lede { color: var(--ink-soft); }
.page h3 { margin: 26px 0 8px; font-size: 1.02rem; }
.page ul, .page ol { margin: 0; padding: 0; list-style: none; }
.page-left li { padding: 6px 0 6px 20px; position: relative; line-height: 1.45; }
.page-left li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.page-left .not li::before { background: #A9AEB4; }

.pantry-check h3 { margin-top: 0; }
.pantry-check .hint { font-size: .92rem; color: var(--ink-soft); margin-bottom: 10px; }
.ingredients { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ingredients label {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  border-radius: 8px; border: 1px solid var(--line); cursor: pointer; line-height: 1.25; font-size: .94rem;
}
.ingredients label:has(input:checked) { border-color: var(--ok); background: #F0F6F2; }
.ingredients input { width: 18px; height: 18px; accent-color: var(--ok); flex: none; }

.method { margin-bottom: 24px !important; counter-reset: m; }
.method li { counter-increment: m; border-top: 1px solid var(--line); }
.method li:last-child { border-bottom: 1px solid var(--line); }
.method button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px;
  padding: 8px 0; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: .98rem; text-align: left; cursor: pointer;
}
.method button::before { content: counter(m); flex: none; width: 22px; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .9rem; }
.method button::after {
  content: ""; margin-left: auto; width: 14px; height: 16px; flex: none; opacity: .5;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Crect x='1.5' y='7.5' width='13' height='9' rx='2' fill='%231B2A3A'/%3E%3Cpath d='M4.5 7.5V5a3.5 3.5 0 0 1 7 0v2.5' fill='none' stroke='%231B2A3A' stroke-width='2'/%3E%3C/svg%3E");
}
.sealed { position: relative; margin: 0 0 12px 34px; padding: 14px 16px; border-radius: 8px; background: #F4F4F3; overflow: hidden; }
.sealed-lines { display: grid; gap: 8px; filter: blur(2.5px); opacity: .5; }
.sealed-lines span { height: 9px; border-radius: 5px; background: #9BA0A6; }
.sealed-lines span:nth-child(1) { width: 92%; }
.sealed-lines span:nth-child(2) { width: 74%; }
.sealed-lines span:nth-child(3) { width: 56%; }
.sealed-note { position: absolute; inset: 0; display: grid; place-items: center; font-size: .88rem; font-weight: 600; text-align: center; padding: 0 12px; }
.sealed-note span { padding: 5px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .book-grid, .teaser-list { grid-template-columns: repeat(2, 1fr); }
  .pantry-grid { grid-template-columns: repeat(2, 1fr); }
  .stage:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline li::after { display: none; }
  .spot-label { font-size: .8rem; padding: 4px 9px; }
}

/* Mobil */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-in { gap: 12px; min-height: 62px; }
  .top-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 42px; padding: 0 16px;
    border: 1px solid #BCC6D1; border-radius: var(--r-small); background: #fff;
    font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 62px;
    padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px; color: var(--ink); }

  .hero-head, .section-head, .faq-in, .intake-in, .custom-band { grid-template-columns: 1fr; }
  .hero-actions .btn-lg { flex: 1 1 100%; }
  .hero .bakery { width: 100%; }
  .hero-head { text-align: left; }
  .hero h1 { margin: 0; }
  .spot-left { flex-direction: row; transform: translate(-50%, -50%); }
  .bakery { border-radius: 14px; }
  .spot { transform: translate(-50%, -50%); }
  .spot-label { display: none; }
  .spot-dot { width: 20px; height: 20px; }
  .spot-dot::after { inset: 6px; }
  .spot-dot::before { inset: -5px; }

  .book-grid, .teaser-list, .pantry-grid, .timeline, .kitchen-cols, .board { grid-template-columns: 1fr; }
  .stage, .stage + .stage, .stage:nth-child(3) { padding: 22px 0 6px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .order-row.two { grid-template-columns: 1fr; }
  .baker-list { grid-template-columns: 1fr; }

  .spread { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .spread-in { grid-template-columns: 1fr; }
  .spread-close { position: fixed; top: 12px; right: 12px; }
  .page-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .ingredients { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Zweite Akzentfarbe: Aprikose (warmer Gegenpol zu Nachtblau) */
:root { --warm: #E8894A; --warm-soft: #FBE3D3; }

.spot-dot::after { background: var(--warm); }
.spot:hover .spot-dot::after, .spot.is-active .spot-dot::after { background: var(--ink); }
.t-time { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--warm-soft); color: var(--ink); }
.timeline li:nth-child(3)::before { background: var(--warm); border-color: var(--warm); color: var(--ink); }
.price-flag { top: 22px; right: 22px; padding: 3px 10px; border-radius: 6px; background: var(--warm); color: var(--ink); font-weight: 600; }
.stage h3 { position: relative; padding-top: 14px; }
.stage h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--warm); }
.hero h1 { text-wrap: balance; }

/* Hover-Farben für klickbare Elemente */
.btn:active { transform: translateY(1px); }
.dish-cta { transition: color .15s ease, text-decoration-color .15s ease; }
.dish:has(.dish-cta):hover .dish-cta { text-decoration-thickness: 3px; }
.teaser:hover { border-color: #B5C0CC; }
.nav a:hover { color: var(--ink); background: rgba(27, 42, 58, .05); }
.method button:hover { color: #2F4459; }
.faq summary:hover { color: #2F4459; }
.teaser, .nav a, .spread-close { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }

/* Hover mit weichem Verlauf: Nachtblau mit einem Hauch Aprikose */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .25s ease;
}
.btn:hover::before { opacity: 1; }
.btn-primary::before { background: linear-gradient(120deg, #1B2A3A 0%, #2E4459 58%, #8F5D3F 100%); }
.btn-ghost::before { background: linear-gradient(120deg, rgba(27, 42, 58, .05) 0%, rgba(27, 42, 58, .07) 50%, rgba(232, 137, 74, .2) 100%); }
.btn-light::before { background: linear-gradient(120deg, #FFFFFF 0%, #F3F5F8 50%, #FADCC6 100%); }

/* Leistungen: Kartenraster der früheren Preise, mit Aprikose-Akzent */
.services .price { gap: 12px; padding-top: 0; overflow: hidden; }
.services .price::before { content: ""; display: block; height: 4px; margin: 0 calc(-1 * clamp(24px, 3vw, 34px)) clamp(18px, 2.4vw, 28px); background: var(--warm); opacity: .9; }
.services .price:not(.price-main)::before { opacity: .55; }
.svc-tag { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--warm-soft); color: #8A4515; font-size: .8rem; font-weight: 700; letter-spacing: .01em; }
.price-main .svc-tag { background: var(--warm); color: var(--ink); }
.services h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); letter-spacing: -.025em; line-height: 1.15; }
.svc-lede { font-size: 1.06rem; line-height: 1.5; color: var(--ink-soft); }
.price-main .svc-lede { color: #C9D2DC; }
.services ul { margin-top: 6px; font-size: .95rem; }
.services li::before { border-color: var(--warm); }
.services .price-main li::before { border-color: var(--warm); }
.services .btn { margin-top: auto; }

/* Vorteile gegenüber Agentur-Projekten */
#unterschied .section-head h2 { max-width: 26ch; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 26px 24px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  transition: border-color .2s ease, background-color .2s ease;
}
.adv:hover { border-color: rgba(232, 137, 74, .5); background: rgba(232, 137, 74, .06); }
.adv-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--warm); color: var(--ink); }
.adv-icon svg { width: 24px; height: 24px; }
.adv h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; color: #fff; }
.adv p { font-size: .95rem; color: #8E9BAA; }
@media (max-width: 1080px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .adv-grid { grid-template-columns: 1fr; } .adv { padding: 20px; } }
