/* Provego: dunkler Kopf, helle Mitte (Fassung Hybrid). Farben aus dem finalen Logo-Blatt, Schrift Euclid Square. */
@font-face { font-family: "Euclid Square"; font-weight: 300; font-style: normal; font-display: swap; src: url(/assets/schrift/EuclidSquare-Light-WebS.36bda3cf.woff2) format("woff2"); }
@font-face { font-family: "Euclid Square"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/schrift/EuclidSquare-Regular-WebS.4a4d3959.woff2) format("woff2"); }
@font-face { font-family: "Euclid Square"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/schrift/EuclidSquare-Medium-WebS.c8eec0c9.woff2) format("woff2"); }
@font-face { font-family: "Euclid Square"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/schrift/EuclidSquare-Bold-WebS.458c0b32.woff2) format("woff2"); }
:root {
  color-scheme: light;
  --tinte: #0b0b0c; --blau: #2c50e2; --blau-tief: #1a2f9e; --blau-hell: #eef1fd; --blau-text: #8fa2ff;
  --nacht: #131416; --nacht-2: #1a1b1e; --grau: #5b5f6b; --text-2: #3a3d46; --text-dunkel: #c3c7d6;
  --hell: #f4f3ef; --linie: #e4e3dd; --weiss: #ffffff; --gruen: #1f9d55; --rot: #c42b2b;
  --schrift: "Euclid Square", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--weiss); color: var(--tinte); font-family: var(--schrift); font-weight: 400; -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
