/* DeinFlutlicht – Hauptstylesheet. Tokens aus design/tokens.css (Variante G). */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-Regular.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-SemiBold.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
/* Sora auch im Fließtext, wie bei NOTLUX (Nutzer, 6. November 2026). */

:root {
  --hero: #0A0A0A;
  --hero-text: #FFFFFF;
  --hero-muted: #A8A8A8;
  --section: #0A0A0A;
  --section-alt: #0A0A0A;
  --text: #FFFFFF;
  --text-muted: #B5B5B5;
  --card: #161616;
  --card-border: #303030;
  --band: #161616;
  --band-card: #1F1F1F;
  --band-border: #3A3A3A;
  --band-muted: #B5B5B5;
  --accent: #E1202E;
  --on-accent: #FFFFFF;
  --accent-on-dark: #FF5A64;
  --accent-on-light: #FF5A64;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Sora', system-ui, sans-serif;
  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-pill: 999px;
  --container: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--section);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
img, svg { display: block; }

.wrap { max-width: var(--container); margin: 0 auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 18px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* Fokus: auf hellem Grund dunkelrot, auf dunklem Grund hellrot */
:focus-visible { outline: 3px solid var(--accent-on-light); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--accent-on-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px;
  background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: var(--radius-pill);
  font-family: inherit; font-weight: 500; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Logo */
/* Wortmarke als Pfade (design/logo/make_logo.py), Schrift in currentColor */
.logo { display: inline-flex; align-items: center; color: var(--hero-text); text-decoration: none; padding: 6px 0; }
.logo-svg { display: block; height: 28px; width: auto; }
.logo .lx { fill: var(--accent-on-dark); }
.logo .lx-s { stroke: var(--accent-on-dark); }
@media (max-width: 599px) { .logo-svg { height: 24px; } }

/* Hero */
.hero { background: var(--hero); color: var(--hero-text); padding: 0 var(--gutter) 44px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 40px; }
.nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav a.link { color: var(--hero-muted); text-decoration: none; padding: 8px 0; }
.nav a.link:hover { color: var(--hero-text); }
.nav .btn { min-height: 44px; padding: 10px 22px; font-size: 15px; }
@media (max-width: 999px) { .nav li.secondary { display: none; } }

.hero-title {
  font-weight: 600; font-size: clamp(36px, 9vw, 68px); line-height: 1.05;
  letter-spacing: -0.025em; margin: 0 0 18px; max-width: 760px;
}
.hero-intro { font-size: 18px; color: var(--hero-muted); margin: 0 0 36px; max-width: 620px; }

.group-label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--band-muted); margin: 0 0 12px;
}
.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  list-style: none; margin: 0 0 28px; padding: 0;
}
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; } }
.tile {
  width: 100%; height: 100%; min-height: 124px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: 16px; border-radius: 18px;
  border: 1px solid var(--band-border); background: var(--band-card); color: var(--hero-text);
  text-align: left; font-family: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
@media (min-width: 720px) { .tile { min-height: 150px; padding: 20px; } }
.tile:hover { border-color: var(--band-muted); }
.tile svg { width: 56px; height: 35px; }
.tile svg path { fill: none; stroke: var(--accent-on-dark); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tile .name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.tile > span { min-width: 0; max-width: 100%; }
.tile .sub { display: block; font-size: 13px; color: var(--band-muted); margin-top: 2px; }
.tile[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tile[aria-pressed="true"] svg path { stroke: var(--on-accent); }
.tile[aria-pressed="true"] .sub { color: var(--on-accent); }

.detail {
  margin-top: 28px; background: var(--band); border: 1px solid var(--band-border);
  border-radius: var(--radius-panel); padding: 28px 22px;
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 860px) { .detail { grid-template-columns: 1.15fr 1fr; padding: 40px; gap: 40px; } }
.detail .label { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 10px; }
.detail h2 { font-weight: 600; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
.detail p { font-size: 17px; color: var(--band-muted); margin: 0 0 26px; max-width: 520px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fact {
  display: flex; align-items: center; gap: 14px;
  background: var(--band-card); border: 1px solid var(--band-border);
  border-radius: 14px; padding: 14px 18px;
}
.fact svg { flex: none; }
.fact svg circle, .fact svg path { fill: none; stroke: var(--accent-on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Inhaltsbereiche */
.section { padding: 44px var(--gutter); }
@media (min-width: 720px) { .section { padding: 56px var(--gutter); } }
.section.alt { background: var(--section-alt); }
.eyebrow { display: block; font-size: 14px; font-weight: 500; color: var(--accent-on-light); margin-bottom: 8px; }
.sec-title { font-weight: 600; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--text-muted); margin: 0 0 28px; max-width: 620px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 3px solid var(--accent-on-light); padding-top: 20px; }
.step .no { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--accent-on-light); margin-bottom: 8px; }
.step h3 { font-weight: 500; font-size: 20px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { border: 1px solid var(--card-border); background: var(--card); border-radius: var(--radius-pill); padding: 8px 18px; font-size: 14px; }

/* Anfrage */
.form-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact dt { font-weight: 500; }
.contact dd { margin: 0 0 16px; color: var(--text-muted); }
.placeholder { background: #FFF4C2; color: #5C4A00; padding: 1px 6px; border-radius: 4px; font-size: .92em; }

.form-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 24px 20px; }
@media (min-width: 720px) { .form-card { padding: 32px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.field .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 0 14px;
  border-radius: 10px; border: 1px solid #8A8A8A; background: var(--section); color: var(--text);
  font-family: inherit; font-size: 16px;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; overflow-x: hidden; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--accent-on-light); border-width: 2px; }
.field .error { display: block; margin-top: 6px; font-size: 14px; color: var(--accent-on-light); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--text-muted); margin: 4px 0 20px; }
.form-card .btn { width: 100%; min-height: 52px; }
.form-status { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--band-card); color: var(--text); border: 1px solid var(--band-border); }
.form-status.err { background: #2A0E11; color: #FFC2C6; border: 1px solid #8A2A32; }

/* Footer */
.footer { background: var(--hero); color: var(--hero-text); padding: 48px var(--gutter); }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--band-border); }
@media (min-width: 900px) { .f-grid { grid-template-columns: 1.2fr 1.2fr 1.2fr .8fr; gap: 40px; } }
.f-head { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--hero-text); }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer ul a { color: var(--hero-muted); text-decoration: none; padding: 6px 0; display: inline-block; line-height: 1.35; }
.footer ul a:hover { color: var(--hero-text); }
.footer .small { margin: 20px 0 0; font-size: 14px; color: var(--hero-muted); }

/* Einfache Inhaltsseiten (Impressum, Datenschutz) */
.page-head { background: var(--hero); color: var(--hero-text); padding: 0 var(--gutter) 48px; }
.page-head h1 { font-weight: 600; font-size: clamp(32px, 7vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.prose { max-width: 720px; }

.site-header { padding-bottom: 0; }

/* ---------- Ergänzungen für Templates (Sportseiten) ---------- */
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.link-more { color: var(--hero-text); font-weight: 500; text-underline-offset: 4px; padding: 12px 0; }
.link-more[hidden] { display: none; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--hero-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--hero-muted); }
.label-dark { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 12px; }
.sport-hero { padding-bottom: 40px; }
.sport-hero .answer { max-width: 680px; }

.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .points { grid-template-columns: 1fr 1fr; gap: 20px; } }
.point { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 20px; }
.point svg { flex: none; margin-top: 2px; }
.point svg circle, .point svg path { fill: none; stroke: var(--accent-on-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.point h3 { font-weight: 500; font-size: 18px; margin: 0 0 4px; }
.point p { margin: 0; color: var(--text-muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius-card); background: var(--card); }
.levels { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.levels th, .levels td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--card-border); vertical-align: top; }
.levels thead th { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.levels tbody tr:last-child th, .levels tbody tr:last-child td { border-bottom: 0; }
.levels .row-note { display: block; font-weight: 400; color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.opt { font-weight: 400; color: var(--text-muted); }

.product-cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .product-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } }
.product-card { background: var(--hero); color: var(--hero-text); border-radius: var(--radius-panel); padding: 28px 24px; }
.product-card .eyebrow { color: var(--accent-on-dark); }
.product-card h3 { font-weight: 600; font-size: 28px; margin: 0 0 8px; }
.product-card > p { color: var(--band-muted); margin: 0 0 20px; }
.specs { margin: 0; display: grid; gap: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--band-border); font-size: 15px; }
.specs dt { color: var(--band-muted); }
.specs dd { margin: 0; text-align: right; }

.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--card-border); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 18px; padding: 18px 32px 18px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--accent-on-light); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--text-muted); }

