/* TunerService – Frontend
   Schriften: werden lokal aus assets/fonts geladen (fonts.css), keine Google-Server (DSGVO). */

:root {
  color-scheme: dark;
  --bg: #0A0C0F;
  --bg-2: #0E1114;
  --surface: #12161B;
  --surface-2: #1A1F26;
  --line: #262C35;
  --line-2: #3A424E;
  --text: #F2F4F7;
  --muted: #A3ACB9;
  --faint: #6B7482;
  --accent: #E2231A;
  --accent-hover: #C41C14;
  --accent-text: #F0453C;
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.section--tight { padding-top: 32px; }
.muted { color: var(--muted); }

/* Typografie */
.display { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 8.6vw, 66px); hyphens: manual; line-height: .98; margin: 0 0 22px; text-transform: uppercase; font-stretch: condensed; }
.display--md { font-size: clamp(38px, 5vw, 64px); margin-bottom: 14px; }
.display--product { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; margin-bottom: 14px; overflow-wrap: anywhere; hyphens: auto; }
.h2 { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 44px); text-transform: uppercase; margin: 0 0 28px; line-height: 1.05; font-stretch: condensed; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.hero__h1 { margin: 0; font-weight: inherit; }
.hero__h1 > span { display: block; }
.eyebrow--sm { font-size: 13px; margin: 0 0 4px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 32px; max-width: 640px; }
.lead--sm { font-size: 18px; margin-bottom: 24px; }
.link-accent { color: var(--accent-text); font-weight: 600; font-size: 15px; }
.muted-link { color: var(--muted); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { min-height: 38px; padding: 0 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.promo { background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 10px 16px; }
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 15, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html { scroll-padding-top: calc(var(--hdr-h, 130px) + 12px); }
/* beim Scrollen: Kopfzeile kompakter, Menü bleibt sichtbar */
.site-header .header-row, .site-header .logo img, .site-header .main-nav { transition: padding .2s ease, width .2s ease; }
.site-header.is-stuck .header-row { padding-top: 8px; }
.site-header.is-stuck .logo img { width: 210px; }
@media (min-width: 1201px) { .site-header.is-stuck .header-row { padding-bottom: 8px; } }
.header-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { flex: 0 1 auto; min-width: 0; }
.logo img { display: block; width: 300px; max-width: 100%; height: auto; } /* verkleinert sich nur proportional, nie verzerrt */
/* Desktop: Logo + Symbole oben, Menü in eigener Zeile darunter (passt auch mit DE | EN und vielen Menüpunkten) */
.main-nav { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 4px 2px; font-weight: 600; font-size: 15px; order: 2; flex: 1 1 auto; min-width: 0; padding: 0; }
.main-nav a, .nav-dd__btn { white-space: nowrap; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 8px; color: #D5DAE1; background: none; border: 0; font: inherit; cursor: pointer; transition: color .15s, background-color .15s; }
.nav-link:hover, .nav-dd:hover .nav-dd__btn, .nav-dd.is-open .nav-dd__btn { color: var(--text); background: rgba(255, 255, 255, .06); }
/* aktive Seite: rote Linie unter dem Punkt */
.nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.nav-link[aria-current]::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-link[aria-current], .nav-link.is-current { color: var(--text); }
.nav-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 10px; }
.nav-dd { position: relative; }
.nav-dd__btn svg { transition: transform .2s ease; opacity: .7; }
.nav-dd:hover .nav-dd__btn svg, .nav-dd.is-open .nav-dd__btn svg { transform: rotate(180deg); }
.nav-dd__menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 230px; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60; }
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* Brücke, damit das Menü beim Hinfahren offen bleibt */
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu, .nav-dd.is-open .nav-dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd__menu a { padding: 10px 14px; border-radius: 8px; color: #D5DAE1; font-weight: 600; }
.nav-dd__menu a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav-dd__menu a[aria-current] { color: var(--accent-text); }
/* Shop-Menü: Kategorien mit Produktanzahl */
.nav-dd__menu--shop { min-width: 340px; padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nav-shop-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px !important; border-radius: 10px; border-left: 3px solid transparent; transition: background-color .15s, border-color .15s; }
.nav-shop-item:hover, .nav-shop-item[aria-current] { border-left-color: var(--accent); }
.nav-shop-item__t { font-weight: 700; color: var(--text); }
.nav-shop-item__n { font-size: 12px; font-weight: 500; color: var(--faint); }
.nav-shop-all { grid-column: 1 / -1; margin-top: 6px; padding: 12px 14px !important; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; color: var(--accent-text) !important; font-size: 14px; }
.nav-cta { margin-left: 12px; padding: 7px 18px; border: 1px solid var(--accent); border-radius: 999px; color: var(--text); transition: background-color .15s, color .15s; }
.nav-cta:hover, .nav-cta[aria-current] { background: var(--accent); color: #fff; }
.header-icons { display: flex; gap: 10px; order: 3; flex: none; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: none; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1200px) {
  .header-row { padding-bottom: 16px; flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-icons { order: 2; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 8px 24px 16px; z-index: 20; border-top: 0; max-height: calc(100vh - var(--hdr-h, 80px)); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav { align-items: stretch; }
  .main-nav .nav-link { display: flex; border-radius: 0; padding: 12px 0; background: none; }
  .nav-dd { display: flex; flex-direction: column; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link[aria-current] { color: var(--accent-text); }
  .nav-sep { display: none; }
  /* „Für Tuner“ am Handy als Überschrift mit den Seiten darunter */
  .nav-dd__btn { pointer-events: none; padding: 18px 0 4px !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint) !important; }
  .nav-dd__btn svg { display: none; }
  .nav-dd__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-dd__menu::before { display: none; }
  .nav-dd__menu a { border-radius: 0; padding: 12px 0; }
  .nav-dd__menu a:hover { background: none; }
  .nav-dd__menu--shop { display: flex; flex-direction: column; gap: 0; }
  .nav-shop-item { flex-direction: row; justify-content: space-between; align-items: baseline; border-left: 0; padding: 12px 0 !important; }
  .nav-shop-all { border-top: 0; margin-top: 0; padding: 12px 0 !important; }
  .main-nav .nav-cta { margin: 16px 0 8px; text-align: center; padding: 12px 18px; border-bottom: 1px solid var(--accent); }
  .logo img { width: 232px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 72px; }
.hero__text { flex: 1 1 500px; min-width: 0; }
.hero__card { flex: 1 1 420px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.hero__card:hover { border-color: var(--line-2); color: var(--text); }
.hero__card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #0d0f13; border-radius: 14px; margin-bottom: 20px; }
.hero__card-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hero__card-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.1; text-transform: uppercase; max-width: 360px; }
.hero__card-price { text-align: right; display: flex; flex-direction: column; }

/* Preise */
.price { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; }
.price--xl { font-size: 40px; }
.price--xxl { font-size: 52px; }
.price-old { color: var(--faint); font-size: 16px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.tax-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* USP-Band */
.usp-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp svg { color: var(--accent); flex: none; margin-top: 3px; }
.usp strong { display: block; }
.usp span { color: var(--muted); font-size: 15px; }

/* Karten */
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card:hover { border-color: var(--line-2); color: var(--text); }
.grid-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-card { padding: 28px; min-height: 170px; display: flex; flex-direction: column; }
.cat-card__count { font-size: 13px; color: var(--muted); margin-bottom: auto; padding-bottom: 32px; }
.cat-card__name { hyphens: auto; -webkit-hyphens: auto; font-family: var(--font-display); font-size: clamp(22px, 2vw, 27px); font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card__img { position: relative; background: var(--surface-2); aspect-ratio: 4/3; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 13px; color: var(--muted); }
.product-card__name { font-size: 17px; font-weight: 600; line-height: 1.35; margin: 4px 0 0; flex: 1; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h2 { margin: 0; }

/* FAQ */
.faq-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.faq-box__intro { flex: 1 1 300px; }
.faq-box__intro .h2 { margin-bottom: 10px; }
.faq-box__intro p { margin: 0 0 22px; }
.faq-list { flex: 2 1 460px; min-width: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary, .accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; }
.faq summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.faq summary::after, .accordion summary::after { content: "+"; color: var(--accent-text); font-size: 22px; line-height: 1; }
.faq[open] summary::after, .accordion details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 600px) { .faq-box { padding: 28px 22px; } }

/* Seitenkopf, Brotkrumen */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 24px 0 52px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }
.crumbs--top { margin: 24px 0 8px; }

.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.chip:hover { border-color: var(--text); }
.chip.is-active:hover { color: var(--bg); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { color: var(--muted); font-size: 15px; }
select, input[type=text], input[type=email], input[type=number], input[type=password], textarea { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); }
select { height: 44px; padding: 0 12px; }

/* Produktseite */
.product { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 24px; padding-bottom: 64px; }
.product__gallery { flex: 1 1 480px; min-width: 0; position: sticky; top: calc(var(--hdr-h, 0px) + 24px); }
.product__main-img { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product__main-img img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumb { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.thumb.is-active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__info { flex: 1 1 460px; min-width: 0; }
@media (max-width: 960px) { .product__gallery { position: static; } }

.price-block { margin-bottom: 28px; }
.opt-group { border: 0; margin: 0 0 24px; padding: 0; }
.opt-group legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.req { color: var(--accent-text); }
.help { font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.opt-cards { display: flex; flex-direction: column; gap: 10px; }
.opt-card { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; position: relative; }
.opt-card:hover { border-color: #5A6472; }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-card__dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #5A6472; }
.opt-card__text { flex: 1; display: flex; flex-direction: column; }
.opt-card__text small { color: var(--muted); font-size: 14px; }
.opt-card__price { font-family: var(--font-display); font-size: 26px; font-weight: 700; white-space: nowrap; }
.opt-card:has(input:checked) { border-color: var(--accent); background: #24100F; }
.opt-card:has(input:checked) .opt-card__dot { border: 6px solid var(--accent); }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field input { width: 100%; height: 52px; padding: 0 16px; }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; height: 56px; }
.qty button { width: 46px; height: 54px; background: none; border: 0; font-size: 20px; cursor: pointer; }
.qty input { width: 44px; height: 54px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.btn-buy { flex: 1 1 240px; min-height: 56px; font-size: 17px; font-weight: 700; }

.accordion { margin-top: 36px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion .prose { padding-bottom: 18px; }

.prose { color: var(--muted); }
.prose h2, .prose h3 { color: var(--text); font-family: var(--font-display); text-transform: uppercase; }
.prose a { color: var(--text); text-decoration: underline; }
.prose--page { max-width: 1240px; } /* gleiche Breite wie Navigation und Footer */

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; font-size: 15px; color: var(--muted); }
.footer-brand { max-width: 360px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 24px; }
.footer-links a { color: var(--muted); }
.footer-pay { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.contact-card strong { font-size: 19px; overflow-wrap: anywhere; }
.contact-card__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* Startseite: Über uns, Tuner werden, SEO-Text */
.split { display: flex; flex-wrap: wrap; gap: 20px; }
.split > * { flex: 1 1 360px; min-width: 0; }
.promo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.promo-card--accent { border-color: var(--accent); }
.promo-card .h2 { margin: 0; }
.promo-card p { color: var(--muted); margin: 0; }
.promo-card .btn-row { margin-top: auto; padding-top: 10px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.seo-text { columns: 2 420px; column-gap: 48px; }
.seo-text h2 { column-span: all; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); color: var(--text); margin: 0 0 20px; }
.seo-text h3 { break-after: avoid; margin: 0 0 6px; font-size: 18px; font-family: var(--font); text-transform: none; }
.seo-text p { margin: 0 0 18px; break-inside: avoid; }
@media (max-width: 600px) { .promo-card { padding: 26px 22px; } }
.sell-box { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.sell-box h3 { margin: 0 0 6px; font-size: 18px; }
.sell-box p { margin: 0 0 10px; }

/* Meldungen, Warenkorb-Zähler */
.icon-btn { position: relative; }
.cart-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flash-wrap { padding-top: 20px; }
.flash { border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; border: 1px solid; }
.flash--ok { background: #173A2A; border-color: #24563F; color: #9BEBC4; }
.flash--error { background: #2A1211; border-color: #5A1E1A; color: #FFB1AB; }

/* Warenkorb & Kasse */
.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 8px; padding-bottom: 80px; }
.checkout__main { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checkout__side { flex: 2 1 340px; min-width: 0; position: sticky; top: calc(var(--hdr-h, 0px) + 20px); }
@media (max-width: 960px) { .checkout__side { position: static; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.box h2 { font-size: 20px; margin: 0 0 18px; }
.cart-line { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.cart-line:first-of-type { border-top: 0; padding-top: 0; }
.cart-line img { width: 84px; height: 64px; object-fit: contain; background: var(--surface-2); border-radius: 10px; flex: none; }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 600; }
.cart-line__det { font-size: 14px; color: var(--muted); }
.cart-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__side .qty { height: 40px; }
.cart-line__side .qty input { height: 38px; width: 40px; }
.cart-line__side .qty button { height: 38px; width: 36px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--accent-text); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--muted); }
.sum-row strong { color: var(--text); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.sum-total .price { font-size: 38px; }
.form-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.form-grid2 .field { margin: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; background: var(--bg); }
.field textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.field select { height: 48px; }
.field-error { color: #FF8A82; font-size: 14px; margin: 6px 0 0; }
.field--wide { grid-column: 1 / -1; }
.pay-cards { display: flex; flex-direction: column; gap: 10px; }
.pay-cards .opt-card { background: var(--bg); }
.check-row { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check-row a { color: var(--text); text-decoration: underline; }
.btn-xl { width: 100%; min-height: 56px; font-size: 17px; font-weight: 700; }
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.steps .is-current { color: var(--text); font-weight: 600; }

/* Bestellbestätigung */
.order-hero { text-align: left; }
.bank-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.bank-box svg, .bank-box img { width: 180px; height: 180px; background: #fff; border-radius: 10px; padding: 8px; flex: none; }
.bank-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.bank-box dt { color: var(--muted); }
.bank-box dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; }
#paypal-buttons { max-width: 480px; }
.pp-msg { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Kundenkonto */
.display--sm { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.h3 { font-size: 22px; margin: 0 0 16px; }
.auth-wrap { display: flex; justify-content: center; padding-top: 56px; padding-bottom: 80px; }
.auth-card { width: 100%; max-width: 480px; }
.auth-card .flash { margin: 14px 0; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.auth-form .field { margin: 0; }
.auth-tabs { display: flex; gap: 6px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.auth-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; margin-bottom: -1px; color: var(--muted); font-weight: 600; cursor: pointer; min-height: 44px; }
.auth-tabs button.is-active { color: var(--text); border-bottom-color: var(--accent); }
.auth-foot { margin: 22px 0 0; font-size: 15px; }
.auth-foot a { color: var(--text); text-decoration: underline; }
.acc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.acc-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-tabs a { padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acc-tabs a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.acc-section { padding-top: 28px; }
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.device { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.device--alert { border-color: var(--accent); }
.device__top { display: flex; justify-content: space-between; gap: 12px; width: 100%; align-items: flex-start; }
.device__name { font-family: var(--font-display); font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.small { font-size: 14px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill--ok { background: #173A2A; color: #7FE0B0; }
.pill--warn { background: #3A2A12; color: #FFC27A; }
.pill--error { background: #3A1513; color: #FF9C95; }
.pill--off, .pill--info { background: var(--surface-2); color: var(--muted); }
.box--flush { padding: 0; }
.acc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 22px; border-top: 1px solid var(--line); }
.acc-row:first-child { border-top: 0; }
.grow { flex: 1 1 200px; min-width: 0; }
.clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.doc-card { display: flex; align-items: center; gap: 14px; padding: 18px; color: var(--text); }
.doc-card svg { color: var(--muted); flex: none; }
.doc-card:hover { border-color: var(--line-2); color: var(--text); }
.acc-data { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.acc-data > form { flex: 3 1 480px; min-width: 0; }
.acc-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.acc-side .field { margin-bottom: 14px; }

.doc-card > strong { white-space: nowrap; }

/* ---------- Cookie-Banner (nur wenn Google Analytics eingetragen ist) ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { pointer-events: auto; max-width: 1240px; width: 100%; display: flex; gap: 24px; align-items: center; justify-content: space-between; background: #15191F; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.cookie-banner__title { margin: 0 0 4px; font-weight: 700; color: var(--text); }
.cookie-banner__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie-banner__text a { color: var(--text); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__actions .btn { min-width: 130px; justify-content: center; }
@media (max-width: 760px) { .cookie-banner__inner { flex-direction: column; align-items: stretch; padding: 18px; } .cookie-banner__actions .btn { flex: 1; min-width: 0; } }
.footer-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-align: left; }
.footer-linkbtn:hover { color: var(--text); }

/* Kundenkonto: Meine Website */
.rental-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; flex-wrap: wrap; }
.code-box { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; padding: 12px; resize: vertical; }

/* Testseite-Hinweis auf Inhaltsseiten */
.demo-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--accent); border-radius: 20px; padding: 36px 40px; }
.demo-cta > div { flex: 1 1 420px; }
.demo-cta .h2 { margin: 0 0 10px; }
.demo-cta p:last-child { margin: 0; }
@media (max-width: 600px) { .demo-cta { padding: 26px 22px; } }

/* Startseite: Websites & Fahrzeugkonfigurator */
.hero__new { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--text); }
.hero__new span { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.hero__new:hover { color: var(--accent-text); }
.rent-promo { position: relative; }
.rent-promo__head { max-width: 760px; margin-bottom: 32px; }
.rent-promo__head .h2 { margin-bottom: 16px; }
.rent-promo .accent { color: var(--accent-text); }
.rent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.rent-card { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--surface) 55%); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.rent-card::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.018) 22px 23px); pointer-events: none; }
.rent-card > * { position: relative; z-index: 1; }
.rent-card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(226,35,26,.14); color: var(--accent-text); }
.rent-card__title { font-family: var(--font-display); font-size: 34px; text-transform: uppercase; line-height: 1; margin: 0; font-stretch: condensed; }
.rent-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.rent-card__list li { padding-left: 28px; position: relative; }
.rent-card__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.rent-card .btn-row { margin-top: auto; padding-top: 6px; }
@media (max-width: 600px) { .rent-card { padding: 26px 22px; } .rent-card__title { font-size: 28px; } }

/* Live-Konfigurator auf der Seite */
.live-konfig { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.live-konfig__head { max-width: 760px; margin-bottom: 20px; }
.live-konfig__head .h2 { margin: 0 0 8px; }
.live-konfig__head p:last-child { margin: 0; }
.live-konfig__frame { display: block; width: 100%; min-height: 380px; border: 0; background: transparent; }
@media (max-width: 600px) { .live-konfig { padding: 20px 12px; border-radius: 14px; } }

.display--product-long { font-size: clamp(28px, 3vw, 42px); }

/* Produktseite Website/Konfigurator: Links zu den Testseiten */
.try-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 22px; }
.try-links__label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Sprachumschalter DE | EN */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-right: 6px; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { color: var(--accent-text); }
.lang-switch span { color: var(--faint); }
.lang-note { background: var(--surface-2, rgba(127,127,127,.12)); border-left: 3px solid var(--accent, #c00); padding: 10px 14px; border-radius: 6px; font-size: 14px; }

/* Sprachumschalter im Handy-Menü statt im Kopf (mehr Platz fürs Logo) */
.nav-lang { display: none; }
@media (max-width: 600px) {
  .header-icons .lang-switch { display: none; }
  .main-nav .nav-lang { display: block; color: var(--accent); }
  .header-row { gap: 10px; }
  .header-icons { gap: 8px; }
  .icon-btn, .nav-toggle { width: 42px; height: 42px; }
}
/* lange Wörter in großen Überschriften auf dem Handy umbrechen statt seitlich überstehen */
h1, h2, .display { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) { #rent-title { font-size: clamp(24px, 7.4vw, 34px); } }
fieldset.opt-group { min-width: 0; }
.opt-card { min-width: 0; }
@media (max-width: 480px) { .opt-card { flex-wrap: wrap; } }
@media (max-width: 1200px) { .site-header.is-stuck .header-row { padding-bottom: 8px; } }
.license-key{font-size:15px;letter-spacing:.04em;background:var(--surface-2,#1a1f26);padding:4px 8px;border-radius:6px;user-select:all}
/* WordPress-Plugins auf der Startseite */
.wp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.wp-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.wp-card--top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -30px rgba(226,35,26,.55); }
.wp-card__flag { align-self: flex-start; margin-bottom: -6px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }
.wp-card__img { display: block; aspect-ratio: 4/3; background: var(--surface-2); }
.wp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wp-card:hover .wp-card__img img { transform: scale(1.02); }
.wp-card__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.wp-card__title { overflow-wrap: break-word; hyphens: manual; font-family: var(--font-display); font-size: 32px; text-transform: uppercase; line-height: 1; margin: 0; font-stretch: condensed; }
.wp-card__title span { color: var(--accent-text); }
.wp-card__buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.wp-card__price { display: grid; gap: 2px; }
.wp-card__price small { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .wp-grid { grid-template-columns: 1fr; } .wp-card__body { padding: 22px 20px 24px; } .wp-card__title { font-size: 26px; } .wp-card__buy .btn { width: 100%; } }

/* Leistungsdiagramm-Muster auf den Landingpages */
.dyno-show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 20px; padding: 36px; }
.dyno-show__text .h2 { margin: 0 0 18px; }
.dyno-show__text .rent-card__list { margin-bottom: 22px; }
.dyno-show__img { margin: 0; }
.dyno-show__img img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); }
.dyno-show__img figcaption { margin-top: 8px; }
@media (max-width: 900px) { .dyno-show { grid-template-columns: 1fr; padding: 24px 20px; gap: 22px; } }

/* Großansicht der Produktbilder */
.product__main-img { position: relative; cursor: zoom-in; }
.product__main-img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.25); pointer-events: none; transition: transform .2s; }
.product__main-img:hover .zoom-hint { transform: scale(1.08); }
.zoomable { display: block; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,6,8,.94); display: grid; place-items: center; padding: 56px 72px; animation: lb-in .18s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: grid; justify-items: center; gap: 10px; }
.lightbox__fig img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: pointer; }
.lightbox__count { color: rgba(255,255,255,.7); font-size: 14px; min-height: 1em; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 36px; padding-bottom: 4px; }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }
@media (max-width: 700px) { .lightbox { padding: 60px 8px 70px; } .lightbox__nav { top: auto; bottom: 14px; transform: none; } .lightbox__nav--prev { left: calc(50% - 60px); } .lightbox__nav--next { right: calc(50% - 60px); } }
.opt-optional{font-weight:400;color:var(--muted);font-size:.85em;text-transform:none;letter-spacing:0}

/* WhatsApp-Button unten rechts */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s, box-shadow .15s; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.07); box-shadow: 0 10px 30px rgba(37,211,102,.45); color: #fff; }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; } }
@media print { .wa-float { display: none; } }

/* Kategorie-Einleitung mit Absätzen, Zwischenüberschriften und Listen */
.lead--intro { max-width: none; margin-bottom: 8px; }
.cat-intro { max-width: none; color: var(--muted); font-size: 17px; line-height: 1.65; }
.cat-intro h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); font-size: 30px; line-height: 1.1; letter-spacing: .01em; margin: 34px 0 12px; }
.cat-intro > h2:first-child { margin-top: 0; }
.cat-intro p { margin: 0 0 14px; }
.cat-intro ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.cat-intro li { position: relative; padding-left: 22px; }
.cat-intro li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--accent); }
.cat-intro li strong { color: var(--text); }
.cat-intro--head { margin-top: 0; }
.cat-intro--head > p:first-child { font-size: 20px; line-height: 1.55; margin-bottom: 22px; }
.cat-intro--head > p:first-child + h2, .cat-intro--head > p:first-child + h3 { margin-top: 30px; }
.cat-intro h3 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); font-size: 23px; line-height: 1.15; margin: 24px 0 8px; }
.cat-intro ul { list-style: none; }
.cat-intro a { color: var(--text); text-decoration: underline; }

/* File Service Portal – Startseite */
.fsp-promo__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.fsp-promo__img { display: block; border-radius: 14px; overflow: hidden; }
.fsp-promo__img img { display: block; width: 100%; height: auto; }
.fsp-promo__body .h2 { margin-bottom: 14px; }
.fsp-promo__body .rent-card__list { margin: 18px 0 22px; }
@media (max-width: 900px) { .fsp-promo__grid { grid-template-columns: 1fr; gap: 22px; padding: 18px; } }
/* MMFlash: Fahrzeugauswahl */
.mmf-pick label { display: block; margin-bottom: 8px; }
.mmf-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mmf-selects select { width: 100%; height: 48px; padding: 0 12px; background: var(--bg); }
.mmf-chosen { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.mmf-chosen strong { flex: 1; line-height: 1.35; }
.mmf-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; font-size: 14px; flex: 0 0 26px; }
.mmf-err { color: #e2231a; font-weight: 600; margin: 6px 0 0; }
@media (max-width: 560px) { .mmf-selects { grid-template-columns: 1fr; } }
.mmf-selects[hidden], .mmf-chosen[hidden], .mmf-err[hidden] { display: none; }
.mmf-perf { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.mmf-perf[hidden] { display: none; }
.mmf-perf__head { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #9aa0a6); margin-bottom: 6px; }
.mmf-perf__row { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; flex-wrap: wrap; }
.mmf-perf__row span { flex: 0 0 96px; color: var(--muted, #9aa0a6); }
.mmf-perf__row i { font-style: normal; color: var(--muted, #9aa0a6); }
.mmf-perf__row strong { color: #e2231a; font-size: 1.05em; }
.mmf-perf__row em { font-style: normal; font-size: 12px; color: #1f9d55; font-weight: 700; }

/* Session-ID (MM-Flash) */
.sid-box { border-color: var(--accent); }
.sid-form { margin-top: 14px; }
.sid-form label { display: block; margin-bottom: 8px; }
.sid-row { display: flex; gap: 10px; }
.sid-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; font-size: 17px; letter-spacing: .03em; }
.sid-ok { color: #22c55e; margin: 8px 0 0; }
.sid-note { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.sid-note strong { display: block; margin-bottom: 2px; }
@media (max-width: 560px) { .sid-row { flex-direction: column; } }

.sid-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.sid-consent input { margin-top: 3px; flex: none; }



/* Logo: groß mit Claim (Desktop/Tablet), kompakt am Handy */
.logo__full, .logo__compact { display: block; }
.logo__compact { display: none; }
.site-header .logo__full img { width: 340px; }
.site-header.is-stuck .logo__full img { width: 280px; }
.footer-brand img { width: 300px; max-width: 100%; height: auto; }
@media (max-width: 760px) {
  .logo__full { display: none; }
  .logo__compact { display: block; }
  .site-header .logo__compact img { width: 220px; }
}

/* ---------- Hell/Dunkel ---------- */
html img.logo--on-light { display: none; }
.theme-toggle { background: none; color: var(--text); cursor: pointer; }
.theme-toggle__moon { display: none; }
.theme-toggle:hover { border-color: var(--line-2); color: var(--accent-text); }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF; --bg-2: #F5F6F8; --surface: #FFFFFF; --surface-2: #F0F2F5;
  --line: #E2E5EA; --line-2: #C3C9D2; --text: #0B0D10; --muted: #4B5361; --faint: #6B7280;
  --accent: #E2231A; --accent-hover: #C41C14; --accent-text: #C41C14;
}
html[data-theme="light"] .site-header { background: rgba(255, 255, 255, .94); }
html[data-theme="light"] .nav-link, html[data-theme="light"] .nav-dd__menu a { color: #2B313A; }
html[data-theme="light"] .nav-link:hover, html[data-theme="light"] .nav-dd:hover .nav-dd__btn, html[data-theme="light"] .nav-dd.is-open .nav-dd__btn, html[data-theme="light"] .nav-dd__menu a:hover { background: rgba(0, 0, 0, .05); color: var(--text); }
html[data-theme="light"] .hero__card img { background: #F1F3F6; }
html[data-theme="light"] .opt-card:hover { border-color: #9AA3AF; }
html[data-theme="light"] .opt-card__dot { border-color: #9AA3AF; }
html[data-theme="light"] .opt-card:has(input:checked) { background: #FDECEB; }
html[data-theme="light"] .flash--ok { background: #E8F7EF; border-color: #A9DFC3; color: #12613D; }
html[data-theme="light"] .flash--error { background: #FDECEB; border-color: #F3B4AE; color: #9B1C14; }
html[data-theme="light"] .field-error { color: #B3261E; }
html[data-theme="light"] .pill--ok { background: #E3F5EC; color: #146C43; }
html[data-theme="light"] .pill--warn { background: #FFF3DC; color: #8A5300; }
html[data-theme="light"] .pill--error { background: #FDE7E5; color: #A1251C; }
html[data-theme="light"] .cookie-banner__inner { background: #FFFFFF; border-color: rgba(0, 0, 0, .1); box-shadow: 0 18px 50px rgba(0, 0, 0, .15); }
html[data-theme="light"] .rent-card::after { background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .025) 22px 23px); }
html[data-theme="light"] .mmf-perf__row strong, html[data-theme="light"] .mmf-err { color: #C41C14; }
html[data-theme="light"] img.logo--on-dark { display: none; }
html[data-theme="light"] img.logo--on-light { display: block; }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; }
/* Handy: immer hell, ohne Schalter */
@media (max-width: 760px) {
  :root {
  color-scheme: light;
  --bg: #FFFFFF; --bg-2: #F5F6F8; --surface: #FFFFFF; --surface-2: #F0F2F5;
  --line: #E2E5EA; --line-2: #C3C9D2; --text: #0B0D10; --muted: #4B5361; --faint: #6B7280;
  --accent: #E2231A; --accent-hover: #C41C14; --accent-text: #C41C14;
  }
  html .site-header { background: rgba(255, 255, 255, .94); }
  html .nav-link, html .nav-dd__menu a { color: #2B313A; }
  html .nav-link:hover, html .nav-dd:hover .nav-dd__btn, html .nav-dd.is-open .nav-dd__btn, html .nav-dd__menu a:hover { background: rgba(0, 0, 0, .05); color: var(--text); }
  html .hero__card img { background: #F1F3F6; }
  html .opt-card:hover { border-color: #9AA3AF; }
  html .opt-card__dot { border-color: #9AA3AF; }
  html .opt-card:has(input:checked) { background: #FDECEB; }
  html .flash--ok { background: #E8F7EF; border-color: #A9DFC3; color: #12613D; }
  html .flash--error { background: #FDECEB; border-color: #F3B4AE; color: #9B1C14; }
  html .field-error { color: #B3261E; }
  html .pill--ok { background: #E3F5EC; color: #146C43; }
  html .pill--warn { background: #FFF3DC; color: #8A5300; }
  html .pill--error { background: #FDE7E5; color: #A1251C; }
  html .cookie-banner__inner { background: #FFFFFF; border-color: rgba(0, 0, 0, .1); box-shadow: 0 18px 50px rgba(0, 0, 0, .15); }
  html .rent-card::after { background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .025) 22px 23px); }
  html .mmf-perf__row strong, html .mmf-err { color: #C41C14; }
  html img.logo--on-dark { display: none; }
  html img.logo--on-light { display: block; }
  html .theme-toggle__sun { display: none; }
  html .theme-toggle__moon { display: block; }
  .theme-toggle { display: none; }
}
