/* BGN Fenstertechnik - Prototyp v2 "maximalistisch"
   Farben: BGN-Blau (interaktiv) + Lurchi-Gelb (Highlights, Farbflächen) + Navy (dunkle Flächen).
   Form-Motiv: Lurchis Rundbogen-Fenster -> .arch (oben rund, unten 24px).
   Radius-System: Bogen-Bilder, Karten 28px, Buttons/Chips pill, Inputs 12px. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2-variations"), url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --blue: #007ac3;
  --blue-600: #00609a;
  --blue-50: #e6f2fa;
  --yellow: #f9b700;
  --yellow-soft: #ffe7a3;
  --navy: #0b2540;
  --navy-2: #12324f;
  --green: #008b0d;

  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #0f1d2a;
  --text-2: #4a5866;
  --line: #d8e0e8;

  --radius: 28px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(11 37 64 / .06), 0 10px 30px rgb(11 37 64 / .08);
  --shadow-lg: 0 2px 6px rgb(11 37 64 / .08), 0 30px 60px rgb(11 37 64 / .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  /* z-index-Skala */
  --z-header: 50;
  --z-mobilebar: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); } /* #007ac3 hat auf hellem Grund nur 4,2:1, für kleinen Text zu wenig */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; }

/* Bogen-Motiv */
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; }
.arch-soft { border-radius: 160px 160px 20px 20px; overflow: hidden; }
.arch img, .arch-soft img { width: 100%; height: 100%; object-fit: cover; }