.sport-links { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sport-links a { display: inline-block; border: 1px solid var(--card-border); border-radius: var(--radius-pill); padding: 10px 20px; text-decoration: none; font-weight: 500; }
.sport-links a:hover { border-color: var(--text); }

.review-note { padding-top: 24px; padding-bottom: 24px; }
.small-muted { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- Seiten „Lichtanforderungen“ ---------- */
.toc ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; border: 1px solid var(--band-border); background: var(--band-card); color: var(--hero-text); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14px; text-decoration: none; }
.toc a:hover { border-color: var(--band-muted); }
.levels thead th[colspan] { text-align: center; border-bottom: 1px solid var(--card-border); }
.levels th a { color: inherit; text-underline-offset: 3px; }
.table-note { margin-top: 12px; }
.level-section { scroll-margin-top: 16px; }
.level-section .prose p { font-size: 17px; color: var(--text-muted); max-width: 720px; }
.hint { border-left: 3px solid var(--accent-on-light); padding: 4px 0 4px 14px; color: var(--text) !important; font-weight: 500; }
.link-arrow { color: var(--accent-on-light); font-weight: 500; text-underline-offset: 4px; }
.link-arrow::after { content: " →"; }
.more-row { margin: 20px 0 0; }
.guide-links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }

.levels td.src { font-size: 13px; color: var(--text-muted); }

/* ---------- Glossar ---------- */
.glossary { max-width: 860px; }
.glossary-letter { font-weight: 600; font-size: 28px; color: var(--accent-on-light); margin: 40px 0 8px; scroll-margin-top: 16px; }
.glossary-letter:first-child { margin-top: 0; }
.glossary dl { margin: 0; }
.glossary .term { border-top: 1px solid var(--card-border); padding: 18px 0; scroll-margin-top: 16px; }
.glossary .term:target { background: var(--section-alt); padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.glossary dt { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.glossary dt a { text-decoration: none; }
.glossary dd { margin: 0; }
.glossary dd p { margin: 0 0 6px; color: var(--text-muted); }
.glossary .see { font-size: 14px; }
.glossary .see a { color: var(--accent-on-light); }

/* ---------- Ratgeber ---------- */
.bullets { margin: 0 0 16px; padding-left: 20px; color: var(--text-muted); font-size: 17px; max-width: 720px; }
.bullets li { margin-bottom: 8px; }
.sources ol { padding-left: 20px; font-size: 15px; }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--accent-on-light); overflow-wrap: anywhere; }

.hero-top { padding-top: 0; }

/* Lange deutsche Komposita auf schmalen Bildschirmen trennen */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Tabellen auf dem Handy als Karten */
@media (max-width: 719px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .levels { min-width: 0; }
  .levels thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .levels, .levels tbody, .levels tr, .levels th, .levels td { display: block; width: 100%; }
  .levels tr { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); margin-bottom: 12px; padding: 4px 0; }
  .levels tbody th { border-bottom: 1px solid var(--card-border); font-family: var(--font-display); font-size: 17px; padding: 14px 16px; }
  .levels td { display: flex; justify-content: space-between; gap: 16px; text-align: right; border-bottom: 0; padding: 8px 16px; }
  .levels td::before { content: attr(data-label); color: var(--text-muted); text-align: left; font-size: 14px; flex: none; max-width: 45%; }
  .levels tbody tr:last-child th { border-bottom: 1px solid var(--card-border); }
}

/* =====================================================================
   Startseite v2 (5. November 2026): ruhiger, sachlicher Auftritt
   Nachtfoto statt Piktogrammen, flache Kacheln, kleine Radien.
   ===================================================================== */
:root { --radius-card: 8px; --radius-panel: 12px; }

/* Überschriften ausgewogen umbrechen, Absätze ohne Einzelwörter in der letzten Zeile */
h1, h2, h3 { text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
p, li, dd, summary { text-wrap: pretty; }
@media (max-width: 599px) {
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
}
.breadcrumb li { white-space: nowrap; }

/* Header über dem Foto */
.site-header--overlay { position: absolute; inset: 0 0 auto 0; z-index: 2; background: transparent; color: var(--hero-text); padding: 0 var(--gutter); }

/* Hero mit Nachtfoto */
.home-hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-text); padding: 120px var(--gutter) 56px; min-height: 560px; display: flex; align-items: flex-end; }
@media (min-width: 900px) { .home-hero { min-height: 680px; padding-bottom: 72px; } }
.home-hero-media, .home-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-media img { object-fit: cover; object-position: 60% 45%; }
.home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 35%, rgba(10,10,10,.92) 100%); }
@media (min-width: 900px) {
  .home-hero::after { background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.78) 42%, rgba(10,10,10,.2) 100%),
                                   linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,1) 100%); }
}
.home-hero-inner { position: relative; z-index: 1; width: 100%; }
.kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); margin: 0 0 18px; max-width: 520px; }
.home-hero .hero-title { max-width: 680px; }
.home-hero .hero-intro { color: #C8C8C8; max-width: 560px; margin-bottom: 28px; }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--hero-text); }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ""; width: 14px; height: 2px; background: var(--accent-on-dark); flex: none; }

/* Auswahl */
.selector { background: var(--hero); color: var(--hero-text); padding: 8px var(--gutter) 72px; }
.selector .group-label { margin-top: 8px; }
.tiles { gap: 1px; border: 1px solid var(--band-border); border-radius: var(--radius-card); overflow: hidden; margin-bottom: 32px; }
.tiles > li { outline: 1px solid var(--band-border); } /* Linien je Kachel, damit leere Rasterfelder nicht grau wirken */
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; } }
.tile { position: relative; min-height: 0; height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 12px;
  align-content: center; padding: 18px 18px 18px 20px; border: 0; border-radius: 0; background: var(--hero); transition: background-color .15s; }
