/* Joel Digitals – Design-System v2 (Redesign 2026)
   Markenbasis ist das Logo: Verlauf Blau -> Aqua/Mint, App-Icon-Formen
   (abgerundete Quadrate), schraege Tech-Schrift, Slogan "Smart. Digital. Reliable.".
   Dunkel ist Standard, [data-theme="light"] schaltet hell. Schrift: Inter, selbst
   gehostet (fonts.css). Keine externen Ressourcen, keine Animations-Library. */

:root {
  --bg: #050d18;
  --nav-bg: rgba(5, 13, 24, .82);
  --surface: #0a1a2c;
  --surface-2: #10263f;
  --border: #1b3552;
  --text: #eaf6ff;
  --muted: #9cb5cc;
  --accent: #5ee7df;
  --chip: rgba(94, 231, 223, .08);
  --primary: #2f7bf6;
  --primary-hover: #1f63d6;
  --on-primary: #ffffff;
  --grad: linear-gradient(115deg, #2f7bf6 0%, #3aa8f2 45%, #5ee7df 100%);
  --grad-soft: linear-gradient(115deg, rgba(47, 123, 246, .18), rgba(94, 231, 223, .14));
  --on-grad: #03111f;
  --glow: rgba(70, 190, 240, .35);
  --sale: #ffb020;
  --on-sale: #1a1200;
  --ok: #34d399;
  --warn: #f59e0b;
  --bad: #f87171;
  --shadow: 0 30px 80px rgba(0, 25, 60, .45);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  /* Aliase fuer bestehende Seiten/Partials (Warenkorb, Checkout, Konfigurator) */
  --primary-text: var(--accent);
  --border-strong: #2a4a6e;
  --profile-bg: var(--surface-2);
  /* Textfarben fuer Status, je Theme auf Kontrast >= 4.5:1 abgestimmt */
  --ok-text: #34d399; --warn-text: #f59e0b; --bad-text: #f87171; --sale-text: #ffb020; --deadline-text: #ff7b6b; --star: #ffb020; --purple-text: #c4b5fd;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4faff;
  --nav-bg: rgba(244, 250, 255, .88);
  --surface: #ffffff;
  --surface-2: #e6f2fb;
  --border: #cfe2f1;
  --text: #06192b;
  --muted: #3f5b76;
  --accent: #0a66c8;
  --chip: #e2f3fb;
  --glow: rgba(47, 123, 246, .18);
  --shadow: 0 24px 60px rgba(10, 60, 110, .12);
  --border-strong: #a9c7e0;
  --ok-text: #047857; --warn-text: #854d0e; --bad-text: #c81e1e; --sale-text: #a14a00; --deadline-text: #c0262d; --star: #a16207; --purple-text: #6d28d9;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.v2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
:where(.v2) img { max-width: 100%; height: auto; }
:where(.v2) a { color: inherit; text-decoration: none; }
:where(.v2) a:hover { text-decoration: underline; text-underline-offset: 3px; }
:where(.v2) :is(h1, h2, h3) { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
:where(.v2) p { margin: 0; }
.v2 :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link { position: absolute; top: -100px; left: .5rem; z-index: 1000; background: var(--primary-hover); color: var(--on-primary); padding: .75rem 1.25rem; border-radius: 0 0 8px 8px; font-weight: 700; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 0 0 64px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 250px), 1fr)); }
.muted { color: var(--muted); }

/* Typo-Bausteine */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.h-display { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.h-section { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 600px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.link-arrow { font-weight: 600; color: var(--accent); }

/* Buttons & Chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font: inherit; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; text-align: center; }
.v2 .btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-white { background: #ffffff; color: #0a2a8a; }
.btn-outline-white { color: #ffffff; border-color: rgba(255, 255, 255, .6); }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--chip); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.badge-sale { background: var(--sale); color: var(--on-sale); }
.badge-primary { background: var(--primary); color: var(--on-primary); }
.badge-ok { background: var(--ok); color: #06200f; }

/* Karten */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card-pad { padding: 26px; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }

/* Header / Navigation – immer sichtbar */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid var(--border); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; flex: none; }
.v2 .brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; font-size: 14px; font-weight: 500; }
.main-nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: var(--chip); text-decoration: none; }
.main-nav .nav-backroom { color: var(--warn-text); }
.nav-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; }
.v2 .icon-btn:hover { border-color: var(--accent); text-decoration: none; }
.count-badge { position: absolute; top: -6px; right: -6px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 4px; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: inline; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.dropdown-menu a:hover { background: var(--chip); text-decoration: none; }
.dropdown-menu i { width: 18px; color: var(--muted); text-align: center; }
.dropdown-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dropdown-head strong { display: block; font-size: 14px; }
.dropdown-head span { font-size: 13px; color: var(--muted); word-break: break-all; }
.dropdown-sep { height: 1px; background: var(--border); margin: 4px 6px; }
.dropdown-menu .logout { color: var(--bad-text); }
.wallet-pill { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ok-text); }
.profile-btn { width: auto; padding: 0 12px 0 6px; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; }
.avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.flag-icon { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }

@media (max-width: 1360px) {
  .profile-btn .profile-name { display: none; }
  .main-nav a { padding: 8px 8px; }
}
@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); font-size: 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .site-header .bar { justify-content: space-between; }
  .profile-btn .profile-name { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-tools { gap: 6px; }
  .brand-text { display: none; }
}

