/* ---------- Schriften lokal (Fraunces, Inter; SIL Open Font License, via Fontsource 5.3.0) ---------- */
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Farben & Schriften (hier zentral anpassen) ---------- */
:root {
  --bg: #fff6f9;          /* zartes Rosa */
  --bg-alt: #fde3ec;      /* Rosa für jeden zweiten Abschnitt */
  --text: #4a1d33;        /* dunkles Beerenbraun */
  --muted: #8a5670;
  --accent: #c2185b;      /* kräftiges Pink, weisse Schrift darauf gut lesbar */
  --accent-dark: #9c1048;
  --accent-soft: #f7a8c4; /* helles Pink für Deko */
  --card: #ffffff;
  --border: #f6c9d9;
  --stripe-a: #fbd6e3;
  --stripe-b: #fde8f0;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 16px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
a { color: inherit; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8em 1.4em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: .5em 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* Logo: Bild-Badge + Schriftzug im Stil des Logos (Serif-Name, Untertitel in Versalien) */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.logo img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; white-space: nowrap; }
.logo-text small { font-family: var(--font-body); font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--accent-soft) 45%, transparent), transparent 45%),
    radial-gradient(circle at 5% 90%, color-mix(in srgb, var(--accent-soft) 30%, transparent), transparent 40%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); font-weight: 600; margin: 0 0 .8em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-image { aspect-ratio: 1 / 1; border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; object-position: 50% 75%; box-shadow: 0 12px 40px rgba(194, 24, 91, .15); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }



.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
/* Portrait: ganzes Hochformat-Foto im Kreis (bis zu den Schultern);
   die Ränder links/rechts füllt eine weichgezeichnete Kopie desselben Fotos */
.portrait {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1; border-radius: 50%; max-width: 360px; width: 100%;
  border: 6px solid var(--card); box-shadow: 0 0 0 3px var(--accent-soft);
  background: #f1efec;
}
.portrait::before {
  content: ""; position: absolute; inset: -30px; z-index: -1;
  background: url("../assets/img/valerie.webp") center 20% / cover;
  filter: blur(22px) brightness(1.04);
}
.portrait img {
  display: block; height: 100%; width: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; counter-increment: step; display: flex; flex-direction: column; gap: .4em; }
.steps li::before { content: counter(step); font-family: var(--font-head); font-size: 2rem; color: var(--accent); }
.steps span { color: var(--muted); }
.note { margin-top: 1.5rem; color: var(--muted); font-style: italic; }

.contact { text-align: center; }
.contact .section-lead { margin-inline: auto; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Angebot: aufklappbare Kategorien ---------- */
.menu { display: grid; gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cat summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
}
.cat summary::-webkit-details-marker { display: none; }
.cat summary::after {
  content: "+"; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--accent); font-size: 1.4rem; font-weight: 600;
  transition: transform .2s;
}
.cat[open] summary::after { transform: rotate(45deg); }
.cat summary:hover { background: color-mix(in srgb, var(--bg-alt) 50%, transparent); }
.cat summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.cat-title { font-family: var(--font-head); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; color: var(--text); line-height: 1.1; flex: 1; }
.cat-title em { display: block; font-family: var(--font-body); font-style: normal; font-size: .85rem; font-weight: 500; color: var(--accent); margin-top: 4px; }
.cat-meta { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* Kategorie-Titelbild im zugeklappten Zustand */
.cat-cover { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--bg-alt); }
.cat-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cat-meta small { color: var(--muted); font-weight: 500; font-size: .75rem; }

/* Mengenrabatt-Hinweis: bewusst leise */
.cat-hint { margin: -4px 24px 14px; font-size: .85rem; color: var(--muted); }
.cat-hint::before { content: "♡ "; color: var(--accent); }

