/* ==========================================================================
   GutscheinStore.com – Relaunch 2026 · Design-Prototyp
   Eine Datei, keine externen Ressourcen. Mobile-first (ab 360px).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
/* Farbwelt 2026 = Farbwelt 2008: Pergament-Creme, Rotbraun, Holz-/Lederbraun,
   Oliv, Maskottchen-Gold und der orange-rote Verlaufsbalken. */
:root {
  color-scheme: light;

  /* Marke (Original-Werte aus style.css / Logo von 2008) */
  --brand-rust: #953a1d;       /* 2008: #953A1D – Wortmarke, Überschriften */
  --brand-rust-dark: #7a2d14;
  --brand-gold: #e6ac16;       /* Maskottchen-Gold */
  --brand-gold-dark: #d49a0a;
  --brand-olive: #746746;      /* 2008: #746746 */
  --brand-greybrown: #8c806d;  /* 2008: #8C806D */
  --brand-wood: #2f271d;       /* Holz-/Lederband aus img_bg_main.png */
  --brand-wood-2: #3a3024;
  --brand-tag: #7f2810;        /* Gutschein-Anhänger des Maskottchens */
  --grad-bar: linear-gradient(90deg, #d8471a, #ee7a2c 55%, #f4a54a); /* alte Balken über den Gutscheinen */
  --grad-plate: linear-gradient(180deg, #fdfaf1, #efe6cf 55%, #ddd0ab);  /* Logo-Schild */

  /* Semantisch – hell */
  --bg: #fbf6e9;               /* 2008: #FBF6E9 */
  --surface: #fffdf8;
  --surface-2: #f0e7d5;        /* 2008: #F0E7D5 */
  --surface-3: #e7dfca;        /* 2008: #E7DFCA */
  --border: #e3d8bf;
  --border-strong: #cbbb98;
  --border-input: #8c806d;     /* 2008: Grau-Braun, ≥3:1 für Formularfelder */
  --text: #2e2117;
  --text-muted: #685b3c;       /* Oliv #746746, für AA auf allen Flächen leicht abgedunkelt */
  --primary: #953a1d;
  --primary-hover: #7a2d14;
  --on-primary: #ffffff;
  --accent: #e6ac16;
  --accent-hover: #d49a0a;
  --on-accent: #2e2117;
  --accent-soft: #f6e6c0;
  --success: #2f6b3a;
  --success-soft: #e3eed9;
  --danger: #a8321e;
  --focus: #953a1d;
  --band: var(--brand-wood);
  --band-2: var(--brand-wood-2);
  --on-band: #f3e9d6;
  --on-band-muted: #cbbd9c;
  --shadow-sm: 0 1px 2px rgb(46 33 23 / .07), 0 1px 1px rgb(46 33 23 / .04);
  --shadow-md: 0 6px 20px -6px rgb(46 33 23 / .2), 0 2px 4px rgb(46 33 23 / .06);
  --shadow-lg: 0 24px 48px -16px rgb(46 33 23 / .3);
  --hero-glow: rgb(230 172 22 / .24);

  /* Kacheln (Initialen-Platzhalter, keine Markenlogos) */
  --tile-1-bg: #953a1d; --tile-1-fg: #ffffff;
  --tile-2-bg: #746746; --tile-2-fg: #ffffff;
  --tile-3-bg: #2f271d; --tile-3-fg: #f3e9d6;
  --tile-4-bg: #e6ac16; --tile-4-fg: #2e2117;
  --tile-5-bg: #e7dfca; --tile-5-fg: #953a1d;
  --tile-6-bg: #7f2810; --tile-6-fg: #ffffff;

  /* Typografie – System-Stack, kein Webfont */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-logo: Verdana, Tahoma, "DejaVu Sans", "Segoe UI", Arial, sans-serif; /* nah an der Wortmarke von 2008 */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Skala ~1.25 (Major Third), fluid für Headlines */
  --step--2: .75rem;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --step-4: clamp(1.875rem, 1.4rem + 2.2vw, 3.125rem);

  /* Abstände & Form */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --gutter: 16px;
  --container: 1200px;
  --tap: 44px;
}

/* Dunkel („Lederbraun“): System-Präferenz (sofern nicht explizit hell gewählt) … */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1b140e; --surface: #251c14; --surface-2: #2f241a; --surface-3: #3a2c20;
    --border: #44362a; --border-strong: #5c4a38; --border-input: #8a7660;
    --text: #f3e9d6; --text-muted: #cbbb98;
    --primary: #f0956b; --primary-hover: #f6ad8b; --on-primary: #1b120c;
    --accent: #e6ac16; --accent-hover: #f0bd3c; --on-accent: #1b120c; --accent-soft: #3a2c14;
    --success: #8cc98f; --success-soft: #26301f; --danger: #f08a73;
    --focus: #e6ac16;
    --band: #120d09; --band-2: #1e1610;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-md: 0 8px 24px -8px rgb(0 0 0 / .6);
    --shadow-lg: 0 24px 48px -16px rgb(0 0 0 / .7);
    --hero-glow: rgb(230 172 22 / .14);
    --tile-3-bg: #4a3a2c; --tile-5-bg: #3a2c14; --tile-5-fg: #e6ac16;
  }
}
/* … oder per Umschalter */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1b140e; --surface: #251c14; --surface-2: #2f241a; --surface-3: #3a2c20;
  --border: #44362a; --border-strong: #5c4a38; --border-input: #8a7660;
  --text: #f3e9d6; --text-muted: #cbbb98;
  --primary: #f0956b; --primary-hover: #f6ad8b; --on-primary: #1b120c;
  --accent: #e6ac16; --accent-hover: #f0bd3c; --on-accent: #1b120c; --accent-soft: #3a2c14;
  --success: #8cc98f; --success-soft: #26301f; --danger: #f08a73;
  --focus: #e6ac16;
  --band: #120d09; --band-2: #1e1610;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 8px 24px -8px rgb(0 0 0 / .6);
  --shadow-lg: 0 24px 48px -16px rgb(0 0 0 / .7);
  --hero-glow: rgb(230 172 22 / .14);
  --tile-3-bg: #4a3a2c; --tile-5-bg: #3a2c14; --tile-5-fg: #e6ac16;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: var(--step-0)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; color: var(--primary); }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--primary); color: var(--on-primary); padding: .75rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-primary); }
