/* Unterseiten im Design des Entwurfs V3 (Mike, 21.10.2026). Die Bausteine der Website kommen mit ihren Stilen aus
   site/assets/css/main.css. Hier stehen nur die Grundwerte des Entwurfs (Schwarz und Weiß, Onest, 6 und 4 px Radius)
   und wenige Anpassungen, damit alle Bausteine auf einmal den neuen Look tragen. Geladen nach main.css und v3.css. */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #f5f5f7;
  --white: #ffffff;
  --frame: #ebebef;
  --welle-ton: transparent;
  --welle-hero: transparent;
  --welle-akzent: transparent;
  --ink: #0b0b0c;
  --ink-2: #3a3a3c;
  --muted: #6e6e73;
  --tone: #8e8e93;
  --tone-klein: #6e6e73;
  --rand: #8e8e93;
  --dunkel: #0b0b0c;
  --dunkel-2: #1c1c1e;
  --auf-dunkel: #ffffff;
  --auf-dunkel-leise: rgba(255, 255, 255, .68);
  --accent: #0b0b0c;
  --accent-soft: #ebebef;
  --accent-deep: #0b0b0c;
  --on-accent: #ffffff;
  --star: #0b0b0c;
  --ok: #0b0b0c;
  --ok-strong: #0b0b0c;
  --ok-soft: #ebebef;
  --pal-1: #0b0b0c;
  --pal-2: #3a3a3c;
  --pal-3: #8e8e93;
  --pal-4: #c7c7cc;
  --pal-5: #ebebef;
  --r-xl: 6px;
  --r-lg: 6px;
  --r-md: 6px;
  --r-sm: 4px;
  --gutter: clamp(20px, 3.6vw, 40px);
  --maxw: 1360px;
  --fs-hero: clamp(2.3rem, 4vw, 4rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.4rem);
  --fs-side: clamp(1.75rem, 2.8vw, 2.75rem);
  --fs-xxl: clamp(2.4rem, 5vw, 4.8rem);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .08);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .08);
}
body.unterseite { background: #fff; }

/* Keine Pinsel-Wellen mehr: die Flächen bleiben, die Welle darauf wird unsichtbar */
.unterseite .art, .unterseite .phero__visual .art, .unterseite .art--cta, .unterseite .art--hero { --welle-farbe: transparent; }

/* Kopf der Unterseiten: der neue Kopf steht im Fluss, deshalb weniger Abstand nach oben */
.unterseite .phero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.unterseite .phero__title, .unterseite .display { font-weight: 650; letter-spacing: -.04em; }

/* Schrift wie auf der Startseite: Kicker als ruhige graue Zeile, zweiter Teil der Überschriften dünn in Grau */
.unterseite .kicker { display: block; min-height: 0; margin-bottom: 0; padding: 0; border-radius: 0; background: none; color: var(--grau); font-size: clamp(.9375rem, 1.1vw, 1.0625rem); font-weight: 500; }
.unterseite .section--dunkel .kicker { background: none; color: rgba(255, 255, 255, .6); }
.unterseite .tone { color: var(--grau-2); font-weight: 300; }
.unterseite .h2 { font-weight: 650; letter-spacing: -.035em; }
.unterseite .section--dunkel .tone { color: #8e8e93; }

/* Karte auf den Ortsseiten: Landkreis in Hellgrau statt Beige */
.unterseite .map__land--stark { fill: var(--frame); }

/* Knöpfe: leicht abgerundet, Kreis mit Pfeil und Begrüßungsvideo wie auf der Startseite */
.unterseite .btn { border-radius: var(--r); }
.unterseite .btn--ink .btn__icon { background: #fff; color: var(--tinte); }
.unterseite .btn--light .btn__icon { background: var(--tinte); color: #fff; }
.unterseite .btn__face { background: #fff; }

/* Schlagworte als leicht abgerundete Pillen */
.unterseite .chip { border-radius: var(--r-s); background: var(--papier); }
.unterseite .chip--ink { background: var(--tinte); color: #fff; }

/* Was in der Website rund oder stark abgerundet war (gemessen auf allen Seitenarten): kleine Teile 4 px, Flächen 6 px */
.unterseite .pill, .unterseite .tech__row li, .unterseite .wahl__icon, .unterseite .kontakt__icon, .unterseite .vis__toast,
.unterseite .vis__reihe i, .unterseite .vis__kopf i, .unterseite .vis__kopf b, .unterseite .vis__slots i, .unterseite .vis__zeilen i { border-radius: var(--r-s); }
.unterseite .vis__fenster, .unterseite .vis__karte, .unterseite .vis__hero, .unterseite .vis__blase { border-radius: var(--r); }

/* Netzwerkplan auf den IT-Seiten: Gateway, Switch, NAS und drei Access Points, Datenpakete laufen (v3.js netzplan) */
.phero__grid:has(.netzplan) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.phero__grid:has(.netzplan) .phero__title { font-size: clamp(2.1rem, 3.3vw, 3.3rem); }
.phero__visual:has(.netzplan) { aspect-ratio: auto; overflow: visible; border-radius: 0; }
@media (max-width: 1000px) { .phero__grid:has(.netzplan) { grid-template-columns: 1fr; } }
.netzplan { margin: 0; padding: clamp(.75rem, 2vw, 1.5rem); border-radius: var(--r); background: var(--papier); }
.netzplan svg { width: 100%; height: auto; overflow: visible; }
.netzplan__weg { fill: none; stroke: #c7c7cc; stroke-width: 2; stroke-linecap: round; }
.netzplan__knoten > rect:first-child { fill: #fff; stroke: #d1d1d6; stroke-width: 1.5; }
.netzplan text { fill: var(--tinte); font: 600 16px var(--schrift); text-anchor: middle; }
.netzplan text.netzplan__links { text-anchor: start; }
.netzplan text.netzplan__klein { fill: var(--grau); font-size: 13.5px; font-weight: 500; }
.netzplan__knoten--kern > rect:first-child { fill: var(--tinte); stroke: var(--tinte); }
.netzplan__knoten--kern text { fill: #fff; }
.netzplan__port { fill: #3a3a3c; }
.netzplan__status { fill: #fff; }
.netzplan__ports rect { fill: var(--papier); stroke: #c7c7cc; stroke-width: 1; }
.netzplan__leds circle { fill: var(--tinte); }
.netzplan__fach { fill: var(--papier); stroke: #c7c7cc; stroke-width: 1; }
.netzplan__geraet { fill: #fff; stroke: #d1d1d6; stroke-width: 1.5; }
.netzplan__ring { fill: none; stroke: var(--tinte); stroke-width: 3; }
.netzplan__welle { fill: none; stroke: var(--tinte); stroke-width: 1.2; opacity: 0; }
.netzplan__paket { fill: var(--tinte); opacity: 0; }

/* Kontaktblock unten auf den Unterseiten wie auf der Startseite: schwarze Fläche, helle Schrift, weißer Hauptknopf (Mike, 23.10.2026) */
.unterseite .cta .pill { min-height: 0; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .62); font-weight: 500; }
.unterseite .cta__title { color: #fff; }
.unterseite .cta__lead { color: rgba(255, 255, 255, .8); }
.unterseite .cta .btn--ink { background: #fff; color: var(--tinte); }
.unterseite .cta .btn--ink:hover { background: var(--papier-2); }
.unterseite .cta .btn--ink .btn__icon { background: var(--tinte); color: #fff; }
.unterseite .cta .btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.unterseite .cta .btn--light:hover { background: #fff; color: var(--tinte); }
.unterseite .cta :focus-visible { outline-color: #fff; }

/* Kontaktformular: Zeichen über dem Text, damit Name und Beschreibung die ganze Kachelbreite haben (Mike, 23.10.2026) */
@media (min-width: 521px) {
  .unterseite .wahl__box { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .3rem; padding: 1.1rem 1.15rem 1.2rem; }
  .unterseite .wahl__icon { grid-row: auto; justify-self: start; width: auto; height: auto; margin-bottom: .55rem; background: none; }
}
.unterseite .wahl__name, .unterseite .wahl__text { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
/* Lokale KI (Mike, 29.10.2026): Grenze des Firmennetzes, leise Leitung ins Internet, Stromleitungen der USV, Schaubild als eigener Abschnitt (build.py schaubild_block) */
.netzplan__grenze { fill: none; stroke: #c7c7cc; stroke-width: 1.5; stroke-dasharray: 6 6; }
.netzplan__leise { fill: none; stroke: #c7c7cc; stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; }
.netzplan__strom { fill: none; stroke: var(--tinte); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.netzplan text.netzplan__rechts { text-anchor: end; }
.netzplan__knoten--kern text.netzplan__klein { fill: rgba(255, 255, 255, .72); }
.schaubild { display: grid; gap: 1.25rem; }
.schaubild .lead { max-width: 62ch; }
.schaubild__grafik { max-width: 880px; }
/* Feedback der Kunden unter /feedback/ im Stil von Typeform (Mike, 31.10.2026: die erste Fassung mit Kacheln wirkte
   KI-artig): schlichter Kopf ohne Menü (layout: schlicht), eine Frage je Bildschirm, umgeschaltet von umfrage.js.
   Ohne JavaScript stehen alle Fragen untereinander. Die Auswertung (/feedback/auswertung/) nutzt das normale Layout. */
.page-feedback .wa { display: none; }
.rueckmeldung { max-width: 860px; }
.schlicht-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--kopf); padding-inline: var(--seitenrand); }
.schlicht-kopf__links { display: flex; gap: 1.25rem; color: var(--grau); font-size: .875rem; }
.schlicht-kopf__links a:hover { color: var(--tinte); }
/* Am Handy stehen Impressum und Co. unten, die Leiste mit den Pfeilen liegt dann fest am unteren Rand */
.schlicht-fuss { display: none; }
@media (max-width: 700px) {
  .schlicht-kopf__links { display: none; }
  .schlicht-fuss { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0 var(--seitenrand) 6rem; color: var(--grau); font-size: .875rem; }
}

.umfrage__seite { display: flex; align-items: center; min-height: calc(100svh - var(--kopf)); padding: clamp(2rem, 5vw, 3.5rem) var(--seitenrand) clamp(5.5rem, 9vw, 6.5rem); }
/* Antworten, Felder und Hinweise laufen über die ganze Spalte (Mike, 31.10.2026: schmalere Kästen sahen unfertig aus) */
.umfrage__inhalt { width: 100%; max-width: 46rem; margin-inline: auto; }
.js .umfrage__schritt:not(.is-on) { display: none; }
.no-js .umfrage__schritt { min-height: 0; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.no-js [data-ok], .no-js .umfrage__taste, .no-js .umfrage__nav, .no-js .umfrage__fortschritt { display: none; }

.umfrage__foto { width: 72px; height: 72px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--papier); object-fit: cover; }
.umfrage__titel { max-width: 18ch; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 650; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.umfrage__text { max-width: 36rem; margin-top: 1.1rem; color: var(--tinte-2); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.umfrage__dauer { margin-top: 1.1rem; color: var(--grau); font-size: .875rem; text-wrap: pretty; }

.umfrage__frage { position: relative; font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 550; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.umfrage__frage:focus, .umfrage__titel:focus { outline: none; }
.umfrage__nr { display: inline-flex; align-items: center; gap: .15rem; margin-right: .6rem; color: var(--grau); font-size: 1rem; font-weight: 500; letter-spacing: 0; vertical-align: .3em; }
.umfrage__nr .i { width: 16px; height: 16px; }
@media (min-width: 1000px) { .umfrage__nr { position: absolute; top: .78rem; right: 100%; margin-right: 1rem; } }
.umfrage__hilfe { margin-top: .7rem; color: var(--grau); font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.umfrage__hilfe a { color: var(--tinte); text-decoration: underline; text-underline-offset: 3px; }

.umfrage__skala { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: 1.75rem; }
.umfrage__zahl, .umfrage__option { position: relative; border: 1px solid var(--grau-3); border-radius: var(--r); background: var(--weiss); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.umfrage__zahl { display: grid; place-items: center; height: 3.5rem; font-size: 1.125rem; font-weight: 500; }
.umfrage__option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .75rem 1.1rem; font-size: 1.0625rem; line-height: 1.35; }
.umfrage__zahl input, .umfrage__option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (hover: hover) { .umfrage__zahl:hover, .umfrage__option:hover { border-color: var(--tinte); } }
.umfrage__zahl:has(input:checked), .umfrage__option:has(input:checked) { border-color: var(--tinte); background: var(--tinte); color: #fff; }
.umfrage__zahl:has(input:focus-visible), .umfrage__option:has(input:focus-visible) { outline: 2px solid var(--tinte); outline-offset: 3px; }
.umfrage__option .i { width: 18px; height: 18px; opacity: 0; transition: opacity .15s; }
.umfrage__option:has(input:checked) .i { opacity: 1; }
.umfrage__enden { display: flex; justify-content: space-between; gap: 1rem; margin-top: .65rem; color: var(--grau); font-size: .875rem; }
.umfrage__wahl { display: grid; gap: .5rem; margin-top: 1.75rem; }
@media (max-width: 620px) { .umfrage__option { min-height: 3.25rem; padding: .65rem .95rem; font-size: 1rem; } }

.umfrage__feld { display: block; width: 100%; padding: .85rem 1rem; border: 1px solid var(--grau-3); border-radius: var(--r); background: var(--weiss); color: var(--tinte); font: 400 1.1875rem/1.5 var(--schrift); transition: border-color .15s, box-shadow .15s; }
.umfrage__feld::placeholder { color: var(--grau-2); }
@media (hover: hover) { .umfrage__feld:hover { border-color: var(--grau-2); } }
.umfrage__feld:focus-visible { border-color: var(--tinte); outline: none; box-shadow: 0 0 0 1px var(--tinte); }
.umfrage__feld--lang { margin-top: 1.75rem; resize: vertical; }
.umfrage__paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
@media (max-width: 620px) { .umfrage__paar { grid-template-columns: minmax(0, 1fr); } }
.umfrage__gruppe label { display: block; margin-bottom: .4rem; font-size: .9375rem; font-weight: 500; }

.umfrage__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; margin-top: 2rem; }
.umfrage__aktion .knopf .i { width: 18px; height: 18px; }
.umfrage__taste { color: var(--grau); font-size: .875rem; }
.umfrage__taste strong { color: var(--tinte); font-weight: 600; }
.umfrage__taste--zeile { margin-top: .6rem; }
@media (hover: none), (pointer: coarse) { .umfrage__taste { display: none; } }
.umfrage__fehler { display: inline-flex; margin-top: 1rem; padding: .5rem .8rem; border-radius: var(--r-s); background: var(--tinte); color: #fff; font-size: .9375rem; font-weight: 500; }
.umfrage .wizard__hinweisbox { margin: 0 0 1.75rem; padding: .9rem 1.1rem; border-radius: var(--r); background: var(--tinte); color: #fff; font-weight: 500; }
.no-js .umfrage > .wizard__hinweisbox { margin: 2rem var(--seitenrand) 0; }

.umfrage__fortschritt { position: fixed; inset: 0 0 auto; z-index: 70; height: 3px; pointer-events: none; }
.umfrage__fortschritt span { display: block; height: 100%; background: var(--tinte); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.umfrage__nav { position: fixed; right: var(--seitenrand); bottom: clamp(16px, 3vw, 28px); z-index: 20; display: flex; gap: 2px; }
.umfrage__nav button { display: grid; place-items: center; width: 40px; height: 40px; background: var(--tinte); color: #fff; transition: background-color .15s; }
.umfrage__nav button:first-child { border-radius: var(--r) 0 0 var(--r); }
.umfrage__nav button:last-child { border-radius: 0 var(--r) var(--r) 0; }
.umfrage__nav button:first-child .i { transform: rotate(180deg); }
.umfrage__nav button:hover:not(:disabled) { background: #2c2c2e; }
.umfrage__nav button:disabled { background: var(--grau-3); cursor: default; }
.umfrage.ist-start .umfrage__nav { display: none; }
@media (max-width: 700px) {
  .umfrage__nav { right: 0; bottom: 0; left: 0; justify-content: flex-end; padding: .75rem var(--seitenrand) calc(.75rem + env(safe-area-inset-bottom)); background: var(--weiss); }
}

/* Übergänge wie bei Typeform: die Frage gleitet nach oben weg, die nächste kommt von unten (zurück andersherum) */
@media (prefers-reduced-motion: no-preference) {
  .js .umfrage__schritt.is-on .umfrage__inhalt, .umfrage__inhalt--rein { animation: umfrage-rein .55s var(--ease) both; }
  .umfrage[data-richtung="zurueck"] .umfrage__schritt.is-on .umfrage__inhalt { animation-name: umfrage-rein-oben; }
  .js .umfrage__schritt.ist-raus .umfrage__inhalt { animation: umfrage-raus .18s ease-in both; }
  .umfrage[data-richtung="zurueck"] .umfrage__schritt.ist-raus .umfrage__inhalt { animation-name: umfrage-raus-unten; }
  .umfrage__schritt.ist-falsch [data-antworten] { animation: umfrage-wackeln .45s ease-out; }
}
@keyframes umfrage-rein { from { opacity: 0; transform: translateY(44px); } }
@keyframes umfrage-rein-oben { from { opacity: 0; transform: translateY(-44px); } }
@keyframes umfrage-raus { to { opacity: 0; transform: translateY(-44px); } }
@keyframes umfrage-raus-unten { to { opacity: 0; transform: translateY(44px); } }
@keyframes umfrage-wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (min-width: 621px) { .auswertung__zeile.auswertung__zeile--breit { grid-template-columns: 16rem minmax(0, 1fr) 2.5rem; } }
.auswertung__anmeldung { display: grid; gap: 1rem; max-width: 420px; margin-top: 1.5rem; }
.auswertung__summe { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 2rem 0; }
.auswertung__summe p { margin: 0; color: var(--grau); }
.auswertung__gross { display: block; color: var(--tinte); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.05; }
.auswertung__verteilung { display: grid; gap: .65rem; max-width: 680px; margin: 0 0 3rem; padding: 0; list-style: none; }
.auswertung__zeile { display: grid; grid-template-columns: 12rem minmax(0, 1fr) 2.5rem; gap: .9rem; align-items: center; }
.auswertung__balken { display: block; width: 100%; height: 10px; }
.auswertung__spur { fill: var(--papier-2); }
.auswertung__fuellung { fill: var(--tinte); }
.auswertung__zahl { font-weight: 600; text-align: right; }
.auswertung__liste { display: grid; gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.auswertung__eintrag { padding: 1.25rem 1.4rem; border-radius: var(--r); background: var(--papier); }
.auswertung__kopf { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin: 0 0 .5rem; color: var(--grau); }
.auswertung__kopf strong { color: var(--tinte); }
.auswertung__text { margin: .6rem 0 0; }
.auswertung__frage { display: block; color: var(--grau); font-size: .85rem; font-weight: 600; }
@media (max-width: 620px) { .auswertung__zeile { grid-template-columns: minmax(0, 1fr) 2rem; } .auswertung__balken { grid-column: 1 / -1; grid-row: 2; } }

/* Grafiken der KI-Ortsseiten und Angebote (01.11.2026), im Stil des Netzwerkplans: Zeilen des Website-Checks,
   Häkchen, Ausrufezeichen, Textstriche und Pinselwelle auf den Blättern eines Angebots */
.netzplan__zeile > rect:first-child { fill: var(--papier); stroke: none; }
.netzplan__haken { fill: none; stroke: var(--tinte); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.netzplan text.netzplan__achtung { font-size: 20px; font-weight: 700; }
.netzplan__strich { fill: #e5e5ea; }
.netzplan__baum { fill: none; stroke: #c7c7cc; stroke-width: 1.5; }
.netzplan__pinsel { fill: none; stroke: #ececf0; stroke-width: 18; stroke-linecap: round; }

/* Angebotsseiten unter /angebote/ (01.11.2026): das Angebot als schwarze Fläche mit Häkchenliste und Knopf zum
   Formular, darunter die Gültigkeit. Die Übersicht listet die Angebote untereinander (erscheinen zeitversetzt,
   deshalb kein Raster mit halben Reihen). */
.aktion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 4.5rem); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--r); background: var(--dunkel); color: #fff; }
.aktion__kopf { display: grid; align-content: start; gap: .9rem; }
.aktion .kicker { margin: 0; color: rgba(255, 255, 255, .62); }
.aktion .h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.aktion .h2 .tone { color: #8e8e93; }
.aktion .lead { margin: 0; color: rgba(255, 255, 255, .8); }
.aktion__inhalt { display: grid; align-content: start; justify-items: start; gap: 1.75rem; }
.aktion__liste { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.aktion__liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; align-items: start; font-weight: 500; line-height: 1.45; }
.aktion__liste .i { width: 20px; height: 20px; margin-top: .1rem; }
.aktion .btn--ink { background: #fff; color: var(--tinte); }
.aktion .btn--ink:hover { background: var(--papier-2); }
.aktion .btn--ink .btn__icon { background: var(--tinte); color: #fff; }
.aktion :focus-visible { outline-color: #fff; }
.aktion__hinweis { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .62); font-size: .9375rem; }
@media (max-width: 900px) { .aktion { grid-template-columns: minmax(0, 1fr); } }
.angebotsliste { display: grid; gap: clamp(.75rem, 1.2vw, 1rem); margin: 0; padding: 0; list-style: none; }
.angebotsliste .leistungskarte { min-height: 0; }