/* Produkte */
.prods { list-style: none; margin: 0; padding: 0 24px 24px; display: grid; gap: 10px; }
.prods-img { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.prod {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.prod.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.prod-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prod-name { font-weight: 600; line-height: 1.3; }
.prod-price { color: var(--accent); font-weight: 600; font-size: .95rem; }
.prod-price small { color: var(--muted); font-weight: 500; }
.prod-min { font-size: .8rem; color: var(--muted); }

/* Produkte mit Bild: Karte mit grossem Bild oben */
.prods-img .prod { flex-direction: column; align-items: stretch; padding: 0 0 12px; overflow: hidden; }
.prods-img .prod-info { padding: 0 14px; }
.prods-img .qty { margin: 0 14px; align-self: flex-start; }
.prod-img { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.prod-img:hover img { transform: scale(1.04); }
.prod-img:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* Stückzahl − 0 + */
.qty { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.qty button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 1.25rem; font-weight: 600; line-height: 1;
  background: var(--card); color: var(--accent);
}
.qty .qty-plus { background: var(--accent); color: #fff; }
.qty button:disabled { opacity: .35; cursor: default; }
.qty button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 600; }
.qty.is-active { border-color: var(--accent); }

/* Bild gross */
.lightbox { border: 0; padding: 0; border-radius: var(--radius); max-width: min(92vw, 640px); background: var(--card); overflow: hidden; }
.lightbox::backdrop { background: rgba(74, 29, 51, .6); }
.lightbox img { display: block; width: 100%; height: auto; }
.lightbox-caption { margin: 0; padding: 12px 16px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--card); color: var(--accent); font-size: 1.6rem; cursor: pointer;
}

/* Anfrage-Leiste unten */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--card); border-top: 2px solid var(--accent);
  box-shadow: 0 -6px 24px rgba(74, 29, 51, .12);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
.order-bar[hidden] { display: none; }
.order-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#order-count { font-weight: 600; }
.order-bar-actions { display: flex; gap: 8px; }
body.has-order { padding-bottom: 90px; }

/* Granola-Baukasten */
.granola { padding: 0 24px 24px; }
.granola-base { margin-top: 0; }
.granola-img { width: 100%; max-width: 280px; border-radius: 14px; margin-bottom: 16px; }
.granola fieldset { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.granola legend { font-weight: 600; margin-bottom: 8px; padding: 0; width: 100%; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .5em 1em; border-radius: 999px;
  border: 2px solid var(--border); background: var(--bg); color: var(--text);
  font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.chip span::before { content: "+ "; color: var(--accent); }
.chip small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.chip input:checked + span small { color: #fff; opacity: .85; }
.chip:hover span { border-color: var(--accent-soft); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:checked + span::before { content: "✓ "; color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.granola-summary { background: var(--bg-alt); border-radius: 12px; padding: 12px 16px; color: var(--muted); }
.granola-fallback { background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; white-space: pre-line; }

/* Übergabe: Infos, keine Schritte */
.handover { margin-top: 32px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.handover h3 { color: var(--accent); }
.handover ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.handover li { padding-left: 26px; position: relative; }
.handover li::before { content: "♥"; position: absolute; left: 0; color: var(--accent-soft); }
.handover .note { margin: 16px 0 0; padding-top: 16px; border-top: 1px dashed var(--border); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.footer-inner a { color: var(--accent); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 56px 16px 80px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--text); }
.legal .hint { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 400px) {
  .logo img { width: 38px; height: 38px; }
  .logo-text { font-size: 1.25rem; }
}
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 1rem;
    background: var(--bg); padding: 20px 16px; border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .handover { padding: 20px 16px; }
  .portrait { max-width: 260px; margin-inline: auto; }
  .order-bar-inner { justify-content: center; text-align: center; }
  .cat summary { padding: 18px 16px; }
  .prods, .granola { padding-left: 12px; padding-right: 12px; }
  .prods-img { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prods-img .prod-info { padding: 0 10px; }
  .prods-img .qty { margin: 0 10px; }
  .qty button { width: 34px; height: 34px; }
  .cat-cover { width: 44px; height: 44px; border-width: 2px; }
  .cat summary { gap: 10px; padding: 16px 12px; }
  .cat-title { font-size: 1.3rem; min-width: 0; }
  .cat-title em { font-size: .75rem; }
  .cat-meta { font-size: .8rem; }
  .cat-meta small { font-size: .68rem; }
  .cat-hint { margin: -2px 12px 12px; font-size: .8rem; }
  .cat summary::after { width: 30px; height: 30px; font-size: 1.2rem; }
  .prod-name { font-size: .95rem; }
  .cat-meta { font-size: .85rem; }
  .section { padding: 56px 0; }
}