[hidden] { display: none !important; }
.js .no-js-only { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); }
.section-head p { color: var(--text-muted); }
/* Orange-roter Verlaufsbalken unter Section-Überschriften (Erbe der alten Balken) */
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: .45rem; border-radius: 4px; background: var(--grad-bar); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 700; color: var(--primary); letter-spacing: .02em; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; min-height: var(--tap); font-weight: 700; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- 3. Buttons, Badges, Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--tap); padding: .625rem 1.125rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--primary) linear-gradient(rgb(255 255 255 / .08), transparent); color: var(--on-primary); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--outline { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--on-primary); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--icon { width: var(--tap); padding: 0; border-radius: 50%; background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--icon:hover { background: var(--surface-2); }

.badge-founded {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  padding: .2rem .55rem; border-radius: var(--radius-pill);
  font-size: var(--step--2); font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}
.badge-founded::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }

.pill { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--step--2); font-weight: 700; padding: .15rem .55rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-muted); }
.pill--success { background: var(--success-soft); color: var(--success); }
.pill--hot { background: var(--accent-soft); color: var(--primary); }

.chips { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding-block: 2px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: var(--tap);
  padding: .5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: var(--step--1); font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip__count { font-size: var(--step--2); opacity: .75; }

.ad-label { font-size: var(--step--2); font-weight: 700; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

/* Prüfstufen je Gutschein */
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.check {
  display: inline-flex; align-items: baseline; gap: .35rem; padding: .2rem .6rem; border-radius: 10px;
  font-size: var(--step--2); font-weight: 700; line-height: 1.4;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border);
}
.check > span[aria-hidden] { font-size: 1.05em; line-height: 1; }
.check--cart { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 35%, transparent); }
.check--partner { color: var(--text); }
.check small { font-size: 1em; font-weight: 500; }

/* Ranking-Hinweis an jeder Gutschein-Liste */
.ranking-note { display: flex; align-items: flex-start; gap: .4rem; margin-bottom: var(--space-3); font-size: var(--step--1); color: var(--text-muted); }
.ranking-note .icon { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--primary); }
.ranking-note a { font-weight: 700; }
.tab-panel > .ranking-note { margin-top: var(--space-2); }