@media (min-width: 720px) { .tile { min-height: 96px; padding: 22px 20px 22px 22px; } }
.tile:hover { background: var(--band); border-color: transparent; }
.tile .name { grid-column: 1; font-size: 17px; font-weight: 500; hyphens: manual; overflow-wrap: normal; }
.tile .sub { grid-column: 1; color: var(--band-muted); font-size: 13px; margin: 0; }
.tile .arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 9px; height: 9px; border-top: 1.5px solid var(--band-muted); border-right: 1.5px solid var(--band-muted); transform: rotate(45deg); }
.tile[aria-pressed="true"] { background: var(--band-card); color: var(--hero-text); }
.tile[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.tile[aria-pressed="true"] .sub { color: var(--band-muted); }
.tile[aria-pressed="true"] .arrow { border-color: var(--accent-on-dark); }
@media (max-width: 719px) { .tiles { grid-template-columns: 1fr; } }

/* Detailbereich: flach, mit Linie statt Box */
.detail { margin-top: 8px; background: transparent; border: 0; border-top: 1px solid var(--band-border); border-radius: 0; padding: 32px 0 0; }
@media (min-width: 860px) { .detail { padding: 40px 0 0; } }
.facts { gap: 0; }
.fact { background: transparent; border: 0; border-bottom: 1px solid var(--band-border); border-radius: 0; padding: 14px 0; }
.fact:first-child { border-top: 1px solid var(--band-border); }

/* Marker statt Häkchen-Kreis */
.mk { width: 14px; height: 2px; background: var(--accent-on-dark); flex: none; display: inline-block; }
.point .mk { background: var(--accent-on-light); margin-top: 12px; }

/* Ruhigere Karten auf Unterseiten */
.point { border-radius: var(--radius-card); }
.product-card { border-radius: var(--radius-panel); }
.form-card { border-radius: var(--radius-panel); }
.chip, .sport-links a, .toc a { border-radius: 6px; }

@media (min-width: 720px) and (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Produktseiten ---------- */
.product-hero { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .product-hero { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.viewer { position: relative; background: radial-gradient(ellipse at 50% 40%, #2A2A2A 0%, var(--band) 70%); border: 1px solid var(--band-border);
  border-radius: var(--radius-panel); aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.viewer model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.viewer-load { position: relative; z-index: 1; align-self: center; margin-bottom: 12px; }
.viewer.is-loaded .viewer-load[hidden] { display: none; }
.viewer-note { position: relative; z-index: 1; margin: 0; padding: 10px 16px 14px; font-size: 13px; color: var(--band-muted); text-align: center; }
.opt-dark { font-weight: 400; opacity: .8; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.specs-light div { border-top: 1px solid var(--card-border); }
.specs-light dt { color: var(--text-muted); }
.facts-light .fact { color: var(--text); border-color: var(--card-border); }
.facts-light .fact:first-child { border-top-color: var(--card-border); }
.facts-light .mk { background: var(--accent-on-light); }
.product-card .link-more { display: inline-block; margin-top: 16px; }

/* Polardiagramm aus der LDT */
.polar-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 860px) { .polar-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }
.polar-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-panel); padding: 20px; }
.polar-item h3 { font-weight: 500; font-size: 18px; margin: 0 0 8px; }
.polar { margin: 0 0 12px; }
.polar svg { width: 100%; height: auto; display: block; }
.pg-axis { stroke: var(--text-muted); stroke-width: 1; }
.pg-ring { fill: none; stroke: var(--card-border); stroke-width: 1; }
.pg-val, .pg-ang { font-family: var(--font-body); font-size: 10px; fill: var(--text-muted); }
.pg-c0 { fill: rgba(196, 18, 31, .08); stroke: var(--accent-on-light); stroke-width: 2; stroke-linejoin: round; }
.pg-c90 { fill: none; stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; }
.polar figcaption { font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lg { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--accent-on-light); }
.lg-c90 { border-top: 2px dashed var(--text); margin-left: 8px; }
.polar-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 520px)); }
.facts-light .fact { align-items: flex-start; }
.facts-light .mk, .facts .mk { margin-top: 12px; }
.fact { align-items: flex-start; }
.opt-dark { margin-left: .35em; }

.viewer-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.viewer.is-loaded .viewer-poster { display: none; }
/* Viewer als helle Produktfläche */
.viewer { background: #FFFFFF; border-color: transparent; justify-content: flex-end; }
.viewer-poster { mix-blend-mode: multiply; }
.viewer-load { margin-bottom: 20px; }
.viewer-note { padding: 12px 4px 0; text-align: left; }

/* Ablauf ohne Nummern: Zeitleiste mit Punkt und Phasen-Label */
.steps { gap: 0; }
.step { position: relative; border-top: 1px solid var(--card-border); padding: 28px 0 28px; }
@media (min-width: 860px) { .step { padding: 32px 32px 0 0; } }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.step .phase { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-light); margin-bottom: 10px; }

/* Steuerung: Teaser auf der Startseite */
.steuerung-teaser { background: var(--hero); color: var(--hero-text); }
.steuerung-teaser .lead { color: var(--hero-muted); }
.teaser-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .teaser-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.teaser-points { list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .teaser-points { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; } .teaser-points li:nth-child(2) { border-top: 1px solid var(--band-border); } }
.teaser-points li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--band-border); }
.teaser-points li:first-child { border-top: 1px solid var(--band-border); }
.teaser-points .mk { transform: translateY(-4px); }

/* Steuerung: Szenen-Demo */
.sd { margin-top: 32px; background: var(--hero); color: var(--hero-text); border-radius: 12px; overflow: hidden; display: grid; }
@media (min-width: 900px) { .sd { grid-template-columns: 1.45fr 1fr; } }
.sd-stage { padding: 20px; display: flex; align-items: center; }
.sd-stage svg { width: 100%; height: auto; display: block; }
.sd-ground { fill: #141414; }
.sd-lines { stroke: #6E6E6E; stroke-width: .45; }
.sd-pool { transition: opacity .45s ease; }
.sd-mast { fill: #3A3A3A; transition: fill .3s ease; }
.sd-mast.is-on { fill: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .sd-pool, .sd-mast { transition: none; } }
.sd-panel { padding: 24px 20px 24px; border-top: 1px solid var(--band-border); }
@media (min-width: 900px) { .sd-panel { border-top: 0; border-left: 1px solid var(--band-border); padding: 32px 28px; } }
.sd-label { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.sd-scenes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sd-btn { font: inherit; font-size: 15px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--band-border); background: transparent; color: var(--hero-text); cursor: pointer; }
.sd-btn:hover { border-color: var(--hero-muted); }
.sd-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sd-info { margin: 0; display: grid; gap: 0; }
.sd-info div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--band-border); }
.sd-info dt { color: var(--hero-muted); font-size: 15px; }
.sd-info dd { margin: 0; font-family: var(--font-display); font-weight: 600; text-align: right; }
.sd-note { margin: 16px 0 0; font-size: 13px; color: var(--hero-muted); }

/* Kacheln sind Links auf die Sportseiten */
a.tile { text-decoration: none; color: var(--hero-text); }
a.tile:hover .arrow, a.tile:focus-visible .arrow { border-color: var(--accent-on-dark); }
a.tile:hover::before, a.tile:focus-visible::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }

/* ---------- Unterseiten mit Hintergrundfoto (Schwarzweiß) ---------- */
.photo-hero { position: relative; overflow: hidden; padding-top: 112px; padding-bottom: 64px; }
@media (min-width: 900px) { .photo-hero { padding-top: 140px; padding-bottom: 88px; min-height: 560px; display: flex; align-items: flex-end; } }
.photo-hero-media, .photo-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-hero-media img { object-fit: cover; object-position: 50% 50%; }
.photo-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.5) 35%, rgba(10,10,10,.92) 100%); }
@media (min-width: 900px) {
  .photo-hero::after { background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.72) 42%, rgba(10,10,10,.12) 100%),
                                    linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,1) 100%); }
}
.photo-hero > .wrap { position: relative; z-index: 1; width: 100%; }
.photo-hero .hero-intro { color: #C8C8C8; }
.photo-hero .breadcrumb a, .photo-hero .breadcrumb ol { color: #BDBDBD; }
.sec-gap { margin-top: 48px; }
.product-figure { margin: 0; border-radius: var(--radius-panel); overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.product-figure--dark { background: #000; }
.product-figure--light { background: #FFFFFF; }
.product-figure img { width: 100%; height: 100%; object-fit: contain; }

/* Kein Umbruch in Zahlen- und Namensspalten */
.nw { white-space: nowrap; }
@media (max-width: 719px) { .levels .nw { white-space: normal; } }
.levels-products td, .levels-products th { vertical-align: top; }

/* Lichtfarben-Auswahl */
.cts { margin-top: 28px; }
.cts-label { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.cts-dark .cts-label { color: var(--hero-muted); }
.ct-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct { display: flex; flex-direction: column; gap: 2px; min-width: 112px; padding: 10px 16px; border: 1px solid var(--card-border); border-radius: 8px; font: inherit; color: inherit; text-align: left; background: transparent; cursor: pointer; transition: border-color .2s ease; }
button.ct:hover { border-color: #FFF; }
.ct[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cts-dark .ct:not([aria-pressed="true"]):not(:hover) { border-color: var(--band-border); }
.ct-k { font-family: var(--font-display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.ct-sub { font-size: 13px; color: var(--text-muted); }
.cts-dark .ct-sub { color: var(--hero-muted); }
.ct-main .ct-sub { color: var(--accent-on-light); font-weight: 500; }
.cts-dark .ct-main .ct-sub { color: var(--accent-on-dark); }
.link-dark { color: var(--hero-text); text-underline-offset: 4px; font-weight: 500; }
.link-dark:hover { color: var(--accent-on-dark); }

/* Fotos */
.gal { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gal-item { margin: 0; background: #000; border-radius: 12px; overflow: hidden; }
.gal-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gal-item figcaption { padding: 10px 14px; font-size: 14px; color: var(--hero-muted); }
.pc-img { display: block; margin: -28px -24px 20px; background: #000; border-radius: var(--radius-panel) var(--radius-panel) 0 0; overflow: hidden; border-bottom: 1px solid var(--band-border); }
.pc-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }

/* Abschlussleiste mit Link zur Anfrage */
.cta-band { background: var(--hero); color: var(--hero-text); }
.cta-band .lead { color: var(--hero-muted); margin-bottom: 0; }
.cta-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1fr auto; gap: 48px; } }
.btn-lg { font-size: 17px; padding: 16px 30px; }
.pc-img--light { background: #FFFFFF; }

/* ---------- Steuerung: echtes Nachtfoto, das Licht dimmt langsam (keine gezeichneten Effekte) ---------- */
.st-title { font-size: clamp(44px, 9vw, 96px); line-height: 1.02; letter-spacing: -0.025em; max-width: 12ch; }
.st-hero .hero-intro { max-width: 560px; }
.st-hero .detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.st-hero .photo-hero-media img { animation: st-dim 20s ease-in-out infinite; will-change: filter, transform; }
@keyframes st-dim {
  0%, 100% { filter: brightness(1.15); transform: scale(1.02); }
  50% { filter: brightness(.5); transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) { .st-hero .photo-hero-media img { animation: none; } }

/* Steuerung: Demo, Funktionen, Hardware */
.st-demo { background: var(--hero); color: var(--hero-text); padding-top: 24px; }
.st-demo .lead { color: var(--hero-muted); }
.st-feats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--card-border); }
@media (min-width: 720px) { .st-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .st-feats { grid-template-columns: repeat(3, 1fr); } }
.st-feat { position: relative; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--card-border); display: flex; flex-direction: column; }
.st-feat::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.st-feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.st-feat p { margin: 0; color: var(--text-muted); }
.st-fact { margin-top: auto !important; padding-top: 18px; display: flex; flex-direction: column; }
.st-fact-v { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--text); letter-spacing: -0.01em; white-space: nowrap; }
.st-fact-l { font-size: 13px; color: var(--text-muted); }
.st-hw-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .st-hw-wrap { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.st-hw { list-style: none; margin: 24px 0 0; padding: 0; }
.st-hw a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--card-border); text-decoration: none; color: inherit; }
@media (min-width: 720px) { .st-hw a { grid-template-columns: 200px 1fr; gap: 24px; } }
.st-hw a:hover .hw-name { color: var(--accent-on-light); }
.hw-name { font-family: var(--font-display); font-weight: 600; }
.hw-text { color: var(--text-muted); }
.st-notes { display: grid; gap: 16px; align-content: start; }
.st-note { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px 22px; }
.st-note h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.st-note p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Förderung */
.fl-chips { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fl-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--card-border); border-radius: 8px; text-decoration: none; color: inherit; font-weight: 500; background: var(--card); }
.fl-chip span { font-family: var(--font-display); font-weight: 600; font-size: 14px; min-width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--hero); color: var(--hero-text); }
.fl-chip:hover { border-color: var(--accent); }
.fl-chip--empty span { background: var(--section-alt); color: var(--text-muted); }
.pg-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 960px) { .pg-list { grid-template-columns: 1fr 1fr; } }
.pg-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; }
.pg-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.pg-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0; }
.pg-tag { font-size: 12px; font-weight: 500; color: var(--accent-on-light); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.pg-dl { margin: 0 0 14px; }
.pg-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--card-border); }
.pg-dl dt { color: var(--text-muted); font-size: 14px; }
.pg-dl dd { margin: 0; font-size: 15px; }
@media (max-width: 519px) { .pg-dl div { grid-template-columns: 1fr; gap: 2px; } }
.pg-src { margin: auto 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.pg-src a { color: var(--accent-on-light); font-weight: 500; text-underline-offset: 3px; }
.pg-src span { color: var(--text-muted); }

.gal-item--light { background: #FFFFFF; }
.gal-item--light figcaption { color: var(--text-muted); background: var(--card); border-top: 1px solid var(--card-border); }

/* Impressum und Datenschutz */
.legal h2 { font-size: 20px; font-weight: 600; margin: 34px 0 8px; }
.legal p { color: var(--text-muted); font-size: 16px; margin: 0 0 12px; }
.legal a { color: var(--accent-on-light); text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal-intro { font-size: 18px !important; margin-bottom: 28px !important; }
.legal-card { background: var(--section-alt); border: 1px solid var(--card-border); border-radius: 12px; padding: 22px 24px; margin: 10px 0; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-stand { margin-top: 28px !important; font-size: 14px !important; }

/* Über uns */
.ue-facts { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 28px 0; grid-template-columns: 1fr; }
.ue-facts li { padding-right: 24px; }
@media (min-width: 720px) { .ue-facts { grid-template-columns: repeat(3, 1fr); } .ue-feats { grid-template-columns: repeat(3, 1fr); } }
.ue-facts b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.ue-facts span { color: var(--text-muted); }
.ue-gal { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 560px) { .ue-gal { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ue-gal { grid-template-columns: repeat(3, 1fr); } }
.ue-photo { margin: 0; border-radius: 8px; overflow: hidden; background: #000; }
.ue-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ue-team { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
.ue-member img { display: block; width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--section-alt); margin-bottom: 14px; }
.ue-member h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0; }
.ue-member p { margin: 2px 0 8px; color: var(--text-muted); font-size: 15px; }
.ue-member a { display: block; font-size: 14px; color: var(--accent-on-light); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Durchgehend dunkel (Nutzer, 5. November 2026): kein Grau, Weiß nur als Akzent (Produktbilder, Formular) */
.section + .section, .section + .cta-band, .cta-band + .section { border-top: 1px solid #1E1E1E; }
.product-card { background: var(--card); border: 1px solid var(--card-border); overflow: hidden; }
.pc-img { border-bottom: 0; }
.gal-item--light figcaption { color: var(--text-muted); background: var(--card); border-top: 0; }
.sd { border: 1px solid var(--card-border); }
.ue-member img { background: #000; }
/* Formular bleibt die eine helle Karte: Farben hier wieder hell */
/* Formular dunkel wie die übrige Seite (Nutzer, 6. November 2026) */
.form-card { color-scheme: dark; background: var(--card); color: var(--text); border-color: var(--card-border); }
.form-card :focus-visible { outline-color: var(--accent-on-dark); }
.form-card ::placeholder { color: #A0A0A0; opacity: 1; }

/* ---------- Animationen ---------- */
/* Startseite: Licht geht in drei Schaltstufen an, Text steht sofort. */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-media img { animation: hero-licht 1.5s linear backwards, hero-zoom 9s cubic-bezier(.16,1,.3,1) backwards; }
}
@keyframes hero-licht {
  0%, 24% { filter: brightness(.1); }
  26% { filter: brightness(.52); }
  50% { filter: brightness(.42); }
  52% { filter: brightness(.82); }
  74% { filter: brightness(.7); }
  76% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}
@keyframes hero-zoom { from { transform: scale(1.05); } to { transform: none; } }

/* Startseite: Szenen-Lauf im Steuerungs-Teaser (Takt in main.js) */
.sr { margin: 0; min-width: 0; }
.sr-stage svg { width: 100%; height: auto; display: block; }
.sr-segs { display: flex; gap: 6px; margin-top: 12px; }
.sr-seg { flex: 1; height: 2px; background: var(--band-border); overflow: hidden; }
.sr-seg i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.sr-seg.is-on i { transform: none; }
.sr-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.sr-label { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.sr .sd-note { margin: 0; }

/* Produktseiten: Lichtstärkeverteilung (echte LDT-Kurve) öffnet sich vom Strahler aus. Klasse setzt main.js. */
.pg-anim .pg-c0, .pg-anim .pg-c90 { transform: scale(0); transform-origin: 180px 16px; opacity: 0; transition: transform 1.4s cubic-bezier(.16,1,.3,1), opacity .25s linear; }
.pg-anim .pg-c90 { transition-delay: .2s; }
.pg-anim.is-in .pg-c0, .pg-anim.is-in .pg-c90 { transform: none; opacity: 1; }
@media print { .pg-anim .pg-c0, .pg-anim .pg-c90 { transform: none; opacity: 1; } }

/* ---------- Flow wie NOTLUX: Bild + kompakte Kacheln, wenig Text ---------- */
.ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-on-dark); background: rgba(225, 32, 46, .12); border: 1px solid rgba(255, 90, 100, .25); }
.sp-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .sp-split { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.sp-photo { margin: 0; border-radius: 12px; overflow: hidden; }
.sp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .sp-cards--two { grid-template-columns: 1fr 1fr; } }
.sp-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--card-border); border-radius: 10px; }
.sp-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 2px; }
.sp-card p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.45; }

/* Lichtstufen */
/* Lichtstufen: echte Tabelle für Suchmaschinen und Screenreader, optisch Karten */
table.tiers { display: block; width: 100%; margin: 24px 0 0; border: 0; }
table.tiers tbody { display: grid; gap: 14px; }
@media (min-width: 760px) { table.tiers tbody { grid-template-columns: repeat(3, 1fr); } }
tr.tier { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 22px; }
tr.tier td, tr.tier th { border: 0; background: none; text-align: left; }
tr.tier .tier-lux { display: block; flex: 0 0 100%; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.tier-lux small { font-size: .4em; margin-left: 6px; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.tier-bar { display: block; width: 100%; height: 4px; background: #262626; border-radius: 2px; margin: 16px 0 0; }
.tier-bar rect { fill: var(--accent); }
tr.tier th { flex: 0 0 100%; padding: 6px 0; font-size: 16px; font-weight: 500; color: var(--text); }
tr.tier .tier-chip { font-size: 13px; line-height: 1.4; padding: 3px 10px; border: 1px solid var(--card-border); border-radius: 999px; color: var(--text); white-space: nowrap; }
tr.tier .tier-chip:empty { display: none; }
.tier-chips, .chipline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tier-chips li, .chipline li { font-size: 13px; padding: 3px 10px; border: 1px solid var(--card-border); border-radius: 999px; color: var(--text); white-space: nowrap; }

/* Blendung */
.glare-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .glare-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.gr { background: radial-gradient(70% 90% at 80% 10%, rgba(225, 32, 46, .22), transparent 70%), var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 28px; }
.gr-big { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 8vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.gr-big small { display: inline-block; font-size: .38em; margin-right: 10px; color: var(--accent-on-dark); vertical-align: .55em; letter-spacing: 0; }
.gr-word { font-size: clamp(34px, 4.6vw, 52px); margin-top: 18px; line-height: 1.08; }
.gr-sub { margin: 6px 0 26px; color: var(--text-muted); font-size: 14px; }
.gr-scale { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2A2A2A 0%, #6B2A2E 50%, var(--accent) 100%); margin: 30px 0 8px; }
.gr-mark { position: absolute; top: -6px; width: 2px; height: 18px; background: #FFF; }
.gr-mark b { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-style: normal; font-size: 13px; }
.gr-ends { display: flex; justify-content: space-between; margin: 0; font-size: 12.5px; color: var(--text-muted); }
.glare .lead { margin-bottom: 18px; }

/* Ansprechpartner */
.people { margin-top: 28px; }
.people-label { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.people ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.person { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; }
.person img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #000; }
.person b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.person span { display: block; font-size: 13.5px; color: var(--text-muted); margin-bottom: 2px; }
.person a { display: block; font-size: 14.5px; color: var(--text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.person a:hover { color: var(--accent-on-dark); }
.cta-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.cta-band .people { margin-top: 0; }
.cta-band .lead { margin-bottom: 22px; }

/* Bühne: dunkel mit rotem Lichtakzent, Linie und Punktraster wie bei den Teamfotos */
.stage { position: relative; background:
    radial-gradient(55% 60% at 58% 48%, rgba(225, 32, 46, .30), rgba(225, 32, 46, 0) 72%),
    linear-gradient(135deg, transparent 0 calc(16% - 1px), rgba(255, 90, 100, .55) calc(16% - 1px) calc(16% + 1px), transparent calc(16% + 1px)),
    linear-gradient(135deg, transparent 0 19%, rgba(255, 255, 255, .035) 19% 27%, transparent 27%),
    #0A0A0A; overflow: hidden; }
.stage::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44%; height: 44%; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle, var(--accent) 1.3px, transparent 1.6px); background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(315deg, #000, transparent 70%); mask-image: linear-gradient(315deg, #000, transparent 70%); }
.stage img { position: relative; z-index: 1; }
.pv { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; border: 1px solid var(--card-border); }
@media (min-width: 960px) { .pv { aspect-ratio: 4 / 3.6; } }
.pv-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pv model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; background: transparent; --poster-color: transparent; }
.pv.is-loaded .pv-img { visibility: hidden; }
.pv-hint { position: absolute; left: 16px; bottom: 12px; z-index: 3; margin: 0; font-size: 13px; color: var(--hero-muted); pointer-events: none; }
.pv-ar { position: absolute; right: 12px; bottom: 12px; font: inherit; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--band-border); background: rgba(10, 10, 10, .7); color: #FFF; cursor: pointer; }
.pc-img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--card-border) !important; }
.pc-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: transparent; }
.gal-item.stage { border: 1px solid var(--card-border); }
.gal-item img { background: transparent; }

/* Steuerung: Funktionen und Produkte */
.fx-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .fx-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .fx-grid { grid-template-columns: repeat(3, 1fr); } }
.fx { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.fx h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 14px 0 4px; }
.fx p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.45; }
.fx-fact { margin-top: auto !important; padding-top: 14px; }
.fx-fact b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--text); white-space: nowrap; }
.fx-fact span { font-size: 12.5px; }
.hw-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hw { display: block; height: 100%; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; padding-bottom: 16px; }
.hw:hover { border-color: var(--accent); }
.hw-img { display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.hw-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hw b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 16px 10px; }
.hw .chipline { margin: 0 16px; }

/* Sanftes Einblenden beim Scrollen */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Unterseiten: Foto zoomt langsam aus (Steuerung hat eigene Dimm-Animation) */
@media (prefers-reduced-motion: no-preference) {
  .photo-hero:not(.st-hero) .photo-hero-media img { animation: hero-zoom 9s cubic-bezier(.16,1,.3,1) backwards; }
}

/* Abschlussleiste: echtes Nachtfoto, Licht schaltet beim Hineinscrollen an (Klassen setzt main.js, ohne JS einfach hell) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-top: 64px; padding-bottom: 64px; }
.cb-media, .cb-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cb-media img { object-fit: cover; object-position: 50% 40%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.84), rgba(10,10,10,.72)); }
@media (min-width: 860px) { .cta-band::after { background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.74) 50%, rgba(10,10,10,.3) 100%); } }
.cta-band .lead { color: #D2D2D2; }
.cb-anim:not(.is-lit) .cb-media img { filter: brightness(.1); }
.cb-anim.is-lit .cb-media img { animation: hero-licht 1.5s linear backwards; }

/* Schwebender Button: echtes Flutlicht im Runden, öffnet sich zur Handlungsaufforderung */
.fab { position: fixed; z-index: 50; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; max-width: calc(100vw - 40px); border-radius: var(--radius-pill); overflow: hidden;
  background: var(--band); border: 1px solid var(--band-border); color: var(--on-accent); text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.6); transition: background-color .3s ease, border-color .3s ease, opacity .25s ease, transform .25s ease, visibility .25s; }
.fab-puck { flex: none; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; }
.fab-puck img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .45s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.fab-label { max-width: 0; padding: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  transition: max-width .5s cubic-bezier(.16,1,.3,1), padding .5s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.fab:hover, .fab:focus-visible, .fab.is-open { background: var(--accent); border-color: var(--accent); }
.fab:hover .fab-label, .fab:focus-visible .fab-label, .fab.is-open .fab-label { max-width: 300px; padding: 0 16px 0 24px; opacity: 1; }
.fab:hover .fab-puck img, .fab:focus-visible .fab-puck img, .fab.is-open .fab-puck img { filter: brightness(1.3); transform: scale(1.12); animation: none; }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
@media (max-width: 399px) { .fab-label { font-size: 14px; } .fab:hover .fab-label, .fab:focus-visible .fab-label, .fab.is-open .fab-label { padding: 0 10px 0 18px; } }
@media (prefers-reduced-motion: no-preference) { .fab-puck img { animation: fab-idle 6s ease-in-out infinite; } }
@keyframes fab-idle { 0%, 100% { filter: brightness(.62); } 50% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .fab, .fab-label, .fab-puck img { transition: none; } }
@media (max-width: 359px) { .fab-label { min-width: 0; white-space: normal; line-height: 1.2; } }
@media print { .fab { display: none; } }

.pc-img { aspect-ratio: auto; height: clamp(220px, 24vw, 300px); }
.pc-img img { height: 100%; }

/* Rote Lichtscheine: abwechselnd links und rechts, ruhig und ohne Bewegung */
.section { position: relative; overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }
.section::before { content: ""; position: absolute; z-index: 0; pointer-events: none; top: 0; height: 100%; width: min(1000px, 120vw);
  background: radial-gradient(closest-side, rgba(225, 32, 46, .2), rgba(225, 32, 46, .06) 58%, rgba(225, 32, 46, 0) 100%); }
main > .section:nth-of-type(odd)::before { right: -16%; }
main > .section:nth-of-type(even)::before { left: -18%; }
.cta-band::before { background: radial-gradient(closest-side, rgba(225, 32, 46, .26), rgba(225, 32, 46, .07) 55%, rgba(225, 32, 46, 0) 100%); }
#anfrage::before { background: radial-gradient(closest-side, rgba(225, 32, 46, .24), rgba(225, 32, 46, .06) 55%, rgba(225, 32, 46, 0) 100%); }
main.section::before { display: none; }

/* Stand-Datum und aufklappbare Quellen */
.page-stand { margin: -12px 0 24px; font-size: 13px; color: #BDBDBD; }
.page-sources { margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.page-sources summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.page-sources ul { margin: 8px 0 0; padding-left: 18px; }
.page-sources a { color: inherit; }
.page-stand a { color: inherit; }
.ue-member { scroll-margin-top: 24px; }

/* 3D-Modell bei langsamer Leitung erst auf Tippen; Kontaktlinks mit ausreichend Tippfläche */
.pv-load { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 3; font: inherit; font-size: 14px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--band-border); background: rgba(10, 10, 10, .8); color: #FFF; cursor: pointer; white-space: nowrap; }
.pv-load[hidden] { display: none; }
.person a { padding: 5px 0; line-height: 1.3; }

/* Referenzen: Flutlicht-Karte */
.rk-sample { display: inline-block; margin: 8px 0 0; padding: 8px 14px; font-size: 14px; color: #FFF; border: 1px solid var(--accent-on-dark); border-radius: 8px; }
.rk-count { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0 0 24px; padding: 0; }
.rk-count b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; color: #FFF; font-variant-numeric: tabular-nums; }
.rk-count span { font-size: 14px; color: var(--text-muted); }
.rk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.rk-filters[hidden], .rk-rows[hidden], .rk-rows li[hidden] { display: none; }
.rk-f { font: inherit; font-size: 15px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: transparent; color: #FFF; border: 1px solid var(--band-border); cursor: pointer; }
.rk-f:hover { border-color: #FFF; }
@media (max-width: 599px) { .rk-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; } .rk-f { flex: none; } }
.rk-f[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.rk-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .rk-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; } }
.rk-mapbox { max-width: 560px; margin: 0 auto; width: 100%; }
.rk-mapbox--small { max-width: 340px; }
.rk-map { display: block; width: 100%; height: auto; overflow: visible; }
.rk-de { fill: #151515; stroke: #565656; stroke-width: 1; stroke-linejoin: round; }
.rk-city { fill: #A8A8A8; font-size: 11px; font-family: var(--font-body); pointer-events: none; paint-order: stroke; stroke: #151515; stroke-width: 3px; stroke-linejoin: round; }
.rk-pt { transition: opacity .55s ease; cursor: pointer; outline: none; }
g.rk-pt { cursor: default; }
.rk-glow { mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; transition: transform .25s ease; }
.rk-core { fill: #FF5A64; transition: fill .2s ease; }
.rk-hit { fill: transparent; }
.rk-pt:hover .rk-glow, .rk-pt:focus-visible .rk-glow { transform: scale(1.3); }
.rk-pt:focus-visible .rk-core { fill: #FFF; }
.rk-pt.is-sel .rk-glow { transform: scale(1.55); }
.rk-pt.is-sel .rk-core { fill: #FFF; }
.rk-pt.off { opacity: 0; pointer-events: none; }
.rk-dark .rk-pt { opacity: 0; }
.rk-panel { display: grid; gap: 16px; }
.rk-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; scroll-margin-top: 16px; }
.rk-js .rk-card { display: none; }
.rk-js .rk-card.on { display: block; }
.rk-vis { margin: 0 0 16px; border-radius: 8px; overflow: hidden; background: #0A0A0A; aspect-ratio: 16 / 9; }
.rk-vis img, .rk-field { display: block; width: 100%; height: 100%; object-fit: cover; }
.rk-lines { fill: none; stroke: #7A7A7A; stroke-width: 1; }
.rk-card h3 { font-size: 22px; margin: 0; }
.rk-land { margin: 2px 0 12px; font-size: 14px; color: var(--text-muted); }
.rk-dl { margin: 0 0 14px; }
.rk-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--card-border); font-size: 14.5px; }
.rk-dl dt { color: var(--text-muted); flex: none; }
.rk-dl dd { margin: 0; text-align: right; }
.rk-rows { list-style: none; margin: 40px 0 0; padding: 0; border-bottom: 1px solid var(--card-border); max-height: 480px; overflow-y: auto; }
.rk-rows a { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr; gap: 12px; align-items: center; min-height: 48px; padding: 8px 10px; border-top: 1px solid var(--card-border); color: var(--text); text-decoration: none; font-size: 15px; }
.rk-rows b { font-weight: 500; }
.rk-rows span { color: var(--text-muted); }
.rk-rows a:hover, .rk-rows a.on { background: var(--card); }
.rk-rows a.on b { color: var(--accent-on-dark); }
@media (max-width: 559px) { .rk-rows a { grid-template-columns: 1fr 1fr; } .rk-rows a span:nth-of-type(1) { display: none; } }
.rk-teaser .rk-count { margin-top: 18px; }
.rk-teaser .rk-sample { margin: 0 0 8px; }
.rk-metric { margin: 0 0 14px; }
.rk-metric b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; color: #FFF; }
.rk-metric span { font-size: 14.5px; color: var(--text-muted); }
.rk-dl dd a { color: inherit; }
.rk-note { margin: 20px 0 0; font-size: 13px; color: var(--text-muted); max-width: 720px; }
.rk-tlist { list-style: none; margin: 16px 0 0; padding: 0; }
.rk-tlist li { padding: 10px 0; border-top: 1px solid var(--card-border); }
.rk-tlist b { display: block; font-weight: 600; }
.rk-tlist span { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Ratgeber-Übersicht: Text-Tabs und Index-Zeilen ---------- */
.gf-hero { padding-bottom: 28px; }
.gf { padding-top: 12px; }
.gf-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--band-border); margin-bottom: 40px; }
.gf-tabs[hidden] { display: flex; visibility: hidden; } /* Platz halten, bis das Skript läuft: kein Layoutsprung */
.gf-tab { font: inherit; font-weight: 500; font-size: 17px; line-height: 1.2; color: var(--text-muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0; min-height: 44px; cursor: pointer; white-space: nowrap; transition: color .15s; }
.gf-tab:hover { color: #FFF; }
.gf-tab[aria-pressed="true"] { color: #FFF; border-bottom-color: var(--accent); }
.gf-short { display: none; }
.gf-n { margin-left: 7px; font-size: 13px; font-weight: 400; color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* Ansicht „Alle“: nur Titel, je Kategorie eine Spalte. Tab gewählt: Zeilen mit Einzeiler. */
.gf-groups { display: grid; gap: 40px; }
.gf-group[hidden] { display: none; }
.gf-head { font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0 0 14px; }
.gf-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--band-border); }
.gf-row { display: grid; grid-template-columns: 1fr 12px; gap: 4px 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--band-border); color: var(--text); text-decoration: none; }
.gf-title { grid-column: 1; font-weight: 400; font-size: 16px; line-height: 1.3; margin: 0; transition: color .15s; }
.gf-row p { display: none; }
.gf-row .arrow { grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 8px; border-top: 1.5px solid var(--band-muted); border-right: 1.5px solid var(--band-muted); transform: rotate(45deg); transition: transform .15s, border-color .15s; }
.gf-row:hover .gf-title, .gf-row:focus-visible .gf-title { color: var(--accent-on-dark); }
.gf-row:hover .arrow, .gf-row:focus-visible .arrow { border-color: var(--accent-on-dark); transform: translateX(3px) rotate(45deg); }
@media (min-width: 640px) { .gf-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 960px) { .gf-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.gf-groups.is-filtered { grid-template-columns: minmax(0, 1fr); }
.gf-groups.is-filtered .gf-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gf-groups.is-filtered .gf-row { padding: 18px 0; }
.gf-groups.is-filtered .gf-title { font-weight: 500; font-size: 18px; }
.gf-groups.is-filtered .gf-row p { display: block; grid-column: 1; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
@media (min-width: 760px) {
  .gf-groups.is-filtered .gf-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 12px; gap: 24px; }
  .gf-groups.is-filtered .gf-row p { grid-column: 2; font-size: 15px; }
  .gf-groups.is-filtered .gf-row .arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 599px) {
  .gf-tabs { gap: 20px; margin-bottom: 28px; }
  .gf-tab { font-size: 15px; }
  .gf-long { display: none; }
  .gf-short { display: inline; }
  .gf-n { margin-left: 5px; font-size: 12px; }
}

/* Lichtfarbe: ein Foto je Kelvin-Wert, weiche Überblendung */
.cts-scene { margin: 0; }
@media (max-width: 479px) { .ct-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .ct { min-width: 0; width: 100%; height: 100%; padding: 10px; } .ct-k { font-size: 16px; } .ct-sub { font-size: 12px; } }
.cts-photo { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--card-border); background: #000; }
.cts-photo img { display: block; width: 100%; height: auto; }
.cts-photo img + img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.cts-scene[data-k="4000"] .cts-k4000, .cts-scene[data-k="5000"] .cts-k5000 { opacity: 1; }
.cts-scene figcaption { margin-top: 8px; font-size: 13px; color: var(--hero-muted); }
.cts-scene figcaption b { color: #FFF; font-weight: 600; margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .cts-photo img + img { transition: none; } }

/* ---------- Kompakte Inhaltsseiten (Liga, Ratgeber): Zeilen statt eigener Seitenbereiche ---------- */
.compact .section { padding-top: 44px; padding-bottom: 44px; }
.compact .sec-title { font-size: clamp(24px, 3.4vw, 30px); }
.compact .lead { font-size: 16px; margin-bottom: 20px; max-width: 760px; }
.kp { border-bottom: 1px solid var(--band-border); }
.kp-row { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--band-border); scroll-margin-top: 16px; }
.kp-title { font-weight: 600; font-size: 19px; line-height: 1.25; margin: 0; }
.kp-pre { display: block; font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--text-muted); margin-bottom: 2px; }
.kp-body p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.kp-body > :last-child { margin-bottom: 0; }
.kp-body .bullets { font-size: 16px; line-height: 1.55; margin: 0 0 10px; max-width: none; }
.kp-body .bullets li { margin-bottom: 4px; }
.kp-body .hint { margin-top: 12px; }
@media (min-width: 860px) {
  .kp-row { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding: 26px 0; }
}
.link-row { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.link-row .more-row { margin: 0; }

/* FAQ als Zeile im selben Raster */
.compact .faq-wrap { max-width: var(--container); }
.compact .faq-wrap .sec-title { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.compact .faq summary { font-size: 16px; padding: 12px 32px 12px 0; }
.compact .faq summary::after { top: 7px; }
.compact .faq details p { margin-bottom: 14px; font-size: 16px; }
@media (min-width: 860px) {
  .compact .faq-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
  .compact .faq-wrap .sec-title { margin: 12px 0 0; }
}
/* Übersichtstabelle auf dem Handy: Zeilen statt Karten */
@media (max-width: 719px) {
  .compact .levels tr { background: none; border: 0; border-top: 1px solid var(--band-border); border-radius: 0; margin: 0; padding: 10px 0; }
  .compact .levels tbody th, .compact .levels tbody tr:last-child th { border: 0; font-size: 16px; padding: 0 0 2px; }
  .compact .levels td { display: inline-block; width: auto; margin-right: 12px; padding: 0; text-align: left; font-size: 14px; }
  .compact .levels td::before { content: attr(data-label) ": "; max-width: none; font-size: 14px; }
}

/* Kurze Erklärung zum Aufklappen, bleibt auf der Seite */
.mb { margin-top: 18px; max-width: 760px; font-size: 15px; line-height: 1.55; }
.mb p { margin: 0; color: var(--hero-muted); }
.mb .mb-t { color: var(--hero-text); font-weight: 600; }
.mb summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; list-style: none; color: var(--hero-text); font-weight: 500; }
.mb summary::-webkit-details-marker { display: none; }
.mb summary::after { content: "+"; color: var(--accent-on-dark); font-size: 20px; line-height: 1; }
.mb details[open] summary::after { content: "–"; }
.mb .mb-c, .mb details[open] .mb-o { display: none; }
.mb details[open] .mb-c { display: inline; }
.mb details p { margin-bottom: 10px; }
.mb details p:last-child { margin-bottom: 0; }

/* ---------- Geführte Anfrage (/anfrage/) ---------- */
@media (min-width: 900px) { .form-wrap-wide { grid-template-columns: 5fr 7fr; } }
.form-card { scroll-margin-top: 96px; }
.form-more { margin: 14px 0 0; font-size: 14px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wz-title { margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-weight: 600; outline: none; }
.wz-intro { margin: 0 0 20px; font-size: 15px; color: var(--text-muted); }
.wz-hint { display: block; margin: -2px 0 6px; font-size: 13px; color: var(--text-muted); }
.wz-step + .wz-step { margin-top: 32px; }
.wz-on .wz-step + .wz-step { margin-top: 0; }
.wz-step[hidden], .wz-f[hidden] { display: none; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin: 0 0 8px; font-size: 15px; font-weight: 500; }
fieldset.field[aria-invalid="true"] { border: 0; }
.wz-gl { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.wz-gl:first-of-type { margin-top: 12px; }
.wz-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wz-tiles-1 { grid-template-columns: 1fr; }
.wz-tile { position: relative; display: block; margin: 0; cursor: pointer; }
.wz-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.wz-tile span { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid #8A8A8A; border-radius: 8px; font-size: 15px; font-weight: 500; line-height: 1.25; }
.wz-tile:hover span { border-color: #FFFFFF; }
.wz-tile input:checked + span { border-color: #FFFFFF; box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
.wz-tile input:focus-visible + span { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
.wz-nav { margin: 0 0 24px; }
.wz-nav[hidden], .wz-foot[hidden], .wz-foot [hidden] { display: none; }
.wz-nav ol { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.wz-nav ol::before { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 1px; background: var(--band-border); }
.wz-nav li { position: relative; }
.wz-nav button { display: block; padding: 0 0 4px; border: 0; background: none; font: inherit; font-size: 12px; color: var(--text-muted); cursor: pointer; }
.wz-nav button::before { content: ""; display: block; width: 9px; height: 9px; margin-bottom: 6px; border-radius: 50%; background: var(--card); border: 1px solid #8A8A8A; }
.wz-nav li:last-child button { text-align: right; }
.wz-nav li:last-child button::before { margin-left: auto; }
.wz-nav button.done::before { background: #FFFFFF; border-color: #FFFFFF; }
.wz-nav button[aria-current]::before { background: var(--accent); border-color: var(--accent); }
.wz-nav button[aria-current] { color: #FFFFFF; font-weight: 600; }
.wz-nav button:disabled { cursor: default; }
.wz-foot { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.wz-foot .btn { flex: 1; }
.btn-back { min-height: 52px; padding: 0 20px; border: 1px solid #8A8A8A; border-radius: 999px; background: none; color: #FFFFFF; font: inherit; font-weight: 500; cursor: pointer; }
.btn-back:hover { border-color: #FFFFFF; }
.wz-on .wz-last { display: none; }
.wz-on .wz-last.on { display: block; }
.wz-on .wz-last.on ~ .wz-foot { margin-top: 12px; }
.wz-on .wz-ts { position: absolute; left: -10000px; }
.wz-on .wz-last.on .wz-ts { position: static; margin-bottom: 14px; }
.wz-sum { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 12px; margin: 0 0 24px; padding: 14px 0; border-top: 1px solid var(--band-border); border-bottom: 1px solid var(--band-border); font-size: 14px; }
.wz-sum[hidden] { display: none; }
.wz-sum dt { color: var(--text-muted); }
.wz-sum dd { margin: 0; overflow-wrap: anywhere; }
.wz-sent .form-status { margin-bottom: 0; }

/* Menü für Handy und Tablet: unter 1000 px passen die Links nicht in die Leiste */
.site-header { z-index: 60; }
.site-header:not(.site-header--overlay) { position: relative; }
.skip-link { z-index: 70; }
.nav { position: relative; }
.nav-m { display: none; }
.nav-m summary { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--band-border); border-radius: var(--radius-pill); color: var(--hero-text); cursor: pointer; font-weight: 500; list-style: none; }
.nav-m summary::-webkit-details-marker { display: none; }
.nav-m details[open] summary { border-color: var(--hero-text); }
.nav .nav-m-list { display: block; position: absolute; top: 72px; right: 0; width: min(360px, 100%); background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); overflow: hidden; font-size: 16px; }
.nav-m-list li + li { border-top: 1px solid var(--card-border); }
.nav-m-list a { display: block; padding: 14px 18px; color: var(--hero-text); text-decoration: none; }
.nav-m-list a:hover { color: var(--accent-on-dark); }
@media (max-width: 999px) { .nav-m { display: block; } }
@media (max-width: 599px) {
  .nav > ul { gap: 8px; }
  .nav { gap: 8px; }
  .nav-m summary { padding: 10px 14px; }
  .nav .btn { padding: 10px 16px; }
  .nav .nav-m-list { top: 68px; }
}
@media (max-width: 399px) {
  .nav-m summary { padding: 10px 12px; }
  .nav .btn { padding: 10px 12px; }
}
@media (max-width: 374px) { .logo-svg { height: 20px; } }
@media (max-width: 359px) {
  .logo-svg { height: 18px; }
  .nav-m summary { padding: 10px; font-size: 14px; }
  .nav .btn { padding: 10px; font-size: 14px; }
}
.form-wrap-wide .form-card { align-self: start; }
.wz-tiles:not(.wz-tiles-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wz-tile span { height: 100%; hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 899px) { .form-first .form-card { order: -1; } }
@media (max-width: 400px) { .wz-tile span { font-size: 14px; padding-inline: 10px; } }

/* Einstieg nach Zielgruppe und OnePager */
.who-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.op-link { margin: 20px 0 0; }

.op-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 16px 0 0; }

/* „Mehr zum Thema“ steht als letzter Block über dem Footer, Links in Spalten nebeneinander */
.guides-end { padding-top: 36px; padding-bottom: 36px; }
.guides-end .sec-title { font-size: 20px; margin-bottom: 0; }
.guides-end .guide-links { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 8px 32px; font-size: 15px; }
/* Markenzeile auf der Startseite */
.hero-brand { margin: 16px 0 0; font-size: 14px; color: var(--hero-muted); }
.hero-brand a { color: var(--hero-text); font-weight: 600; text-underline-offset: 3px; }

/* Sprachumschalter: Flagge der aktuellen Sprache, Klick wechselt */
.nav-lang { display: flex; align-items: center; }
.lang-sw { display: flex; align-items: center; justify-content: center; width: 36px; height: 44px; }
.lang-flag { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); transition: box-shadow .15s ease; }
.lang-sw:hover .lang-flag, .lang-sw:focus-visible .lang-flag { box-shadow: 0 0 0 2px #FFF; }
@media (max-width: 479px) {
  .nav { gap: 8px; }
  .nav .logo svg { width: 112px; height: auto; }
  .nav ul { gap: 4px; }
  .nav .btn { padding: 8px 12px; font-size: 13px; min-height: 44px; }
  .nav-m summary { padding: 8px 10px; font-size: 13px; }
}

/* Länderseiten und News */
.fed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fed-list a { color: inherit; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: 760px; }
.news-item + .news-item { border-top: 1px solid var(--card-border); padding-top: 28px; }
.news-item h2 { font-size: 24px; margin: 4px 0 8px; }
.news-item p { margin: 0 0 10px; color: var(--text-muted); }
.news-date { font-size: 13px; }