/* Staff-Leiste fuer die Vorschau */
.preview-bar { background: #2b1d5e; color: #ece7ff; font-size: 13px; }
.preview-bar .jd-wrap { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.preview-bar input { flex: 1 1 260px; min-width: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: inherit; border-radius: 8px; padding: 6px 10px; font: inherit; }
.preview-bar button, .preview-bar a { background: rgba(255, 255, 255, .14); border: 0; color: inherit; border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; }

.ref-banner { color: #fff; text-align: center; padding: .6rem 1rem; font-size: .9rem; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 64px 0 48px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .chip { align-self: flex-start; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.quick-links a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.quick-links a:hover { border-color: var(--accent); text-decoration: none; }
.quick-links i { color: var(--accent); width: 18px; text-align: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.trust-row .ok { color: var(--ok-text); }
.stars { color: var(--star); letter-spacing: 1px; }
.hero-card { flex: 1 1 380px; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.hero-media { position: relative; border-radius: 16px; background: var(--surface-2); aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge { position: absolute; top: 12px; left: 12px; }
.price { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price-now { font-size: 28px; font-weight: 800; }
.price-old { text-decoration: line-through; color: var(--muted); }

/* Countdown (data-countdown="ISO-Datum") */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.countdown > div { background: var(--surface-2); border-radius: 12px; padding: 8px 0; }
.countdown strong { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; color: var(--muted); }
.countdown-label { font-size: 13px; color: var(--muted); }

/* Leistungen */
.svc-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, transform .15s; }
.v2 .svc-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.svc-card h3 { font-size: 20px; }
.svc-card p { color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; }
.band { margin-top: 16px; border-radius: var(--radius); padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--primary); color: #fff; }
.band h3 { font-size: 22px; }
.band p { opacity: .92; }

/* Produkte */
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .fa-solid, .product-media .fas { font-size: 44px; color: var(--accent); }
.product-media .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-media .sale-img { max-width: 140px; max-height: 44px; object-fit: contain; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-type { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.product-body h3 { font-size: 18px; }
.product-body p { font-size: 14px; color: var(--muted); }
.product-body .price-now { font-size: 22px; }
.stock { font-size: 13px; font-weight: 600; }
.product-body form, .product-body .btn { margin-top: auto; }

/* Vertrauen */
.trust-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rating-big { display: flex; flex-direction: column; gap: 8px; }
.rating-big .score { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; }
.about-card { overflow: hidden; display: flex; flex-direction: column; }
.about-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.about-card .card-pad { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.about-card .btn { margin-top: auto; align-self: flex-start; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps li:first-child { border-top-color: var(--primary); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-size: 14px; font-weight: 700; color: var(--accent); }
.steps strong { font-size: 19px; }
.feature { padding: 16px 18px; }
.feature strong { display: block; }
.feature span { color: var(--muted); font-size: 14px; }

/* Webinare */
.webinar-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.v2 .webinar-row:hover { border-color: var(--accent); text-decoration: none; }
.webinar-thumb { width: 56px; height: 56px; border-radius: 10px; flex: none; background: var(--surface-2) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--accent); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Blog */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.v2 .blog-card:hover { border-color: var(--accent); text-decoration: none; }
.blog-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.ai-tag { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .72); color: #fff; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.blog-card .card-pad { display: flex; flex-direction: column; gap: 8px; }
.blog-card h3 { font-size: 18px; }
.blog-card p { color: var(--muted); font-size: 15px; }

/* Info-Kacheln */
.tile { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.v2 a.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile .label { font-size: 13px; color: var(--muted); }
.tile .go { font-size: 13px; color: var(--accent); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.tile-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* Abschluss-CTA */
.cta { border-radius: 28px; background: var(--primary); color: #fff; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 10px; flex: 1 1 440px; }
.cta p { font-size: 17px; opacity: .92; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); font-size: 14px; margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; padding: 48px 0 28px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.footer-cols .footer-title { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.footer-cols a:hover { color: var(--text); }
.footer-nap { font-style: normal; color: var(--muted); padding: 20px 0; border-top: 1px solid var(--border); line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 0 0 28px; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; }
.v2 .socials a:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }

/* Meldungen */
.toasts { position: fixed; top: 76px; right: 16px; z-index: 70; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; }
.toast span { flex: 1; }
.toast-success { border-color: var(--ok-text); }
.toast-error { border-color: var(--bad-text); }
.toast-warning { border-color: var(--warn-text); }
.toast-close { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; width: 28px; height: 28px; }

/* Mini-Warenkorb */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg); border-left: 1px solid var(--border); z-index: 90; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 20px; }
.drawer-head .icon-btn { font-size: 22px; }
.drawer-items { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; }
.drawer-items li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.drawer-thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); flex: none; overflow: hidden; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-name { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 15px; min-width: 0; }
.drawer-meta { font-weight: 400; font-size: 14px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.drawer-total strong { font-size: 22px; }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }
body.drawer-open { overflow: hidden; }

/* Bestehende Seiten im neuen Layout */
.legacy-main { max-width: var(--container); margin: 0 auto; padding: 32px 24px 48px; width: 100%; }
.legacy-main img, .legacy-main video, .legacy-main svg, .legacy-main iframe, .legacy-main canvas { max-width: 100%; height: auto; }
.legacy-main table { display: block; max-width: 100%; overflow-x: auto; }
.legacy-main input, .legacy-main select, .legacy-main textarea, .legacy-main button { font-family: inherit; }
.v2 ::placeholder { color: var(--muted); opacity: .65; }
.checkout-steps-bar { border-bottom: 1px solid var(--border); background: var(--surface); }
.checkout-steps { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 14px; padding-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.checkout-steps li.current { color: var(--text); }
.checkout-steps li.current span { background: var(--primary); border-color: var(--primary); color: #fff; }
.checkout-steps li.done span { background: var(--ok); border-color: var(--ok-text); color: #06200f; }
.checkout-trust { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 12px; font-size: 13px; color: var(--muted); }
.checkout-trust i { color: var(--accent); margin-right: 4px; }

/* Shop-Uebersicht */
.shop-hero { padding: 48px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.shop-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field { height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; padding: 0 14px; min-width: 0; }
.field:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(124, 176, 255, .25); }
.field-search { flex: 1 1 320px; }
.field-price { width: 110px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chips a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chips a:hover { border-color: var(--accent); text-decoration: none; }
.chips a[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.row-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.row-scroller > * { scroll-snap-align: start; }
.result-count { font-size: 14px; color: var(--muted); }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.product-actions > * { flex: 1; }
.product-actions form { margin: 0; }
.rating-inline { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }

/* Produktseite */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); padding: 20px 0 0; list-style: none; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 24px 0 48px; align-items: start; }
.pdp-gallery { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }
.pdp-image { position: relative; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; padding: 0; width: 100%; color: var(--accent); }
.pdp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pdp-image:hover img { transform: scale(1.03); }
.pdp-image .badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.pdp-price .price-now { font-size: 36px; }
.pdp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); }
.pill i { color: var(--accent); }
.buy-box { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); height: 48px; }
.qty button { width: 44px; height: 46px; background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.qty input { width: 52px; height: 46px; text-align: center; background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.notice-violet { background: rgba(124, 58, 237, .14); border: 1px solid rgba(124, 58, 237, .35); }
.notice-bad { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.trust-list i { color: var(--ok-text); width: 18px; }
.pdp-section { padding: 0 0 48px; }
.pdp-section > h2 { font-size: 26px; margin-bottom: 16px; }
.prose { color: var(--muted); line-height: 1.75; white-space: pre-line; max-width: 820px; }
.included { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.included .card { display: flex; gap: 14px; padding: 14px; align-items: center; }
.included img, .included .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.included h3 { font-size: 16px; }
.included p { font-size: 14px; color: var(--muted); }

/* Bewertungen */
.rv-summary2 { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 22px; }
.rv-score { font-size: 48px; font-weight: 800; line-height: 1; }
.rv-bars2 { flex: 1 1 220px; display: grid; gap: 6px; }
.rv-bar2 { display: grid; grid-template-columns: 24px 1fr 28px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.rv-track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.rv-fill { height: 100%; background: #ffb020; border-radius: 4px; }
.rv-list { display: grid; gap: 12px; margin-top: 16px; }
.rv-item { padding: 16px 18px; }
.rv-item header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rv-who { display: flex; gap: 10px; align-items: center; }
.rv-form2 { padding: 20px; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--border-strong); cursor: pointer; padding: 4px; min-width: 44px; min-height: 44px; }
.star-pick button.on { color: #ffb020; }
.rv-form2 textarea.field { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }

/* Mitlaufende Kaufleiste */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--nav-bg); border-top: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(110%); transition: transform .2s; }
.sticky-buy.show { transform: none; }
.sticky-buy .container { display: flex; gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 10px; padding-right: 96px; }
@media (max-width: 640px) { .sticky-buy .container { padding-right: 84px; } }
.sticky-buy .name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .price-now { font-size: 20px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 12px; display: block; }
.lightbox .icon-btn { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .6); color: #fff; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .pdp-image { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
  .sticky-buy .price-old { display: none; }
}

/* Hinweise (promo) */
.promo-sale { --p-bg: var(--sale); --p-fg: var(--on-sale); }
.promo-brand { --p-bg: var(--primary); --p-fg: #ffffff; }
.promo-info { --p-bg: var(--chip); --p-fg: var(--text); }
.promo-surface { --p-bg: var(--surface); --p-fg: var(--text); }
.promo-banner { background: var(--p-bg); color: var(--p-fg); font-size: 14px; }
.promo-banner .jd-wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.promo-banner-body { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; text-align: center; }
.promo-banner .promo-text { opacity: .9; }
.promo-banner .promo-cta { color: inherit; text-decoration: underline; font-weight: 700; }
.promo-countdown { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; font-weight: 600; }
.promo-countdown > span { background: rgba(0, 0, 0, .14); border-radius: 6px; padding: 2px 6px; }
.promo-info .promo-countdown > span, .promo-surface .promo-countdown > span { background: var(--surface-2); }
.promo-coupon { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed currentColor; border-radius: 8px; padding: 2px 4px 2px 10px; }
.promo-coupon code { font-weight: 800; letter-spacing: .08em; font-size: 15px; }
.promo-coupon button { border: 0; background: rgba(0, 0, 0, .14); color: inherit; font: inherit; font-weight: 700; font-size: 13px; border-radius: 6px; padding: 4px 10px; cursor: pointer; min-height: 32px; }
.promo-close { flex: none; width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.promo-close:hover { background: rgba(0, 0, 0, .12); }
.promo-headline { font-weight: 700; }
.promo-expired { opacity: .85; }

.promo-inline { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--p-bg); }
.promo-inline-img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.promo-inline-body { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.promo-inline .promo-headline { flex-basis: 100%; font-size: 17px; }
.promo-inline .promo-text { flex-basis: 100%; color: var(--muted); }
.promo-inline .promo-cta { background: var(--primary-hover); color: #fff; font-weight: 600; padding: 9px 16px; border-radius: 10px; text-decoration: none; }
.promo-inline .promo-countdown > span { background: var(--surface-2); }

.promo-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.promo-overlay[hidden] { display: none; }
.promo-modal { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.promo-modal .promo-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .45); color: #fff; width: 44px; height: 44px; }
.promo-modal-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.promo-modal-body { padding: 22px 24px 8px; display: flex; flex-direction: column; gap: 12px; }
.promo-modal .promo-headline { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; padding-right: 32px; }
.promo-modal .promo-text { color: var(--muted); }
.promo-modal .promo-countdown { gap: 8px; font-size: 15px; }
.promo-modal .promo-countdown > span { background: var(--surface-2); padding: 8px 10px; border-radius: 10px; }
.promo-modal .promo-countdown b { font-size: 20px; margin-right: 2px; }
.promo-modal .promo-coupon { align-self: flex-start; color: var(--text); }
.promo-modal .promo-coupon button { background: var(--chip); }
.promo-modal .promo-cta { background: var(--primary-hover); color: #fff; font-weight: 700; text-align: center; padding: 14px; border-radius: 12px; text-decoration: none; }
.promo-note { margin: 0; padding: 4px 24px 18px; font-size: 12px; color: var(--muted); text-align: center; }
body.promo-open { overflow: hidden; }
@media (max-width: 767px) {
  .promo-overlay { align-items: flex-end; padding: 0; }
  .promo-modal { width: 100%; border-radius: 22px 22px 0 0; max-height: 85vh; }
  .promo-modal-img img { aspect-ratio: 2 / 1; }
  .promo-inline { flex-wrap: wrap; }
  .promo-inline-img { width: 100%; height: 140px; }
}

/* Startseiten-Bloecke (eigene Typen) */
.block-band { border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; background: var(--p-bg, var(--primary)); color: var(--p-fg, #fff); overflow: hidden; }
.block-band.promo-info, .block-band.promo-surface { border: 1px solid var(--border); }
.block-band .band-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
.block-band .band-copy p { opacity: .92; white-space: pre-line; }
.block-band .band-img { flex: 0 1 360px; border-radius: 14px; overflow: hidden; }
.block-band .band-img img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.block-band .btn-white { color: #0a2a8a; }
.big-countdown { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 10px; text-align: center; }
.big-countdown > div { background: rgba(0, 0, 0, .16); border-radius: 14px; padding: 12px 6px; }
.big-countdown strong { display: block; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.big-countdown span { font-size: 12px; opacity: .85; }
.coupon-big { display: inline-flex; align-items: center; gap: 10px; border: 2px dashed currentColor; border-radius: 14px; padding: 8px 8px 8px 18px; align-self: flex-start; }
.coupon-big code { font-size: 24px; font-weight: 800; letter-spacing: .1em; }
.coupon-big button { border: 0; border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: #0a2a8a; min-height: 44px; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: center; }
.logo-strip img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip a:hover img, .logo-strip img:hover { filter: none; opacity: 1; }
.logo-strip .logo-text { font-weight: 700; color: var(--muted); }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: center; }
.counters strong { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.counters span { color: var(--muted); font-size: 14px; }
.quote { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; line-height: 1.65; }
.quote figcaption { color: var(--muted); font-size: 14px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; background: #0b1220 center / cover no-repeat; }
.video-consent::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.video-consent > * { position: relative; }
.video-consent p { font-size: 13px; max-width: 460px; opacity: .9; }
.compare { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.compare .card { padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.compare .card.hl { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.compare .hl-badge { position: absolute; top: -12px; left: 24px; }
.compare .price-now { font-size: 26px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.compare li::before { content: "✓"; color: var(--ok-text); font-weight: 700; margin-right: 8px; }
.compare .btn { margin-top: auto; }
.social-toast { position: fixed; left: 16px; bottom: 16px; z-index: 45; max-width: min(340px, calc(100vw - 110px)); display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; transform: translateY(140%); transition: transform .3s; }
.social-toast.show { transform: none; }
.social-toast .dot { background: var(--ok); }
.block-preview { outline: 3px dashed var(--warn); outline-offset: 8px; border-radius: 4px; }

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-tight { padding-bottom: 48px; }
  .hero { padding: 36px 0 32px; gap: 32px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cta { padding: 32px 22px; }
  .card-pad, .svc-card { padding: 20px; }
}

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

/* ==========================================================================
   Markenebene "Joel Digitals" – ueberschreibt die neutrale Basis oben.
   Signaturen: Logo-Verlauf, App-Icon-Formen, schraege Headlines, "//"-Labels,
   Pixel-Raster, Aurora-Licht, Slogan-Laufband, sanfte Scroll-Animationen.
   ========================================================================== */
body.v2 {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(47, 123, 246, .16), transparent 62%),
    radial-gradient(900px 540px at 100% 4%, rgba(94, 231, 223, .09), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
:root[data-theme="light"] body.v2 {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(47, 123, 246, .10), transparent 62%),
    radial-gradient(900px 540px at 100% 4%, rgba(94, 231, 223, .14), transparent 60%),
    var(--bg);
}
::selection { background: rgba(94, 231, 223, .35); }

/* Logo im Header */
.brand { gap: 12px; }
.brand-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(94, 231, 223, .25), 0 6px 18px var(--glow); transition: transform .3s; }
.brand:hover .brand-icon { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-style: italic; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .brand-text { background: linear-gradient(115deg, #1757c8, #0b8fa8); -webkit-background-clip: text; background-clip: text; }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; margin-top: 4px; color: var(--muted); -webkit-text-fill-color: var(--muted); font-style: italic; }

/* Typografie mit Charakter: schraeg wie der Logo-Schriftzug */
.h-display, .h-section, .pdp-info h1, .shop-hero h1 { font-style: italic; font-weight: 800; letter-spacing: -0.03em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
:root[data-theme="light"] .grad-text { background: linear-gradient(115deg, #1757c8 0%, #0b8fa8 100%); -webkit-background-clip: text; background-clip: text; }
.eyebrow { letter-spacing: .14em; font-weight: 700; }
.eyebrow::before { content: "//"; margin-right: 8px; opacity: .55; letter-spacing: 0; }
.chip { border-color: rgba(94, 231, 223, .28); }

/* Buttons: Logo-Verlauf, dunkle Schrift, Lichtkante beim Hover */
.btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; }
.btn-primary { background: var(--grad); color: var(--on-grad); font-weight: 700; box-shadow: 0 8px 24px var(--glow); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.06) saturate(1.1); box-shadow: 0 12px 30px var(--glow); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-primary > * { position: relative; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 231, 223, .12); }
.badge-primary, .count-badge, .avatar { background: var(--grad); color: var(--on-grad); }
.chips a[aria-current="true"] { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.checkout-steps li.current span { background: var(--grad); color: var(--on-grad); border-color: transparent; }

/* App-Icon-Formen wie im Logo */
.icon-box { width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: var(--on-grad); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 8px 22px var(--glow); }

/* Karten: Spotlight folgt dem Mauszeiger */
.card { position: relative; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(94, 231, 223, .10), transparent 45%); }
.card:hover::before { opacity: 1; }
.svc-card:hover, a.card:hover, .product-card:hover { border-color: rgba(94, 231, 223, .45); }
.product-card { transition: transform .25s, border-color .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 30, 70, .35); }
.product-media img { transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.05); }

/* Verlaufs-Flaechen (Konfigurator-Band, Abschluss, Aktions-Bloecke) */
.band, .cta, .promo-brand.block-band { background: var(--grad); color: var(--on-grad); }
.band .btn-white, .cta .btn-white, .promo-brand .btn-white { background: #04121f; color: #eaf6ff; }
.cta .btn-outline-white { color: var(--on-grad); border-color: rgba(3, 17, 31, .45); }
.cta, .band { position: relative; overflow: hidden; isolation: isolate; }
.cta::after, .band::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(3, 17, 31, .35) 1px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.promo-brand { --p-bg: var(--grad); --p-fg: var(--on-grad); }
.steps li:first-child { border-image: var(--grad) 1; }
.steps li::before { font-style: italic; font-size: 15px; }

/* Hero: Aurora-Licht, Pixel-Raster, schwebendes Logo-Icon */
.hero-wrap { position: relative; isolation: isolate; overflow: hidden; }
.hero-wrap .aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none; }
.hero-wrap .aurora span { position: absolute; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; opacity: .55; will-change: transform; }
.hero-wrap .aurora span:nth-child(1) { left: -6%; top: 6%; background: radial-gradient(circle, rgba(47, 123, 246, .55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.hero-wrap .aurora span:nth-child(2) { right: -8%; top: -4%; background: radial-gradient(circle, rgba(94, 231, 223, .40), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.hero-wrap .pixel-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(94, 231, 223, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 231, 223, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); }
:root[data-theme="light"] .hero-wrap .aurora span { opacity: .35; }
:root[data-theme="light"] .hero-wrap .pixel-grid { background-image: linear-gradient(rgba(10, 102, 200, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 102, 200, .07) 1px, transparent 1px); }
@keyframes drift1 { to { transform: translate(12%, 10%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14%, 12%) scale(.9); } }
.hero-card { position: relative; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.hero-emblem { position: absolute; width: 96px; height: 96px; top: -34px; right: -26px; border-radius: 26px; box-shadow: 0 18px 40px var(--glow); animation: float 6s ease-in-out infinite; z-index: 2; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.hero-copy h1 { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy .lead { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy .hero-ctas { animation: rise .8s .22s cubic-bezier(.2, .7, .2, 1) both; }
.hero-card { animation: rise 1s .18s cubic-bezier(.2, .7, .2, 1) both; }
/* nur Bewegung, kein Ausblenden: Text ist sofort sichtbar (LCP) */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .45s, transform .45s; white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }

/* Slogan-Laufband */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--grad-soft); overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: marquee 38s linear infinite; font-style: italic; font-weight: 800; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; color: var(--muted); }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.marquee-track .hl { color: var(--text); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll-Animationen (vom Skript gesetzt, ohne Skript ist alles sichtbar) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Footer mit Logo */
.footer-brand { padding-top: 40px; }
.footer-brand img { width: 240px; height: auto; }
.footer-cols { padding-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .hero-wrap .aurora span, .hero-emblem, .marquee-track, .hero-copy h1, .hero-copy .lead, .hero-copy .hero-ctas, .hero-card { animation: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary::after { display: none; }
}
@media (max-width: 640px) {
  .hero-emblem { width: 68px; height: 68px; top: -22px; right: -6px; border-radius: 18px; }
  .brand-text small { display: none; }
}
@media (max-width: 480px) { .brand-text { display: none; } }

/* Leistungsseiten je Region */
.region-hero { display: flex; flex-direction: column; gap: 20px; padding: 28px 0 48px; max-width: 860px; }
.region-hero .chip { align-self: flex-start; }
.answer-block { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.answer-block p { font-size: 18px; line-height: 1.65; }
.region-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-bottom: 48px; }
.region-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.side-title { font-size: 17px; margin-bottom: 10px !important; font-style: italic; }
.prose-v2 { font-size: 17px; line-height: 1.75; color: var(--muted); }
.prose-v2 h2 { color: var(--text); font-size: clamp(24px, 2.6vw, 30px); font-style: italic; font-weight: 800; margin: 36px 0 12px; }
.prose-v2 h3 { color: var(--text); font-size: 20px; margin: 24px 0 8px; }
.prose-v2 p { margin: 0 0 14px; }
.prose-v2 ul, .prose-v2 ol { margin: 0 0 16px; padding-left: 22px; }
.prose-v2 li { margin-bottom: 6px; }
.prose-v2 strong { color: var(--text); }
.prose-v2 a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose-v2 > :first-child { margin-top: 0; }
.region-faq { margin-top: 36px; }
.region-updated { font-size: 13px; margin-top: 28px !important; }
@media (max-width: 960px) {
  .region-layout { grid-template-columns: 1fr; }
  .region-side { position: static; }
}

/* Bestehende Seiten in der neuen Huelle: typischer Kopfbereich (Kasten mit rundem Icon)
   bekommt die Markenoptik - Flaeche mit Verlaufsrand, Raster, App-Icon, schraege Headline. */
.legacy-main :is(div, section, header):has(> .header-icon) {
  background:
    linear-gradient(rgba(94, 231, 223, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(94, 231, 223, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box !important;
  border: 1px solid transparent !important;
  box-shadow: 0 24px 60px rgba(0, 25, 60, .25) !important;
}
.legacy-main :is(div, section, header):has(> .header-icon) * { color: var(--text) !important; }
.legacy-main :is(div, section, header):has(> .header-icon) > :is(h1, h2) {
  font-style: italic; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .legacy-main :is(div, section, header):has(> .header-icon) > :is(h1, h2) { background: linear-gradient(115deg, #1757c8, #0b8fa8); -webkit-background-clip: text; background-clip: text; }
.legacy-main :is(div, section, header):has(> .header-icon) > p { color: var(--muted) !important; }
.legacy-main .header-icon {
  width: 72px !important; height: 72px !important; border-radius: 20px !important; font-size: 1.8rem !important;
  background: var(--grad) !important; border: 0 !important; box-shadow: 0 10px 28px var(--glow) !important;
}
.legacy-main .header-icon, .legacy-main .header-icon * { color: var(--on-grad) !important; }
.legacy-main :is(h1, h2, h3) { font-family: inherit; }

/* Header: echtes Logo-Bild statt Icon + Schriftzug */
.brand-logo { height: 50px; width: auto; display: block; transition: transform .3s; }
.brand:hover .brand-logo { transform: scale(1.03); }
@media (max-width: 480px) { .brand-logo { height: 40px; } }

/* Admin-Dashboard im neuen Design (gleiches Markup, nur Optik) */
.legacy-main .adm-wrap { max-width: var(--container); margin: 0 auto; padding: 0; }
.legacy-main .adm-wrap .adm-hdr {
  text-align: left; padding: 28px 30px; border-radius: var(--radius); color: var(--text);
  background:
    linear-gradient(rgba(94, 231, 223, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(94, 231, 223, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px;
}
.legacy-main .adm-wrap .adm-hdr::before { display: none; }
.legacy-main .adm-wrap .adm-hdr h1 { font-size: clamp(26px, 3vw, 36px); font-style: italic; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legacy-main .adm-wrap .adm-hdr h1 i { -webkit-text-fill-color: var(--accent); margin-right: 6px; }
.legacy-main .adm-wrap .adm-hdr p { color: var(--muted); opacity: 1; grid-column: 1; }
.legacy-main .adm-wrap .badge-online { grid-column: 2; grid-row: 1 / span 2; margin: 0; background: var(--chip); border: 1px solid rgba(94, 231, 223, .3); color: var(--accent); font-weight: 700; }
.legacy-main .adm-wrap .kpi-grid { gap: 14px; }
.legacy-main .adm-wrap .kpi { border: 1px solid var(--border); border-radius: 18px; padding: 18px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.legacy-main .adm-wrap .kpi:hover { transform: translateY(-3px); border-color: rgba(94, 231, 223, .45); box-shadow: 0 16px 36px rgba(0, 25, 60, .3); }
.legacy-main .adm-wrap .kpi::before { background: var(--grad); height: 2px; opacity: .8; }
.legacy-main .adm-wrap .kpi .kpi-icon { background: var(--grad); color: var(--on-grad); border-radius: 13px; box-shadow: 0 8px 20px var(--glow); }
.legacy-main .adm-wrap .kpi .kpi-lbl { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 700; color: var(--muted); }
.legacy-main .adm-wrap .kpi .kpi-val { font-size: 34px; font-weight: 800; font-style: italic; letter-spacing: -0.02em; line-height: 1.1; }
.legacy-main .adm-wrap .kpi .kpi-sub { color: var(--muted); font-size: 12px; }
.legacy-main .adm-wrap .panel { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.legacy-main .adm-wrap .panel h3 { font-style: italic; font-weight: 800; font-size: 17px; }
.legacy-main .adm-wrap .panel h3 i { color: var(--accent) !important; }
.legacy-main .adm-wrap .quick-btn { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; min-height: 44px; transition: border-color .15s, transform .15s; }
.legacy-main .adm-wrap .quick-btn:hover { border-color: var(--accent); background: var(--chip); transform: translateY(-1px); text-decoration: none; }
.legacy-main .adm-wrap .quick-btn i { color: var(--accent); }
.legacy-main .adm-wrap .quick-btn.new { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .35); }
.legacy-main .adm-wrap .act-row .act-icon { background: var(--grad); color: var(--on-grad); }
.legacy-main .adm-wrap .top-row .top-val { color: var(--accent); }
.legacy-main .adm-wrap .chart-mini { background: var(--surface-2); border-radius: 12px; }
.legacy-main .adm-wrap .period-btn.active { background: var(--grad) !important; color: var(--on-grad) !important; border-color: transparent !important; }
@media (max-width: 600px) {
  .legacy-main .adm-wrap .adm-hdr { grid-template-columns: 1fr; }
  .legacy-main .adm-wrap .badge-online { grid-column: 1; grid-row: auto; justify-self: start; }
  .legacy-main .adm-wrap .kpi .kpi-val { font-size: 26px; }
}

/* Statusseite im neuen Design (gleiches Markup, nur Optik) */
.legacy-main .status-page-container { max-width: 1000px; margin: 0 auto; }
.legacy-main .status-page-container .status-header { border-radius: var(--radius) var(--radius) 0 0; }
.legacy-main .status-page-container .status-body { background: var(--surface); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.legacy-main .status-page-container .action-btn { border-radius: 14px; font-weight: 700; min-height: 44px; }
.legacy-main .status-page-container .action-btn:first-of-type { background: var(--grad) !important; color: var(--on-grad) !important; box-shadow: 0 8px 22px var(--glow); }
.legacy-main .status-page-container .action-btn:first-of-type i { color: var(--on-grad) !important; }
.legacy-main .status-page-container .section-icon { border-radius: 12px !important; background: var(--grad) !important; color: var(--on-grad) !important; }
.legacy-main .status-page-container .section-icon i { color: var(--on-grad) !important; }
.legacy-main .status-page-container .section-title { font-style: italic; font-weight: 800; }
.legacy-main .status-page-container .app-card { border: 1px solid var(--border) !important; border-radius: 16px !important; background: var(--surface-2) !important; transition: transform .2s, border-color .2s; }
.legacy-main .status-page-container .app-card:hover { transform: translateY(-2px); border-color: rgba(94, 231, 223, .45) !important; }
.legacy-main .status-page-container .app-card.has-issues { border-color: var(--warn) !important; }
.legacy-main .status-page-container .app-card.offline { border-color: var(--bad) !important; }
.legacy-main .status-page-container .app-icon { border-radius: 12px !important; }
.legacy-main .status-page-container .empty-state { border-radius: 16px; }

/* ==========================================================================
   Bewegung & Varianten (Runde 2): Handy-Menue, Kopfbereich-Varianten,
   Seitenuebergaenge, Scroll-Fortschritt, Karten-Neigung, Klick-Wellen.
   Alles aus bei "Bewegung reduzieren" (Block am Ende).
   ========================================================================== */
@property --jd-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* --- Seitenuebergaenge (Chrome/Edge/Safari 18+, sonst normaler Seitenwechsel) --- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: jd-vt-out .22s ease both; }
::view-transition-new(root) { animation: jd-vt-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes jd-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes jd-vt-in { from { opacity: 0; transform: translateY(14px); } }

/* --- Header: beim Scrollen kompakter, Fortschrittsbalken --- */
.site-header .bar { transition: min-height .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 20, 50, .35); }
.site-header.scrolled .bar { min-height: 56px; }
.site-header.scrolled .brand-logo { height: 42px; }
.brand-logo { transition: height .25s ease, transform .3s; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: jd-progress linear both; animation-timeline: scroll(root); }
  @keyframes jd-progress { to { transform: scaleX(1); } }
}

/* --- Desktop-Navigation: gleitende Verlaufs-Unterstreichung --- */
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: transparent; }

/* --- Burger, der sich in ein X verwandelt --- */
.burger { width: 20px; height: 14px; position: relative; display: inline-block; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.7, 0, .2, 1), opacity .2s, top .35s cubic-bezier(.7, 0, .2, 1); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] { background: var(--grad); color: var(--on-grad); border-color: transparent; }

/* --- Handy-Menue (Vollbild) --- */
@media (max-width: 1200px) {
  .main-nav, .main-nav.open { display: none !important; }
}
.mm { position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; padding: calc(var(--hdr-h, 64px) + 18px) 22px 24px; overflow-y: auto; background: var(--bg); clip-path: circle(0% at calc(100% - 44px) 32px); visibility: hidden; transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .55s; }
.mm.is-open { clip-path: circle(150% at calc(100% - 44px) 32px); visibility: visible; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(94, 231, 223, .16), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgba(47, 123, 246, .22), transparent 70%),
    linear-gradient(rgba(94, 231, 223, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(94, 231, 223, .05) 1px, transparent 1px) 0 0 / 40px 40px; }
.mm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mm-list li { opacity: 0; transform: translateX(28px); transition: opacity .45s, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
.mm.is-open .mm-list li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .045s); }
.mm-list a { display: flex; align-items: center; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--border); font-style: italic; font-weight: 800; font-size: clamp(22px, 6.4vw, 30px); letter-spacing: -0.02em; color: var(--text); }
.mm-list a:hover, .mm-list a:focus-visible { text-decoration: none; }
.mm-list a:hover .mm-label, .mm-list a[aria-current="page"] .mm-label { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-num { font-size: 12px; font-style: normal; font-weight: 700; color: var(--accent); min-width: 22px; opacity: .8; }
.mm-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; background: var(--chip); border: 1px solid var(--border); color: var(--accent); flex: none; transition: background .25s, color .25s, transform .25s; }
.mm-list a:hover .mm-ico, .mm-list a:active .mm-ico { background: var(--grad); color: var(--on-grad); transform: rotate(-8deg) scale(1.06); }
.mm-label { flex: 1; }
.mm-arrow { font-size: 18px; color: var(--muted); transition: transform .25s, color .25s; }
.mm-list a:hover .mm-arrow { transform: translateX(4px); color: var(--accent); }
.mm-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s; }
.mm.is-open .mm-foot { opacity: 1; transform: none; transition-delay: .5s; }
.mm-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.mm-contact a { color: var(--text); font-weight: 600; }
.mm-slogan { font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .02em; color: var(--muted); }
body.mm-open { overflow: hidden; }
@media (min-width: 1201px) { .mm { display: none; } }

/* --- Kopfbereiche bestehender Seiten: Varianten statt immer gleichem Muster --- */
.legacy-main :is(div, section, header):has(> .header-icon) { position: relative; overflow: hidden; isolation: isolate; }
.legacy-main :is(div, section, header):has(> .header-icon) > .header-icon { animation: jd-pop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.legacy-main :is(div, section, header):has(> .header-icon) > :is(h1, h2) { background-size: 200% 100%; animation: jd-rise .7s .08s cubic-bezier(.2, .7, .2, 1) both, jd-shimmer 7s 1s ease-in-out infinite; }
.legacy-main :is(div, section, header):has(> .header-icon) > p { animation: jd-rise .7s .16s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes jd-pop { from { transform: scale(.55) rotate(-14deg); } 70% { transform: scale(1.06) rotate(3deg); } to { transform: none; } }
@keyframes jd-rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes jd-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.legacy-main :is(div, section, header):has(> .header-icon) > :is(h1, h2) { background-image: linear-gradient(115deg, #2f7bf6, #3aa8f2, #5ee7df, #3aa8f2, #2f7bf6) !important; }

/* Variante "band": Verlaufsflaeche, dunkle Schrift, Diagonal-Streifen */
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) { background: var(--grad) !important; border: 0 !important; }
.legacy-main.hv-band :is(div, section, header):has(> .header-icon)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(-45deg, rgba(3, 17, 31, .07) 0 14px, transparent 14px 28px); animation: jd-stripes 18s linear infinite; }
@keyframes jd-stripes { to { background-position: 400px 0; } }
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) * { color: var(--on-grad) !important; }
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) > :is(h1, h2) { background: none !important; -webkit-text-fill-color: var(--on-grad); color: var(--on-grad) !important; animation: jd-rise .7s .08s cubic-bezier(.2, .7, .2, 1) both; }
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) > p { color: var(--on-grad) !important; opacity: 1; }
.legacy-main.hv-band .header-icon { background: #04121f !important; box-shadow: 0 12px 30px rgba(3, 17, 31, .35) !important; }
.legacy-main.hv-band .header-icon, .legacy-main.hv-band .header-icon * { color: #5ee7df !important; }

/* Variante "spotlight": Lichtkegel von oben, Icon mit rotierendem Verlaufsring */
.legacy-main.hv-spotlight :is(div, section, header):has(> .header-icon) { background: radial-gradient(70% 90% at 50% -20%, rgba(94, 231, 223, .22), transparent 70%), radial-gradient(40% 60% at 50% 0%, rgba(47, 123, 246, .3), transparent 70%), var(--surface) !important; border: 1px solid var(--border) !important; }
.legacy-main.hv-spotlight .header-icon { background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, conic-gradient(from var(--jd-a), #2f7bf6, #5ee7df, #3aa8f2, #2f7bf6) border-box !important; border: 3px solid transparent !important; animation: jd-pop .7s cubic-bezier(.2, 1.4, .4, 1) both, jd-spin 4s linear infinite !important; }
.legacy-main.hv-spotlight .header-icon, .legacy-main.hv-spotlight .header-icon * { color: var(--accent) !important; }
@keyframes jd-spin { to { --jd-a: 360deg; } }

/* Variante "split": linksbuendig, grosses schwebendes Icon rechts */
.legacy-main.hv-split :is(div, section, header):has(> .header-icon) { text-align: left !important; padding-right: clamp(24px, 30%, 260px) !important; min-height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.legacy-main.hv-split :is(div, section, header):has(> .header-icon) > .header-icon { position: absolute !important; right: clamp(20px, 8%, 90px); top: 50%; margin: -60px 0 0 !important; width: 120px !important; height: 120px !important; border-radius: 32px !important; font-size: 3rem !important; animation: jd-pop .7s cubic-bezier(.2, 1.4, .4, 1) both, jd-float 6s 1s ease-in-out infinite !important; }
.legacy-main.hv-split :is(div, section, header):has(> .header-icon)::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -40%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 231, 223, .25), transparent 65%); animation: jd-drift 14s ease-in-out infinite alternate; pointer-events: none; }
.legacy-main.hv-split :is(div, section, header):has(> .header-icon) > :is(h1, h2) { font-size: clamp(30px, 4vw, 46px) !important; }
@keyframes jd-float { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes jd-drift { to { transform: translate(-40px, 30px) scale(1.15); } }
@media (max-width: 640px) {
  .legacy-main.hv-split :is(div, section, header):has(> .header-icon) { padding-right: 24px !important; padding-top: 96px !important; }
  .legacy-main.hv-split :is(div, section, header):has(> .header-icon) > .header-icon { top: 24px; margin: 0 !important; width: 64px !important; height: 64px !important; font-size: 1.6rem !important; right: auto; left: 24px; border-radius: 18px !important; }
}

/* Variante "mesh": bewegter Farbverlauf hinter Glas */
.legacy-main.hv-mesh :is(div, section, header):has(> .header-icon) {
  background:
    radial-gradient(40% 70% at 15% 20%, rgba(47, 123, 246, .45), transparent 70%),
    radial-gradient(35% 60% at 85% 30%, rgba(94, 231, 223, .35), transparent 70%),
    radial-gradient(45% 70% at 60% 110%, rgba(58, 168, 242, .35), transparent 70%),
    var(--surface) !important;
  background-size: 160% 160% !important; animation: jd-mesh 16s ease-in-out infinite alternate; border: 1px solid rgba(94, 231, 223, .25) !important;
}
.legacy-main.hv-mesh :is(div, section, header):has(> .header-icon)::after { content: ""; position: absolute; inset: 14px; z-index: -1; border-radius: 16px; background: rgba(5, 13, 24, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .06); pointer-events: none; }
:root[data-theme="light"] .legacy-main.hv-mesh :is(div, section, header):has(> .header-icon)::after { background: rgba(255, 255, 255, .55); }
@keyframes jd-mesh { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }

/* Variante "minimal": ohne Kasten, linksbuendig, wachsende Verlaufslinie */
.legacy-main.hv-minimal :is(div, section, header):has(> .header-icon) { background: transparent !important; border: 0 !important; box-shadow: none !important; text-align: left !important; padding-left: clamp(20px, 3vw, 40px) !important; padding-right: clamp(20px, 3vw, 40px) !important; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.legacy-main.hv-minimal :is(div, section, header):has(> .header-icon) > .header-icon { grid-row: span 2; margin: 0 !important; }
.legacy-main.hv-minimal :is(div, section, header):has(> .header-icon) > :is(h1, h2) { font-size: clamp(30px, 4.4vw, 52px) !important; margin: 0 !important; position: relative; padding-bottom: 12px; }
.legacy-main.hv-minimal :is(div, section, header):has(> .header-icon) > :is(h1, h2)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 120px; border-radius: 3px; background: var(--grad); transform-origin: 0 50%; animation: jd-line 1s .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes jd-line { from { transform: scaleX(0); } }
@media (max-width: 640px) { .legacy-main.hv-minimal :is(div, section, header):has(> .header-icon) { grid-template-columns: 1fr; row-gap: 12px; } }

/* --- Abschnitts-Ueberschriften: Verlaufslinie waechst beim Einblenden --- */
.section-head .h-section, .h-section.u-line { position: relative; }
.section-head .h-section::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(1); transition: transform .9s .2s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal .section-head .h-section::after, .js-reveal .section-head.reveal .h-section::after { transform: scaleX(0); }
.js-reveal .reveal.in .section-head .h-section::after, .js-reveal .section-head.reveal.in .h-section::after { transform: scaleX(1); }

/* Einblendung: Karten mit leichtem Zoom statt nur Verschieben */
.js-reveal .card.reveal { transform: translateY(26px) scale(.97); }
.js-reveal .card.reveal.in { transform: none; }

/* --- Karten-Neigung (Desktop), Klick-Wellen, lebendige Verlaeufe --- */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease, border-color .25s, box-shadow .25s; will-change: transform; }
.tilt.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .45); transform: scale(0); animation: jd-ripple .6s ease-out forwards; }
.btn-ghost .ripple { background: rgba(94, 231, 223, .35); }
@keyframes jd-ripple { to { transform: scale(2.6); opacity: 0; } }
.grad-text { background-size: 200% 100%; animation: jd-shimmer 8s ease-in-out infinite; }
.icon-box { transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.svc-card:hover .icon-box { transform: rotate(-8deg) scale(1.08); }
.quick-links a i { transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.quick-links a:hover i { transform: translateX(3px) scale(1.15); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .scroll-progress { animation: none !important; display: none; }
  .mm, .mm.is-open, .mm-list li, .mm-foot { transition: none !important; }
  .mm-list li, .mm-foot { opacity: 1 !important; transform: none !important; }
  .legacy-main *, .grad-text, .tilt { animation: none !important; }
  .tilt { transform: none !important; }
  .ripple { display: none; }
}

/* Handy: Hell/Dunkel und Sprache im Menue statt im Header, damit alles in eine Zeile passt */
.mm-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-tools .btn { min-height: 44px; font-size: 14px; }
@media (max-width: 560px) { .nav-tools .hide-sm { display: none; } }

/* Icon-Farben in den Kopfbereichen: gleiche Spezifitaet wie die Textregel, damit sie gewinnen */
.legacy-main :is(div, section, header):has(> .header-icon) > .header-icon,
.legacy-main :is(div, section, header):has(> .header-icon) > .header-icon * { color: var(--on-grad) !important; }
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) > .header-icon,
.legacy-main.hv-band :is(div, section, header):has(> .header-icon) > .header-icon * { color: #5ee7df !important; }
.legacy-main.hv-spotlight :is(div, section, header):has(> .header-icon) > .header-icon,
.legacy-main.hv-spotlight :is(div, section, header):has(> .header-icon) > .header-icon * { color: var(--accent) !important; }

/* Handy/Tablet (Burger sichtbar): Warenkorb ins Profil-Dropdown bzw. Menue, Hell/Dunkel ins Menue;
   Logo skaliert mit, damit der Burger nie aus dem Bild ragt */
.show-mobile { display: none !important; }
@media (max-width: 1200px) {
  .nav-tools .hide-mobile { display: none !important; }
  .dropdown-menu a.show-mobile { display: flex !important; }
  .site-header .bar { gap: 10px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-logo, .site-header.scrolled .brand-logo { height: auto; width: clamp(104px, 36vw, 150px); }
  .nav-tools { flex: none; gap: 6px; }
}
.mm-ico-cart { position: relative; }
.mm-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--grad); color: var(--on-grad); font-size: 11px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.dropdown-menu a.show-mobile .wallet-pill { color: var(--accent); }

/* Handy-Menue kompakter + ruhigeres Scrollen */
.mm { padding: calc(var(--hdr-h, 64px) + 8px) 16px calc(16px + env(safe-area-inset-bottom)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mm-list a { gap: 12px; padding: 9px 2px; font-size: 18px; letter-spacing: -0.01em; min-height: 48px; }
.mm-ico { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.mm-num { font-size: 11px; min-width: 18px; }
.mm-arrow { font-size: 15px; }
.mm-foot { padding-top: 16px; gap: 10px; }
.mm-foot .btn { min-height: 44px; padding: 10px 16px; }
.mm-contact { font-size: 13px; gap: 6px 14px; }
@media (min-width: 600px) { .mm-list a { font-size: 21px; } }
/* Scroll-Sperre per position:fixed (iOS ignoriert overflow:hidden am body) */
body.mm-open { position: fixed; left: 0; right: 0; top: var(--mm-scroll, 0); width: 100%; }
/* fest angeheftete Hintergruende ruckeln auf Handys beim Scrollen */
@media (max-width: 1200px), (hover: none) {
  body.v2, :root[data-theme="light"] body.v2 { background-attachment: scroll; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}
body.mm-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
.mm-list a { min-height: 44px; padding: 6px 2px; }
@media (max-height: 760px) {
  .mm-slogan { display: none; }
  .mm-foot { padding-top: 12px; gap: 8px; }
  .mm-ico { width: 30px; height: 30px; font-size: 13px; }
}

/* Handy-Menue: Feinschliff (Runde 3) */
.mm { z-index: 2147483600; padding-top: calc(var(--hdr-h, 64px) + 4px); }
body.mm-open .site-header { z-index: 2147483601; }
.mm-list a { font-size: 17px; gap: 12px; padding: 5px 2px; min-height: 46px; }
.mm-list li:last-child a { border-bottom: 0; }
.mm-ico { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
.mm-num { font-size: 10px; min-width: 16px; opacity: .55; }
.mm-arrow { font-size: 14px; opacity: .6; }
.mm-list a[aria-current="page"] { position: relative; }
.mm-list a[aria-current="page"] .mm-ico { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.mm-foot { padding-top: 14px; gap: 12px; }
.mm-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mm-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 58px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.mm-act i { font-size: 16px; color: var(--accent); }
.mm-act .flag-icon { width: 20px; height: 14px; }
.mm-act span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.v2 .mm-act:hover, .mm-act:active { border-color: var(--accent); background: var(--chip); text-decoration: none; transform: translateY(-1px); }
.mm-slogan { text-align: center; opacity: .7; }
@media (max-height: 700px) { .mm-list a { min-height: 42px; font-size: 16px; } .mm-act { min-height: 50px; } }

/* Handy-Menue: Fuss direkt unter die Eintraege, unten Platz fuer die Chat-Blase */
.mm { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.mm-foot, .mm.is-open .mm-foot { margin-top: 0; padding-top: 18px; }
.mm-act { padding: 8px 2px; font-size: 10.5px; letter-spacing: -0.01em; }

/* Newsletter-Anmeldung */
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-input { flex: 1 1 220px; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.nl-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.nl-consent a { color: var(--accent); text-decoration: underline; }
.nl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-msg { margin: 0; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.nl-msg.ok { background: rgba(52, 211, 153, .12); color: var(--ok-text); }
.nl-msg.err { background: rgba(248, 113, 113, .12); color: var(--bad-text); }
.footer-nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 40px; align-items: center; padding: 36px 0 8px; border-bottom: 1px solid var(--border); }
.footer-nl h2 { font-size: 22px; font-style: italic; font-weight: 800; margin-bottom: 6px; }
.footer-nl p { font-size: 14px; }
.nl-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 40px; align-items: center; padding: 30px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.nl-block-copy { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .footer-nl, .nl-block { grid-template-columns: 1fr; } .nl-block { padding: 22px; } }

/* Shop-Uebersicht v3: Suche -> Kategorien -> Angebote -> Alle */
.shop-top { border-bottom: 1px solid var(--border); }
.shop-head { padding: 36px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.shop-head .h-display { font-size: clamp(30px, 4vw, 46px); }
.shop-head .lead { font-size: 16px; }
.shop-searchbar { display: flex; flex-direction: column; gap: 10px; }
.searchbox { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 18px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 14px 40px rgba(0, 25, 60, .25); }
.searchbox > i { color: var(--accent); font-size: 18px; }
.searchbox input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; outline: none; }
.searchbox input::-webkit-search-cancel-button { filter: invert(.6); }
.searchbox .btn { flex: none; }
.shop-filters summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 4px; min-height: 44px; }
.shop-filters summary::-webkit-details-marker { display: none; }
.shop-filters summary:hover, .shop-filters[open] summary { color: var(--accent); }
.shop-filter-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px 0 28px; }
.cat-tile { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; line-height: 1.25; min-height: 60px; transition: border-color .2s, transform .2s, background .2s; }
.v2 .cat-tile:hover { text-decoration: none; border-color: rgba(94, 231, 223, .5); transform: translateY(-2px); }
.cat-ico { width: 36px; height: 36px; border-radius: 11px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--chip); color: var(--accent); font-size: 15px; transition: background .2s, color .2s; }
.cat-tile[aria-current="true"] { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.cat-tile[aria-current="true"] .cat-ico, .cat-tile:hover .cat-ico { background: var(--grad); color: var(--on-grad); }
.cat-deal .cat-ico { background: rgba(255, 176, 32, .14); color: var(--sale-text); }
.shop-sec { padding: 36px 0 8px; }
.shop-sec .section-head { margin-bottom: 18px; }
@media (max-width: 640px) {
  .cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 18px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { flex: none; scroll-snap-align: start; min-height: 52px; padding: 10px 12px; }
  .searchbox { padding-left: 14px; }
  .searchbox input { font-size: 16px; height: 44px; }
  .searchbox .btn { padding: 10px 14px; }
}

/* Eigener Layout-Container fuer Header, Footer und Leisten der Huelle: alte Seiten
   bringen oft eigene .container-Regeln mit, die sonst den Rahmen verbiegen. */
.jd-wrap { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; width: 100%; box-sizing: border-box; }
@media (max-width: 480px) { .jd-wrap { padding-left: 16px; padding-right: 16px; } }

/* ---------- Shop v4: Marktplatz-Aufbau (Suchleiste, Abteilungen, Leisten, Filter-Spalte, Kacheln) ---------- */
.shop-bar { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.shop-bar > .jd-wrap { padding-top: 14px; padding-bottom: 12px; }
.mk-search { display: flex; align-items: stretch; height: 50px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; box-shadow: 0 10px 30px rgba(0, 25, 60, .18); }
.mk-search:focus-within { box-shadow: 0 0 0 4px var(--glow), 0 10px 30px rgba(0, 25, 60, .18); }
.mk-dept { flex: none; max-width: 180px; border: 0; border-right: 1px solid var(--border); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; padding: 0 30px 0 14px; cursor: pointer; appearance: none; -webkit-appearance: none; background-color: var(--surface-2); background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.mk-dept option { background: var(--surface); color: var(--text); }
.mk-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 0 14px; outline: none; }
.mk-search input::-webkit-search-cancel-button { filter: invert(.6); }
.mk-go { flex: none; width: 60px; border: 0; background: var(--grad); color: var(--on-grad); font-size: 18px; cursor: pointer; transition: filter .2s; }
.mk-go:hover { filter: brightness(1.08); }
.dept-strip { border-top: 1px solid var(--border); background: var(--surface-2); }
.dept-strip .jd-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.dept-strip .jd-wrap::-webkit-scrollbar { display: none; }
.dept-strip a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.dept-strip a i { color: var(--accent); font-size: 13px; }
.v2 .dept-strip a:hover { text-decoration: none; border-color: var(--border-strong); background: var(--surface); }
.dept-strip a[aria-current="true"] { background: var(--surface); border-color: var(--accent); }
.v2 .dept-strip a.is-deal, .dept-strip a.is-deal i { color: var(--sale-text); }

.trust-strip { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-strip li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted); line-height: 1.35; }
.trust-strip li > i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent); }
.trust-strip b { display: block; color: var(--text); font-size: 14px; }

.rail { margin: 22px 0 0; padding: 18px 18px 8px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.rail[hidden] { display: none; }
.rail-deals { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(115deg, var(--sale), #ff6b3d 50%, var(--border) 80%) border-box; border: 1px solid transparent; }
.rail-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.rail-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.rail-head h2 i { color: var(--accent); font-size: 17px; }
.rail-deals .rail-head h2 i { color: var(--sale-text); }
.v2 .rail-head > a { font-size: 14px; font-weight: 600; color: var(--accent); }
.rail-nav { margin-left: auto; display: flex; gap: 6px; }
.rail-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); cursor: pointer; transition: background .15s; }
.rail-nav button:hover { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.rail-track > .ptile { scroll-snap-align: start; }
.rail-track > .ptile:hover { transform: none; }

.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; margin: 28px 0 72px; }
.shop-side { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 6px 16px 16px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
.shop-side > summary { display: none; }
.side-group { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.side-group h3 { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.v2 .side-group > a, .side-link { font: inherit; font-size: 14px; color: var(--text); background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; }
.v2 .side-group > a:hover, .side-link:hover { color: var(--accent); text-decoration: none; }
.v2 .side-group > a[aria-current="true"], .side-link[aria-pressed="true"] { font-weight: 800; color: var(--accent); }
.side-group > a[aria-current="true"]::before, .side-link[aria-pressed="true"]::before { content: "\203A  "; }
.side-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 3px 0; }
.side-check input { width: 17px; height: 17px; accent-color: var(--primary); }
.stars .off { opacity: .3; }
.side-range { display: flex; gap: 6px; margin-top: 8px; width: 100%; }
.side-range input { width: 0; flex: 1; height: 34px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); padding: 0 8px; font: inherit; font-size: 13px; }
.side-range button { flex: none; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font-weight: 700; cursor: pointer; }
.side-reset { margin-top: 12px; background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

.results-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.results-bar h2 { margin: 0; font-size: 22px; font-weight: 800; }
.results-bar h2 q { color: var(--accent); }
.sort-label { margin-left: auto; font-size: 13px; color: var(--muted); }
.sort-select { height: 36px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; padding: 0 10px; cursor: pointer; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.empty-state i { font-size: 28px; color: var(--accent); margin-bottom: 8px; }

.ptile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ptile[hidden] { display: none; }
.ptile:hover { border-color: var(--border-strong); box-shadow: 0 14px 34px rgba(0, 25, 60, .28); transform: translateY(-2px); }
.tile-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.tile-media > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ptile:hover .tile-media > img:first-child { transform: scale(1.04); }
.tile-media > i { font-size: 44px; color: #8aa4bd; }
.tile-flag { position: absolute; top: 10px; left: 0; padding: 4px 10px 4px 9px; border-radius: 0 8px 8px 0; background: #d92b2b; color: #fff; font-size: 12px; font-weight: 800; max-width: 85%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-flag-pkg { background: var(--primary); }
.tile-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.tile-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.v2 .tile-title a { color: var(--text); }
.v2 .tile-title a:hover { color: var(--accent); text-decoration: none; }
.tile-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.v2 .tile-rating:hover { text-decoration: none; }
.tile-rating .stars { font-size: 14px; }
.tile-rcount { color: var(--accent); }
.tile-meta { font-size: 12.5px; color: var(--muted); }
.tile-price { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; }
.tile-now { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--text); }
.tile-now sup { font-size: 13px; font-weight: 700; top: -.85em; margin: 0 1px; }
.tile-save { white-space: nowrap; align-self: center; padding: 3px 7px; border-radius: 6px; background: #d92b2b; color: #fff; font-size: 13px; font-weight: 800; }
.tile-was { font-size: 12.5px; color: var(--muted); }
.tile-good { color: var(--ok-text); font-weight: 700; }
.tile-deadline { font-size: 12.5px; font-weight: 700; color: var(--deadline-text); display: inline-flex; gap: 6px; align-items: center; }
.tile-stock { font-size: 12.5px; color: var(--ok-text); margin-top: 2px; }
.tile-stock i { font-size: 11px; }
.tile-warn { color: var(--warn-text); font-weight: 700; }
.tile-bad { color: var(--bad-text); font-weight: 700; }
.tile-actions { margin-top: auto; padding-top: 10px; }
.tile-actions form { margin: 0; }
.tile-btn, .v2 a.tile-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 999px; border: 0; background: var(--grad); color: var(--on-grad); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: filter .2s, transform .15s; }
.v2 a.tile-btn:hover { text-decoration: none; }
.tile-btn:hover { filter: brightness(1.08); }
.tile-btn:active { transform: scale(.98); }
.tile-btn-ghost, .v2 a.tile-btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
:root[data-theme="light"] .ptile:hover { box-shadow: 0 14px 34px rgba(10, 60, 110, .14); }

@media (max-width: 1024px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .shop-side { position: static; max-height: none; padding: 0; }
  .shop-side > summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; cursor: pointer; list-style: none; }
  .shop-side > summary::-webkit-details-marker { display: none; }
  .shop-side[open] > summary { border-bottom: 1px solid var(--border); }
  .shop-side .side-group, .shop-side .side-reset { margin-left: 16px; margin-right: 16px; }
  .shop-side .side-reset { margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .mk-search { height: 46px; }
  .mk-dept { max-width: 92px; padding: 0 22px 0 10px; font-size: 13px; background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; }
  .mk-go { width: 50px; }
  .trust-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; }
  .trust-strip::-webkit-scrollbar { display: none; }
  .trust-strip li { flex: none; padding: 9px 12px 9px 9px; gap: 9px; font-size: 12px; }
  .tile-price { flex-wrap: wrap; gap: 4px 6px; }
  .trust-strip li > i { width: 30px; height: 30px; }
  .trust-strip b { font-size: 13px; }
  .rail { padding: 14px 12px 4px; }
  .rail-head h2 { font-size: 18px; }
  .rail-nav { display: none; }
  .rail-track { grid-auto-columns: 46%; gap: 10px; }
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-body { padding: 10px; }
  .tile-title { font-size: 14px; }
  .tile-now { font-size: 22px; }
  .tile-btn, .v2 a.tile-btn { font-size: 13px; padding: 8px; }
  .results-bar h2 { font-size: 19px; width: 100%; }
  .sort-label { margin-left: 0; }
}

/* Shop v4.1: Sale-Badge-Bild, 4 passende Angebote ohne Scrollen */
.tile-badge-img { position: absolute; top: 8px; left: 8px; max-width: 40%; max-height: 18%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); pointer-events: none; }
.product-media .sale-img { max-width: 40%; max-height: 48px; }
.deal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: 12px; }
.rail-deals .rail-more { margin-left: auto; }
@media (max-width: 1024px) { .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .deal-grid { gap: 10px; } .rail-deals .rail-more { margin-left: 0; } }
.product-media .sale-img { width: auto; height: auto; object-fit: contain; }
.hero-media { aspect-ratio: 1 / 1; width: min(100%, 340px); margin-left: auto; margin-right: auto; }
.hero-media > img:not(.tile-badge-img) { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tile-badge-img { width: auto; height: auto; object-fit: contain; }

/* Barrierefreiheit: Klickflaechen mind. 24 x 24 px (WCAG 2.2, 2.5.8) */
.site-footer .footer-cols a, .tile-links a, .trust-row a, .promo-banner .promo-cta, .rail-more, .tile-rating, .side-reset { display: inline-flex; align-items: center; min-height: 24px; }
.nl-consent input, .side-check input { width: 20px; height: 20px; }
.side-check { min-height: 28px; }

/* Barrierefreiheit in alten Seiten: Markenblau als Flaeche mit weisser Schrift erreicht
   erst in dieser Tiefe 4.5:1; weisse Buttons auf blauen Flaechen bekommen dunkles Blau */
.legacy-main { --primary: #1f63d6; --primary-hover: #1a52b3; }
.legacy-main .cta-section .cta-button { color: #1f5fc8; }
.legacy-main .btn-shop { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .6rem 1.1rem; border-radius: 10px; color: #fff !important; font-weight: 700; text-decoration: none; }
.legacy-main .badge-sale[style*="gradient"] { color: #fff; }
.site-footer .nl-form .btn-primary { background: var(--grad); color: var(--on-grad); }
.checkout-trust a, .issue-card > a { display: inline-flex; align-items: center; min-height: 24px; }
:root[data-theme="light"] .legacy-main:not(.hv-band) :is(div, section, header):has(> .header-icon) > :is(h1, h2) { background-image: linear-gradient(115deg, #1757c8, #0b7f96, #1757c8) !important; }
:root[data-theme="light"] .legacy-main .adm-wrap .adm-hdr h1, :root[data-theme="light"] .mm-list a:hover .mm-label, :root[data-theme="light"] .mm-list a[aria-current="page"] .mm-label { background: linear-gradient(115deg, #1757c8, #0b7f96); -webkit-background-clip: text; background-clip: text; }
