/* AREA Unternehmensgruppe – Stylesheet (mobile first, keine externen Ressourcen) */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #f1eee8;          /* Sichtbeton / Planpapier */
  --bg-2: #e7e2d8;
  --paper: #faf8f4;
  --ink: #1d1c1b;
  --ink-2: #575556;       /* R&H-Logograu */
  --line: #cfc8ba;
  --gold: #948753;        /* R&H-„&“ – nur Deko/Flächen */
  --gold-text: #6e6435;   /* Gold für Text, 5,1:1 auf --bg */
  --gold-light: #c9b979;
  --orange: #f26522;      /* Buchberger */
  --orange-text: #a8400c;
  --dark: #222120;
  --bg-3d: #f1eee8;

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.4vw, 5.4rem);

  --pad: clamp(1.1rem, 0.6rem + 2.6vw, 3rem);
  --max: 78rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--gold-light); color: var(--ink); }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 750; letter-spacing: -0.01em; font-stretch: 112%; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Technische Beschriftung im Stil eines Planes */
.label {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.label::before { content: ""; display: inline-block; width: 1.6em; height: 1px; margin-right: 0.7em; background: currentColor; vertical-align: 0.3em; }

/* ---------- Sprunglink ---------- */
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; padding: 0.7rem 1rem; background: var(--ink); color: var(--paper); font-weight: 600; }
.skip:focus { top: 0.75rem; }

/* ---------- Kopfzeile ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 238, 232, 0.92);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; text-decoration: none; color: var(--ink); min-height: 44px; align-items: center; }
.brand-sub { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); line-height: 1.2; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
  min-height: 44px; min-width: 44px; padding: 0 0.8rem;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  font: 500 var(--step--1)/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 10px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.2s; }
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-4px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 550; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--gold-text); text-decoration: underline; }

@media (max-width: 59.99rem) {
  .site-nav { position: fixed; inset: 4rem 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem var(--pad) 1.5rem; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav a { font-size: var(--step-1); border-bottom: 1px solid var(--line); }
}
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: 1.8rem; }
  .site-nav a { font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; min-height: calc(100svh - 4rem); }
.hero-copy { position: relative; z-index: 2; padding-block: clamp(2rem, 6vw, 5rem) 1rem; align-self: start; }
.hero h1 { font-size: var(--step-4); font-stretch: 118%; margin: 0.9rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--gold-text); }
.hero-lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

.hero-stage { position: relative; min-height: min(30rem, 95vw); margin-inline: calc(var(--pad) * -1); }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 2rem; }
.no-webgl .hero-fallback { display: grid; }
.no-webgl .hero-stage canvas { display: none; }
.hero-fallback img { width: min(15rem, 60%); height: auto; }

.stage-ui {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1rem; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.no-webgl .stage-ui { display: none; }
.phase { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.phase b { color: var(--ink); font-weight: 500; }
.stage-btns { display: flex; gap: 0.5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 44px; min-height: 44px; padding: 0 0.85rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink-2); cursor: pointer;
  font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 14px; height: 14px; }
.icon-btn .i-play { display: none; }
.icon-btn[data-paused] .i-play { display: block; }
.icon-btn[data-paused] .i-pause { display: none; }

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr; min-height: min(calc(100svh - 4rem), 52rem); }
  .hero-copy { align-self: center; padding-block: 4rem; }
  .hero-stage { margin: 0 calc(var(--pad) * -1) 0 clamp(0.5rem, 2vw, 2rem); min-height: 0; }   /* Szene nie unter dem Text */
  .stage-ui { left: 0; }
}

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.3rem;
  font-weight: 650; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 1em; height: 1em; flex: none; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; margin: 0; }
@media (min-width: 60rem) { .section-head { grid-template-columns: 5fr 7fr; align-items: end; column-gap: 4rem; } .section-head .label { grid-column: 1 / -1; } }

