/* ============ Nordic Vision Gruppe — stil.css ============
   Optik: Schwarz, große Grotesk-Zeilen; Variante B: erster Bildschirm mit echten Menschen, Belegen und zwei
   Wegen (Prinzipien „Premium-Webseite“), weißes Vollbild-Menü, Laufband im Fuß. Farben und Schriften aus dem
   Gruppen-CI der Marken-Sites: Gold = Gruppe, je Marke eine Signalfarbe.
   Geändert? → ?v= im <link> aller Seiten hochzählen (Assets 1 Jahr immutable). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat/montserrat-latin-wght-normal.woff2") format("woff2");
}
/* Für Umriss-Schrift (-webkit-text-stroke): feste Stärke 600, Teilflächen verschmolzen – sonst kreuzen sich die Konturen. */
@font-face { font-family: "Montserrat Umriss"; font-style: normal; font-weight: 600; font-display: block; src: url("/fonts/montserrat/montserrat-600-umriss.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/instrument/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/instrument/instrument-sans-600.woff2") format("woff2"); }

:root {
  /* Gruppe (identisch auf allen Nordic-Seiten) */
  --gold: #d4af7a;
  --gold-hell: #e0c088;
  --gold-dunkel: #b8935f;
  --gold-text-hell: #7a5a2b;      /* Gold für kleine Schrift auf Weiß (AA) */
  --navy: #1a2332;
  /* Signalfarben der Marken */
  --bau: #d4af7a;
  --sanierung: #3d9be0;
  --energie: #f2b01e;

  --schwarz: #000;
  --flaeche: #0a0c10;
  --flaeche-2: #11141a;
  --weiss: #fff;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .78);
  --text-3: rgba(255, 255, 255, .56);
  --warmgrau: #d0cbc7;            /* Zweitfarbe für Zwischenzeilen */
  --linie: rgba(255, 255, 255, .14);

  --kopf: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(20px, 4.2vw, 72px);
  --max: 1320px;
  --radius: 2px;                  /* Buttons der Gruppe: eckig (Marcel-Entscheid 20.09.) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--kopf); margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nur-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprung {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #000;
  font-weight: 600; text-decoration: none; border-radius: var(--radius); transition: top .2s;
}
.sprung:focus { top: 16px; }

.augenbraue {
  font: 600 12px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.punkt-bau { background: var(--bau); }
.punkt-sanierung { background: var(--sanierung); }
.punkt-energie { background: var(--energie); }

/* ------------------------------------------------------------------ Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--rand);
  transition: background-color .35s, padding .35s, backdrop-filter .35s;
}
.kopf.gescrollt { background: rgba(0, 0, 0, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-zeichen { width: auto; height: 34px; }
.logo-wort {
  display: flex; flex-direction: column; font: 600 15px/1 var(--kopf); letter-spacing: .06em; text-transform: uppercase;
}
.logo-wort small { margin-top: 5px; font: 500 8.5px/1 var(--kopf); letter-spacing: .62em; color: var(--warmgrau); }
.menue-knopf {
  background: none; border: 0; padding: 10px 0 10px 14px; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.menue-knopf:hover { color: var(--gold); }

/* ------------------------------------------------------------------ Menü (weißes Vollbild) */
.menue {
  position: fixed; inset: 0; z-index: 60; background: #fff; color: #0b0b0b; overflow-y: auto;
  opacity: 0; transition: opacity .3s ease;
}
.menue.offen { opacity: 1; }
.menue[hidden] { display: none; }
.menue-innen { min-height: 100%; padding: 26px var(--rand) 48px; display: flex; flex-direction: column; }
.menue-kopf { display: flex; justify-content: flex-end; }
.menue-zu {
  background: none; border: 0; cursor: pointer; padding: 6px; font: 400 34px/1 var(--kopf); color: var(--gold-dunkel);
}
.menue-zu:hover { color: #000; }
.menue-titel {
  margin-right: auto; align-self: flex-end; font: 400 clamp(22px, 2vw, 30px)/1 var(--kopf); color: #7a7979;
}
.menue-raster {
  margin-top: 26px; border-top: 1px solid #c9c9c9; padding-top: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 48px; align-items: start;
}
.menue-liste { list-style: none; margin: 0; padding: 0; }
.menue-liste a {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  font: 300 clamp(40px, 6.2vw, 84px)/1.12 var(--kopf); letter-spacing: -.02em; color: #0b0b0b;
  transition: color .2s, transform .25s;
}
.menue-liste a:hover, .menue-liste a:focus-visible { color: var(--gold-dunkel); transform: translateX(8px); }
.menue-liste small {
  writing-mode: vertical-rl; transform: rotate(180deg); font: 600 11px/1 var(--sans); letter-spacing: .08em; color: #0b0b0b;
}
.menue-seite blockquote { margin: 0 0 22px; }
.menue-seite blockquote p { font: 500 clamp(19px, 1.6vw, 25px)/1.22 var(--kopf); color: #121212; }
.menue-seite blockquote footer { margin-top: 10px; font: 500 13px/1.4 var(--sans); color: #6b6b6b; }
.menue-adresse { font: 400 14px/1.55 var(--sans); color: #3c3c3c; }
.menue-marken { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font: 500 14px/1.4 var(--sans); }
.menue-marken li { display: flex; align-items: center; gap: 10px; }
.menue-marken a { color: var(--gold-text-hell); text-decoration: none; }
.menue-marken a:hover { text-decoration: underline; }
.menue-marken .webseite-folgt { color: #6b6b6b; }

/* ------------------------------------------------------------------ Hero */
.held {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 120px var(--rand) 110px; overflow: hidden; isolation: isolate;
}
.held-text { max-width: 1100px; }
.held h1 { font-weight: 300; }
.held-unterzeile { margin-top: clamp(22px, 3.4vh, 36px); max-width: 34ch; font: 400 clamp(17px, 1.6vw, 21px)/1.5 var(--sans); color: var(--text-2); }
.am-stueck { white-space: nowrap; }

/* ------------------------------------------------------------------ Gruppe / Statement + Zahlen */
.gruppe { padding: clamp(80px, 12vw, 170px) var(--rand) clamp(70px, 9vw, 130px); text-align: center; }
.statement {
  max-width: 1040px; margin: 0 auto; font: 500 clamp(32px, 4.3vw, 62px)/1.1 var(--kopf); letter-spacing: -.02em;
}
.statement-text {
  max-width: 780px; margin: clamp(22px, 3vw, 36px) auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--text-2);
}
/* Steckbrief der Gruppe */

/* ------------------------------------------------------------------ Abschnittsköpfe */
.abschnitt-kopf { max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.abschnitt-kopf h2 { margin-top: 14px; font: 300 clamp(36px, 4.6vw, 66px)/1.06 var(--kopf); letter-spacing: -.025em; }
.abschnitt-kopf h2 b { font-weight: 700; }
.abschnitt-kopf p:not(.augenbraue) { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); color: var(--text-2); }

/* ------------------------------------------------------------------ Welt (Karte) */
.welt { padding: clamp(60px, 8vw, 120px) var(--rand); }
/* Nach dem schwarzen Leistungsnetz wächst die echte Kartenfläche mit den Lamellen ins Bild. */
.logo-raum > #welt { z-index: auto; color: #0e1b26; }
#welt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f0f1f2; pointer-events: none; }
#welt > .abschnitt-kopf { position: relative; z-index: 1; }
#welt > .abschnitt-kopf p { color: #5b6d7e; }
#welt .welt-buehne { color: var(--text); }
/* Im gemeinsamen Stapel bleibt die dunkle Kartengrundierung unter dem Molekül-Canvas. */
#welt .welt-buehne::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #080b0e; pointer-events: none; }
.welt-buehne {
  position: relative; max-width: 1480px; margin: 0 auto; height: min(82vh, 860px); min-height: 560px;
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(120% 90% at 70% 40%, #070a10 0%, #000 70%);
}
/* MapLibre setzt .maplibregl-map auf position: relative (CSS lädt später) — Größe darum zusätzlich fest */
.welt-karte { position: absolute; inset: 0; width: 100%; height: 100%; }
.welt-karte .maplibregl-canvas { outline: none; }
.welt-boegen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.welt-boegen path { fill: none; stroke-linecap: round; }
.welt-boegen path.fluss { stroke-dasharray: 4 7; animation: fluss 1.2s linear infinite; }
@keyframes fluss { to { stroke-dashoffset: -11; } }

.welt-panel {
  position: absolute; z-index: 5; left: 22px; top: 22px; bottom: 22px; width: min(330px, calc(100% - 44px));
  display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; overflow-y: auto;
  background: rgba(8, 10, 14, .78); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.welt-panel-augenbraue { display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.welt-panel-augenbraue::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.welt-panel-titel { font: 300 30px/1.08 var(--kopf); letter-spacing: -.02em; }
.welt-panel-titel b { font-weight: 700; color: var(--gold); }
.welt-panel-text { font-size: 14px; color: var(--text-2); }
.welt-entdecken { display: flex; gap: 8px; }
.welt-entdecken button { min-height: 44px; padding: 10px 13px; border: 1px solid var(--gold); border-radius: 8px; background: var(--gold); color: #080a0e; font: 600 13px/1.2 var(--sans); cursor: pointer; }
.welt-entdecken button:last-child { background: transparent; color: var(--gold); }
.welt-entdecken button:hover { filter: brightness(1.15); }
.welt-entdecken button:disabled { opacity: .5; cursor: wait; }
.welt-modell { position: absolute; z-index: 4; top: 60px; right: 22px; max-width: min(340px, calc(100% - 44px)); padding: 8px 12px; border-radius: 7px; background: rgba(8, 10, 14, .85); color: #e9e9e9; font: 400 11px/1.4 var(--sans); pointer-events: auto; }
.welt-modell[hidden], .welt-modell button[hidden] { display: none; }
.welt-modell button { display: block; margin-top: 6px; border: 0; padding: 4px 0; background: transparent; color: var(--gold); text-decoration: underline; cursor: pointer; }
.welt-filter { border: 0; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linie); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.welt-filter legend { padding: 0 0 8px; font: 600 12.5px/1 var(--sans); color: var(--text); }
.welt-filter button {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 10px; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; font: 500 12.5px/1.2 var(--sans);
}
.welt-filter button:first-of-type { grid-column: 1 / -1; }
.welt-filter button:hover { background: rgba(255, 255, 255, .1); }
.welt-filter button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.welt-region { display: grid; gap: 8px; font: 600 12.5px/1 var(--sans); }
.welt-region select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 42px; padding: 0 36px 0 12px; border-radius: 6px; cursor: pointer;
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 500 14px/1 var(--sans);
}
.welt-region select option { color: #000; }
.welt-zahl { padding-top: 12px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--text-2); }
.welt-zahl b { font: 300 30px/1 var(--kopf); color: #fff; margin-right: 6px; }
.welt-rundflug {
  display: flex; align-items: center; gap: 12px; justify-content: space-between; min-height: 50px; padding: 0 18px; cursor: pointer;
  background: #fff; color: #000; border: 0; border-radius: 999px; font: 600 14px/1 var(--sans); transition: background-color .2s, color .2s;
}
.welt-rundflug:hover { background: var(--gold); }
.welt-rundflug.aktiv { background: var(--gold); }
.welt-rundflug-symbol { font-size: 11px; }
.welt-hinweis { font-size: 12px; line-height: 1.45; color: var(--text-3); }

.welt-detail {
  position: absolute; z-index: 6; right: 22px; top: 22px; width: min(340px, calc(100% - 44px)); max-height: calc(100% - 120px); overflow-y: auto;
  padding: 24px 22px; background: #fff; color: #0b0b0b; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.welt-detail[hidden] { display: none; }
.welt-detail-zu { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f1f1; cursor: pointer; color: #000; }
.welt-detail .art { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #6b6b6b; }
.welt-detail h3 { margin-top: 10px; font: 700 26px/1.1 var(--kopf); }
.welt-detail p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: #333; }
.welt-detail ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.welt-detail li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
.welt-detail li .punkt { margin-top: 6px; }
.welt-detail li b { display: block; font: 600 14px/1.3 var(--kopf); }
.welt-detail a { color: #000; font-weight: 600; }
.welt-detail .webseite-folgt { color: #6b6b6b; }

.welt-steuerung {
  position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px;
  background: rgba(8, 10, 14, .82); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.welt-steuerung button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 13px/1 var(--sans); white-space: nowrap; }
.welt-steuerung button:hover { background: rgba(255, 255, 255, .1); }
.welt-steuerung button[aria-pressed="true"] { background: #fff; color: #000; }
.welt-zeile {
  position: absolute; z-index: 4; left: calc(330px + 44px); right: 22px; bottom: 84px; text-align: center; pointer-events: none;
  font: 500 clamp(15px, 1.4vw, 19px)/1.35 var(--kopf); color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}
.welt-status {
  position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 420px; padding: 18px 22px; text-align: center;
  background: rgba(8, 10, 14, .9); border: 1px solid var(--linie); border-radius: 10px; font-size: 14px;
}
.welt-status[hidden] { display: none; }

/* Marker (HTML über der Karte) */
.ort { position: relative; display: grid; justify-items: center; cursor: pointer; background: none; border: 0; padding: 0; color: #fff; }
.ort-punkt {
  width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .55), 0 0 14px rgba(255, 255, 255, .35);
  transition: transform .2s, background-color .3s;
}
.ort[data-art="umland"] .ort-punkt { width: 10px; height: 10px; background: #000; border: 2px solid rgba(255, 255, 255, .85); }
.ort-name {
  position: absolute; top: 16px; white-space: nowrap; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .66);
  font: 600 11px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #fff; pointer-events: none;
}
.ort.label-geordnet .ort-name {
  left: calc(50% + var(--ort-label-x)); top: calc(50% + var(--ort-label-y));
}
.ort.label-geordnet::before {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  left: calc(50% + var(--ort-linie-x, 0px)); top: calc(50% + var(--ort-linie-y, 0px));
  width: var(--ort-linie-laenge, 0px); height: 1px; transform-origin: left center;
  transform: rotate(var(--ort-linie-winkel, 0rad)); background: rgba(212, 175, 122, .32);
}
.ort.label-leise:not(:hover):not(:focus-visible):not(.aktiv) .ort-name,
.ort.label-leise:not(:hover):not(:focus-visible):not(.aktiv)::before { opacity: 0; visibility: hidden; }
.ort:hover, .ort:focus-visible, .ort.aktiv { z-index: 2; }
@media (max-width: 700px) {
  .ort.label-geordnet .ort-name { padding: 3px 4px; font-size: 9px; letter-spacing: .015em; }
}
.ort:hover .ort-punkt, .ort:focus-visible .ort-punkt, .ort.aktiv .ort-punkt { transform: scale(1.5); }
.ort.aktiv .ort-punkt { background: var(--marker-farbe, var(--gold)); }
.ort-farbe .ort-punkt { background: var(--marker-farbe); box-shadow: 0 0 0 3px rgba(0, 0, 0, .55), 0 0 16px var(--marker-farbe); }
.ort-farbe[data-art="umland"] .ort-punkt { background: #000; border-color: var(--marker-farbe); }
.ort.leise { opacity: .35; }

.sitz { position: relative; display: grid; justify-items: center; cursor: pointer; background: none; border: 0; padding: 0; }
.sitz-kern {
  position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid #000;
  box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(212, 175, 122, .7);
}
.sitz-kern::before, .sitz-kern::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gold); animation: puls 2.6s ease-out infinite;
}
.sitz-kern::after { animation-delay: 1.3s; }
.sitz-karte {
  position: absolute; left: 30px; top: -18px; min-width: 210px; padding: 12px 16px; background: #fff; color: #000; border-radius: 8px;
  text-align: left; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); pointer-events: none;
}
.sitz-karte strong { display: block; font: 700 19px/1.1 var(--kopf); }
.sitz-karte small { display: block; margin-top: 4px; font: 500 12px/1.35 var(--sans); color: #555; }
.sitz-label {
  display: none; position: absolute; bottom: 20px; white-space: nowrap; padding: 4px 9px; border-radius: 4px; background: var(--gold); color: #000;
  font: 700 11px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; pointer-events: none;
}
.sitz.klein .sitz-karte, .sitz.mittel .sitz-karte, .sitz.ohne-karte .sitz-karte { display: none; }
.sitz.mittel .sitz-label { display: block; }
.sitz.klein .sitz-kern { width: 14px; height: 14px; border-width: 2px; }
/* Nahansicht: goldene Nadel über dem echten 3D-Haus (LoD3) — Punkt am Boden, Stab, Kopf über dem Dach,
   die Karte schwebt darüber */
.sitz.nah .sitz-kern { transform: translateY(-48px); }
.sitz.nah::before {
  content: ""; position: absolute; left: calc(50% - 1px); bottom: 50%; width: 2px; height: 40px;
  background: linear-gradient(to top, rgba(212, 175, 122, .15), var(--gold)); pointer-events: none;
}
.sitz.nah::after {
  content: ""; position: absolute; left: calc(50% - 4px); top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 14px var(--gold); pointer-events: none;
}
.sitz.nah .sitz-karte { left: 50%; top: auto; bottom: 88px; transform: translateX(-50%); }

.maplibregl-ctrl-group { background: rgba(8, 10, 14, .82) !important; border: 1px solid rgba(255, 255, 255, .12); }
.maplibregl-ctrl-group button + button { border-top-color: rgba(255, 255, 255, .12) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.maplibregl-ctrl-scale { background: rgba(0, 0, 0, .6) !important; color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; }
.maplibregl-ctrl-attrib { background: rgba(0, 0, 0, .62) !important; color: rgba(255, 255, 255, .8); font-size: 11px; }
.maplibregl-ctrl-attrib a { color: #fff !important; }
.maplibregl-ctrl-attrib-inner { color: rgba(255, 255, 255, .8) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.maplibregl-cooperative-gesture-screen { background: rgba(0, 0, 0, .55) !important; font: 500 18px/1.4 var(--kopf) !important; }

/* ------------------------------------------------------------------ Team */
.team { padding: clamp(60px, 8vw, 120px) var(--rand); }
.team-liste {
  max-width: var(--max); margin: 0 auto; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);
}
.team-liste li { display: grid; gap: 4px; }
.team-liste img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; margin-bottom: 12px; background: #fff; filter: grayscale(.25); transition: filter .4s; }
.team-liste li:hover img { filter: none; }
.team-liste b { font: 600 17px/1.2 var(--kopf); }
.team-liste span { font-size: 14px; color: var(--text-3); }

/* ------------------------------------------------------------------ Fragen */
.fragen { padding: clamp(60px, 8vw, 120px) var(--rand) 0; }
.fragen-liste { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(28px, 4vw, 64px); }
.fragen-liste > div { padding-top: 18px; border-top: 1px solid var(--linie); }
.fragen-liste h3 { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--kopf); }
.fragen-liste p { margin-top: 10px; color: var(--text-2); line-height: 1.65; }
.fragen-liste a { color: #fff; }

/* ------------------------------------------------------------------ Fuß + Laufband */
.fuss { border-top: 1px solid var(--linie); margin-top: clamp(30px, 4vw, 60px); }
.fuss-spalten {
  max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 44px var(--rand) 40px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; font-size: 13.5px; color: var(--warmgrau);
}
.fuss-titel { margin-bottom: 14px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.fuss-spalten nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fuss-spalten a { text-decoration: none; }
.fuss-spalten a:hover { color: var(--gold); text-decoration: underline; }
.fuss-marke { margin-bottom: 12px; }
.fuss-marke b { display: block; color: #fff; font-weight: 600; }
.fuss-marke span { display: block; font-size: 12.5px; color: var(--text-3); }
.fuss-marke a { display: inline-block; margin-top: 2px; color: var(--gold); }
.fuss-marke .webseite-folgt { color: var(--text-3); font-style: italic; }
.fuss-copy { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.laufband { overflow: hidden; padding: 18px 0 26px; border-top: 1px solid var(--linie); }
.laufband-spur { display: flex; width: max-content; animation: laufen 60s linear infinite; }
.laufband-spur span { flex: none; font: 600 clamp(20px, 2.1vw, 30px)/1.2 "Montserrat", sans-serif; white-space: nowrap; color: #fff; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ Unterseiten (Impressum, Datenschutz, 404) */
.recht { max-width: 860px; margin: 0 auto; padding: 150px var(--rand) 80px; }
.recht h1 { font: 300 clamp(40px, 5vw, 64px)/1.05 var(--kopf); letter-spacing: -.02em; hyphens: auto; overflow-wrap: anywhere; }
.recht .stand { margin-top: 10px; color: var(--text-3); font-size: 14px; }
.recht h2 { margin-top: 44px; font: 600 21px/1.25 var(--kopf); color: var(--gold); }
.recht h3 { margin-top: 24px; font: 600 16px/1.3 var(--kopf); }
.recht p, .recht ul { margin-top: 12px; color: var(--text-2); }
.recht ul { padding-left: 20px; }
.recht li + li { margin-top: 6px; }
.recht a { color: #fff; }
.recht .kasten { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--linie); border-left: 2px solid var(--gold); background: var(--flaeche); }
.recht .zurueck { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--text-3); text-decoration: none; }
.recht .zurueck:hover { color: var(--gold); }
.fehler-links { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px !important; }
.fehler-links a { display: inline-block; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius); text-decoration: none; font: 500 15px/1 var(--kopf); }
.fehler-links a:hover { background: #fff; color: #000; }

/* ------------------------------------------------------------------ Responsiv */
@media (max-width: 1100px) {
  .team-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .welt-zeile { left: 22px; top: auto; bottom: 86px; }
}
@media (max-width: 860px) {
  .menue-raster { grid-template-columns: 1fr; gap: 36px; }
  .fragen-liste { grid-template-columns: 1fr; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .welt-buehne { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .welt-buehne .welt-karte { position: relative; inset: auto; height: 68vh; min-height: 440px; order: 1; }
  .welt-boegen { height: 68vh; min-height: 440px; }
  .welt-panel { position: relative; inset: auto; width: auto; order: 2; margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--linie); background: #07090c; }
  .welt-steuerung { top: calc(max(68vh, 440px) - 92px); bottom: auto; }
  .welt-detail { top: auto; bottom: calc(100% - max(68vh, 440px) + 12px); right: 10px; left: 10px; width: auto; max-height: 48%; padding: 18px 16px; }
  .welt-detail h3 { font-size: 21px; }
  .welt-detail p { font-size: 13.5px; }
  .mit-detail .welt-steuerung { display: none; }
  .welt-zeile { top: 14px; bottom: auto; left: 14px; right: 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  .team-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-spalten { grid-template-columns: 1fr; }
  .logo-wort { font-size: 13px; }
  .logo-zeichen { height: 28px; }
  .welt-steuerung button { padding: 0 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .laufband-spur { animation: none; }
}

/* Datenschutz-Hinweis (gruppe.js, Abschnitt 7): schmale Zeile am unteren Rand, reiner Hinweis ohne Auswahl.
   Verdeckt im ersten Bildschirm weder die zwei Wege noch die Belegzeile (Variante B, 15.10.). */
.hinweis {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  padding: 8px var(--rand) calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 17, .94); color: var(--text-2); border-top: 1px solid var(--linie);
  font: 400 13px/1.4 var(--sans);
  opacity: 0; transform: translateY(100%); transition: opacity .3s ease, transform .3s ease;
}
.hinweis.da { opacity: 1; transform: none; }
.hinweis p { margin: 0; }
.hinweis b { color: var(--text); font-weight: 600; }
.hinweis a { color: var(--gold); white-space: nowrap; }
.hinweis-ok {
  flex: none; min-height: 32px; padding: 7px 14px; border: 0; border-radius: var(--radius); background: var(--gold); color: #000;
  font: 600 12.5px/1 var(--sans); letter-spacing: .02em; cursor: pointer;
}
.hinweis-ok:hover { background: var(--gold-hell); }
@media (max-width: 600px) {
  .hinweis { justify-content: space-between; padding-left: 14px; padding-right: 10px; font-size: 12.5px; }
  .hinweis-mehr { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hinweis { transition: none; transform: none; } }

/* ------------------------------------------------------------------ Variante B: erster Bildschirm nach den Premium-Prinzipien
   Ergebnis-Überschrift, Was/für wen/wo, echte Menschen, prüfbare Belege, zwei Wege mit Satz gegen die Unsicherheit. */
.held-b { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.held-b h1 { font: 300 clamp(40px, 5vw, 76px)/1.04 var(--kopf); letter-spacing: -.025em; max-width: 15ch; }
.held-b .held-unterzeile { max-width: 46ch; }
.held-wege { margin-top: clamp(26px, 3.6vh, 40px); display: flex; flex-wrap: wrap; gap: 18px 24px; }
.held-weg { margin: 0; display: grid; gap: 8px; align-content: start; }
.held-weg span { font-size: 13.5px; line-height: 1.45; color: var(--text-3); max-width: 34ch; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px;
  border-radius: var(--radius); font: 600 15.5px/1.2 var(--kopf); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.knopf-gold { background: var(--gold); color: #000; border: 1px solid var(--gold); }
.knopf-gold:hover { background: var(--gold-hell); border-color: var(--gold-hell); }
.knopf-rand { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.knopf-rand:hover { background: #fff; color: #000; border-color: #fff; }
.knopf:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }
.held-belege {
  list-style: none; margin: clamp(26px, 3.6vh, 42px) 0 0; padding: 18px 0 0; border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: var(--text-2);
}
.held-belege a { color: #fff; text-decoration: none; }
.held-belege a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sterne { color: var(--gold); letter-spacing: .08em; margin-right: 8px; }
.held-team { margin: 0; }
.held-team ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.held-team img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: #111; }
.held-team figcaption { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.held-team figcaption a { color: var(--text-2); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .held-b { grid-template-columns: minmax(0, 1fr); padding-top: 104px; }
  .held-team ul { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .held-team figcaption { margin-top: 8px; }
}

@media (max-width: 600px) {
  /* Belege zweispaltig: enden im ersten Bildschirm oberhalb der Hinweiszeile */
  .held-belege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 22px; padding-top: 14px; font-size: 13px; line-height: 1.4; }
  .held-wege { gap: 14px; }
}

/* Botschaft: Problem → Lösung → Beleg (echte Google-Bewertungen) */
.gruppe-b { position: relative; isolation: isolate; overflow: hidden; }
.gruppe-sternbild {
  position: absolute; z-index: -1; right: -8%; top: clamp(0px, 2vw, 40px); width: min(58vw, 760px); height: auto;
  opacity: .3; pointer-events: none;
}
.gruppe-b .statement-text + .statement-text { margin-top: 18px; }
.stimmen { max-width: 1040px; margin: clamp(56px, 7vw, 96px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; text-align: left; }
.stimmen-titel { grid-column: 1 / -1; font: 700 clamp(22px, 2.2vw, 32px)/1.2 var(--kopf); color: #c9c9c9; text-align: center; }
.stimme {
  margin: 0; padding: 26px 28px; border: 1px solid var(--linie); border-radius: 4px; background: rgba(255, 255, 255, .03);
  display: grid; gap: 18px; align-content: space-between;
}
.stimme blockquote { margin: 0; }
.stimme p { margin: 0; color: var(--text-2); line-height: 1.65; }
.stimme figcaption { font-size: 14px; color: var(--text-3); }
.stimmen-link { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
.stimmen-link a { color: #fff; text-underline-offset: 3px; }
.stimmen-link a::after { content: " ↗"; color: var(--gold); }
@media (max-width: 760px) { .stimmen { grid-template-columns: minmax(0, 1fr); } }

/* Karte erst auf Klick: Vorschaubild statt Kartenprogramm */
.welt-start { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: #05070a; }
.welt-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welt-start .knopf { position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.welt-buehne:not(.ist-geladen) > :not(.welt-start) { visibility: hidden; }
.welt-buehne.ist-geladen > .welt-start { display: none; }