/* ---------- 4. Header ---------- */
/* Dunkles Holz-/Lederband wie 2008 (img_bg_main.png), unten der orange-rote Balken */
.site-header {
  position: sticky; top: 0; z-index: 50; color: var(--on-band);
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / .028) 0 7px, transparent 7px 14px), var(--band);
  border-bottom: 3px solid transparent; border-image: var(--grad-bar) 1;
}
.header-bar { display: flex; align-items: center; gap: var(--space-2); min-height: 64px; flex-wrap: wrap; }
/* Cremefarbenes Logo-Schild (wie der Header-Kasten von 2008), Maskottchen ragt heraus */
.brand {
  display: inline-flex; align-items: center; gap: .2rem; min-height: var(--tap); padding: 0 .65rem 0 .1rem;
  border-radius: 12px; background: var(--grad-plate); border: 1px solid #c9b98f;
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgb(0 0 0 / .35);
  text-decoration: none; color: #953a1d;
}
.brand:hover { color: #953a1d; text-decoration: none; }
.brand__icon { width: auto; height: 54px; margin-block: -6px -8px; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .25)); }
.brand__word {
  font: 700 1.0625rem/1 var(--font-logo); letter-spacing: -.05em; color: #953a1d;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 0 2.5px 2px rgb(46 33 23 / .45);
}
.brand__tld { font-size: .66em; letter-spacing: -.02em; }
.header-bar .badge-founded { margin-right: auto; }
.site-header .badge-founded { display: none; color: var(--on-band); background: rgb(255 255 255 / .06); border-color: rgb(243 233 214 / .28); }
.site-header .header-actions > .btn--icon, .site-header .nav-drawer > summary { color: var(--on-band); border-color: rgb(243 233 214 / .3); }
.site-header .header-actions > .btn--icon:hover, .site-header .nav-drawer > summary:hover { background: rgb(255 255 255 / .08); }
.header-search { order: 10; flex-basis: 100%; padding-bottom: var(--space-3); }
.site-header--home .header-search { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.header-actions > .theme-toggle { display: none; }

/* Suche (Header & Hero) */
.search { position: relative; display: flex; align-items: center; }
.search__input {
  width: 100%; min-height: var(--tap); padding: .6rem 1rem .6rem 2.75rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-input); background: var(--surface); color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.search__input::placeholder { color: var(--text-muted); opacity: 1; }
.search__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.search > .icon { position: absolute; left: 1rem; color: var(--text-muted); pointer-events: none; }
.search__btn { margin-left: var(--space-2); }

/* Mobiler Drawer (details/summary, ohne JS funktionsfähig) */
.nav-drawer { position: static; }
.nav-drawer > summary {
  list-style: none; display: grid; place-items: center; width: var(--tap); height: var(--tap);
  border-radius: 50%; border: 1px solid var(--border); cursor: pointer; color: var(--text);
}
.nav-drawer > summary::-webkit-details-marker { display: none; }
.nav-drawer > summary .icon-close { display: none; }
.nav-drawer[open] > summary .icon-open { display: none; }
.nav-drawer[open] > summary .icon-close { display: block; }
.site-header .nav-drawer[open] > summary { background: rgb(255 255 255 / .12); }
.drawer {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: var(--space-3) var(--gutter) var(--space-5);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.drawer__list { list-style: none; display: grid; }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  border-bottom: 1px solid var(--border); color: var(--text); font-weight: 600; text-decoration: none;
}
.drawer__list a:hover { color: var(--primary); }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); color: var(--text-muted); font-size: var(--step--1); }

.main-nav { display: none; }

/* Theme-Umschalter */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--hero-glow), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.hero__inner { display: grid; gap: var(--space-6); padding-block: var(--space-6) var(--space-7); align-items: center; }
.hero__copy { display: grid; gap: var(--space-4); }
.hero__lead { font-size: var(--step-1); color: var(--text-muted); max-width: 38rem; }
.hero h1 { color: var(--text); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-search { display: grid; gap: var(--space-2); background: var(--surface); padding: var(--space-2); border-radius: 22px; border: 1.5px solid var(--border-input); box-shadow: var(--shadow-md); }
.hero-search .search__input { min-height: 56px; border: 0; font-size: var(--step-1); padding-left: 3rem; background: transparent; }
.hero-search .search > .icon { left: 1.1rem; width: 1.4em; height: 1.4em; }
.hero-search .btn { min-height: 52px; font-size: var(--step-1); }
.hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--step--1); color: var(--text-muted); }
.hero__popular a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .75rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text); text-decoration: none; font-weight: 600; }
.hero__popular a:hover { background: var(--accent-soft); color: var(--primary); }
.hero__art { display: none; }

.trust { list-style: none; display: grid; gap: var(--space-2) var(--space-4); font-size: var(--step--1); color: var(--text-muted); }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust .icon { color: var(--success); }
.trust strong { color: var(--text); font-weight: 700; }