.section--dark { background: var(--dark); color: #efebe3; }
.section--dark .label { color: var(--gold-light); }
.section--dark .section-head p { color: #c9c4ba; }

/* ---------- Wegweiser: Unternehmen ---------- */
.companies { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 40rem) { .companies { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 75rem) { .companies--4 { grid-template-columns: repeat(4, 1fr); } }
.company {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  background: var(--paper); padding: clamp(1.4rem, 3vw, 2.2rem);
  transition: background 0.2s;
}
.company:hover { background: #fff; }
.company.is-focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.company-logo { height: 4.2rem; display: flex; align-items: center; }
.company-logo img { max-height: 100%; width: auto; }
.company-logo .wordmark { font-weight: 800; font-stretch: 125%; font-size: 1.6rem; letter-spacing: 0.04em; line-height: 1; }
.company-logo .wordmark small { display: block; font-family: var(--f-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-2); margin-top: 0.4rem; text-transform: uppercase; }
.company h3 { font-size: var(--step-1); font-stretch: 105%; }
.company p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.company .tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.company .tags li { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); padding: 0.25rem 0.5rem; color: var(--ink-2); }
.company-more { margin-top: auto; padding-top: 0.5rem; }
.company-more a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 650; text-decoration: none; }
.company-more a::after { content: "→"; transition: transform 0.15s; }
.company-more a:hover::after { transform: translateX(4px); }
.company--orange .company-more a { color: var(--orange-text); }
.company-badge { position: absolute; top: 1rem; right: 1rem; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 0.2rem 0.5rem; }

/* ---------- Leistungen ---------- */
.lv { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: pos; }
.lv > li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.lv h3 { font-size: var(--step-2); font-stretch: 108%; font-weight: 700; }
.lv p { margin: 0.3rem 0 0; color: var(--ink-2); }
.lv-by { display: block; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 0.4rem; }
@media (min-width: 60rem) {
  .lv { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
}

/* ---------- Zahlen / Gruppe ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #3a3836; border: 1px solid #3a3836; margin-top: 3rem; }
@media (min-width: 60rem) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { background: var(--dark); padding: 1.5rem; }
.fact b { display: block; font-size: var(--step-3); font-stretch: 118%; font-weight: 750; line-height: 1; color: #fff; }
.fact span { display: block; margin-top: 0.6rem; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c9c4ba; }


/* ---------- Standorte ---------- */
.locations { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .locations { grid-template-columns: 7fr 5fr; align-items: center; } }
.map { width: 100%; height: auto; }
.map .pin { fill: var(--ink); }
.map .pin-ring { fill: none; stroke: var(--gold); stroke-width: 2; }
.map text { font-family: var(--f-mono); font-size: 13px; fill: var(--ink); letter-spacing: 0.08em; }
.addr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.addr { background: var(--paper); padding: 1.3rem 1.4rem; }
.addr h3 { font-size: 1.05rem; font-stretch: 105%; margin-bottom: 0.35rem; }
.addr .label { display: block; margin-bottom: 0.5rem; font-size: 0.72rem; }
.addr .label::before { display: none; }
.addr address { font-style: normal; color: var(--ink-2); }
.addr a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); }
.addr-links { display: flex; flex-wrap: wrap; column-gap: 1.2rem; }

/* ---------- Kontakt ---------- */

/* ---------- Fußzeile ---------- */
.site-foot { padding-block: 3rem 2rem; font-size: 0.95rem; }
.foot-meta { max-width: none; margin: 0; padding-top: 1rem; border-top: 1.5px solid var(--ink); color: var(--ink-2); }
.foot-meta .nw { white-space: nowrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin-top: 1.5rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot-small { color: var(--ink-2); font-size: 0.85rem; margin-top: 0.8rem; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal h1 { font-size: var(--step-3); margin: 0.8rem 0 2rem; }
.legal h2 { font-size: var(--step-1); font-stretch: 105%; margin: 2.6rem 0 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.legal ul { padding-left: 1.2rem; max-width: 64ch; }
.legal li { margin-bottom: 0.35rem; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 0.15rem 1.5rem; margin: 0 0 1rem; max-width: 52rem; }
.legal dt { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding-top: 0.6rem; }
.legal dd { margin: 0; }
@media (min-width: 48rem) { .legal dl { grid-template-columns: 15rem 1fr; } .legal dt { padding-top: 0.3rem; } .legal dd { padding-top: 0.15rem; } }
.legal .entity { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); margin: 1.5rem 0; }
.legal .entity h2 { border: 0; margin-top: 0; padding-top: 0; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0; list-style: none; }
.legal .toc a { display: inline-flex; min-height: 44px; align-items: center; }
.todo { background: #fff3cd; outline: 1px dashed #a8400c; padding: 0 0.25em; }

/* ---------- Druck ---------- */
@media print {
  .site-head, .hero-stage, .stage-ui, .nav-toggle, .skip { display: none !important; }
  body { background: #fff; }
  .section--dark, .fact { background: #fff !important; color: #000 !important; }
  .section--dark *, .fact b, .fact span { color: #000 !important; border-color: #999 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

@media (forced-colors: active) {
  .btn, .icon-btn, .nav-toggle { border: 1px solid ButtonText; }
  .label::before { background: CanvasText; }
}

/* ---------- Markenkopf ---------- */
.brand { gap: 0.7rem; }
.brand-logo { width: auto; height: 1.5rem; }
.brand-signet { width: 1.75rem; height: 1.75rem; flex: none; }
.brand-name { display: block; font-weight: 750; font-stretch: 108%; font-size: 1rem; line-height: 1.1; }
.brand > .brand-sub { padding-top: 0.15rem; }
@media (max-width: 23rem) { .brand-sub { display: none; } .brand > span .brand-sub { display: block; } }
.company-logo { gap: 0.6rem; }
.logo-sub { font-weight: 700; font-stretch: 112%; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* ---------- Zeitleiste ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid #4a4744; }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.45rem; width: 9px; height: 9px; background: var(--gold); }
.tl-year { font-family: var(--f-mono); font-weight: 500; color: var(--gold-light); letter-spacing: 0.08em; }
.timeline p { margin: 0.2rem 0 0; color: #dcd7ce; }
@media (min-width: 60rem) {
  .timeline { grid-template-columns: repeat(5, 1fr); border-left: 0; border-top: 1px solid #4a4744; }
  .timeline li { padding: 1.4rem 1.5rem 0 0; }
  .timeline li::before { left: 0; top: -5px; }
}

/* ---------- Lageplan ---------- */
.map { max-width: 36rem; margin-inline: auto; }
.map .grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.map .grid text { font-size: 11px; fill: var(--ink-2); }
.map .route { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; }
.map .dist { font-size: 13px; fill: var(--gold-text); }
.map .place { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.map .north path { fill: var(--ink); }
.map .north text { font-size: 13px; }

/* ---------- Korrekturen Runde 1 ---------- */
.company-logo { flex-wrap: wrap; min-width: 0; }
.company-logo img { max-width: 100%; height: auto; max-height: 4.2rem; }
.company-logo .logo-sub { flex-basis: 100%; font-size: 0.8rem; }
.company--one .company-logo img { max-height: 2.6rem; }
.addr-links a { gap: 0.55rem; }
.addr-links svg { width: 18px; height: 18px; flex: none; color: var(--gold-text); }
.addr-links span { word-break: break-word; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); } }

/* ---------- Karten- und Routenlinks ---------- */
.map-links { display: grid; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }
.map-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.map-kind { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); min-width: 3.6rem; }
.addr .map-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.8rem;
  border: 1px solid var(--ink-2); background: var(--bg); color: var(--ink);
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
}
.addr .map-btn:hover { background: var(--ink); color: var(--paper); }
.map-btn svg { width: 11px; height: 11px; flex: none; }
.map-note { font-size: 0.85rem; color: var(--ink-2); margin: 1rem 0 0; max-width: none; }
.map-note a { min-height: 0; display: inline; font-weight: 600; }

/* ---------- Korrekturen Runde 2 ---------- */
@media (max-width: 59.99rem) {
  .hero-stage { min-height: calc(min(28rem, 100vw) + 4rem); }
  .hero-stage canvas { bottom: auto; height: calc(100% - 4rem); }
  .stage-ui { bottom: 0.6rem; }
}
.map-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.4rem; align-items: center; }
.map-group .map-kind { grid-column: 1 / -1; }
@media (min-width: 26rem) { .map-group { grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 1fr); } .map-group .map-kind { grid-column: auto; } }
.map-kind { min-width: 0; }
.addr .map-btn { justify-content: center; padding: 0.3rem 0.5rem; text-align: center; min-width: 0; }
/* Weiche Bühnenränder: Boden und Straße laufen aus statt hart abzuschneiden */
.hero-stage canvas {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 88%, transparent);
  mask-composite: intersect;
}

/* Lange Wörter (Deutsch!) umbrechen statt abschneiden */
h1, h2, h3, .fact b, .fact span, .lv h3 { overflow-wrap: break-word; hyphens: auto; }
/* Bauphase auf heller Plakette: Kontrast unabhängig von der Szene */
.phase { background: rgba(241, 238, 232, 0.9); padding: 0.25rem 0.5rem; }
