/* ════════════════════════════════════════════════════════════
   onlytap – Header + Ankündigungsleiste
   ════════════════════════════════════════════════════════════ */
:root {
  --blue: #235DA0;
  --blue-dark: #1a4a82;
  --blue-light: #eaf1f9;
  --ink: #130F1D;
  --ink-soft: #4b4856;
  --ink-muted: #86838f;
  --bg: #ffffff;
  --tile: #f6f6f8;
  --tile-border: #e9e9ee;
  --header-h: 60px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(19, 15, 29, 0.07);
  --shadow-lg: 0 24px 60px rgba(19, 15, 29, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ── Ankündigungsleiste ───────────────────────────────────── */
.announce {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.announce[hidden] { display: none; }
.announce-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.announce-text { letter-spacing: 0.2px; }
/* Trust-Items mit Icons */
.announce-inner { gap: 28px; }
.announce-item { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.2px; white-space: nowrap; }
.announce-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.announce-item.i-leaf svg { color: #4ade80; }   /* Blatt grün */
.announce-item.i-lockTap svg { color: #4a90e2; }   /* DSGVO onlytap-Blau (heller für dunkle Leiste) */
.announce-link {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.announce-link:hover { opacity: .82; }
.announce-close {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: inherit;
  opacity: .7;
  transition: opacity .2s, background .2s;
}
.announce-close:hover { opacity: 1; background: rgba(255,255,255,0.14); }

/* marquee variant */
.announce.is-marquee .announce-inner { justify-content: flex-start; white-space: nowrap; }
.announce.is-marquee .announce-track {
  display: inline-flex; gap: 48px;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.announce.is-marquee:hover .announce-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;   /* immer voll weiß (Desktop + Mobile), keine Transparenz/Blur beim Scrollen */
  border-bottom: 1px solid var(--tile-border);
}
/* Desktop: Header minimal höher (+3px oben/unten), Inhalt unverändert */
@media (min-width: 760px) { :root { --header-h: 66px; } }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 34px; height: 34px; }
.logo-img { height: 30px; width: auto; }
.logo-word {
  font-size: 23px; font-weight: 800; letter-spacing: -0.5px; line-height: 1;
}
.logo-word .lw-only { color: var(--ink); }
.logo-word .lw-tap { color: var(--blue); }

/* nav */
.main-nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: 12px;
}

/* ── Menü-Ausrichtung (Desktop) ───────────────────────────── */
/* links: Standard-Flex (Logo · Nav … Actions) */
.header-inner[data-align="left"] .main-nav { margin-left: 12px; }
.header-inner[data-align="left"] .header-actions { margin-left: auto; }

/* rechts: Nav rückt nach rechts neben die Actions */
.header-inner[data-align="right"] .main-nav { margin-left: auto; margin-right: 4px; }
.header-inner[data-align="right"] .header-actions { margin-left: 0; }

/* zentriert: 3-Spalten-Grid → Nav exakt mittig, Logo links, Actions rechts */
@media (min-width: 981px) {
  .header-inner[data-align="center"] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .header-inner[data-align="center"] .logo { justify-self: start; }
  .header-inner[data-align="center"] .main-nav { justify-self: center; margin: 0; }
  .header-inner[data-align="center"] .header-actions { justify-self: end; margin: 0; }
}
.main-nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--blue); text-shadow: 0 0 .6px currentColor, 0 0 .6px currentColor; background: none; }

/* ── Glass-Badges (PRO) ───────────────────────────────────── */
.glass { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 3px 10px rgba(0,0,0,.08); }
.g-pro { background: #235DA0; color: #fff; border: none; border-radius: 7px; padding: 0 7px;
  letter-spacing: .6px; text-indent: .6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ── Mega-Menü (full-width, schwebt runter) ───────────────── */
.nav-mega-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .18s, background .18s; cursor: pointer;
}
.nav-mega-trigger:hover,
.nav-mega-trigger.active,
.nav-mega-trigger.is-active { color: var(--blue); text-shadow: 0 0 .6px currentColor, 0 0 .6px currentColor; background: none; }
.nav-caret { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-mega-trigger.active .nav-caret { transform: rotate(180deg); }
/* PRO-Lockup als Nav-Item */
.nav-mega-trigger.nav-pro { gap: 8px; padding: 7px 12px; }
.nav-pro-logo { height: 19px; width: auto; display: block; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--tile-border); border-bottom: 1px solid var(--tile-border);
  box-shadow: 0 30px 60px rgba(19, 15, 29, .10);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .26s var(--ease), transform .34s var(--ease), visibility .26s; z-index: 55;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: 1280px; margin: 0 auto; padding: 22px 24px 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mega-card {
  display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--tile-border); border-radius: 16px;
  text-decoration: none; opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .46s var(--ease), background .15s, border-color .15s;
}
.mega-card:hover { background: var(--tile); border-color: #dcdce2; }
.mega.open .mega-card { opacity: 1; transform: none; }
.mega.open .mega-card:nth-child(2) { transition-delay: .06s; }
.mega.open .mega-card:nth-child(3) { transition-delay: .12s; }
.mega-vis { width: 100%; height: 58px; border-radius: 10px; margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.mega-txt { display: flex; flex-direction: column; }
.mega-txt b { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.mega-sub { font-size: 12.5px; color: var(--ink-muted); font-weight: 600; margin: 4px 0 8px; line-height: 1.4; }
.mega-price { font-size: 13px; font-weight: 800; color: var(--blue); }

.mega-promo {
  display: flex; align-items: center; gap: 20px; margin-top: 14px; padding: 18px 22px;
  background: var(--blue-light); border-radius: 16px; text-decoration: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .46s var(--ease);
}
.mega.open .mega-promo { opacity: 1; transform: none; transition-delay: .18s; }
.mega-promo-txt { display: flex; flex-direction: column; min-width: 0; }
.mega-promo-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.mega-promo-txt b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; margin: 3px 0 2px; }
.mega-promo-sub { font-size: 13px; color: var(--ink-soft); font-weight: 600; line-height: 1.45; }
.mega-promo-cta {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; background: var(--blue); color: #fff;
  font-size: 14.5px; font-weight: 800; transition: background .16s;
}
.mega-promo:hover .mega-promo-cta { background: var(--blue-dark); }
.mega-promo-cta svg { width: 18px; height: 18px; }

/* ── PRO-Mega: Vorteile ───────────────────────────────────── */
.mpro-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.mpro-lock { display: inline-flex; align-items: center; gap: 10px; }
.mpro-lock img { height: 26px; width: auto; display: block; }
.mpro-lock .glass { height: 24px; font-size: 13px; }
.mpro-head p { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 0; }
.mpro-head .badge12 { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 50px; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 800; }
.mpro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mpro-card {
  display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--tile-border); border-radius: 15px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .46s var(--ease);
}
.mega.open .mpro-card { opacity: 1; transform: none; }
.mega.open .mpro-card:nth-child(2) { transition-delay: .06s; }
.mega.open .mpro-card:nth-child(3) { transition-delay: .12s; }
.mega.open .mpro-card:nth-child(4) { transition-delay: .18s; }
.mpro-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mpro-ic svg { width: 21px; height: 21px; }
.mpro-card b { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.mpro-card span { font-size: 12.5px; color: var(--ink-muted); font-weight: 600; line-height: 1.4; margin-top: 4px; }

@media (max-width: 860px) { .mega { display: none; } }
@media (max-width: 1040px) { .mpro-grid { grid-template-columns: repeat(2, 1fr); } }

/* actions */
.header-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
}
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--ink);
  transition: background .18s, color .18s, transform .12s;
}
.icon-btn:hover { background: var(--tile); }
.icon-btn:active { transform: scale(0.93); }
.icon-btn svg { width: 21px; height: 21px; }

/* support button */
.support-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px;
  border-radius: 12px;
  font-size: 14.5px; font-weight: 700;
  color: var(--ink);
  border: 1.5px solid var(--tile-border);
  transition: border-color .18s, color .18s, background .18s;
}
.support-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.support-btn svg { width: 18px; height: 18px; }

