/* Konditorei Klaus – Markenfarben & Schriften vom bestehenden Auftritt, modern umgesetzt */

@font-face { font-family: "Arima Madurai"; font-weight: 300; font-display: swap; src: url("../fonts/ArimaMadurai-Light.ttf") format("truetype"); }
@font-face { font-family: "Arima Madurai"; font-weight: 800; font-display: swap; src: url("../fonts/ArimaMadurai-ExtraBold.ttf") format("truetype"); }
/* Archivo Narrow lokal gehostet (keine Verbindung zu Google beim Seitenaufruf) */
@font-face { font-family: "Archivo Narrow"; font-weight: 400; font-display: swap; src: url("../fonts/ArchivoNarrow-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-weight: 400; font-display: swap; src: url("../fonts/ArchivoNarrow-400-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: "Archivo Narrow"; font-weight: 500; font-display: swap; src: url("../fonts/ArchivoNarrow-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-weight: 500; font-display: swap; src: url("../fonts/ArchivoNarrow-500-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: "Archivo Narrow"; font-weight: 600; font-display: swap; src: url("../fonts/ArchivoNarrow-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-weight: 600; font-display: swap; src: url("../fonts/ArchivoNarrow-600-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; }

:root {
  /* Offizielle Markenfarben Konditorei Klaus – nur diese sechs Farben verwenden.
     Abstufungen entstehen ausschließlich über Transparenz dieser Farben. */
  --bordeaux: #6F303A;
  --vanille: #F5EFE5;
  --espresso: #2C2020;
  --puder: #D8B6B1;
  --salbei: #A6AF99;
  --champagner: #C4A06A;

  /* Rollen (zeigen auf die Markenfarben) */
  --brown: var(--bordeaux);          /* Hauptfarbe: Buttons, Überschriften, Auswahl */
  --brown-800: var(--espresso);      /* Hover auf Bordeaux */
  --brown-900: var(--espresso);      /* dunkle Flächen: Footer, Hinweisleiste, Toast */
  --caramel: var(--champagner);      /* Akzent: Icons, Linien, Text auf dunklem Grund */
  --caramel-200: var(--puder);       /* heller Text auf dunklem Grund */
  --caramel-100: rgba(216, 182, 177, .35); /* Puder-Tönung: Auswahl, Tags, Hinweise */
  --berry: var(--bordeaux);          /* Hervorhebung, Fehler */
  --cream: var(--vanille);           /* Seitenhintergrund */
  --white: var(--vanille);           /* Flächen (Karten, Dialoge) */
  --ink: var(--espresso);            /* Text */
  --muted: rgba(44, 32, 32, .7);     /* Nebentext (Espresso, transparent) */
  --line: rgba(196, 160, 106, .4);   /* Linien (Champagner, transparent) */
  --ok: var(--salbei);
  --tint: rgba(216, 182, 177, .22);  /* abgesetzte Abschnitte (Puder, transparent) */

  --f-head: "Arima Madurai", Georgia, serif;
  --f-body: "Arial Narrow", "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(44, 32, 32, .06), 0 8px 24px rgba(44, 32, 32, .08);
  --shadow-lg: 0 24px 60px rgba(44, 32, 32, .18);
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; color: var(--brown); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
.light { font-weight: 300; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--white { background: var(--tint); }
.section--brown { background: var(--brown); color: var(--vanille); }
.section--brown .eyebrow { color: var(--puder); }
.section--brown .eyebrow::before { background: var(--champagner); }
.section--brown h2, .section--brown h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brown);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--champagner); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.section--brown .lead { color: var(--caramel-200); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brown); color: var(--white); box-shadow: 0 6px 18px rgba(111, 48, 58, .28); }
.btn--primary:hover { background: var(--brown-800); }
.btn--ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--ghost:hover { background: var(--brown); color: var(--white); }
.btn--light { background: var(--white); color: var(--brown); }
.btn--light:hover { background: var(--caramel-100); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 20px; height: 20px; }

/* Announcement */
.announce {
  background: var(--brown-900); color: var(--vanille); font-size: .95rem; text-align: center;
  padding: 9px 16px; letter-spacing: .02em;
}
.announce strong { color: var(--caramel); font-weight: 600; }
.announce a { color: var(--white); text-underline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 239, 229, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(44, 32, 32, .05); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 1.02rem; color: var(--brown);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--caramel-100); }
.header__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); }
.lang button {
  border: 0; background: none; padding: 5px 11px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .06em;
}
.lang button[aria-pressed="true"] { background: var(--brown); color: var(--white); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px;
  border-radius: 999px; border: 0; background: var(--brown); color: var(--white); cursor: pointer; font-weight: 600;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  min-width: 22px; height: 22px; border-radius: 11px; background: var(--caramel); color: var(--brown-900);
  display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px;
}
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.menu-btn { display: none; border: 0; background: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: var(--brown); }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav a { padding: 14px 12px; font-size: 1.2rem; border-radius: var(--r-sm); }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-grid; place-items: center; }
  .header .wrap { gap: 12px; }
  .header__tools { margin-left: auto; }
  .logo img { height: 40px; }
}
@media (max-width: 480px) {
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 12px; }
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .light { display: block; color: var(--espresso); font-size: .62em; margin-top: .15em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__usps { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 1rem; }
.hero__usps li { display: flex; align-items: center; gap: 8px; }
.hero__usps svg { width: 18px; height: 18px; color: var(--caramel); flex: none; }
.hero__media { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.02; }
.hero__media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--caramel-100); }
.hero__media figure:first-child { grid-row: span 2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__seal {
  position: absolute; left: -22px; bottom: 28px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--champagner); color: var(--espresso); display: grid; place-items: center; text-align: center;
  font-family: var(--f-head); font-weight: 800; line-height: 1; box-shadow: var(--shadow-lg); transform: rotate(-8deg);
}
.hero__seal small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.hero__seal span { font-size: 2rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 3.4; }
  .hero__seal { left: auto; right: 12px; bottom: -18px; width: 96px; height: 96px; }
  .hero__seal span { font-size: 1.6rem; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; margin-top: 44px; }