/* ---------- 6. Shop-Kacheln ---------- */
.shop-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.shop-tile {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-3);
  padding: var(--space-3); min-height: 72px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
}
.shop-tile:hover { border-color: var(--primary); color: var(--text); }
@media (max-width: 559px) {
  .shop-tile { grid-template-columns: 1fr; justify-items: start; gap: var(--space-2); }
  .shop-tile .initials { width: 44px; font-size: 1rem; }
}
.shop-tile__name { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.shop-tile__meta { display: block; font-size: var(--step--2); color: var(--text-muted); }
.initials {
  display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 12px;
  font: 800 1.125rem/1 var(--font-display); letter-spacing: -.02em;
  background: var(--tile-bg, var(--tile-1-bg)); color: var(--tile-fg, var(--tile-1-fg));
}
.initials--lg { width: 72px; border-radius: 18px; font-size: 1.75rem; }
.t1 { --tile-bg: var(--tile-1-bg); --tile-fg: var(--tile-1-fg); }
.t2 { --tile-bg: var(--tile-2-bg); --tile-fg: var(--tile-2-fg); }
.t3 { --tile-bg: var(--tile-3-bg); --tile-fg: var(--tile-3-fg); }
.t4 { --tile-bg: var(--tile-4-bg); --tile-fg: var(--tile-4-fg); }
.t5 { --tile-bg: var(--tile-5-bg); --tile-fg: var(--tile-5-fg); }
.t6 { --tile-bg: var(--tile-6-bg); --tile-fg: var(--tile-6-fg); }

/* ---------- 7. Gutschein-Karte (Kernkomponente) ---------- */
.coupon-list { list-style: none; display: grid; gap: var(--space-3); }
.coupon {
  --value-w: 92px;
  position: relative; display: grid; grid-template-columns: var(--value-w) 1fr;
  padding-top: 4px; /* Platz für den orange-roten Balken (Erbe 2008) */
  background: var(--grad-bar) top left / 100% 4px no-repeat, var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.coupon:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
/* Ticket-Kerben + Perforation */
.coupon::before, .coupon::after {
  content: none; position: absolute; left: calc(var(--value-w) - 9px); width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
}
.coupon::before { top: -10px; clip-path: inset(50% 0 0 0); }
.coupon::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.coupon__value {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: var(--space-4) var(--space-2); border-right: 2px dashed var(--border);
  border-radius: 0 0 0 var(--radius); background: var(--accent-soft); color: var(--primary);
}
.coupon__amount { font: 800 1.625rem/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.coupon__amount small { font-size: .6em; }
.coupon__unit { margin-top: .3rem; font-size: var(--step--2); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.coupon__body { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-4); min-width: 0; }
.coupon__more { order: 1; grid-column: 1 / -1; display: grid; gap: var(--space-1); padding: var(--space-1) var(--space-4) var(--space-3); border-top: 1px solid var(--border); min-width: 0; }
.coupon__top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.coupon__shop { font-size: var(--step--1); font-weight: 700; color: var(--text-muted); text-decoration: none; }
.coupon__title { font-size: var(--step-1); font-weight: 700; line-height: 1.3; }
.coupon__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem var(--space-4); font-size: var(--step--1); color: var(--text-muted); }
.coupon__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.coupon__meta .icon { width: 1rem; height: 1rem; }
.coupon__meta .is-soon { color: var(--danger); font-weight: 700; }
.coupon__actions {
  grid-column: 1 / -1; border-bottom: 1px solid transparent; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3);
  padding: var(--space-3) var(--space-4) var(--space-4); border-top: 1px solid var(--border);
}
.coupon__cta { display: grid; gap: var(--space-2); margin-left: auto; width: 100%; }
.coupon__cta > .ad-label { justify-self: end; }
.shop-row { display: flex; align-items: center; gap: var(--space-2); }
.shop-row .btn { flex: 1; min-height: var(--tap); border-radius: var(--radius-sm); }

/* "Code anzeigen" mit Peek auf die letzten Zeichen */
.btn-code {
  position: relative; display: flex; align-items: stretch; width: 100%; min-height: 48px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 800; overflow: hidden;
  background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .12);
}
.btn-code:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-code__label { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem 1rem; }
.btn-code__peek {
  display: flex; align-items: center; padding: 0 .9rem 0 1.1rem; font-family: var(--font-mono); letter-spacing: .08em;
  background: var(--surface); color: var(--text); border: 2px dashed var(--accent); border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -14px;
}
.btn-code:hover .btn-code__peek { border-color: var(--accent-hover); }
.btn-deal { width: 100%; min-height: 48px; border-radius: var(--radius-sm); }

