/* ============================================================
   b2b.soluxion.net — Fachpartner-Site Soluxion HEMS Plus
   Brand: Navy #0B1F3A · Amber #F5A200 · Blue #1A5FD4 · Green #10B981
   Eigenständiges Stylesheet. Ton: technisch, nüchtern, werkstattnah.
   Quelle: _build/assets/styles.css → generiert nach public/styles.css
   ============================================================ */

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #0D2545;
  --navy-light:  #112A4A;
  --amber:       #F5A200;
  --amber-light: #FFD166;
  --blue:        #1A5FD4;
  --blue-light:  #7BA8F5;
  --green:       #10B981;
  --white:       #FFFFFF;
  --text:        rgba(255,255,255,0.80);
  --text-muted:  rgba(255,255,255,0.62);
  --text-dim:    rgba(255,255,255,0.40);
  --card-bg:     rgba(255,255,255,0.04);
  --card-bg-2:   rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.09);
  --card-border-strong: rgba(255,255,255,0.12);
  --radius:      14px;
  --radius-sm:   10px;
  --maxw:        1120px;
  --maxw-prose:  760px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 92px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--amber); }
.accent { color: var(--amber); }
.mono { font-family: var(--mono); }

::selection { background: rgba(245,162,0,0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ── Skip-Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--navy); font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Top-Bar ─────────────────────────────────────────────── */
.topbar { height: 4px; background: var(--amber); }
.bottom-bar { height: 4px; background: var(--amber); }

/* ── Navigation ──────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav-wordmark { font-size: 18px; font-weight: 800; letter-spacing: 0.5px; line-height: 1; }
.nav-wordmark .sol { color: var(--white); }
.nav-wordmark .uxion { color: var(--amber); }
.nav-sub {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--text-dim); margin-top: 3px;
  font-family: var(--mono);
}
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .18s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after {
  content: ''; display: block; height: 2px; background: var(--amber);
  margin-top: 4px; border-radius: 2px;
}
.nav-cta {
  background: var(--amber); color: var(--navy) !important; font-weight: 700 !important;
  padding: 9px 18px; border-radius: 8px; white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-light); }
/* Der aktive-Unterstrich darf nicht unter dem Button durchlaufen –
   sonst haengt ein amberfarbener Fortsatz an der CTA. */
.nav-links a.nav-cta.is-active::after { display: none; }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 9px; flex-direction: column;
  justify-content: space-between;
}
.nav-burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .22s, opacity .22s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; inset: 61px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-mid); border-bottom: 1px solid var(--card-border);
    padding: 8px 24px 20px; max-height: calc(100vh - 61px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links li { border-top: 1px solid var(--card-border); }
  .nav-links a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-links a.is-active::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; padding: 13px 18px; }
  .nav-links li:has(.nav-cta) { border-top: 0; }
  /* Deutsche Komposita wie "Verbraucherstreitbeilegung" passen in einer
     Ueberschrift nicht in 327px und schoben das Impressum ueber den rechten
     Rand hinaus. Nur hier trennen, damit die Optik am Rechner gleich bleibt. */
  h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
  /* Bei offenem Menue faehrt das Cookie-Banner in seine Ruhelage zurueck. Es lag
     sonst ueber den unteren Menuepunkten. Kein display:none, damit es nach dem
     Schliessen wieder hereinfaehrt statt zu springen. */
  body.nav-offen .cookie-banner { transform: translateY(140%); }
}

/* ── Sektionen ───────────────────────────────────────────── */
section { padding: 76px 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
/* "narrow" verengt nicht den Container, sondern dessen Inhalt: so bleibt die
   linke Kante exakt auf der von Hero und Prose. Ein verengter Container wuerde
   entweder zentriert (Versatz nach rechts) oder am Seitenrand kleben. */
.section-inner.narrow > * { max-width: var(--maxw-prose); }
.section-tag {
  display: inline-block; font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(245,162,0,0.32);
  background: rgba(245,162,0,0.07);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1, h2, h3, h4 { color: var(--white); letter-spacing: -0.4px; }
h2 { font-size: clamp(26px, 3.3vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.section-desc { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
.alt-bg { background: linear-gradient(180deg, rgba(255,255,255,0.022), transparent); }

/* ── Hero (Startseite) ───────────────────────────────────── */
.hero {
  padding: 92px 24px 76px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(26,95,212,0.20) 0%, transparent 72%),
    linear-gradient(165deg, #0D2545 0%, #0B1F3A 100%);
  border-bottom: 1px solid var(--card-border);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 54px); font-weight: 800; line-height: 1.12;
  margin-bottom: 20px; max-width: 15ch;
}
.hero .lead { font-size: 18.5px; color: var(--text-muted); line-height: 1.72; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ── Page-Hero (Unterseiten) ─────────────────────────────── */
.page-hero {
  padding: 66px 24px 52px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26,95,212,0.15) 0%, transparent 70%),
    linear-gradient(160deg, #0D2545 0%, #0B1F3A 100%);
  border-bottom: 1px solid var(--card-border);
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.16;
  margin-bottom: 16px; max-width: 20ch;
}
.page-hero .lead { font-size: 17.5px; color: var(--text-muted); line-height: 1.72; max-width: 66ch; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 10px; font-size: 15.5px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-light); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--white); border-color: var(--card-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); }

/* ── Karten-Raster ───────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }
.card p + p { margin-top: 12px; }
a.card { text-decoration: none; display: block; transition: background .18s, border-color .18s, transform .18s; }
a.card:hover { background: var(--card-bg-2); border-color: rgba(245,162,0,0.32); transform: translateY(-2px); }
.card-more {
  display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700;
  color: var(--amber); font-family: var(--mono);
}

/* Gewerke-Karten mit Kennziffer */
.trade-card { position: relative; padding-top: 30px; }
.trade-num {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--amber);
  letter-spacing: 1.2px; display: block; margin-bottom: 10px;
}
.trade-card ul { list-style: none; margin-top: 16px; }
.trade-card ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 14.5px; color: var(--text-muted);
}
.trade-card ul li::before {
  content: '›'; position: absolute; left: 4px; top: -1px;
  color: var(--amber); font-weight: 700;
}