/* Highlight: gelber Marker hinter Wort */
.hl { position: relative; display: inline-block; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .08em; height: .34em;
  background: var(--yellow); z-index: -1; border-radius: 4px; transform-origin: left; transform: scaleX(var(--hl, 1));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ph { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgb(0 122 195 / .3); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--yellow); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #000d1a; }
.btn-sm { padding: .7em 1.1em; font-size: .95rem; }
.btn-lg { padding: 1.05em 1.75em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(244 246 248 / .8); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(255 255 255 / .92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { width: 230px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-link .ph { font-size: .85em; transition: transform .3s var(--ease); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 330px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub.is-open .nav-link .ph { transform: rotate(180deg); }
.sub-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 550; }
.sub-menu a .ph { font-size: 1.3rem; color: var(--blue); }
.sub-menu a:hover { background: var(--blue-50); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 1.4rem; color: var(--text); cursor: pointer; }
@media (max-width: 1023px) {
  .logo img { width: 190px; }
  .header-phone { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 16px 20px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.1rem; }
  .sub-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .sub-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: 28px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3.2rem, 9vw, 7.6rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; }
.hero-kicker { display: block; margin-bottom: 18px; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 750; letter-spacing: 0; line-height: 1.3; color: var(--blue-600); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line-inner { display: inline-block; }
.hero-title .accent { color: var(--blue); }
.hero-sub { margin-top: 24px; max-width: 32ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { position: relative; }
.hero-arch { position: relative; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--blue-50); isolation: isolate; }
/* Eigener Clip-Wrapper: GPU-Video-Layer ignorieren border-radius+overflow sonst (schwarze Ecken).
   clip-path sitzt innen, damit der Schatten des Bogens erhalten bleibt. */
.hero-clip { position: absolute; inset: 0; clip-path: inset(0 round 999px 999px 24px 24px); }
/* Kein scale() auf diesem Wrapper: skalierte Video-Eltern rendern in Chromium schwarze Ecken. Puffer für Parallax per inset. */
.hero-media { position: absolute; inset: 0; } /* kein Parallax-Überstand: ganze Tür sichtbar */
.hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-video { opacity: 0; transition: opacity .8s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.video-toggle {
  position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgb(11 37 64 / .62); color: #fff; font-size: 1.15rem; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: var(--navy); transform: scale(1.06); }
.video-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; border-radius: 50%; }
/* Vor dem ersten Abspielen unsichtbar, belegt aber Platz (JS prüft seine Sichtbarkeit) */
.video-toggle.is-pending { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.badge-spin {
  position: absolute; left: -36px; top: 18%; width: 150px; height: 150px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; box-shadow: var(--shadow);
}
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-spin text { font-size: 15.5px; font-weight: 800; letter-spacing: .12em; fill: var(--navy); }
.badge-spin circle { fill: none; stroke: var(--navy); stroke-width: 1.6; }
.badge-mark { position: relative; font-size: 2.3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--navy); }
.hero-lurchi { pointer-events: none; position: absolute; right: -14px; bottom: -40px; width: clamp(110px, 14vw, 180px); filter: drop-shadow(0 14px 18px rgb(11 37 64 / .25)); transform-origin: 50% 100%; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 112px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-arch { aspect-ratio: 4 / 5.2; max-height: calc(100dvh - var(--header-h) - 80px); margin-left: auto; }
}
@media (max-width: 899px) {
  .hero-arch { aspect-ratio: 1 / 1.05; }
  .badge-spin { width: 112px; height: 112px; left: -6px; top: auto; bottom: 26%; }
  .badge-spin text { font-size: 15px; }
  .badge-mark { font-size: 1.7rem; }
  .hero-lurchi { right: 0; bottom: -30px; }
  .video-toggle { left: 50%; top: 14px; bottom: auto; margin-left: -22px; }
}

/* ---------- Kinetik-Band ---------- */
.kinetic { background: var(--blue); color: #fff; padding: 22px 0; overflow: hidden; transform: rotate(-2deg); margin: 8px -20px 0; box-shadow: var(--shadow-lg); }
.kinetic-row { display: flex; align-items: center; gap: .45em; width: max-content; font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap; will-change: transform; }
.kinetic-row .ph { font-size: .55em; color: var(--yellow); }
.kinetic-row--outline { color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .85); margin-left: -30%; }
.kinetic-row--outline .ph { -webkit-text-stroke: 0; color: var(--yellow); }

/* ---------- Titel ---------- */
.mega-title { font-size: clamp(3rem, 8.5vw, 7.5rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; margin-bottom: 56px; }
.mega-title--light { color: #fff; }
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 128px 0; } }
.section-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 850; max-width: 18ch; margin-bottom: 48px; letter-spacing: -0.04em; }

/* ---------- Leistungen: Sticky Stack ---------- */
.services { padding: 120px 0 80px; }
.stack { display: grid; gap: 24px; }
.stack-card {
  display: grid; gap: 28px; padding: 20px; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-lg); transform-origin: 50% 0; will-change: transform;
}
.card-media { aspect-ratio: 4 / 3; background: var(--blue-50); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 8px 12px; }
.card-num { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.7rem; }
.stack-card h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -0.045em; }
.stack-card p { font-size: 1.15rem; max-width: 42ch; color: var(--text-2); }
.ticks { display: grid; gap: 10px; margin: 6px 0 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .ph { flex: none; margin-top: 2px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: .85rem; }
/* weiße Karten: feiner Rand, damit ihre Kante im Stapel auf dem hellen Hintergrund sichtbar bleibt */
.stack-card.card-white { box-shadow: var(--shadow-lg), 0 0 0 1px rgb(11 37 64 / .08); }
.card-blue { background: var(--blue); color: #fff; }
.card-blue p { color: rgb(255 255 255 / .88); }
.card-blue .ticks .ph { background: var(--yellow); color: var(--navy); }
.card-navy { background: var(--navy); color: #fff; }
.card-navy p { color: rgb(255 255 255 / .8); }
.card-navy .ticks .ph { background: var(--yellow); color: var(--navy); }
.card-yellow { background: var(--yellow); color: var(--navy); }
.card-yellow p { color: rgb(11 37 64 / .82); }
.card-yellow .card-num { background: var(--navy); color: var(--yellow); }
.card-yellow .ticks .ph { background: var(--navy); color: var(--yellow); }
@media (min-width: 900px) {
  /* Abstand als gap statt margin: margin zählt bei position: sticky mit und schiebt die Karten auf niedrigen
     Bildschirmen zu früh nach oben. Das leere ::after verlängert den Stapel, damit am Ende alle liegen bleiben. */
  .stack { gap: 40vh; }
  .stack::after { content: ""; height: 100vh; }
  .services { padding-bottom: 0; }
  /* Der nächste Abschnitt gleitet über die liegenden Karten (statt sie wegzuschieben) */
  .services + .ba-section { margin-top: -100vh; z-index: 3; box-shadow: 0 -30px 60px rgb(11 37 64 / .25); }
  .stack-card {
    /* alle Karten gleich hoch, jede 16px tiefer: liegen sauber als Stapel übereinander */
    position: sticky; top: calc(var(--header-h) + 20px + var(--i, 0) * 16px);
    grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding: 28px;
    min-height: min(620px, calc(100dvh - var(--header-h) - 40px - 5 * 16px));
  }
  .card-media { aspect-ratio: auto; align-self: stretch; min-height: 0; }
  .card-media img { position: absolute; inset: 0; }
  .stack-card .card-media { position: relative; }
  .card-body { padding: 24px 32px 24px 0; }
}
@media (min-width: 900px) and (max-height: 860px) {
  .stack-card { padding: 22px; gap: 40px; }
  .stack-card h3 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
  .stack-card p { font-size: 1.02rem; }
  .card-body { gap: 10px; }
  .card-num { width: 46px; height: 46px; font-size: 1.4rem; }
  .stack-card .ticks { gap: 6px; margin: 2px 0 6px; }
}

/* ---------- Vorher/Nachher ---------- */
.ba-section { background: var(--navy); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.ba-section::before { content: ""; position: absolute; right: -15vw; top: -15vw; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 122 195 / .45), transparent); pointer-events: none; }
.ba-intro { max-width: 46ch; font-size: 1.2rem; color: rgb(255 255 255 / .8); margin: -24px 0 40px; }
.ba { --pos: 50%; position: relative; max-width: min(100%, calc((100dvh - var(--header-h) - 140px) * 1.506)); margin-inline: auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1600 / 1062; box-shadow: 0 30px 80px rgb(0 0 0 / .45); background: var(--navy-2); user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.ba.is-switching .ba-img { opacity: 0; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgb(0 0 0 / .4); }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: var(--navy);
  font-size: 1.3rem; box-shadow: 0 8px 24px rgb(0 0 0 / .35); transition: transform .25s var(--ease);
}
.ba:hover .ba-handle span, .ba-range:focus-visible ~ .ba-handle span { transform: translate(-50%, -50%) scale(1.1); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible { opacity: 0; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 4px; }
.ba-label { position: absolute; top: 18px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem; pointer-events: none; }
.ba-label--before { left: 18px; background: rgb(11 37 64 / .78); color: #fff; }
.ba-label--after { right: 18px; background: var(--yellow); color: var(--navy); }
.ba-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ba-tab {
  min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; border: 2px solid rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .04); color: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .2s var(--ease);
}
.ba-tab img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.ba-tab span { min-width: 0; display: grid; line-height: 1.25; font-size: .9rem; color: rgb(255 255 255 / .72); }
.ba-tab strong { color: #fff; font-size: 1rem; }
.ba-tab strong, .ba-tab span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .ba-tab img { display: none; } .ba-tab { padding: 10px 14px; } }
.ba-tab:hover { border-color: rgb(255 255 255 / .4); }
.ba-tab[aria-selected="true"] { border-color: var(--yellow); background: rgb(249 183 0 / .1); }
/* Kennzeichnung „Symbolbild“ (KI- und Bilddatenbank-Bilder): klein und dezent in einer Bildecke, gut lesbar */
.symbolbild-hinweis {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 3px 9px; border-radius: 999px;
  background: rgb(11 37 64 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.5; letter-spacing: .02em; pointer-events: none;
}
.symbolbild-hinweis[hidden] { display: none; }
.card-media, .mat-media { position: relative; }
.symbolbild-hinweis--hero { left: 70px; bottom: 26px; } /* neben dem Pause-Knopf des Videos */
@media (max-width: 899px) { .symbolbild-hinweis--hero { left: 16px; bottom: 16px; } } /* dort sitzt der Knopf oben */
.bildnachweise { margin: 6px 0 0 1.2em; list-style: disc; }
.ba-more { text-align: center; margin-top: 22px; }
.ba-note { text-align: center; margin-top: 18px; font-size: .9rem; color: rgb(255 255 255 / .6); }
@media (min-width: 900px) { .ba-tabs { max-width: min(100%, calc((100dvh - var(--header-h) - 140px) * 1.506)); margin-inline: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); } .ba-tab img { width: 84px; height: 60px; } }

/* ---------- Materialien ---------- */
.mat-tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 40px; max-width: 100%; overflow-x: auto; }
.mat-tabs button { position: relative; z-index: 1; padding: 12px 22px; border-radius: 999px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: color .3s var(--ease); }
.mat-tabs button[aria-selected="true"] { color: #fff; }
.mat-indicator { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--blue); transition: transform .45s var(--ease), width .45s var(--ease); }
.mat-panel { display: grid; gap: 40px; align-items: center; }
.mat-panel[hidden] { display: none; }
.mat-media { aspect-ratio: 4 / 4.4; max-width: 520px; width: 100%; background: var(--blue-50); }
/* Herstellerbild auf Weiß (Profilschnitt): vollständig zeigen statt beschneiden */
.mat-media--product { background: #fefefe; box-shadow: var(--shadow); }
.mat-media--product img { object-fit: contain; padding: 12% 14% 4%; }
.mat-copy h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -0.04em; }
.mat-copy p { margin: 16px 0 12px; font-size: 1.15rem; color: var(--text-2); max-width: 46ch; }
.mat-panel.is-entering .mat-media, .mat-panel.is-entering .mat-copy { animation: matIn .6s var(--ease) both; }
.mat-panel.is-entering .mat-copy { animation-delay: .08s; }
@keyframes matIn { from { opacity: 0; transform: translateY(16px); } }
@media (min-width: 900px) { .mat-panel { grid-template-columns: .9fr 1.1fr; gap: 80px; } }

/* ---------- Schnelle Hilfe ---------- */
.help { background: var(--blue); color: #fff; padding: 96px 0; border-radius: 48px; margin-inline: 8px; }
.help-inner { display: grid; gap: 36px; align-items: center; }
.help h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 900; letter-spacing: -0.045em; }
.help-copy p { margin-top: 16px; font-size: 1.15rem; color: rgb(255 255 255 / .88); max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 999px;
  background: #fff; color: var(--navy); font-weight: 750; font-size: 1.05rem; text-decoration: none;
  transition: background-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chip .ph { font-size: 1.3rem; color: var(--blue); transition: color .2s var(--ease); }
.chip:hover { background: var(--yellow); transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 10px 24px rgb(0 0 0 / .18); }
.chip:hover .ph { color: var(--navy); }
.chip:active { transform: scale(.97); }
@media (min-width: 900px) { .help { margin-inline: 24px; padding: 120px 0; } .help-inner { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

/* ---------- Über uns ---------- */
.statement { font-size: clamp(1.9rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; max-width: 24ch; }
.statement .w { display: inline; }
.about-row { display: grid; gap: 32px; margin-top: 64px; align-items: start; }
.rc3 { display: grid; gap: 4px; padding: 32px; border-radius: var(--radius); background: var(--navy); color: #fff; max-width: 420px; }
.rc3 .ph { font-size: 2.4rem; color: var(--yellow); }
.rc3 strong { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em; }
.rc3 span { color: rgb(255 255 255 / .8); }
.facts { display: grid; gap: 22px 32px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ph { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 1.5rem; }
.facts li > span { color: var(--text-2); }
.facts strong { display: block; color: var(--text); font-size: 1.1rem; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .about-row { grid-template-columns: 380px 1fr; gap: 72px; align-items: center; } }
/* Überschrift als kleine blaue Zeile über dem Leitsatz (wie ein Vorspann) */
.about-kicker { margin-bottom: 18px; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 750; letter-spacing: 0; line-height: 1.3; color: var(--blue-600); }
/* Absätze und Bild (freiwillige Zeile): Text höchstens etwa 65 Zeichen pro Zeile, Bild im Bogen wie die Materialbilder */
.about-text-row { display: grid; gap: 40px; margin-top: 64px; align-items: center; }
.about-copy { display: grid; gap: 18px; max-width: 65ch; font-size: 1.15rem; color: var(--text-2); }
@media (min-width: 900px) {
  .about-text-row { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .about-text-row--nur-text, .about-text-row--nur-bild { grid-template-columns: 1fr; }
  .about-text-row .about-media { justify-self: end; }
  .about-text-row--nur-bild .about-media { justify-self: start; }
}
/* Zwei bis vier Kennzahlen: kleinere dunkle Kacheln nebeneinander bzw. 2 × 2 */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-stats--3 > :first-child { grid-column: 1 / -1; }
.rc3--klein { max-width: none; padding: 20px; align-content: start; }
.rc3--klein .ph { font-size: 1.8rem; }
.rc3--klein strong { font-size: clamp(2.4rem, 4.4vw, 3.4rem); }
.rc3--klein span { font-size: .95rem; line-height: 1.45; }
@media (min-width: 640px) { .about-stats { gap: 16px; } .rc3--klein { padding: 26px; } }
@media (min-width: 900px) {
  .about-row--stats { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about-row--stats .facts { grid-template-columns: 1fr; }
  .about-row--allein { grid-template-columns: 1fr; }
  .about-row--allein .about-stats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .about-row--allein .about-stats--3 > :first-child { grid-column: auto; }
  .about-row--allein .facts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (min-width: 1200px) { .about-row--stats .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Ablauf ---------- */
.process-section { position: relative; padding-top: 40px; }
.process-section .container { position: relative; }
.process { display: grid; gap: 36px; position: relative; z-index: 1; }
.process li { position: relative; padding-left: 80px; }
.process .ph { position: absolute; left: 0; top: 0; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.6rem; box-shadow: var(--shadow); }
.process h3 { font-size: 1.6rem; font-weight: 850; padding-top: 12px; }
.process::before {
  content: ""; position: absolute; z-index: -1; left: 29px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--blue), var(--blue)) 0 0 / 100% calc(var(--p, 1) * 100%) no-repeat, var(--line);
}
.process p { margin-top: 6px; color: var(--text-2); max-width: 30ch; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .process li { padding-left: 0; padding-top: 88px; }
  .process h3 { padding-top: 0; }
  .process::before {
    left: 30px; right: calc(25% - 30px); top: 29px; bottom: auto; width: auto; height: 3px;
    background: linear-gradient(var(--blue), var(--blue)) 0 0 / calc(var(--p, 1) * 100%) 100% no-repeat, var(--line);
  }
}

/* ---------- Marken ---------- */
.brands { padding: 48px 0 96px; }
.brands-title { text-align: center; color: var(--text-2); font-weight: 600; margin-bottom: 24px; }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.brand-ph { font-size: 1.6rem; font-weight: 900; color: #a3b0bd; letter-spacing: -0.02em; }
.brand-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.brand-link { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand-link:hover .brand-logo, .brand-link:focus-visible .brand-logo { filter: none; opacity: 1; }
.brand-link:hover .brand-ph { color: var(--text-2); }
/* Team (Baustein team) */
.team { padding-top: 0; }
.team-intro { max-width: 60ch; margin: -24px 0 40px; font-size: 1.1rem; color: var(--text-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 22px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.team-person { display: grid; gap: 4px; }
.team-person strong { margin-top: 10px; font-size: 1.1rem; font-weight: 800; }
.team-person > span { color: var(--text-2); font-size: .95rem; }
.team-foto { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--blue-50); display: grid; place-items: center; }
.team-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team-person .team-initialen { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--blue); letter-spacing: -0.03em; }

/* ---------- Karriere ---------- */
.career-section { padding: 0 0 40px; }
.career {
  position: relative; overflow: hidden; display: grid; align-items: end; gap: 0;
  padding: 48px 28px 0; border-radius: 40px; background: var(--yellow); color: var(--navy); min-height: 420px;
}
.career h2 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; }
.career h2 em { color: var(--blue); }
.career p { margin: 16px 0 28px; font-size: 1.25rem; font-weight: 600; }
.career-copy { padding-bottom: 48px; position: relative; z-index: 1; }
.career-lurchi { justify-self: end; width: 170px; margin-top: -20px; margin-bottom: -6px; filter: drop-shadow(0 16px 20px rgb(11 37 64 / .25)); }
@media (min-width: 768px) {
  .career { grid-template-columns: 1fr auto; padding: 72px 72px 0; }
  .career-copy { padding-bottom: 72px; }
  .career-lurchi { width: 240px; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-info h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.045em; }
.contact-info > p { margin-top: 14px; color: var(--text-2); max-width: 40ch; font-size: 1.1rem; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--blue); text-decoration: none; letter-spacing: -0.03em; }
.contact-phone:hover { color: var(--blue-600); }
.contact-list { margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list dt { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.contact-list dt .ph { color: var(--blue); font-size: 1.2rem; }
.contact-list dd { margin: 4px 0 0 28px; color: var(--text-2); }
.oz-heute { display: block; width: fit-content; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 800; }
.oz-hinweis { display: block; margin-top: 6px; font-size: .95rem; }
.oz-sonder { display: block; margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--yellow-soft); color: var(--navy); }
.oz-sonder strong { display: block; margin-bottom: 2px; }
.oz-sonder-zeile { display: block; }
.contact-form { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
.field label { font-weight: 700; font-size: .97rem; }
.optional { font-weight: 450; color: var(--text-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%; padding: 13px 14px;
  border-radius: var(--radius-sm); border: 2px solid #b9c4cf; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error textarea { border-color: #b42318; }
/* Anhänge (assets/js/kontakt.js) */
.field-files input[type="file"] { padding: 14px; border-style: dashed; background: var(--bg); cursor: pointer; font-size: .95rem; color: var(--text-2); }
.field-files input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.field-files input[type="file"]:hover { border-color: var(--blue); }
.field-files.has-error input[type="file"] { border-color: #b42318; }
.field-files.is-enhanced input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.file-drop { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed #b9c4cf; border-radius: var(--radius-sm); background: var(--bg); color: var(--text-2); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.file-drop[hidden] { display: none; }
.file-drop .ph { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.2rem; }
.file-drop strong { color: var(--text); }
.file-drop:hover, .file-drop.is-over { border-color: var(--blue); background: #e8f3fb; }
.field-files input[type="file"]:focus-visible + .file-drop { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 122 195 / .18); }
.field-files.has-error .file-drop { border-color: #b42318; }
.field-files { position: relative; }
.file-list { display: grid; gap: 6px; }
.file-list[hidden] { display: none; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--bg); font-size: .93rem; }
.file-list li > .ph { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); color: var(--blue-600); font-size: 1.6rem; }
.file-list li > img { flex: none; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.file-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-list small { color: var(--text-2); flex: none; }
.file-list button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.file-list button:hover { background: #fdecea; color: #b42318; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 122 195 / .18); }
.field-help { font-size: .9rem; color: var(--text-2); }
.field-error, .form-privacy-error { display: none; font-size: .9rem; color: #b42318; font-weight: 600; }
.field.has-error input, .field.has-error select { border-color: #b42318; }
.field.has-error .field-error, .contact-form.privacy-error .form-privacy-error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.contact-form button[hidden] { display: none; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.form-error { padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; border: 1px solid #f5c2bd; color: #b42318; font-weight: 600; font-size: .97rem; }
.form-error[hidden] { display: none; }
/* Honeypot: für Menschen unsichtbar, für Screenreader ausgeblendet (aria-hidden) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: #e9f7ec; border: 1px solid #b7e0c0; }
.form-success[hidden] { display: none; }
.form-success:not([hidden]) { animation: notice-in .5s var(--ease); }
.contact-form.is-sent > :not(.form-success) { display: none; }
.form-success .text-link { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue-600); cursor: pointer; }
.form-success img { width: 54px; flex: none; }
.form-success p { color: var(--text-2); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .contact-form { padding: 40px; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgb(255 255 255 / .72); padding: 72px 0 24px; overflow: hidden; }
.footer-grid { display: grid; gap: 32px; }
.footer-area { margin-top: 14px; font-size: .93rem; max-width: 36ch; }
.footer-area strong { color: #fff; }
.site-footer .fuss-sonder { color: var(--yellow); font-weight: 700; }
.footer-logo { width: 220px; margin-bottom: 16px; background: #fff; padding: 10px 14px; border-radius: 12px; box-sizing: content-box; }
.site-footer h3 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: rgb(255 255 255 / .72); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-giant { margin: 48px 0 0; font-size: clamp(3.4rem, 15.5vw, 15rem); font-weight: 900; letter-spacing: -0.06em; line-height: .8; color: var(--navy-2); text-align: center; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .93rem; position: relative; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* ---------- Unterseiten (Impressum, Datenschutz, Türkonfigurator) ---------- */
.page-hero { padding: 56px 0 24px; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--blue-600); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; }
.page-hero .lead { margin-top: 20px; max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); }
.page-section { padding: 24px 0 96px; }
.page-hero-lurchi { width: 108px; margin-bottom: 20px; }

.legal { max-width: 76ch; }
.legal h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 850; letter-spacing: -0.03em; margin: 48px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 8px; }
.legal h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; margin: 28px 0 8px; }
.legal p, .legal address { color: var(--text-2); margin: 0 0 12px; font-style: normal; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; list-style: disc; color: var(--text-2); display: grid; gap: 4px; }
.legal strong { color: var(--text); }
.legal a { overflow-wrap: anywhere; }
.legal .stand { margin-top: 48px; font-size: .93rem; }
/* Noch vom Kunden zu liefernde Angaben: im Prototyp deutlich sichtbar */
.todo { background: var(--yellow-soft); color: var(--text); padding: 0 .3em; border-radius: 4px; font-weight: 650; }

.configurator { display: grid; gap: 24px; }
.consent-box {
  display: grid; gap: 20px; align-content: center; justify-items: start; padding: clamp(24px, 5vw, 56px);
  background: var(--navy); color: rgb(255 255 255 / .8); border-radius: var(--radius); min-height: 420px;
  background-image: radial-gradient(circle at 85% 20%, rgb(0 122 195 / .45), transparent 55%);
}
.consent-box h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.04em; }
.consent-box p { max-width: 58ch; }
.consent-box a:not(.btn) { color: var(--yellow); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-box .check { color: #fff; }
/* Karriere */
.career-jobs { padding-bottom: 8px; }
.career-hero .page-hero-lurchi { float: right; width: clamp(90px, 14vw, 150px); margin: 0 0 12px 16px; }
.job-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .job-grid { grid-template-columns: 1fr 1fr; } }
.job { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bg); font-size: .85rem; font-weight: 700; color: var(--text-2); }
.job h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.job h4 { margin-top: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.job .ticks li { font-weight: 550; }
.job .btn { margin-top: auto; align-self: flex-start; }
.job-offer { margin-top: 28px; padding: 28px 26px; border-radius: 22px; background: var(--yellow); color: var(--navy); }
.job-offer h3 { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.job-offer .ticks .ph { background: var(--navy); color: var(--yellow); }
@media (min-width: 900px) { .job-offer .ticks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.job-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.job .job-actions .btn { margin-top: 0; }
.job-leer { max-width: 60ch; padding: 24px 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); font-size: 1.1rem; }
/* Seite einer Stelle (/karriere/<id>/) */
.job-hero h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.05; max-width: 22ch; hyphens: auto; overflow-wrap: break-word; }
.job-hero .job-meta { margin-top: 18px; }
.job-hero .job-meta > span { background: var(--surface); box-shadow: var(--shadow); }
.job-hero-btn { margin-top: 24px; }
.back-link { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 700; color: var(--blue-600); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.job-detail h2 { font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.job-detail h2 + .ticks { margin-bottom: 14px; }
/* Türkonfigurator: Entwurf senden */
.send-steps { display: grid; gap: 14px; margin-top: 28px; }
.send-steps li { display: flex; gap: 14px; align-items: flex-start; }
.send-steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-weight: 900; }
.send-steps p { color: var(--text-2); font-size: .97rem; }
.send-mail { margin-top: 10px; color: var(--text-2); }
.configurator-steps { display: grid; gap: 16px; margin-top: 8px; }
.configurator-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.configurator-steps .ph { font-size: 1.6rem; color: var(--blue); flex: none; }
.configurator-steps strong { display: block; }
.configurator-steps p { color: var(--text-2); font-size: .97rem; }
@media (min-width: 900px) { .configurator-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Mobile-Aktionsleiste ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  html { scroll-padding-bottom: 96px; }
  body { padding-bottom: 80px; }
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-mobilebar);
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 6px;
    background: rgb(255 255 255 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 999px; font-weight: 750; text-decoration: none; color: var(--text); white-space: nowrap; }
  .mobile-bar a.is-primary { background: var(--blue); color: #fff; }
  .mobile-bar .ph { font-size: 1.2rem; }
}
@media (max-width: 359px) {
  .mobile-bar { gap: 6px; }
  .mobile-bar a { min-width: 0; padding-inline: 6px; font-size: .95rem; }
  .mobile-bar a .ph { display: none; }
}

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { inset: 0; }
  .hero-video { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Hinweisbalken, z. B. Betriebsurlaub oder Wartungsarbeiten (assets/js/nav.js, Daten: api/hinweis.php) ---------- */
@keyframes notice-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes hinweis-in { from { opacity: 0; transform: translateY(-100%); } }
.hinweis-bar { position: relative; z-index: calc(var(--z-header) + 1); background: var(--yellow); color: var(--navy); animation: hinweis-in .5s var(--ease); }
.hinweis-inner { display: flex; align-items: flex-start; gap: 12px; padding-block: 12px; }
.hinweis-inner > .ph { flex: none; font-size: 1.5rem; margin-top: 1px; }
.hinweis-text { flex: 1; margin: 0; line-height: 1.45; white-space: pre-line; }
.hinweis-text strong { font-weight: 800; }
.hinweis-close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px -10px 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.25rem; cursor: pointer;
}
.hinweis-close:hover { background: rgb(11 37 64 / .1); }
.hinweis-close:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-hinweis {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--yellow-soft); color: var(--navy); line-height: 1.45;
}
.form-hinweis > .ph { flex: none; font-size: 1.4rem; margin-top: 1px; }
.form-hinweis strong { display: block; font-weight: 800; }
.form-hinweis p { margin: 2px 0 0; white-space: pre-line; }

/* Pop-up zum Hinweis (nav.js). Ab 768 px modal in der Mitte wie der frühere Pop-up "Seite im Aufbau".
   Am Handy NICHT modal: kleine Karte unten über der Aktionsleiste, höchstens 45 % der Höhe, Seite bleibt
   bedienbar und scrollbar (kein Vollbild-Pop-up, das Google als störend werten würde). */
.hinweis-popup {
  position: relative; width: min(480px, calc(100vw - 32px)); padding: 32px 28px 28px; border: 0; border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); text-align: center; overscroll-behavior: contain;
}
.hinweis-popup::backdrop { background: rgb(11 37 64 / .55); backdrop-filter: blur(3px); }
.hinweis-popup[open] { animation: notice-in .4s var(--ease); }
.hinweis-popup-figur { position: relative; display: block; width: fit-content; margin: 0 auto 12px; }
.hinweis-popup-lurchi { height: 96px; width: auto; }
.hinweis-popup-figur ~ .hinweis-popup-icon { display: none; } /* am Computer: Lurchi mit Symbol-Kreis */
.hinweis-popup-badge {
  position: absolute; right: -14px; bottom: -2px; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.15rem; box-shadow: 0 0 0 3px var(--surface);
}
/* mit Bild: statt Lurchi, volle Breite 16:9 (Handy: 88 × 88, unten) */
.hinweis-popup-bild { position: relative; margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; background: var(--yellow-soft); }
.hinweis-popup-bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hinweis-popup.hinweis-popup--bild .hinweis-close { top: 36px; right: 36px; z-index: 3; background: rgb(255 255 255 / .92); color: var(--navy); box-shadow: 0 2px 8px rgb(11 37 64 / .18); }
.hinweis-popup.hinweis-popup--bild .hinweis-close:hover { background: #fff; }
.hinweis-popup-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.7rem; }
.hinweis-popup h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px; }
.hinweis-popup p { color: var(--text-2); margin-bottom: 10px; white-space: pre-line; }
.hinweis-popup .btn { margin-top: 12px; min-width: 180px; justify-content: center; }
.hinweis-popup .hinweis-close { position: absolute; top: 18px; right: 18px; margin: 0; }
/* groß, Hochformat/freigestellt (ganz): über dem Text, nicht beschnitten */
.hinweis-popup-bild--ganz { background: none; }
.hinweis-popup-bild--ganz img { aspect-ratio: auto; max-height: 260px; object-fit: contain; }
/* klein: an der Stelle (und in der Größe) des Lurchi, immer ganz gezeigt */
.hinweis-popup-bild--klein { width: fit-content; margin: 0 auto 12px; border-radius: 0; overflow: visible; background: none; }
.hinweis-popup-bild--klein img { width: auto; height: 96px; max-width: 200px; max-height: none; aspect-ratio: auto; object-fit: contain; }
.hinweis-popup-bild--klein .symbolbild-hinweis { left: 50%; bottom: -6px; transform: translateX(-50%); padding: 1px 6px; font-size: .6rem; }
@media (max-width: 767px) {
  .hinweis-popup[open] {
    position: fixed; inset: auto 12px calc(80px + env(safe-area-inset-bottom, 0px)) 12px; z-index: calc(var(--z-header) + 2);
    width: auto; max-width: none; max-height: 45dvh; margin: 0; overflow-y: auto;
    padding: 22px 20px 18px; text-align: left; border: 2px solid var(--yellow);
  }
  .hinweis-popup-figur { display: none; }
  .hinweis-popup-figur ~ .hinweis-popup-icon { display: inline-grid; }
  /* Handy, groß: über dem Titel, höchstens 140 px hoch (das Pop-up hat nur 45 % der Bildschirmhöhe) */
  .hinweis-popup-bild { margin: 0 0 12px; }
  .hinweis-popup-bild img { max-height: 140px; }
  .hinweis-popup-bild--ganz img { height: 140px; width: 100%; }
  /* Handy, klein: 64 × 64 links neben dem Titel, Text darunter; Hochformat/freigestellt ganz gezeigt */
  .hinweis-popup-bild--klein { float: left; width: 64px; height: 64px; margin: 0 12px 8px 0; }
  .hinweis-popup-bild--klein img { width: 100%; height: 100%; max-width: none; aspect-ratio: 1; object-fit: cover; }
  .hinweis-popup-bild--klein.hinweis-popup-bild--ganz img { object-fit: contain; }
  .hinweis-popup-bild .symbolbild-hinweis { left: 4px; bottom: 4px; padding: 1px 6px; font-size: .58rem; }
  .hinweis-popup-bild--klein .symbolbild-hinweis { left: 50%; bottom: -4px; font-size: .55rem; }
  .hinweis-popup--klein p { clear: left; }
  .hinweis-popup--klein h2 { min-height: 64px; display: flex; align-items: center; }
  .hinweis-popup.hinweis-popup--bild .hinweis-close { top: 26px; right: 26px; }
  .hinweis-popup-icon { width: 44px; height: 44px; font-size: 1.35rem; margin-bottom: 10px; }
  .hinweis-popup h2 { font-size: 1.25rem; padding-right: 36px; }
  .hinweis-popup .btn { width: 100%; margin-top: 6px; }
  .hinweis-popup .hinweis-close { top: 10px; right: 10px; }
}

/* ---------- Unterseite Fenstersysteme (assets/js/systeme.js, Daten: tools/systeme.json) ---------- */
.systems-page { background: var(--surface); padding-top: 40px; }
.surfaces { padding-top: 88px; }
.surfaces .section-title { margin-bottom: 18px; }
.surf-intro { max-width: 62ch; margin-bottom: 32px; font-size: 1.15rem; color: var(--text-2); }
.surf-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .surf-grid { grid-template-columns: repeat(3, 1fr); } }
.surf-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.surf-card h3 { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.surf-card > p:not(.sys-kind) { color: var(--text-2); }
.surf-card .ticks li { font-weight: 550; font-size: .97rem; }
.surf-card .surf-note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; }
.surfaces .sys-note { margin-top: 20px; }
.sys-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.sys-filter { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 28px; background: var(--bg); }
.sys-filter button { padding: 11px 20px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 700; color: var(--text-2); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.sys-filter button:hover { color: var(--text); }
.sys-filter button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.sys-toolbar [data-cmp-all][hidden] { display: none; }
.sys-group + .sys-group { margin-top: 40px; }
.sys-group[hidden] { display: none; }
.sys-group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; }
.sys-group-title span { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.sys-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.sys-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.sys-card[hidden] { display: none; }
.sys-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sys-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.sys-kind { font-size: .8rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-600); }
.sys-card h3 { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.03em; }
/* ganze Karte klickbar: Button-Fläche über die Karte gelegt; Häkchen liegt darüber */
.sys-open { all: unset; cursor: pointer; }
.sys-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sys-open:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.sys-profile { font-size: .93rem; font-weight: 650; }
.sys-desc { font-size: .95rem; color: var(--text-2); margin-bottom: 6px; }
.sys-bars { display: grid; gap: 8px; margin: 6px 0 4px; }
.sys-bars li { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 10px; font-size: .88rem; }
.sys-bars li > span:first-child { color: var(--text-2); }
.sys-bars b { font-weight: 750; white-space: nowrap; min-width: 62px; text-align: right; }
.sys-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sys-bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--blue) 0%, #2fa3e6 100%); transition: width .8s var(--ease); }
.sys-depth { font-size: .85rem; color: var(--text-2); }
.sys-actions { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.sys-cmp { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 700; cursor: pointer; padding: 6px 2px; }
.sys-cmp input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.sys-more { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 750; color: var(--blue-600); }
.sys-extras { margin: 28px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--blue-50); color: var(--text); font-size: .97rem; max-width: 80ch; }
.sys-note { margin: 14px 0 28px; font-size: .88rem; color: var(--text-2); max-width: 75ch; }

/* Vergleichsleiste (erscheint ab 1 Auswahl) */
.cmp-bar { position: fixed; z-index: 45; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100vw - 24px); font-weight: 650; font-size: .95rem; }
.cmp-bar[hidden] { display: none; }
.cmp-bar .btn[disabled] { opacity: .5; cursor: not-allowed; }
.cmp-clear { border: 0; background: none; color: rgb(255 255 255 / .75); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; }
@media (max-width: 767px) {
  .cmp-bar { bottom: 88px; flex-wrap: wrap; justify-content: center; border-radius: 22px; padding: 12px 14px; text-align: center; }
}

/* Dialoge: Vergleich + Detailansicht */
/* Solange ein Dialog offen ist, scrollt die Seite dahinter nicht mit */
html:has(dialog:modal) { overflow: hidden; scrollbar-gutter: stable; }
.sys-dialog { overscroll-behavior: contain; }
.cmp-scroll { overscroll-behavior-x: contain; }
.sys-dialog { width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.sys-dialog::backdrop { background: rgb(11 37 64 / .6); backdrop-filter: blur(3px); }
.sys-dialog[open] { animation: notice-in .35s var(--ease); }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; }
.dlg-close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; color: var(--text); }
.dlg-close:hover { background: var(--bg); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sys-dialog .sys-extras { margin-top: 18px; }
.cmp-scroll { overflow-x: auto; padding: 8px 22px 0; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table thead span { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); }
.cmp-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 650; color: var(--text-2); width: 190px; }
.cmp-table small { font-weight: 500; color: var(--text-2); }
.cmp-name { border: 0; background: none; padding: 0; font: inherit; font-size: 1.15rem; font-weight: 900; color: var(--blue-600); cursor: pointer; text-align: left; }
.cmp-name:hover { text-decoration: underline; }
.cmp-table td.is-best { background: #e9f7ec; font-weight: 750; }
.best-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: #1f7a35; color: #fff; font-size: .72rem; font-weight: 750; vertical-align: 1px; }
@media (max-width: 600px) {
  .cmp-scroll { padding: 4px 0 0; }
  .cmp-table { min-width: 0; font-size: .85rem; }
  .cmp-table th, .cmp-table td { padding: 10px 8px; min-width: 118px; }
  .cmp-table tbody th { width: 96px; min-width: 96px; padding-left: 14px; }
  .cmp-name { font-size: 1rem; }
  .best-tag { margin: 4px 0 0; }
}
.sys-dialog--cmp .sys-extras, .sys-dialog > .sys-extras, .sys-dialog > .dlg-actions { margin-left: 22px; margin-right: 22px; }
.sys-dialog > .dlg-actions { margin-bottom: 22px; }
.det-grid { display: grid; gap: 24px; padding: 22px; }
@media (min-width: 860px) { .det-grid { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; } }
.det-grid--ohne-bild { max-width: 760px; }
@media (min-width: 860px) { .det-grid--ohne-bild { grid-template-columns: 1fr; } }
.gal { margin: 0; }
.gal-main { aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #fff 0%, #e9edf1 78%); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal figcaption { margin-top: 8px; font-size: .9rem; color: var(--text-2); text-align: center; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.gal-thumbs button { padding: 0; width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: #f1f4f7; cursor: pointer; overflow: hidden; }
.gal-thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.det-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.035em; }
.det-text { margin: 10px 0 14px; color: var(--text-2); }
.det-note { font-weight: 650; }
.det-specs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.det-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.det-specs dt { color: var(--text-2); }
.det-specs dd { margin: 0; font-weight: 700; }
.det-specs small { font-weight: 500; color: var(--text-2); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 750; color: var(--blue-600); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Vorschau (nur Seiten mit ?vorschau=…, assets/js/vorschau-seite.js) ---------- */
.vorschau-toast {
  position: fixed; left: 50%; top: 16px; z-index: 1000; max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px;
  border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.vorschau-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Referenzen (/referenzen/, Baustein referenzen, assets/js/referenzen.js) ---------- */
.refs { padding-top: 24px; }
.ref-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ref-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ref-open:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ref-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--blue-50); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; }
.ref-body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.ref-body strong { font-size: 1.2rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.2; }
.ref-meta { color: var(--text-2); font-weight: 600; font-size: .95rem; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ref-tags span { padding: 3px 10px; border-radius: 999px; background: var(--bg); font-size: .8rem; font-weight: 700; color: var(--text-2); }
.ref-inhalt { padding: 18px 22px 24px; }
.ref-galerie { position: relative; border-radius: 16px; overflow: hidden; background: var(--navy); }
.ref-bild { position: relative; margin: 0; }
.ref-bild[hidden] { display: none; }
.ref-bild img { display: block; width: 100%; max-height: min(70dvh, 760px); object-fit: contain; }
.ref-nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--navy); font-size: 1.3rem; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.ref-nav--zurueck { left: 12px; }
.ref-nav--weiter { right: 12px; }
.ref-daumen { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.ref-daumen button { flex: none; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .7; }
.ref-daumen button[aria-pressed="true"] { border-color: var(--blue); opacity: 1; }
.ref-daumen img { display: block; width: 96px; height: 64px; object-fit: cover; }
.ref-inhalt .ref-meta { margin-top: 14px; }
.ref-text { margin-top: 8px; max-width: 70ch; }