/* cart */
.cart-btn { color: var(--ink); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  box-sizing: border-box;
  width: 19px; height: 19px; padding: 0;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  font-size: 11px; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-btn.bump svg { animation: cartBump .5s var(--ease); }
.cart-btn.bump .cart-count { animation: countPop .5s var(--ease); }
@keyframes cartBump {
  0% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-4px) rotate(-12deg); }
  55% { transform: translateY(0) rotate(9deg); }
  80% { transform: rotate(-3deg); }
  100% { transform: rotate(0); }
}
@keyframes countPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transform-origin: center;
  transition: transform .38s cubic-bezier(.68,-.4,.27,1.4), opacity .22s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: #fff;
  padding: 22px 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateY(-14px) scale(.985);
  transform-origin: top center;
  opacity: 0; pointer-events: none;
  transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
  border-bottom: 1px solid var(--tile-border);
  box-shadow: var(--shadow);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
/* Menü-Inhalt gestaffelt einblenden */
.mobile-menu > * { opacity: 0; transform: translateY(8px); transition: opacity .34s ease, transform .34s cubic-bezier(.16,1,.3,1); }
.mobile-menu.open > * { opacity: 1; transform: none; }
.mobile-menu.open > *:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open > *:nth-child(2) { transition-delay: .09s; }
.mobile-menu.open > *:nth-child(3) { transition-delay: .13s; }
.mobile-menu.open > *:nth-child(4) { transition-delay: .17s; }
.mobile-menu.open > *:nth-child(5) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu > * { transition: opacity .2s ease; transform: none; }
}
/* Sektions-Titel */
.mobile-menu .m-sec-title { display: block; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-muted); margin: 2px 0 10px; }
/* Produktkarten */
.mobile-menu .m-prod { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.mobile-menu .m-prod-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 12px 16px; border-radius: 15px; text-decoration: none; background-size: cover; background-position: center; }
.mobile-menu .m-prod-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,14,.6) 0%, rgba(8,7,14,.34) 55%, rgba(8,7,14,.14) 100%); }
.mobile-menu .m-prod-card > * { position: relative; z-index: 1; }
.mobile-menu .m-prod-card:active::before { background: linear-gradient(90deg, rgba(8,7,14,.85) 0%, rgba(8,7,14,.6) 55%, rgba(8,7,14,.4) 100%); }
.mobile-menu .m-prod-txt { display: flex; flex-direction: column; }
.mobile-menu .m-prod-txt b { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.mobile-menu .m-prod-card .m-chev, .mobile-menu .m-prod-card svg { color: rgba(255,255,255,.85); margin-left: auto; }
.mobile-menu .m-free-link { display: block; margin: 2px 2px 22px; font-size: 14px; font-weight: 600; color: var(--ink-muted); text-decoration: none; line-height: 1.4; }
.mobile-menu .m-free-link b { font-weight: 800; color: var(--blue); }
.mobile-menu .m-chev { width: 20px; height: 20px; color: var(--ink-muted); margin-left: auto; flex: none; }
/* PRO-Block */
.mobile-menu .m-pro-block { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 15px; background: var(--blue-light); text-decoration: none; margin-bottom: 9px; }
.mobile-menu .m-pro-block:active { filter: brightness(.97); }
.mobile-menu .m-pro-lock { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.mobile-menu .m-pro-lock img { height: 20px; width: auto; display: block; }
.mobile-menu .m-pro-txt { font-size: 13.5px; font-weight: 700; color: var(--blue-dark); line-height: 1.3; }
/* Creator-Gratis-Block */
.mobile-menu .m-free-block { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 15px; background: var(--tile); text-decoration: none; margin-bottom: 16px; }
.mobile-menu .m-free-block:active { background: #eeeef1; }
.mobile-menu .m-free-txt { display: flex; flex-direction: column; }
.mobile-menu .m-free-txt b { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.mobile-menu .m-free-txt span { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); margin-top: 1px; }
.m-free-tag { font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: 4px 10px; border-radius: 50px; margin-left: auto; flex: none; }
/* Restliche Links */
.mobile-menu .m-links { border-top: 1px solid var(--tile-border); }
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  color: var(--ink);
  padding: 15px 16px 15px 2px;
  border-bottom: 1px solid var(--tile-border);
}
.mobile-menu a.m-link .m-chev { color: var(--ink-muted); }
.m-support {
  display: block; width: 100%; text-align: center;
  margin-top: 22px;
  background: none; border: none; color: var(--ink);
  font-family: inherit; font-weight: 700; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}

/* ── Overlay ──────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(19, 15, 29, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .26s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* ── Modal (Login) ────────────────────────────────────────── */
.modal {
  position: fixed; z-index: 70;
  left: 50%; top: 50%;
  width: 400px; max-width: calc(100vw - 36px);
  transform: translate(-50%, -46%) scale(.97);
  background: #fff; border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tile); color: var(--ink-soft);
  font-size: 19px; line-height: 1;
}
.modal-close:hover { background: var(--tile-border); }
.modal-close svg { width: 16px; height: 16px; }
.modal-logo { width: 44px; height: 44px; margin: 0 auto 14px; }
.modal h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.5px; text-align: center; }
.modal .modal-sub { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; height: 48px; padding: 0 15px;
  border: 1.5px solid var(--tile-border); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .18s;
}
.field input:focus { outline: none; border-color: var(--blue); }
.btn-block {
  width: 100%; height: 50px; border-radius: 12px;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 15.5px;
  transition: background .18s, transform .12s;
}
.btn-block:hover { background: var(--blue-dark); }
.btn-block:active { transform: scale(0.98); }
.modal-alt { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 18px; }
.modal-alt a { color: var(--blue); font-weight: 700; }
.modal-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-muted); font-size: 12.5px; font-weight: 600;
  margin: 18px 0;
}
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--tile-border); }