/* Bedingungen */
.terms { font-size: var(--step--1); }
.terms > summary {
  display: inline-flex; align-items: center; gap: .3rem; min-height: var(--tap); cursor: pointer; list-style: none;
  color: var(--text-muted); font-weight: 600;
}
.terms > summary::-webkit-details-marker { display: none; }
.terms > summary .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.terms[open] > summary .icon { transform: rotate(180deg); }
.terms > summary:hover { color: var(--primary); }
.terms ul { padding-left: 1.1rem; color: var(--text-muted); display: grid; gap: .2rem; margin-bottom: var(--space-2); }

/* Feedback */
.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--step--1); }
.feedback__q { font-weight: 700; }
.feedback__btns { display: flex; gap: .35rem; margin: 0; }
.feedback__btn {
  display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-muted);
}
.feedback__btn:hover { color: var(--primary); border-color: var(--primary); }
.feedback__btn[aria-pressed="true"] { background: var(--success-soft); color: var(--success); border-color: var(--success); }
.feedback__btn--down[aria-pressed="true"] { background: var(--accent-soft); color: var(--danger); border-color: var(--danger); }
.feedback__thanks { color: var(--success); font-weight: 700; }

/* Abgelaufen */
.coupon.is-expired { background: var(--surface-2); box-shadow: none; }
.coupon.is-expired .coupon__value { background: var(--surface-3); color: var(--text-muted); filter: grayscale(1); }
.coupon.is-expired .coupon__title { color: var(--text-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.coupon.is-expired::before, .coupon.is-expired::after { background: var(--bg); }

/* ---------- 8. Tabs / Panels ---------- */
.tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
.tab-panel + .tab-panel { margin-top: var(--space-6); }
.tab-panel__title { margin-bottom: var(--space-3); font-size: var(--step-2); }
.js .tab-panel + .tab-panel { margin-top: 0; }
.js .tab-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filter-row { margin-bottom: var(--space-4); }
.empty-note { padding: var(--space-5); text-align: center; color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* ---------- 9. Kategorien ---------- */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.cat {
  display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); min-height: 120px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
}
.cat:hover { border-color: var(--primary); color: var(--text); }
.cat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); }
.cat__name { font-weight: 700; line-height: 1.25; }
.cat__count { font-size: var(--step--2); color: var(--text-muted); margin-top: -.5rem; }