/* ── Zahlen-/Fakten-Reihe ────────────────────────────────── */
.facts { display: grid; gap: 1px; background: var(--card-border); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact { background: var(--navy); padding: 24px 22px; }
.fact-value { font-family: var(--mono); font-size: 27px; font-weight: 700; color: var(--white); line-height: 1.1; }
.fact-value .unit { font-size: 16px; color: var(--amber); margin-left: 3px; }
.fact-label { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

/* ── Prose (Textseiten) ──────────────────────────────────── */
.prose { max-width: var(--maxw-prose); font-size: 16.5px; line-height: 1.78; color: var(--text); }
.prose.center { margin: 0 auto; }
.prose > h2 { font-size: 27px; margin: 52px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 19.5px; margin: 34px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 1.25em; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--amber); }
.prose a:not(.btn) { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(245,162,0,0.42); }
.prose a:not(.btn):hover { color: var(--amber-light); border-bottom-color: var(--amber-light); }
.prose strong { color: var(--white); font-weight: 700; }
.prose code {
  font-family: var(--mono); font-size: 0.88em; background: rgba(255,255,255,0.07);
  border: 1px solid var(--card-border); border-radius: 5px; padding: 2px 6px; color: var(--amber-light);
}
.prose h2 + p, .prose h3 + p { margin-top: 0; }

/* ── Hinweis-Kästen ──────────────────────────────────────── */
.note {
  border-radius: var(--radius-sm); padding: 20px 22px; margin: 26px 0;
  border: 1px solid var(--card-border); background: var(--card-bg);
  border-left-width: 3px; font-size: 15.5px; line-height: 1.68;
}
.note strong:first-child { display: block; margin-bottom: 6px; color: var(--white); }
.note p + p { margin-top: 10px; }
.note.warn   { border-left-color: var(--amber); background: rgba(245,162,0,0.06); }
.note.info   { border-left-color: var(--blue-light); background: rgba(26,95,212,0.09); }
.note.ok     { border-left-color: var(--green); background: rgba(16,185,129,0.07); }
.note.legal  { border-left-color: rgba(255,255,255,0.28); font-size: 14px; color: var(--text-muted); }

/* ── Tabellen ────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto; margin: 26px 0; max-width: 920px;
  border: 1px solid var(--card-border); border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
thead th {
  background: rgba(255,255,255,0.05); color: var(--white); text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--mono); padding: 13px 16px; white-space: nowrap;
}
tbody td { padding: 13px 16px; border-top: 1px solid var(--card-border); vertical-align: top; color: var(--text-muted); }
tbody tr:hover td { background: rgba(255,255,255,0.022); }
tbody td:first-child { color: var(--white); font-weight: 600; }
td .mono, th .mono { font-family: var(--mono); }
.tag-ok   { color: var(--green); font-weight: 700; }
.tag-warn { color: var(--amber); font-weight: 700; }

/* ── Grafiken ────────────────────────────────────────────────
   Als <img>: der Grafiktext zählt so nicht als Seitentext (dedup-check gegen das Handbuch).
   Unter 720 px scrollt der Rahmen waagerecht, damit die Schrift lesbar bleibt. */
.grafik { max-width: 920px; margin: 30px 0 48px; }
.grafik-rahmen {
  overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius);
  background: linear-gradient(160deg, #0E2748 0%, #0B1F3A 100%);
}
.grafik-rahmen img { width: 100%; min-width: 720px; height: auto; padding: 10px 0; }
.grafik figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 760px; }