/* ── Warenkorb-Drawer ─────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: 420px; max-width: 94vw;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head {
  padding: 20px 24px; border-bottom: 1px solid var(--tile-border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.4px; display: flex; align-items: center; gap: 8px; }
.cart-head .modal-close { position: static; top: auto; right: auto; width: auto; height: auto; border-radius: 0; background: none; color: var(--ink); }
.cart-head .modal-close:hover { background: none; }
.cart-head .modal-close svg { width: 22px; height: 22px; }
.cart-head .cart-head-count {
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 800;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 50px;
  display: inline-grid; place-items: center;
}
.cart-body { flex: 1; overflow-y: auto; padding: 22px 24px; }

/* ── Lieferwagen / Vorteils-Fortschritt ───────────────────── */
/* bündig mit dem Checkout-Button: reward-bar ohne Seitenrand,
   cart-body und cart-foot haben beide 24px Padding */
.reward-bar { padding: 14px 16px; margin-bottom: 14px; background: var(--tile); border-radius: 14px; }
.rb-msg { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-bottom: 18px; }
.rb-msg b { color: var(--ink); font-weight: 800; }

/* Straße = Asphaltbalken, füllt sich blau (Fortschritt) */
.rb-road { position: relative; height: 14px; border-radius: 50px; background: #4a4954; }
.rb-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--blue); border-radius: 50px; transition: width 2.6s cubic-bezier(.33, 0, .25, 1); z-index: 1; }
/* weiße Fahrbahnmarkierung */
.rb-lane {
  position: absolute; left: 7px; right: 7px; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #fff 0 11px, transparent 11px 24px);
  opacity: .85; z-index: 2; pointer-events: none;
}
.reward-bar.driving .rb-lane { animation: laneMove .6s linear infinite; }
.reward-bar.reversing .rb-lane { animation: laneMove 1s linear infinite reverse; }
@keyframes laneMove { to { background-position: -24px 0; } }

/* Lieferwagen – fährt auf der Straße */
.rb-van {
  position: absolute; bottom: -3px; left: 0;
  transform: translateX(-50%);
  transition: left 2.6s cubic-bezier(.33, 0, .25, 1);
  z-index: 4;
}
.rb-van .van-svg { width: 42px; height: auto; overflow: visible; filter: drop-shadow(0 2px 3px rgba(19,15,29,.25)); }
.rb-van .wheel { transform-box: fill-box; transform-origin: center; }
.reward-bar.driving .rb-van .wheel { animation: wheelSpin 1.1s linear infinite; }
.reward-bar.reversing .rb-van .wheel { animation: wheelSpin 1.6s linear infinite reverse; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }
/* Rücklichter + Rückfahr-Wellen: nur beim Rückwärtsfahren an */
.rb-van .rb-tail rect { fill: #6a2a2a; transition: fill .2s; }
.reward-bar.reversing .rb-van .rb-tail rect { fill: #ff3b30; filter: drop-shadow(0 0 3px rgba(255,59,48,.9)); }
.rb-van .rb-waves path { opacity: 0; transform-box: fill-box; transform-origin: right center; }
.reward-bar.reversing .rb-van .rb-waves path { animation: rbWave 1.1s ease-out infinite; }
.reward-bar.reversing .rb-van .rb-waves path:nth-child(2) { animation-delay: .18s; }
.reward-bar.reversing .rb-van .rb-waves path:nth-child(3) { animation-delay: .36s; }
@keyframes rbWave {
  0% { opacity: 0; transform: translateX(3px) scale(.7); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: translateX(-4px) scale(1.05); }
}

/* Bubbles UNTER dem Balken – kleiner Pfeil zeigt von oben auf die Aktion */
.rb-stops { position: relative; height: 30px; margin-top: 9px; }
.rb-stop {
  position: absolute; top: 0; left: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.rb-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--tile-border);
  transition: border-top-color .3s;
}
.rb-stop.reached .rb-caret { border-top-color: var(--blue); }
.rb-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--tile-border);
  display: grid; place-items: center; color: var(--ink-muted);
  transition: background .3s, border-color .3s, color .3s;
}
.rb-dot svg { width: 12px; height: 12px; }
.rb-stop.reached .rb-dot { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .reward-bar.driving .rb-van .wheel, .reward-bar.reversing .rb-van .wheel,
  .reward-bar.driving .rb-lane, .reward-bar.reversing .rb-lane { animation: none; }
  .rb-van, .rb-fill { transition: none; }
}