/* ---------- 10. Event-Teaser ---------- */
.event {
  position: relative; overflow: hidden; display: grid; gap: var(--space-4);
  padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgb(230 172 22 / .3), transparent 60%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / .025) 0 7px, transparent 7px 14px),
    linear-gradient(135deg, #1f1810, #2f271d 50%, #7f2810);
  color: #f3e9d6;
}
.event__kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--step--1); font-weight: 800; color: #e6ac16; text-transform: uppercase; letter-spacing: .08em; }
.event h2 { color: #ffffff; }
.event p { color: #e3d6bb; max-width: 40rem; }
.event__count { display: flex; gap: var(--space-2); }
.event__count div { display: grid; place-items: center; min-width: 64px; padding: .5rem .75rem; border-radius: 12px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); }
.event__count b { font: 800 1.5rem/1 var(--font-display); color: #ffffff; }
.event__count span { font-size: var(--step--2); color: #e3d6bb; }
.event .btn--accent { background: #e6ac16; color: #2e2117; justify-self: start; }
.event .btn--accent:hover { background: #f0bd3c; color: #2e2117; }
.event__tag { position: absolute; right: -36px; bottom: -56px; width: auto; height: 190px; opacity: .12; transform: rotate(-12deg); pointer-events: none; }

/* ---------- 11. Story "Seit 2008" ---------- */
.story { display: grid; gap: var(--space-5); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.story__year { font: 800 clamp(3.5rem, 2.5rem + 5vw, 6rem)/.9 var(--font-display); color: var(--primary); letter-spacing: -.04em; }
.story__year span { display: block; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-sans); margin-bottom: .5rem; }
.story__text { display: grid; gap: var(--space-3); color: var(--text-muted); }
.story__text h2 { color: var(--primary); }
.timeline { list-style: none; display: grid; gap: var(--space-3); border-left: 2px solid var(--border-strong); padding-left: var(--space-4); }
.timeline li { position: relative; display: grid; gap: .1rem; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--space-4) * -1 - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.timeline li.is-pause::before { border-color: var(--border-input); border-style: dashed; }
.timeline b { font: 800 var(--step-1)/1.2 var(--font-display); color: var(--text); }
.timeline span { font-size: var(--step--1); color: var(--text-muted); }

/* ---------- 12. Info-/Transparenz-Box, Newsletter ---------- */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start;
  padding: var(--space-4); border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border);
  font-size: var(--step--1); color: var(--text-muted);
}
.note > .icon { color: var(--primary); width: 1.5rem; height: 1.5rem; }
.note h2, .note h3 { font-size: var(--step-0); color: var(--text); margin-bottom: .25rem; }
.note p + p { margin-top: .4rem; }

.newsletter { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.newsletter h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }
.newsletter p { color: var(--text-muted); }
.newsletter form { display: grid; gap: var(--space-2); }
.newsletter label { font-weight: 700; font-size: var(--step--1); }
.newsletter input[type="email"] { min-height: 52px; padding: .6rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border-input); background: var(--surface); width: 100%; }
.newsletter .fine { font-size: var(--step--2); color: var(--text-muted); }
.newsletter__row { display: grid; gap: var(--space-2); }

/* ---------- 13. Footer ---------- */
.site-footer {
  margin-top: var(--space-7); font-size: var(--step--1); color: var(--on-band-muted);
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / .028) 0 7px, transparent 7px 14px), var(--band);
  border-top: 3px solid transparent; border-image: var(--grad-bar) 1;
}
.site-footer a { color: var(--on-band); }
.site-footer a:hover { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); padding-block: var(--space-7) var(--space-6); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand { display: grid; gap: var(--space-3); max-width: 22rem; }
.footer-brand .brand { justify-self: start; }
.footer-brand .since { font: 800 var(--step-2)/1.1 var(--font-display); color: var(--on-band); }
.footer-brand .since em { font-style: normal; color: var(--accent); }
.footer-col h2 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: var(--space-2); }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-band-muted); text-decoration: none; }
.footer-col a:hover { color: var(--on-band); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: space-between; padding-block: var(--space-4) var(--space-6); border-top: 1px solid rgb(243 233 214 / .14); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--on-band); font-weight: 600; }