.step { background: var(--cream); border-radius: var(--r); padding: 28px; position: relative; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brown); color: var(--white);
  display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Section head */
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.head h2 { margin: 0; }
.link-arrow { font-weight: 600; color: var(--brown); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line); transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; text-align: left; border: 0; padding: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 1 / 1; background: var(--caramel-100); position: relative; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--brown);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.card__badge--season { background: var(--salbei); color: var(--espresso); }
.card__badge--off { background: var(--brown-900); color: var(--vanille); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; color: var(--brown); line-height: 1.15; }
.card__desc { color: var(--muted); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-weight: 600; color: var(--ink); }
.card__add {
  width: 42px; height: 42px; border-radius: 50%; background: var(--caramel-100); color: var(--brown); display: grid; place-items: center; transition: .2s;
}
.card:hover .card__add { background: var(--brown); color: var(--white); }
.card__add svg { width: 20px; height: 20px; }
.card.is-off { cursor: default; }
.card.is-off .card__img img { filter: grayscale(.5) opacity(.75); }

/* Category pills */
.pills {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--cream);
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; margin-bottom: 18px; scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; border: 1.5px solid var(--line); background: var(--white); color: var(--brown); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pill[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--white); }
.shop-cat { scroll-margin-top: calc(var(--header-h) + 80px); margin-bottom: 56px; }
.shop-cat h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 20px; }