/* leer-zustand */
.cart-empty { text-align: center; padding: 18px 0 26px; }
.cart-empty .ce-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--tile);
  display: grid; place-items: center; color: var(--ink-muted);
}
.cart-empty .ce-icon svg { width: 28px; height: 28px; }
.cart-empty h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.cart-empty p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* warenkorb-positionen */
.cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.cart-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px; border: 1px solid var(--tile-border); border-radius: 14px; background: #fff;
}
.ci-thumb {
  width: 72px; height: 48px; border-radius: 5px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
}
.ci-thumb-img { background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.ci-card { width: 70%; height: 64%; border-radius: 4px; box-shadow: 0 3px 8px rgba(19,15,29,.25); }
/* Live-Mini-Karte aus dem Konfigurator (Vorderseite) */
.ci-thumb-design {
  width: 72px; height: 48px; border-radius: 5px;
  background: var(--tile); box-shadow: 0 2px 7px rgba(19,15,29,.16);
}
.ci-design {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  border-radius: 5px; container-type: inline-size; background-size: cover !important; background-position: center !important;
}
.ci-main { flex: 1; min-width: 0; }
.ci-main h4 { font-size: 14.5px; font-weight: 800; letter-spacing: -.2px; margin: 0 0 5px; }
.ci-specs { display: flex; flex-direction: column; gap: 1px; margin-bottom: 9px; }
.ci-specs span { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
.ci-specs b { color: var(--ink); font-weight: 700; }
.ci-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-price { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.ci-price small { font-size: 10.5px; font-weight: 600; color: var(--ink-muted); margin-top: 1px; }
.ci-price-disc { color: var(--brand, #235DA0); }
.ci-price .ci-old { font-size: 11px; font-weight: 700; color: var(--ink-muted); text-decoration: line-through; margin-right: 4px; }
.ci-price-disc small { color: var(--brand, #235DA0); font-weight: 700; }
.cart-saved { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand, #235DA0); }
.cart-saved .cs-val { font-weight: 800; }
.cart-saved .cart-tier { font-style: normal; font-weight: 800; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(35,93,160,.12); margin-left: 4px; }
.ci-qty { display: flex; align-items: center; gap: 8px; }
.ci-qty button {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid var(--tile-border); background: #fff;
  font-size: 15px; font-weight: 700; color: var(--ink); display: grid; place-items: center;
}
.ci-qty button:hover { border-color: var(--blue); color: var(--blue); }
.ci-qty .qv { min-width: 16px; text-align: center; font-weight: 700; font-size: 14px; }

/* vorschläge */
.cart-suggest { margin-top: 22px; }
.cart-suggest .cs-title {
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-muted); margin-bottom: 14px;
}
/* Suggest: horizontale Reihen (quer) */
.suggest-grid { display: flex; flex-direction: column; gap: 10px; }
.suggest-tile {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--tile-border); border-radius: 14px; padding: 10px 12px;
  text-decoration: none; transition: border-color .18s, box-shadow .18s;
}
.suggest-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.st-visual {
  width: 72px; height: 48px; border-radius: 5px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
}
.st-visual-img { background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.st-card {
  width: 70%; aspect-ratio: 1.586; border-radius: 5px;
  box-shadow: 0 4px 10px rgba(19,15,29,.22); display: flex; align-items: flex-end; padding: 4px;
}
.st-card .st-chip { width: 12px; height: 9px; border-radius: 2px; }
.st-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-name { font-size: 14.5px; font-weight: 800; letter-spacing: -.2px; color: var(--ink); }
.st-price { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.st-add {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: background .18s, transform .1s;
}
.st-add:hover { background: var(--blue); }
.st-add:active { transform: scale(.9); }
.st-add svg { width: 16px; height: 16px; display: block; }
.st-pro-badge { background: #0a0812; display: flex; align-items: center; justify-content: center; }
.st-pro-pill { background: #fff; color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: .6px; padding: 3px 9px; border-radius: 6px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
/* PRO-Werbebanner im Warenkorb */
.cart-promo { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; height: 132px; padding: 0 20px; border-radius: 8px; background: #0a0812; text-decoration: none; }
.cart-promo-glow { position: absolute; top: 50%; left: -12%; width: 62%; height: 220%; transform: translateY(-50%); background: radial-gradient(ellipse at left center, rgba(255,255,255,.3), transparent 68%); filter: blur(6px); pointer-events: none; }
.cart-promo-lock { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; opacity: 0; animation: promoFade .8s ease .15s forwards; }
.cart-promo-lock img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.cart-promo-chev { position: absolute; right: 20px; top: 50%; z-index: 1; color: rgba(255,255,255,.85); opacity: 0; animation: promoChev .55s ease .6s forwards; }
.cart-promo-chev svg { width: 22px; height: 22px; display: block; }
@keyframes promoFade { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes promoChev { from { opacity: 0; transform: translateY(-50%) translateX(8px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
@media (prefers-reduced-motion: reduce) { .cart-promo-lock { animation: none; opacity: 1; transform: none; } .cart-promo-chev { animation: none; opacity: 1; transform: translateY(-50%); } }

/* ── FAQ-Mega-Menü ─────────────────────────────────────────── */
.mega-faq .mfaq-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; }
.mfaq-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.mfaq-list { display: flex; flex-direction: column; gap: 2px; margin-left: -14px; }
.mfaq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); transition: background .15s; }
.mfaq-q:hover { background: var(--tile); }
.mfaq-q svg { width: 16px; height: 16px; color: var(--ink-muted); flex: none; }
.mfaq-ask { background: var(--tile); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.mfaq-ask b { font-size: 17px; letter-spacing: -.3px; }
.mfaq-ask p { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 16px; line-height: 1.5; }
.mfaq-form { display: flex; gap: 8px; }
.mfaq-form input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--tile-border); border-radius: 12px; padding: 0 14px; font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink); }
.mfaq-form input:focus { outline: none; border-color: var(--blue); }
.mfaq-form button { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; transition: background .16s; }
.mfaq-form button:hover { background: #1a4a82; }
.mfaq-form button svg { width: 19px; height: 19px; }
.mfaq-all { margin-top: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.mfaq-all svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .mega-faq .mfaq-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ── Produkte-Mega: Bestseller-Kacheln (kleiner) + Alle + Creator ── */
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mp-card { display: flex; flex-direction: column; border: 1px solid var(--tile-border); border-radius: 16px; padding: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s; }
.mp-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.mp-vis { border-radius: 12px; background: radial-gradient(120% 120% at 50% 0%, #ffffff, #eef0f4);
  display: grid; place-items: center; margin-bottom: 12px; overflow: hidden; padding: 48px 26px; }
.mp-mock { display: block; width: 76%; aspect-ratio: 85/54; border: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 26px rgba(19,15,29,.20); }
.mp-mock img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mp-name { font-size: 14px; font-weight: 800; letter-spacing: -.2px; color: var(--ink); }
.mp-price { font-size: 13px; font-weight: 700; color: var(--ink-muted); margin-top: 4px; }
/* Alle-Produkte-Kachel: Gradient-CTA mit Kreis-Pfeil */
.mp-all { background: linear-gradient(140deg, #235DA0 0%, #2f6cb4 60%, #3a7ac9 100%); border-color: transparent;
  justify-content: space-between; padding: 20px; overflow: hidden; position: relative; }
.mp-all::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255,255,255,.08); }
.mp-all:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(35,93,160,.30); border-color: transparent; }
.mp-all-top { position: relative; z-index: 1; }
.mp-all-txt { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: #fff; line-height: 1.15; }
.mp-all-sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 7px; }
.mp-all-arrow { position: relative; z-index: 1; align-self: flex-end; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .2s; }
.mp-all-arrow svg { width: 21px; height: 21px; }
.mp-all:hover .mp-all-arrow { transform: translateX(5px); }
/* Creator-Highlight-Band */
.mp-creator { position: relative; overflow: hidden; margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 16px; padding: 18px 22px; color: #fff;
  background: linear-gradient(160deg, #0c0a14 0%, #100e1c 55%, #0a0812 100%); }
.mp-creator::before { content: ''; position: absolute; z-index: 0; width: 460px; height: 460px; border-radius: 50%;
  top: -180px; left: -60px; pointer-events: none;
  background: radial-gradient(circle, rgba(35,93,160,.55) 0%, rgba(63,131,214,.28) 34%, rgba(35,93,160,0) 66%);
  filter: blur(34px); }
.mp-creator:hover::before { opacity: .85; }
.mp-creator-l { position: relative; z-index: 1; display: flex; flex-direction: column; }
.mp-creator-cta { position: relative; z-index: 1; }
.mp-creator-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 3px; }
.mp-creator-l b { font-size: 18px; letter-spacing: -.3px; }
.mp-creator-sub { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 3px; max-width: 640px; line-height: 1.5; }
.mp-creator-cta { flex: none; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink);
  font-weight: 800; font-size: 14px; padding: 11px 18px; border-radius: 12px; }
.mp-creator-cta svg { width: 17px; height: 17px; }

/* Cart-Head = Header-Höhe inkl. dessen Border (Desktop) */
.cart-head { height: calc(var(--header-h) + 1px); padding: 0 24px; }

/* Mobile: Icons + Burger minimal größer, Cart-Head schmaler */
@media (max-width: 980px) {
  .icon-btn svg { width: 23px; height: 23px; }
  .burger span { width: 23px; }
  .cart-head { height: 54px; padding: 0 20px; }
  .cart-head h2 { font-size: 17px; }
}

/* mini-card gradients (geteilt: thumb + suggest + ci) */
/* Kartenoptik: echte Materialaufnahmen statt gemalter Verläufe.
   Die Farbe darunter greift nur, solange das Bild lädt. */
.bg-pvc   { background: #2f6cb4 url('/img/textures/tex-pvc.webp') center/cover; }
.bg-wood  { background: #8a5f36 url('/img/textures/tex-walnuss.webp') center/cover; }
.bg-metal { background: #34313f url('/img/textures/tex-metall.webp') center/cover; }
.stage-pvc   { background: #eaf1f9 url('/img/textures/tex-pvc.webp') center/cover; }
.stage-wood  { background: #f4ede3 url('/img/textures/tex-walnuss.webp') center/cover; }
.stage-metal { background: #ebebef url('/img/textures/tex-metall.webp') center/cover; }
.st-chip-light { background: rgba(255,255,255,.4); }

/* footer */
.cart-foot { margin: 4px 16px calc(16px + env(safe-area-inset-bottom)); padding: 16px; background: var(--tile); border-radius: 14px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0; }
.cart-vat { font-size: 10px; font-weight: 500; color: var(--ink-muted, #8b8893); text-align: right; margin: 1px 0 12px; }
.cart-total .ct-label { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.cart-total .ct-val { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.cart-checkout {
  width: 100%; height: 52px; border-radius: 13px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 15.5px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .18s, transform .1s;
}
.cart-checkout .cc-lock { height: 16px; width: auto; position: relative; top: -1.5px; filter: brightness(0) invert(1); transform-origin: center center; animation: ccLockClose 1s cubic-bezier(.5,-.5,.3,1.5) .3s both; }
@keyframes ccLockClose {
  0%   { transform: translateY(-7px) rotate(-14deg); opacity: 0; }
  35%  { transform: translateY(-7px) rotate(-14deg); opacity: 1; }
  62%  { transform: translateY(2px) rotate(6deg); }
  80%  { transform: translateY(0) rotate(-2deg); }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .cart-checkout .cc-lock { animation: none; opacity: 1; } }
.cart-checkout:hover { background: var(--blue-dark); }
.cart-checkout:active { transform: scale(.99); }
.cart-ship { text-align: center; font-size: 12.5px; color: var(--ink-muted); margin-top: 11px; }
.cart-ship b { color: var(--ink-soft); }

/* ── Hilfe / Support Drawer ───────────────────────────────── */
.help-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: 420px; max-width: 94vw;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  display: flex; flex-direction: column;
}
.help-drawer.open { transform: none; }

/* Gestaffelte Pop-in-Einblendung beim Öffnen (mit sanftem Overshoot) */
@keyframes helpItemIn {
  0%   { opacity: 0; transform: translateX(30px) scale(.93); }
  100% { opacity: 1; transform: none; }
}
.help-drawer.open .help-body > * { animation: helpItemIn .55s cubic-bezier(.34,1.56,.64,1) both; }
.help-drawer.open .help-body > *:nth-child(1) { animation-delay: .05s; }
.help-drawer.open .help-body > *:nth-child(2) { animation-delay: .11s; }
.help-drawer.open .help-body > *:nth-child(3) { animation-delay: .17s; }
.help-drawer.open .help-body > *:nth-child(4) { animation-delay: .23s; }
.help-drawer.open .help-body > *:nth-child(5) { animation-delay: .29s; }
.help-drawer.open .help-body > *:nth-child(6) { animation-delay: .35s; }

/* Close-Button dreht beim Hover */
.help-head .modal-close { transition: background .18s, transform .3s var(--ease); }
.help-head .modal-close:hover { transform: rotate(90deg); background: var(--tile-border); }
.help-head {
  padding: 22px 26px; border-bottom: 1px solid var(--tile-border);
  display: flex; align-items: center; justify-content: space-between;
}
.help-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.help-body { padding: 22px 26px; overflow-y: auto; flex: 1; }
.help-search {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--tile-border); border-radius: 12px;
  font-family: inherit; font-size: 15px; margin-bottom: 22px;
}
.help-search:focus { outline: none; border-color: var(--blue); }
.help-group-title { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); margin: 2px 0 12px; }
.help-item {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 14px; border-radius: 14px;
  border: 1px solid var(--tile-border);
  margin-bottom: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.help-item:hover {
  border-color: var(--blue); background: var(--blue-light);
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(35,93,160,.14);
}
.help-item .hi-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.help-item:hover .hi-icon { background: var(--blue); color: #fff; transform: scale(1.12) rotate(-7deg); }
.help-item .hi-icon svg { width: 19px; height: 19px; }

/* Chat-Button in der dunklen Box: Glanz-Sweep bei Hover + sanftes Atmen */
@keyframes chatGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.28); } 50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); } }
.help-contact-chat { position: relative; overflow: hidden; animation: chatGlow 2.6s ease-in-out infinite; }
.help-contact-chat::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(35,93,160,.18), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.help-contact-chat:hover::after { left: 130%; }
.help-contact-chat > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .help-drawer.open .help-body > * { animation: none; }
  .help-item:hover, .help-item:hover .hi-icon { transform: none; }
  .help-contact-chat { animation: none; }
  .help-contact-chat:hover::after { left: -60%; }
  .help-head .modal-close:hover { transform: none; }
}
.help-item h4 { font-size: 15px; font-weight: 700; }
.help-item p { font-size: 13.5px; color: var(--ink-soft); }
.help-contact {
  margin-top: 26px; padding: 18px;
  border-radius: 16px; background: var(--ink); color: #fff;
}
.help-contact h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.help-contact p { font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.help-contact-chat {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: #fff; color: var(--ink); border: none;
  font-family: inherit; font-weight: 800; font-size: 14px;
  padding: 12px 18px; border-radius: 10px; cursor: pointer;
}
.help-contact-chat:hover { background: var(--blue-light); color: var(--blue); }
.help-contact-chat svg { width: 17px; height: 17px; }
.help-contact a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 10px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .support-btn .support-label { display: none; }
  .support-btn { padding: 0; width: 42px; justify-content: center; }
}
@media (max-width: 560px) {
  .header-inner { padding: 0 16px; gap: 10px; }
  .announce-inner { padding: 9px 40px; font-size: 12.5px; }
  .support-btn { display: none; }      /* support wandert ins Menü */
  .logo-word { font-size: 21px; }
  .header-actions { gap: 4px; }
}
@media (max-width: 360px) {
  .announce-link { display: none; }
}

/* ── Toast (globale Kurzmeldung) ── */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  background: #130F1D; color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 13px; box-shadow: 0 14px 40px rgba(19,15,29,.35);
  opacity: 0; pointer-events: none; z-index: 400; max-width: min(88vw, 480px); text-align: center;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Drawer: Live-Chat-CTA ── */
.help-chat-cta { width: 100%; display: flex; align-items: center; gap: 13px; text-align: left; margin-bottom: 18px; padding: 15px 17px; border: none; border-radius: 15px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; cursor: pointer; font-family: inherit; }
.help-chat-cta svg { width: 24px; height: 24px; flex: none; }
.help-chat-cta b { display: block; font-size: 15px; font-weight: 800; }
.help-chat-cta span { display: block; font-size: 13px; color: rgba(255,255,255,.78); margin-top: 1px; }
.help-chat-cta:hover { filter: brightness(1.05); }

/* ════ Sitewide Live-Chat-Widget ════ */
.sc-fab { position: fixed; right: 22px; bottom: 22px; z-index: 240; width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--blue); color: #fff; cursor: pointer; box-shadow: 0 14px 34px rgba(35,93,160,.4); display: grid; place-items: center; transition: transform .2s, filter .2s, opacity .2s; }
.sc-fab:hover { filter: brightness(.95); transform: translateY(-2px); }
.sc-fab svg { width: 26px; height: 26px; }
.sc-fab .sc-fab-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e03a2d; color: #fff; font-size: 12px; font-weight: 800; display: none; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.sc-fab.has-unread .sc-fab-badge { display: flex; }
.sc-fab.open { transform: scale(.9); opacity: 0; pointer-events: none; }

.sc-win { position: fixed; right: 22px; bottom: 22px; z-index: 241; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 44px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(19,15,29,.32); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .22s, transform .22s; }
.sc-win.open { opacity: 1; transform: none; pointer-events: auto; }
.sc-head { background: linear-gradient(135deg, var(--ink) 0%, #241d33 100%); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex: none; }
.sc-head .sc-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.sc-head .sc-avatar svg { width: 22px; height: 22px; }
.sc-head h4 { font-size: 15.5px; font-weight: 800; margin: 0; }
.sc-head .sc-status { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 1px; display: flex; align-items: center; gap: 6px; }
.sc-head .sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #46d17f; }
.sc-head .sc-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.sc-head .sc-close:hover { background: rgba(255,255,255,.22); }

.sc-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #f7f8fa; }
.sc-intro { background: #fff; border: 1px solid var(--tile-border); border-radius: 14px; padding: 16px; }
.sc-intro h5 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.sc-intro p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.sc-form { display: flex; flex-direction: column; gap: 10px; }
.sc-form input { height: 44px; border: 1.5px solid var(--tile-border); border-radius: 11px; padding: 0 13px; font-family: inherit; font-size: 14.5px; }
.sc-form input:focus { outline: none; border-color: var(--blue); }
.sc-form button { height: 46px; border: none; border-radius: 11px; background: var(--blue); color: #fff; font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.sc-form button:hover { filter: brightness(.94); }
.sc-form button:disabled { opacity: .6; cursor: default; }
.sc-err { font-size: 13px; color: #b8402f; font-weight: 600; }

.sc-msg { max-width: 82%; padding: 10px 14px; border-radius: 15px; font-size: 14px; line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; }
.sc-msg.kunde { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.sc-msg.team { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--tile-border); border-bottom-left-radius: 5px; }
.sc-msg .sc-time { display: block; font-size: 10.5px; opacity: .6; margin-top: 4px; }
.sc-daynote { text-align: center; font-size: 12px; color: var(--ink-muted); margin: 4px 0; }

.sc-foot { flex: none; border-top: 1px solid var(--tile-border); padding: 12px; display: flex; gap: 10px; background: #fff; }
.sc-foot textarea { flex: 1; border: 1.5px solid var(--tile-border); border-radius: 12px; padding: 11px 13px; font-family: inherit; font-size: 14px; resize: none; max-height: 110px; line-height: 1.45; }
.sc-foot textarea:focus { outline: none; border-color: var(--blue); }
.sc-foot .sc-send { width: 46px; height: 46px; flex: none; border: none; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; align-self: flex-end; }
.sc-foot .sc-send:hover { filter: brightness(.94); }
.sc-foot .sc-send svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .sc-win { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 16px; }
  .sc-fab { right: 16px; bottom: 16px; }
}

/* ── Cookie-Consent mit animiertem Keks ─────────────────────── */
.ck-banner { position: fixed; left: 50%; bottom: 22px; z-index: 3000; width: min(1000px, calc(100vw - 40px));
  transform: translate(-50%, 160%); opacity: 0; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.ck-banner.show { transform: translate(-50%, 0); opacity: 1; }
.ck-banner.gone { transform: translate(-50%, 160%); opacity: 0; }
.ck-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "visual txt actions"; gap: 18px;
  align-items: center; background: #fff; border: 1px solid var(--line, #e4e4ea); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(19,15,29,.22); padding: 16px 22px; }
.ck-visual { grid-area: visual; }
.ck-cookie { width: 54px; height: 54px; display: block; transform-origin: 60% 60%; animation: ckWobble 3.4s ease-in-out infinite; }
.ck-banner.ck-bite-go .ck-cookie { animation: ckChomp .5s cubic-bezier(.3,1.4,.5,1) forwards; }
/* Biss via transform:scale statt SVG-r (r-Animation läuft in Safari/iOS nicht) */
.ck-bite { transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .4s cubic-bezier(.5,0,.2,1.3); }
.ck-banner.ck-bite-go .ck-bite.b0 { transform: scale(1); }
.ck-banner.ck-bite-go .ck-bite.b1 { transform: scale(1); transition-delay: .04s; }
.ck-banner.ck-bite-go .ck-bite.b2 { transform: scale(1); transition-delay: .02s; }
.ck-banner.ck-bite-go .ck-bite.b3 { transform: scale(1); transition-delay: .07s; }
.ck-banner.ck-bite-go .ck-bite.b4 { transform: scale(1); transition-delay: .05s; }
.ck-crumbs circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ck-banner.ck-bite-go .ck-crumbs circle { animation: ckCrumbFall .8s cubic-bezier(.4,.1,.7,1) forwards; animation-delay: .2s; }
.ck-banner.ck-bite-go .ck-crumbs circle:nth-child(2) { animation-delay: .26s; }
.ck-banner.ck-bite-go .ck-crumbs circle:nth-child(3) { animation-delay: .3s; }
.ck-banner.ck-bite-go .ck-crumbs circle:nth-child(4) { animation-delay: .23s; }
.ck-banner.ck-bite-go .ck-crumbs circle:nth-child(5) { animation-delay: .34s; }
.ck-txt { grid-area: txt; }
.ck-txt h4 { margin: 0 0 3px; font-size: 16px; font-weight: 800; letter-spacing: -.3px; color: var(--ink, #130f1d); }
.ck-txt p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted, #6b7280); }
.ck-txt a { color: var(--blue, #235da0); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ck-actions { grid-area: actions; display: flex; gap: 10px; justify-content: flex-end; white-space: nowrap; }
.ck-btn { font-family: inherit; font-size: 13.5px; font-weight: 800; padding: 10px 18px; border-radius: 11px; cursor: pointer; border: 1.5px solid transparent; transition: transform .14s, background .15s, border-color .15s; }
.ck-btn:hover { transform: translateY(-2px); }
.ck-btn.ghost { background: #fff; color: var(--ink, #130f1d); border-color: var(--line, #e4e4ea); }
.ck-btn.ghost:hover { border-color: var(--ink-muted, #8b8893); }
.ck-btn.primary { background: var(--blue, #235da0); color: #fff; }
@keyframes ckWobble { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes ckChomp { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(.86) rotate(-8deg); } 70% { transform: scale(1.05) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes ckCrumbFall { 0% { opacity: 0; transform: translate(0,0) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--cx,4px), 46px) rotate(var(--cr,90deg)); } }
.ck-crumbs circle:nth-child(1) { --cx: -4px; --cr: -70deg; }
.ck-crumbs circle:nth-child(2) { --cx: 5px; --cr: 100deg; }
.ck-crumbs circle:nth-child(3) { --cx: -8px; --cr: 60deg; }
.ck-crumbs circle:nth-child(4) { --cx: 8px; --cr: -120deg; }
.ck-crumbs circle:nth-child(5) { --cx: 0px; --cr: 140deg; }
@media (prefers-reduced-motion: reduce) { .ck-cookie { animation: none; } }
@media (max-width: 560px) {
  .ck-inner { grid-template-columns: 1fr; grid-template-areas: "visual" "txt" "actions"; justify-items: center; text-align: center; gap: 10px; padding: 18px 16px; }
  .ck-cookie { width: 46px; height: 46px; }
  .ck-txt h4 { font-size: 15px; }
  .ck-txt p { font-size: 11.5px; line-height: 1.45; }
  .ck-actions { width: 100%; flex-wrap: wrap; white-space: normal; justify-content: center; gap: 8px; }
  .ck-actions .ck-btn { flex: 1 1 0; min-width: 0; font-size: 12.5px; padding: 11px 8px; }
  .ck-actions .ck-btn.link { flex: 1 1 100%; order: 2; padding: 4px 6px; }
}

/* Cookie: Einstellungs-Ebene + Toggle-Switches */
.ck-btn.link { background: none; border: none; color: var(--ink-muted, #6b7280); text-decoration: underline; text-underline-offset: 2px; padding: 10px 6px; }
.ck-btn.link:hover { color: var(--ink, #130f1d); transform: none; }
.ck-settings { grid-area: unset; grid-column: 1 / -1; display: none; margin-top: 4px; border-top: 1px solid var(--line, #e4e4ea); padding-top: 12px; }
.ck-banner.ck-open-settings .ck-settings { display: block; }
.ck-banner.ck-open-settings .ck-actions { display: none; }
.ck-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line, #eef0f3); }
.ck-cat:last-of-type { border-bottom: none; }
.ck-cat-txt b { display: block; font-size: 14px; font-weight: 800; color: var(--ink, #130f1d); }
.ck-cat-txt span { font-size: 12.5px; color: var(--ink-muted, #6b7280); line-height: 1.4; }
.ck-br { display: none; }
.ck-switch { position: relative; display: inline-block; width: 44px; height: 25px; flex: none; }
.ck-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-switch span { position: absolute; inset: 0; background: #d3d5db; border-radius: 999px; cursor: pointer; transition: background .2s; }
.ck-switch span::before { content: ""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ck-switch input:checked + span { background: var(--blue, #235da0); }
.ck-switch input:checked + span::before { transform: translateX(19px); }
.ck-switch input:disabled + span { opacity: .5; cursor: default; }
.ck-settings-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
@media (max-width: 560px) {
  .ck-settings-actions { flex-direction: column-reverse; }
  .ck-settings-actions .ck-btn { flex: 1 1 auto; width: 100%; }
  /* Sublines mit definiertem Umbruch nur auf Mobile (Block erzwingt Zeilenbruch, Safari-sicher) */
  .ck-br { display: block !important; width: 100%; height: 0; }
  .ck-cat-txt span { display: block; text-align: left; }
}

/* Icon-Bausteine im Ankündigungs-Rich-Text */
.announce-text .announce-ic { display:inline-flex; vertical-align:-3px; margin-right:5px; }
/* Trennzeichen zwischen den Punkten – Abstand kommt aus dem Backend */
.announce-text .announce-sep { display:inline-block; margin:0 var(--ann-gap, 10px); opacity:.45; }
.announce-text .announce-ic svg { width:15px; height:15px; }