/* ---------- 14. Shopseite ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: var(--step--1); color: var(--text-muted); padding-block: var(--space-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .25rem; }
.breadcrumb li + li::before { content: "›"; color: var(--border-strong); font-weight: 700; padding-inline: .15rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text-muted); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

.shop-hero { display: grid; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
.shop-hero__head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3) var(--space-4); align-items: start; }
.shop-hero__head .initials--lg { width: 56px; border-radius: 14px; font-size: 1.375rem; margin-top: .25rem; }
.shop-hero h1 { font-size: var(--step-3); }
.shop-hero__sub { display: flex; flex-wrap: wrap; gap: .35rem var(--space-3); align-items: center; font-size: var(--step--1); color: var(--text-muted); margin-top: .4rem; }
.shop-hero__cta { display: grid; gap: .2rem; justify-items: start; }
.stars { color: var(--accent); letter-spacing: .05em; }

.shop-layout { display: grid; gap: var(--space-6); padding-top: var(--space-5); }
.shop-main { display: grid; gap: var(--space-6); min-width: 0; }
.shop-aside { display: grid; gap: var(--space-4); align-content: start; }
.card { padding: var(--space-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.card h2 { font-size: var(--step-1); margin-bottom: var(--space-3); }
.facts { display: grid; gap: var(--space-3); margin: 0; }
.facts div { display: grid; grid-template-columns: auto 1fr; gap: .1rem var(--space-3); align-items: start; }
.facts dt { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--primary); }
.facts dt .label { font-weight: 700; }
.facts .facts__k { font-size: var(--step--2); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.facts dd { margin: 0; font-size: var(--step--1); }
.facts .facts__updated { color: var(--success); font-weight: 700; }

.similar { list-style: none; display: grid; gap: var(--space-2); }
.similar a { display: flex; align-items: center; gap: var(--space-3); min-height: 56px; padding: .4rem; border-radius: 12px; color: var(--text); text-decoration: none; }
.similar a:hover { background: var(--surface-2); }
.similar .initials { width: 40px; font-size: 1rem; border-radius: 10px; }
.similar small { display: block; color: var(--text-muted); }

.faq { display: grid; gap: var(--space-2); }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 56px; padding: var(--space-3) var(--space-4); cursor: pointer; list-style: none; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--primary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--space-4) var(--space-4); color: var(--text-muted); }

.prose { display: grid; gap: var(--space-3); max-width: 68ch; color: var(--text-muted); }
.prose h2 { color: var(--text); font-size: var(--step-2); }
.prose h3 { color: var(--text); margin-top: var(--space-2); }

.count-badge { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; margin-left: .4rem; border-radius: 99px; background: var(--surface-2); color: var(--text-muted); font-size: var(--step--1); vertical-align: middle; }

/* ---------- 15. Code-Dialog ---------- */
.code-dialog {
  width: min(100% - 2 * var(--gutter), 460px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.code-dialog::backdrop { background: rgb(27 20 14 / .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.code-dialog__inner { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5) var(--space-5); text-align: center; }
.code-dialog__close { position: absolute; top: 10px; right: 10px; }
.code-dialog__shop { font-size: var(--step--1); color: var(--text-muted); font-weight: 700; }
.code-dialog h2 { font-size: var(--step-2); }
.code-box { display: flex; flex-direction: column; align-items: stretch; border: 2px dashed var(--accent); border-radius: var(--radius); background: var(--accent-soft); overflow: hidden; }
.code-box code { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem .75rem; font-size: 1.5rem; font-weight: 800; letter-spacing: .1em; color: var(--text); user-select: all; white-space: nowrap; overflow-x: auto; }
.code-box .btn { border-radius: 0; min-height: 52px; }
.code-dialog__status { min-height: 1.5em; font-size: var(--step--1); font-weight: 700; color: var(--success); }
.code-dialog__hint { font-size: var(--step--1); color: var(--text-muted); }
.code-dialog__go { display: grid; gap: .25rem; justify-items: center; }

/* ---------- 16. Breakpoints ---------- */
@media (min-width: 400px) {
  .brand__tld { display: inline; }
  .brand__word { font-size: 1.1875rem; }
}

@media (min-width: 560px) {
  .site-header .badge-founded { display: inline-flex; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-search { grid-template-columns: 1fr auto; align-items: center; border-radius: var(--radius-pill); padding: .4rem .4rem .4rem .25rem; }
  .hero-search .btn { padding-inline: 1.75rem; }
  .trust { grid-template-columns: repeat(2, auto); justify-content: start; }
  .newsletter__row { grid-template-columns: 1fr auto; }
  .coupon__cta { width: auto; min-width: 240px; }
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .coupon { --value-w: 120px; grid-template-columns: var(--value-w) 1fr auto; }
  .coupon::before, .coupon::after { content: ""; }
  .coupon__amount { font-size: 2.125rem; }
  .coupon__actions { grid-column: 3; border-top: 0; flex-direction: column; justify-content: center; align-items: stretch; padding: var(--space-4) var(--space-4) var(--space-4) 0; }
  .coupon__cta { min-width: 220px; margin-left: 0; }
  .coupon__value, .coupon__actions { grid-row: 1 / span 2; }
  .coupon__more { order: 0; grid-column: 2; grid-row: 2; border-top: 0; padding: 0 var(--space-4) var(--space-3); }
  .coupon:has(.coupon__more) .coupon__body { padding-bottom: var(--space-1); }
  .shop-hero { grid-template-columns: 1fr auto; align-items: end; }
  .shop-hero__head { align-items: center; }
  .shop-hero__head .initials--lg { width: 80px; border-radius: 20px; font-size: 1.875rem; margin-top: 0; }
  .shop-hero__cta { justify-items: end; }
  .event { grid-template-columns: 1fr auto; align-items: center; padding: var(--space-7) var(--space-6); }
  .event__count { grid-column: 2; grid-row: 1 / span 3; }
  .story { grid-template-columns: auto 1fr; gap: var(--space-6); padding: var(--space-7) var(--space-6); }
  .story .timeline { grid-column: 2; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-brand { grid-column: auto; }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; padding: var(--space-7) var(--space-6); }
}

@media (min-width: 960px) {
  .header-bar { flex-wrap: nowrap; min-height: 72px; gap: var(--space-4); }
  .brand { padding-right: .85rem; }
  .brand__icon { height: 66px; margin-block: -8px -10px; }
  .brand__word { font-size: 1.4rem; }
  .header-bar .badge-founded { margin-right: 0; }
  .header-search, .site-header--home .header-search { display: block; order: 0; flex: 1; max-width: 440px; margin-left: auto; padding: 0; }
  .header-actions > .theme-toggle { display: inline-flex; }
  .nav-drawer { display: none; }
  .main-nav { display: block; border-top: 1px solid rgb(243 233 214 / .12); }
  .main-nav ul { list-style: none; display: flex; align-items: center; gap: var(--space-1); }
  .main-nav a { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--tap); padding: 0 .75rem; border-radius: var(--radius-sm); color: var(--on-band); font-weight: 600; font-size: var(--step--1); text-decoration: none; }
  .main-nav a:hover { background: rgb(255 255 255 / .08); color: #ffffff; }
  .main-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
  .main-nav .main-nav__aside { margin-left: auto; }
  .main-nav .main-nav__aside a { color: var(--on-band-muted); }

  .hero__inner { grid-template-columns: 1.25fr .75fr; padding-block: var(--space-8); gap: var(--space-7); }
  .hero__art { display: block; }
  .trust { grid-template-columns: repeat(2, minmax(0, max-content)); gap: var(--space-2) var(--space-6); }
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-7); }
  .shop-aside { position: sticky; top: 140px; }
  .tabs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
  .tabs-bar .chips { margin: 0; padding: 0; }
}

@media (min-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Hero-Illustration: das Maskottchen von 2008 */
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, var(--hero-glow), transparent); }
.hero-art__img { position: relative; display: block; width: auto; height: 100%; margin-inline: auto; filter: drop-shadow(0 24px 30px rgb(46 33 23 / .25)); }
.hero-art .float { animation: none; }
.hero-art__note {
  position: absolute; display: flex; gap: .5rem; align-items: center;
  padding: .6rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); font-size: var(--step--1); font-weight: 700; color: var(--text);
}
.hero-art__note--a { left: 0; top: 8%; }
.hero-art__note--b { right: 0; bottom: 12%; }
.hero-art__note .icon { color: var(--success); }