.innen { max-width: var(--breite); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.titel-2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.zum-inhalt { position: absolute; left: -9999px; top: 12px; background: var(--weiss); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.zum-inhalt:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; border-radius: 8px; padding: 11px 16px; }
.knopf.gross { padding: 13px 22px; }
.k-blau { background: var(--blau); color: #fff; }
.k-blau:hover { background: #2443c4; }
.k-schwarz { background: var(--tinte); color: #fff; }
.k-schwarz:hover { background: #26272b; }
.k-dunkel { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.k-dunkel:hover { background: rgba(255, 255, 255, .14); }
.k-weiss { background: #fff; color: var(--tinte); }
.k-weiss:hover { background: #eef0f4; }

/* Schwebende Menüleiste */
.kopf { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 26px; background: #fff; border-radius: 12px; padding: 10px 10px 10px 18px; box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(11, 11, 12, .05); }
.nav .logo { height: 22px; width: auto; }
.nav nav { display: flex; gap: 22px; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--tinte); }
.nav nav a:hover { color: var(--blau); }
.nav .rechts { margin-left: auto; display: flex; gap: 8px; }
.nav .knopf { font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding-block: 150px 100px; background: radial-gradient(50% 70% at 78% 45%, rgba(44, 80, 226, .22) 0%, rgba(44, 80, 226, 0) 70%), linear-gradient(180deg, #1b1c1f 0%, var(--nacht) 100%); }
.hero .raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 20px; }
.hero p { font-size: 1.1rem; font-weight: 300; line-height: 1.65; color: var(--text-dunkel); margin: 0 0 30px; max-width: 46ch; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
/* Produktfenster wie bei Linear/Stripe: räumlich gekippt, läuft rechts und unten ins Dunkel aus, blauer Schein dahinter */
/* Kopf-Fenster nach Linear: flach (scharf), kaum sichtbare Haarlinie (oben etwas heller), weicher Schatten, und ein kühles Licht
   unten links hinter dem Fenster — es lässt die Kante von selbst aufscheinen (der Übergang). Kein heller Rand, kein Glas. */
.produkt { position: relative; filter: drop-shadow(0 40px 60px rgba(2, 6, 20, .55)) drop-shadow(0 8px 16px rgba(2, 6, 20, .35)); }
.produkt::before { content: ""; position: absolute; inset: 4% -10% 10% 20%; background: radial-gradient(closest-side, rgba(88, 120, 255, .38), rgba(44, 80, 226, 0)); filter: blur(40px); pointer-events: none; }
.produkt::after { content: ""; position: absolute; left: -16%; top: 30%; width: 34%; height: 62%; background: radial-gradient(closest-side, rgba(176, 190, 230, .26), rgba(176, 190, 230, 0)); filter: blur(28px); pointer-events: none; z-index: -1; }
.produkt .ui { position: relative; width: 150%; max-width: none; border-radius: 16px; background: #18181a;
  -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 97%), linear-gradient(180deg, #000 72%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 58%, transparent 97%), linear-gradient(180deg, #000 72%, transparent); mask-composite: intersect; }
.produkt .ui::after { inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .05) 100%); }

/* Reiter-Abschnitte */
.abschnitt { padding-block: 104px 92px; }
.kopf-zeile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.kopf-zeile p { margin: 0; font-weight: 300; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 32px; margin-bottom: 36px; border-bottom: 1px solid var(--linie); }
.tabs button { font: inherit; font-size: 15px; font-weight: 400; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0 13px; color: var(--grau); cursor: pointer; }
.tabs button:hover { color: var(--tinte); }
.tabs button[aria-selected="true"] { color: var(--tinte); font-weight: 500; border-bottom-color: var(--blau); }
.panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.panel .karte { border-radius: 18px; overflow: hidden; background: radial-gradient(70% 90% at 85% 15%, rgba(120, 146, 255, .55) 0%, rgba(120, 146, 255, 0) 60%), linear-gradient(135deg, var(--blau) 0%, var(--blau-tief) 100%); min-height: 400px; display: grid; place-items: center; padding: 36px; }
.panel .karte .lb { width: min(100%, 480px); }
.panel .karte.bild { padding: 28px; }
/* Echte Oberfläche von morrow: eingefroren als HTML (/assets/ui/*.html, Werkzeug werkzeuge/marketing/ui-einfrieren.js),
   der Ausschnitt wird per Skript auf die Breite skaliert — gestochen scharf, kein Bildschirmfoto */
.ui { position: relative; background: #fff; aspect-ratio: 5 / 4; isolation: isolate; }
.ui-fenster { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ui iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: transparent; transition: opacity .25s ease; }
/* Kante nach Linear: Haarlinie, oben etwas heller, sonst kaum sichtbar — gezeichnet als Verlaufs-Rand (Maske content-box ⊕ Fläche). */
.ui::after { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .22) 40%, rgba(255, 255, 255, .14) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.panel .karte.bild .ui { width: 100%; border-radius: 10px; box-shadow: 0 1px 2px rgba(8, 20, 90, .14), 0 22px 50px -22px rgba(8, 20, 90, .6); }
/* die Kante liegt 1 px ausserhalb: ihr Radius ist darum 1 px grösser — sonst laufen die Bögen an der Ecke auseinander (blauer Spalt) */
.panel .karte.bild .ui::after { border-radius: 11px; }
.panel .karte.bild.mit-lb .ui { justify-self: end; width: 90%; }
/* Leistungen: eine Szene je Reiter (Generator /assets/leistungen/illustrationen.js) */
.panel .karte.szene { display: block; background: none; border-radius: 0; overflow: visible; min-height: 0; padding: 0; aspect-ratio: 640 / 440; }
.panel .karte.szene svg { display: block; width: 100%; height: 100%; }
/* Plakette: eigene Angabe von Provego (kein Prüfsiegel eines Dritten) */
.plakette { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); line-height: 1.3; text-align: left; }
.plakette .zeichen { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; }
.plakette .zeichen svg { width: 32px; height: 32px; display: block; }
.plakette .zeichen.blau { background: var(--blau-hell); color: var(--blau); }
.plakette .zeichen.blau svg { width: 18px; height: 18px; }
.plakette b { display: block; font-weight: 500; font-size: 14px; color: var(--tinte); }
.plakette small { display: block; font-weight: 300; font-size: 13px; color: var(--grau); }
.plakette.dunkel { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.plakette.dunkel b { color: #fff; }
.plakette.dunkel small { color: var(--text-dunkel); }
.fuss .plakette { margin-top: 24px; line-height: 1.3; }
.fuss .plakette b { margin-bottom: 0; font-size: 14px; }
.panel .text .plakette { display: flex; width: fit-content; margin: 0 0 26px; }
/* Bild mit Beispiel davor (Dateien: Aria schreibt aus der Vorlage) */
.panel .karte.bild.mit-lb { padding: 28px; place-items: normal; align-content: center; }
.panel .karte.bild.mit-lb .lb { position: relative; justify-self: start; width: min(64%, 320px); margin-top: -56px; }
.lb-auftrag { margin: 0 0 14px; padding: 9px 12px; border-radius: 12px; background: var(--blau-hell); box-shadow: inset 0 0 0 1px rgba(44, 80, 226, .22); font-size: 13px; line-height: 1.45; }
.panel h3 { font-size: 2rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.panel .text > p { font-weight: 300; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; }
.punkte { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.punkte li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; font-weight: 300; color: #2b2e36; line-height: 1.45; }
.punkte svg { width: 18px; height: 18px; color: var(--blau); margin-top: 1px; }

/* Beispiele aus der Oberfläche (klein, ruhig, als Beispiel bezeichnet) */
.lb { background: #fff; color: var(--tinte); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(11, 11, 12, .06); padding: 18px 18px 16px; font-size: 13px; line-height: 1.4; text-align: left; }
.lb-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lb-kopf b { font-weight: 500; font-size: 14px; }
.lb-kopf span { color: var(--grau); font-size: 12px; font-weight: 300; }
.lb-zeichen { width: 28px; height: 28px; border-radius: 8px; background: var(--blau-hell); color: var(--blau); display: grid; place-items: center; flex: none; position: relative; }
.lb-zeichen svg { width: 16px; height: 16px; }
.lb-fluss ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.lb-fluss ol::before { content: ""; position: absolute; left: 13.5px; top: 18px; bottom: 18px; width: 1px; background: #cfd5ea; }
.lb-fluss li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; position: relative; }
.lb-fluss li b { display: block; font-weight: 500; }
.lb-fluss li small { color: var(--grau); font-size: 12px; font-weight: 300; }
.lb-fluss .ok { color: var(--gruen); width: 16px; height: 16px; }
.lb-beleg .zwei { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; align-items: start; }
.lb-papier { background: #fbfbf9; border: 1px solid #ecebe6; border-radius: 6px; padding: 12px 12px 14px; font-size: 11px; color: var(--text-2); }
.lb-papier b { display: block; font-weight: 500; font-size: 12px; color: var(--tinte); margin-bottom: 6px; }
.lb-papier i { display: block; height: 5px; border-radius: 3px; background: #e6e5df; margin: 6px 0; }
.lb-papier .summe { display: flex; justify-content: space-between; border-top: 1px solid #e6e5df; margin-top: 10px; padding-top: 8px; font-weight: 500; color: var(--tinte); font-variant-numeric: tabular-nums; }
.lb-felder { display: grid; gap: 7px; margin: 0; }
.lb-felder div { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 8px; align-items: baseline; padding-bottom: 7px; border-bottom: 1px solid var(--linie); }
.lb-felder div:last-child { border-bottom: 0; padding-bottom: 0; }
.lb-felder dt { color: var(--grau); font-weight: 300; font-size: 12px; }
.lb-felder dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 0; }
.lb-prozess .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lb-prozess h4 { margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--grau); }
.lb-prozess ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lb-prozess li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 7px; background: var(--hell); }
.lb-prozess li small { color: var(--grau); font-weight: 300; }
.lb-prozess .danach li { background: var(--blau-hell); }
.lb-it ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lb-it li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.lb-it li:last-child { border-bottom: 0; }
.lb-it li small { color: var(--grau); font-weight: 300; display: block; font-size: 12px; }
.lb-it .zustand { color: var(--gruen); font-size: 12px; font-weight: 500; align-self: center; }

/* Branchen als Text */
.branchen { padding-block: 0 92px; }
.branchen .vier { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.branchen .vier > div { border-top: 1px solid var(--linie); padding-top: 20px; min-width: 0; }
.branchen h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 8px; }
.branchen p.t { margin: 0; font-weight: 300; color: var(--text-2); line-height: 1.55; font-size: 0.95rem; }

/* morrow */
.morrow { background: var(--hell); }
.morrow .marke { height: 34px; width: auto; margin-bottom: 18px; }

/* Beratung mit Foto */
.beratung { padding-block: 92px; background: var(--hell); }
.beratung .raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.beratung img { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.beratung p { font-weight: 300; line-height: 1.65; color: var(--text-2); margin: 16px 0 26px; max-width: 46ch; }

/* Ablauf als Strom: kommt aus der Ferne (blass, weich), schwingt durch die vier Punkte und mündet im blauen Punkt des Logos.
   Der Pfad wird im Skript aus den Punkten gerechnet (Catmull-Rom), damit er sie bei jeder Breite genau trifft. */
.ablauf { padding-block: 92px 96px; overflow: hidden; }
.ablauf .kopf-zeile { margin-bottom: 24px; }
.reise-feld { position: relative; }
.strom { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.reise { --spalt: 32px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalt); }
.reise li { position: relative; padding-top: 176px; min-width: 0; }
.reise li:nth-child(1) { --y: 112px; } .reise li:nth-child(2) { --y: 40px; } .reise li:nth-child(3) { --y: 120px; } .reise li:nth-child(4) { --y: 52px; }
.reise .halt { position: absolute; left: 0; top: var(--y); width: 14px; height: 14px; border-radius: 50%; background: var(--weiss); z-index: 1;
  box-shadow: inset 0 0 0 2px var(--blau), 0 0 0 6px rgba(44, 80, 226, .1), 0 6px 18px rgba(44, 80, 226, .35); }
.reise .ziel .halt { width: 24px; height: 24px; margin: -5px 0 0 -5px; background: var(--blau); box-shadow: 0 0 0 7px rgba(44, 80, 226, .14), 0 10px 30px rgba(44, 80, 226, .55); }
.reise .nr { display: block; font-size: 13px; color: var(--grau); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.reise .ziel .nr { color: var(--blau); }
.reise h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 10px; }
.reise p { font-weight: 300; line-height: 1.6; color: var(--text-2); margin: 0; font-size: 0.95rem; max-width: 30ch; }
.reise .mit { display: block; margin-top: 14px; font-size: 13px; color: var(--grau); }
/* Bewegung nur mit Skript: der Strom fliesst EINMAL heran, die Punkte erscheinen, wenn er sie erreicht; danach steht alles still (kein Puls, kein Blinken — User 21.10.) */
.js .reise-feld:not(.da) .halt { opacity: 0; transform: scale(.4); }
.js .reise .halt { transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .reise-feld:not(.da) .halt, .js .reise .halt { opacity: 1; transform: none; transition: none; }
}

/* Formular (Erstgespräch) */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.formular label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--tinte); min-width: 0; }
.formular label span { color: var(--grau); font-weight: 300; }
.formular .breit { grid-column: 1 / -1; }
.formular input, .formular select, .formular textarea { font: inherit; font-size: 15px; font-weight: 400; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--linie); background: #fff; color: var(--tinte); width: 100%; }
.formular textarea { min-height: 96px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(44, 80, 226, .15); }
.formular .aktionen { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.formular .fehler { grid-column: 1 / -1; margin: 0; color: var(--rot); font-size: 14px; }

/* Fragen */
.fragen { padding-block: 92px; }
.fragen .raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.fragen .lead { font-weight: 300; line-height: 1.6; color: var(--text-2); margin: 16px 0 0; max-width: 40ch; }
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 1.05rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--grau); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .antwort { padding: 0 0 22px; margin: 0; font-weight: 300; line-height: 1.65; color: var(--text-2); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }

/* Abschluss und Fuss */
.cta { padding-block: 0 88px; }
.cta .karte { border-radius: 22px; padding: 60px 56px; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: radial-gradient(80% 120% at 90% 20%, rgba(120, 146, 255, .55) 0%, rgba(120, 146, 255, 0) 60%), linear-gradient(135deg, var(--blau) 0%, #1a2a86 100%); }
.cta h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 500; letter-spacing: -0.025em; margin: 0 0 12px; line-height: 1.1; }
.cta p { font-weight: 300; color: #dfe4ff; margin: 0; max-width: 52ch; line-height: 1.6; }
.fuss { background: var(--nacht); color: var(--text-dunkel); padding-block: 56px 32px; }
.fuss .spalten { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 14px; font-weight: 300; line-height: 1.9; }
.fuss b { display: block; color: #fff; font-weight: 500; margin-bottom: 6px; }
.fuss a { text-decoration: none; display: block; }
.fuss a:hover { color: #fff; }
.fuss .logo { height: 26px; width: auto; margin-bottom: 14px; }
.fuss .unten { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; font-weight: 300; color: #9aa0b4; }
.fuss .swiss { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.fuss .swiss svg { width: 18px; height: 18px; flex: none; }

/* Erstgespräch-Fenster */
.fenster { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(19, 20, 22, .6); }
.fenster[hidden] { display: none !important; }
.fenster .karte { background: #fff; border-radius: 18px; width: min(100%, 560px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); position: relative; }
.fenster h2 { margin: 0 34px 6px 0; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.fenster .sub { margin: 0 0 20px; font-weight: 300; color: var(--text-2); }
.fenster .schliessen { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 8px; border: 0; background: none; color: var(--grau); cursor: pointer; display: grid; place-items: center; }
.fenster .schliessen:hover { background: var(--hell); color: var(--tinte); }
.fenster .schliessen svg { width: 18px; height: 18px; }
.wege { display: grid; gap: 10px; }
.weg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--linie); background: #fff; text-decoration: none; color: var(--tinte); font: inherit; text-align: left; cursor: pointer; width: 100%; }
.weg:hover { border-color: var(--blau); }
.weg .zeichen { width: 40px; height: 40px; border-radius: 10px; background: var(--blau-hell); color: var(--blau); display: grid; place-items: center; }
.weg .zeichen svg { width: 20px; height: 20px; }
.weg b { display: block; font-weight: 500; }
.weg small { color: var(--grau); font-weight: 300; font-size: 13px; }
.zurueck { background: none; border: 0; font: inherit; font-size: 14px; color: var(--grau); cursor: pointer; padding: 0; margin-bottom: 14px; }
.zurueck:hover { color: var(--tinte); }

/* ---------- Unterseiten, Reiter im HTML, Verweise (Seitenbauer werkzeug/seiten-bauen.mjs) ---------- */
[role="tabpanel"][hidden] { display: none !important; }
.k-hell { background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
.k-hell:hover { box-shadow: inset 0 0 0 1px #cfcdc5; }
.text-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.mehr { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--tinte); text-decoration: none; }
.mehr svg { width: 16px; height: 16px; transition: transform .15s ease; }
.mehr:hover { color: var(--blau); }
.mehr:hover svg { transform: translateX(2px); }
.mehr.inline { display: inline-flex; margin-left: 4px; font-size: inherit; }
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; font-weight: 300; color: var(--grau); }
.pfad a { color: inherit; text-decoration: none; }
.pfad a:hover { color: var(--tinte); }
.pfad [aria-current] { color: var(--tinte); font-weight: 400; }
.pfad.dunkel { color: var(--text-dunkel); }
.pfad.dunkel a:hover, .pfad.dunkel [aria-current] { color: #fff; }
.seite-kopf { background: var(--hell); padding-block: 150px 88px; }
.seite-kopf .raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.seite-kopf h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 20px; text-wrap: balance; }
.seite-kopf .lead { font-size: 1.1rem; font-weight: 300; line-height: 1.65; color: var(--text-2); margin: 0 0 30px; max-width: 52ch; }
.seite-kopf .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.seite-kopf .karte.szene { aspect-ratio: 640 / 440; }
.karte.szene svg { display: block; width: 100%; height: 100%; }
.seite-kopf.fehlt { padding-block: 180px 140px; }
.block { padding-block: 76px; }
.block + .block { padding-top: 0; }
.kopf-zeile.oben { align-items: start; margin-bottom: 0; }
.block p.gross { margin: 0; font-size: 1.1rem; font-weight: 300; line-height: 1.7; color: var(--text-2); max-width: 62ch; }
.liste-def { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.liste-def li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.liste-def svg { width: 18px; height: 18px; color: var(--blau); margin-top: 3px; }
.liste-def b { display: block; font-weight: 500; margin-bottom: 3px; }
.liste-def span { font-weight: 300; line-height: 1.6; color: var(--text-2); }
.liste-def b { color: var(--tinte); }
.schritte { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.schritte .nr { display: block; font-size: 14px; color: var(--blau); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.schritte h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 500; }
.schritte p { margin: 0; font-weight: 300; line-height: 1.6; color: var(--text-2); }
.weitere { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.weitere a { position: relative; display: block; padding: 20px 48px 20px 20px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); color: var(--tinte); text-decoration: none; transition: box-shadow .15s ease; }
.weitere a:hover { box-shadow: inset 0 0 0 1px var(--blau); }
.weitere b { display: block; font-weight: 500; margin-bottom: 4px; }
.weitere span { display: block; font-size: 14px; font-weight: 300; color: var(--grau); line-height: 1.5; }
.weitere svg { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--grau); }
.weitere a:hover svg { color: var(--blau); }
.morrow-kopf .marke { display: block; height: 30px; width: auto; margin-bottom: 18px; }
.modul { padding-block: 56px; }
.modul:first-of-type { padding-top: 96px; }
.modul .panel { align-items: center; }
.modul.umgekehrt .panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.modul.umgekehrt .karte { order: 2; }
.modul .ueber { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--blau); }
.modul .titel-2 { margin-bottom: 14px; }
.modul .text > p:not(.ueber) { font-weight: 300; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; }

/* ---------- Einwilligung (Besucher-Messung, ZD) — ruhig unten links, Ablehnen und Einverstanden gleich gewichtet ---------- */
.einwilligung { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(380px, calc(100vw - 32px)); background: #fff; color: var(--tinte); border-radius: 14px; padding: 18px 20px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(11, 11, 12, .08); font-size: 14px; line-height: 1.5; }
.einwilligung[hidden] { display: none !important; }
.einwilligung .titel { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.einwilligung p { margin: 0 0 14px; font-weight: 300; color: var(--text-2); }
.einwilligung a { color: var(--tinte); }
.einwilligung .knoepfe { display: flex; gap: 8px; }
.einwilligung .knopf { flex: 1; justify-content: center; font-size: 14px; }
.ds-text p { margin: 0 0 14px; font-weight: 300; line-height: 1.7; color: var(--text-2); max-width: 62ch; }
.ds-text a, .seite-kopf .lead a { color: var(--tinte); }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .hero { padding-block: 120px 40px; }
  .produkt { perspective: none; }
  .produkt .ui { width: 100%; transform: none; border-radius: 12px; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
  .hero .raster, .kopf-zeile, .panel, .beratung .raster, .fragen .raster, .seite-kopf .raster, .modul.umgekehrt .panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .modul.umgekehrt .karte { order: 0; }
  .seite-kopf { padding-block: 120px 56px; }
  .block { padding-block: 56px; }
  .schritte, .weitere { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .panel .karte { min-height: 0; padding: 22px; }
  .panel .karte.bild { padding: 18px; }
  .panel .karte.bild.mit-lb { padding: 18px; }
  .panel .karte.bild.mit-lb .ui { width: 100%; }
  .panel .karte.bild.mit-lb .lb { width: 100%; margin-top: 14px; }
  .branchen .vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Strom senkrecht: kommt von oben und schwingt leicht links-rechts durch die Punkte */
  .reise-feld { padding-top: 72px; }
  .reise { --spalt: 36px; grid-template-columns: minmax(0, 1fr); }
  .reise li { padding: 0 0 0 64px; }
  .reise li:nth-child(odd) { --x: 6px; } .reise li:nth-child(even) { --x: 28px; }
  .reise .halt { top: 4px; left: var(--x); }
  .reise p { max-width: 52ch; }
  .cta .karte { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .fuss .spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abschnitt { padding-block: 72px 64px; }
  .beratung, .fragen { padding-block: 64px; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; padding: 8px 8px 8px 14px; }
  .nav .logo { height: 17px; }
  .nav .knopf { padding: 9px 12px; }
  .nav .k-schwarz { display: none; }
  .tabs { flex-wrap: nowrap; gap: 0 22px; overflow-x: auto; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .branchen .vier { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lb-beleg .zwei, .lb-prozess .zwei { grid-template-columns: minmax(0, 1fr); }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .fuss .spalten { grid-template-columns: minmax(0, 1fr); }
  .fenster .karte { padding: 22px; }
  .einwilligung { left: 16px; right: 16px; bottom: 16px; width: auto; }
}