/* ── Schritt-Liste ───────────────────────────────────────── */
.steps { counter-reset: step; list-style: none; margin: 30px 0 0; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 28px 56px; border-left: 1px solid var(--card-border); margin-left: 17px;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -17px; top: -3px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-light); border: 1px solid rgba(245,162,0,0.42);
  color: var(--amber); font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  display: grid; place-items: center;
}
.steps h3 { font-size: 17.5px; margin-bottom: 7px; }
.steps p { color: var(--text-muted); font-size: 15px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--card-border); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--card-border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; color: var(--white); font-size: 16.5px; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--amber); line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--amber); }
.faq .faq-body { padding: 0 0 22px; color: var(--text-muted); font-size: 15.5px; line-height: 1.72; }
.faq .faq-body p + p { margin-top: 12px; }
.faq .faq-body a { color: var(--amber); }

/* ── CTA-Band ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(150deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 46px 40px; text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); max-width: 56ch; margin: 0 auto 26px; font-size: 16.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Kontaktformular ─────────────────────────────────────── */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--white); }
.field .hint { font-size: 12.5px; color: var(--text-dim); font-weight: 400; }
.field .req { color: var(--amber); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--white);
  background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .18s, background .18s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23F5A200' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(255,255,255,0.07);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #F87171; }
.field .err { font-size: 12.5px; color: #F87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--amber); }
.check a { color: var(--amber); }
.form-status { border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px; margin-bottom: 22px; }
.form-status.ok   { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #A7F3D0; }
.form-status.fail { background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.4); color: #FCA5A5; }
.form-side { font-size: 15px; }
.form-side dl { margin-top: 6px; }
.form-side dt { font-size: 12px; font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-top: 18px; }
.form-side dd { color: var(--white); margin-top: 4px; }
.form-side dd a { color: var(--amber); text-decoration: none; }
.form-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ── Seiten-Navigation unten ─────────────────────────────── */
.pager { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 12px; }
.pager a {
  display: block; text-decoration: none; padding: 20px 22px;
  border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card-bg);
  transition: border-color .18s, background .18s;
}
.pager a:hover { border-color: rgba(245,162,0,0.32); background: var(--card-bg-2); }
.pager .pager-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 7px; }
.pager .pager-title { color: var(--white); font-weight: 700; font-size: 16px; display: block; }
.pager .pager-desc { color: var(--text-muted); font-size: 14px; margin-top: 5px; display: block; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: #081729; border-top: 1px solid var(--card-border); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.5fr repeat(3, 1fr); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; line-height: 1.65; }
.footer-col h4 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px; font-family: var(--mono);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--card-border); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: var(--text-dim);
}

/* ── Druck ───────────────────────────────────────────────── */
@media print {
  nav, .topbar, .bottom-bar, .cta-band, .pager, .nav-burger { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, .prose strong { color: #000; }
  .card, .note, .table-wrap { border-color: #bbb; background: #fff; }
  a { color: #000; }
}

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

/* ── Cookie-Banner ───────────────────────────────────────────
   Übernommen aus branding/website/styles.css (Zeilen 1247–1421),
   --navy-band → --navy-light angepasst. Markup erzeugt consent.js. */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  border: 1px solid rgba(245,162,0,0.30);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 28px 30px 24px;
  z-index: 1000;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  transform: translateY(140%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.cookie-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  line-height: 1.6;
}
.cookie-banner a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,162,0,0.4);
}
.cookie-banner a:hover {
  color: var(--amber-light);
  border-bottom-color: var(--amber-light);
}

.cookie-categories {
  display: none;
  margin: 0 0 18px;
  padding-top: 8px;
  border-top: 1px solid var(--card-border);
}
.cookie-categories.is-visible { display: block; }
.cookie-cat {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}
.cookie-cat:last-child { border-bottom: none; }
.cookie-cat-info { flex: 1; }
.cookie-cat-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.cookie-cat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.cookie-cat-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-cat-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 44px;
  height: 24px;
  margin: 0;
  background: var(--card-border-strong);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cookie-cat-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.cookie-cat-toggle input[type="checkbox"]:checked {
  background: var(--amber);
  border-color: var(--amber);
}
.cookie-cat-toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}
.cookie-cat-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.cookie-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-reject {
  flex: 1 1 0;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
}
.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.28);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
}
.cookie-btn-settings:hover { color: var(--white); }
.cookie-btn-accept {
  flex: 1 1 0;
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.cookie-btn-accept:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 22px 22px 18px;
    bottom: 8px; left: 8px; right: 8px;
    border-radius: 14px;
  }
  .cookie-actions { flex-direction: column; }
  .cookie-btn { width: 100%; flex: 0 0 auto; }
  .cookie-btn-settings { order: 3; }
}