/* ---------- 17. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .shop-tile, .cat, .coupon, .btn-code, .feedback__btn, .drawer__list a { transition: background-color .15s, border-color .15s, color .15s, box-shadow .2s, transform .15s; }
  .shop-tile:hover, .cat:hover { transform: translateY(-2px); }
  .btn-code:active, .btn:active { transform: translateY(1px); }
  .hero-art .float { animation: float 6s ease-in-out infinite; transform-origin: center; }
  .code-dialog[open] { animation: pop .18s ease-out; }
  @keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 18. Druck ---------- */
@media print {
  .site-header, .site-footer, .newsletter, .event, .nav-drawer, .code-dialog { display: none !important; }
  body::before { display: none; }
}

/* --- Ergänzungen für die generierte Seite (M0) --- */
.code-fallback { display: none; margin: .5rem 0 0; font-size: .9rem; }
html:not(.js) .code-fallback { display: block; }
.code-fallback code { font-weight: 700; letter-spacing: .05em; }
.prose { max-width: 70ch; }
.prose h1 { margin-top: var(--space-5, 2rem); }
.az-letters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; padding: 0; list-style: none; }
.az-letters a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
.az-group { margin-bottom: 2rem; }
.empty-note { padding: 1rem 0; }
.facts__src { font-size: .8em; color: var(--text-muted); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Unvergütete Spar-Aktionen verwenden die Kartenoptik ohne Angebotsaktionen. */
.shop-benefits { list-style: none; display: grid; gap: var(--space-3); }
.shop-benefit > .coupon__body { grid-column: 2 / -1; }

/* „Nur Code anzeigen“ – dezenter Textlink unter dem Haupt-Button (nur mit JS) */
.link-reveal { display: none; margin-top: .35rem; padding: .25rem 0; border: 0; background: none; color: var(--muted, inherit); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; min-height: 32px; }
html.js .link-reveal { display: inline-block; }
.link-reveal:hover { color: var(--primary, inherit); }

/* Shop-Logo statt Buchstaben (offizielles Netzwerk-Logo, lokal gespeichert) */
.initials--logo { background: #fff; padding: 4px; overflow: hidden; }
.initials--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Kompakte Gutschein-Daten im Code-Fenster */
.code-dialog__meta { display: grid; grid-template-columns: max-content 1fr; gap: .3rem .9rem; margin: .25rem 0 .75rem; font-size: .9rem; }
.code-dialog__meta dt { font-weight: 600; color: var(--muted, inherit); }
.code-dialog__meta dd { margin: 0; }