/* Page header */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(16px, 3vw, 28px); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* Motiv gallery */
.motiv { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.motiv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.motiv__grid img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--r); }
.motiv__grid img:nth-child(3n+2) { transform: translateY(24px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; padding: 0; list-style: none; }
.chips li { border: 1px solid rgba(196, 160, 106, .5); color: var(--vanille); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
@media (max-width: 860px) { .motiv { grid-template-columns: 1fr; } }

/* Feature (season) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Locations */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.loc { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 1px 0 var(--line); position: relative; }
.loc__badge { position: absolute; top: 24px; right: 24px; background: var(--berry); color: var(--white); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.loc h3 { font-size: 1.6rem; padding-right: 70px; }
.loc address { font-style: normal; color: var(--muted); margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; margin-bottom: 20px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.is-today td { color: var(--brown); font-weight: 600; }
@media (max-width: 760px) { .locs { grid-template-columns: 1fr; } .loc { padding: 24px; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__imgs img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__imgs img:last-child { margin-top: 48px; }
.stats { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 2.4rem; color: var(--brown); line-height: 1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Café */
.cafe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.cafe figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.cafe img { width: 100%; height: 100%; object-fit: cover; }
.cafe figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; color: var(--white);
  background: linear-gradient(transparent, rgba(44, 32, 32, .8)); font-family: var(--f-head); font-weight: 800; font-size: 1.5rem;
}
.cafe figcaption small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .95rem; color: var(--caramel-200); }
@media (max-width: 760px) { .cafe { grid-template-columns: 1fr; } .cafe figure { aspect-ratio: 16 / 11; } }

/* Footer */
.footer { background: var(--brown-900); color: var(--caramel-200); padding: 72px 0 28px; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer img { height: 56px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(216, 182, 177, .2); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(216, 182, 177, .75); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Dialog (product) */
.dialog {
  border: 0; padding: 0; border-radius: var(--r-lg); width: min(100% - 24px, 920px); max-height: min(92vh, 860px);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden;
}
.dialog::backdrop { background: rgba(44, 32, 32, .55); backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pd { display: grid; grid-template-columns: 1fr 1.1fr; max-height: inherit; }
.pd__img { background: var(--caramel-100); min-height: 100%; }
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__body { padding: 32px; overflow-y: auto; max-height: min(92vh, 860px); display: flex; flex-direction: column; }
.pd__close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white);
  box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.pd__close svg { width: 20px; height: 20px; }
.pd h2 { font-size: 2rem; margin-bottom: 8px; padding-right: 36px; }
.pd__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { background: var(--caramel-100); color: var(--brown); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 500; }
.pd__desc { color: var(--muted); }
.opt { border: 0; padding: 0; margin: 0 0 20px; }
.opt legend, .field > label, .field__label { font-weight: 600; margin-bottom: 8px; display: block; color: var(--brown); font-size: .98rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 14px; cursor: pointer; font-size: 1rem; transition: .15s;
}
.choice span em { font-style: normal; color: var(--muted); font-size: .9rem; }
.choice input:checked + span { border-color: var(--brown); background: var(--caramel-100); color: var(--brown); box-shadow: inset 0 0 0 1px var(--brown); }
.choice input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.input, textarea.input, select.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); min-height: 50px;
}
.input:focus { border-color: var(--brown); outline: none; box-shadow: 0 0 0 3px rgba(196, 160, 106, .4); }
textarea.input { min-height: 110px; resize: vertical; }
.field { margin-bottom: 18px; }
.field__hint { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.pd__buy .btn { white-space: nowrap; }
.pd__buy { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.pd__total { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; color: var(--brown); margin-right: auto; line-height: 1; }
.pd__total small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 50px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.3rem; color: var(--brown); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.notice { background: var(--caramel-100); border-radius: 12px; padding: 12px 16px; font-size: .96rem; color: var(--brown); margin-bottom: 18px; }
@media (max-width: 760px) {
  .dialog { width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .pd { grid-template-columns: 1fr; }
  .pd__img { height: 220px; min-height: 0; }
  .pd__body { padding: 22px 18px; max-height: calc(94vh - 220px); }
  .pd__buy { position: sticky; bottom: -22px; background: var(--white); padding-bottom: 6px; flex-wrap: wrap; }
  .pd__buy .btn { flex: 1; }
}

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(44, 32, 32, .45); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--cream);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; margin: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--brown); }
.icon-btn svg { width: 20px; height: 20px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); background: var(--white); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.line__title { font-weight: 600; color: var(--brown); line-height: 1.25; }
.line__opts { font-size: .9rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.line__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line .qty { height: 36px; }
.line .qty button { width: 32px; }
.line__price { font-weight: 600; white-space: nowrap; }
.line__remove { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .9rem; padding: 0; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.sum-row--total { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; color: var(--brown); margin: 8px 0 4px; }
.pay-note { font-size: .92rem; color: var(--muted); margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.pay-note svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; color: var(--caramel); margin: 0 auto 14px; }

/* Checkout */
.checkout > * { min-width: 0; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; padding-bottom: 96px; }
.co-step { background: var(--white); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; box-shadow: 0 1px 0 var(--line); }
.co-step h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-step h2 .step__num { width: 34px; height: 34px; font-size: 1rem; margin: 0; }
.loc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loc-opt input { position: absolute; opacity: 0; }
.loc-opt label, .loc-opt > span {
  display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; cursor: pointer; transition: .15s; position: relative;
}
.loc-opt strong { display: block; color: var(--brown); font-size: 1.08rem; margin-bottom: 4px; padding-right: 50px; }
.loc-opt small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.loc-opt .loc__badge { top: 14px; right: 14px; font-size: .7rem; padding: 4px 9px; }
.loc-opt input:checked + label { border-color: var(--brown); background: var(--caramel-100); box-shadow: inset 0 0 0 1px var(--brown); }
.loc-opt input:focus-visible + label { outline: 3px solid var(--caramel); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.day {
  flex: none; scroll-snap-align: start; width: 74px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white);
  padding: 10px 0; text-align: center; cursor: pointer; line-height: 1.15;
}
.day small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day b { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--brown); margin: 2px 0; }
.day[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] b { color: var(--white); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); padding: 9px 0; cursor: pointer; font-weight: 600; color: var(--brown); }
.slot[aria-pressed="true"] { background: var(--brown); color: var(--white); border-color: var(--brown); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--brown); margin-top: 3px; flex: none; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 1px 0 var(--line); }
.summary h2 { font-size: 1.5rem; }
.summary .line { grid-template-columns: 56px 1fr auto; }
.summary .line img { width: 56px; height: 56px; }
.pickup-box { background: var(--cream); border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: .96rem; }
.pickup-box b { color: var(--brown); }
.error { color: var(--berry); font-size: .92rem; margin-top: 6px; }
.form-error { background: var(--caramel-100); color: var(--berry); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .loc-options, .grid-2 { grid-template-columns: 1fr; }
  .co-step { padding: 22px 18px; }
}

/* Thank you */
.thanks { max-width: 680px; margin: 0 auto; text-align: center; padding: 80px 0 120px; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--brown); color: var(--white); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks__icon svg { width: 40px; height: 40px; }
.thanks .pickup-box { text-align: left; background: var(--white); padding: 22px; }
.order-nr { display: inline-block; font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; color: var(--berry); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 200;
  background: var(--brown-900); color: var(--white); padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: .25s; display: flex; gap: 10px; align-items: center; pointer-events: none; font-weight: 500; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--caramel); }

/* Legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Zutaten & Allergene (aufklappbar) */
.pd__info { margin: 4px 0 8px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--brown);
  display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--caramel); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 14px; font-size: .95rem; line-height: 1.5; }
.acc__body p { margin: 0 0 8px; }
.acc__body strong { color: var(--ink); }

/* Bild-Upload (Motivtorten) */
.upload { display: inline-block; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload__btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--caramel); border-radius: 12px;
  padding: 11px 16px; color: var(--brown); font-weight: 600; background: var(--caramel-100);
}
.upload__btn svg { width: 20px; height: 20px; }
.upload:hover .upload__btn { border-style: solid; }
.upload input:focus-visible + .upload__btn { outline: 3px solid var(--caramel); outline-offset: 2px; }
.upload__preview { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.upload__preview[hidden] { display: none; }
.upload__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.upload__name { flex: 1; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Standort noch nicht bestellbar */
.loc-opt.is-disabled label { cursor: not-allowed; opacity: .55; background: var(--cream); }
.loc__badge--soon { background: var(--salbei); color: var(--espresso); }

/* Anfrageformular im Produkt-Popup */
.inq { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.inq[hidden] { display: none; }
.inq h3 { font-size: 1.3rem; margin-bottom: 4px; }
.inq > .muted { font-size: .95rem; }
.inq__loc { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin: 0 0 16px; }
.inq__loc svg { width: 18px; height: 18px; color: var(--caramel); }
.inq .check { margin-bottom: 6px; }
.inq-done { text-align: center; margin: auto 0; padding: 24px 0; }
.inq-done .thanks__icon { width: 64px; height: 64px; }
.inq-done .thanks__icon svg { width: 30px; height: 30px; }
.pd__total.is-text span { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }

/* Flächen haben dieselbe Farbe wie der Hintergrund (Vanille) – feine Champagner-Linie zur Abgrenzung */
.card, .loc, .co-step, .summary, .step, .lang, .pill, .day, .slot, .drawer__foot, .dialog, .pd__close, .icon-btn { border: 1px solid var(--line); }
.drawer__foot { border-width: 1px 0 0; }
