/*
 * Die Grundregeln, die die Web-App in globals.css hat und daten.css
 * voraussetzt: Systemschrift, keine Randabstaende, box-sizing. Keine
 * Webfonts, kein Ladeflackern. (Am 25.09.2026 kurz Geist; Leo: die Schrift
 * von vorher war besser.)
 */

:root {
  color-scheme: light;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: #f1f4f4;
  color: #111a1c;
  font-family: var(--schrift);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
}

:focus-visible {
  outline: 2px solid #0f6b7a;
  outline-offset: 3px;
  border-radius: 4px;
}

/*
 * Kontor Data, Kopie von web/app/daten.css (das Gesicht der Datenschicht, das
 * bis 24.09.2026 unter /d lag). Nicht matcherAI: eigene Marke,
 * eigene Farben, eigener Aufbau, angelehnt an North Data (Suchkasten in der
 * Hauptfarbe, Abschnitte mit farbigem Etikett, Zeitleisten, Netzgraph), aber
 * mit eigener Palette. Alles unter `.vd`, damit die Regeln des Dashboards
 * (globals.css) nichts hier stoeren und umgekehrt.
 *
 * Vier Farben, jede fuer eine Sache, ueberall dieselbe:
 *   Firma          petrol   --f-firma
 *   Vergabestelle  orange   --f-stelle
 *   Fabrikat       violett  --f-fabrikat
 *   Planungsbuero  gruen    --f-buero
 * Dazu ein Rot nur fuer den Einzelbieter. Sonst Graustufen.
 *
 * Seit dem 25.09.2026 (Leo: "minimalistisch modern, Flaechen, wenig bis keine
 * Linien oder Boxen"): derselbe Aufbau, aber ohne Rahmen. Weisse Flaechen
 * mit 12 px Radius auf hellem Grund (20 px und Pillen waren Leo am selben
 * Abend "zu rund"), innen getoente Kacheln, Tabellen ohne
 * Zeilenlinien, Ueberschriften als Satz mit farbigem Punkt statt Etikett in
 * Grossbuchstaben. Linien gibt es nur noch als Achse in Grafiken.
 */

.vd {
  --f-firma: #0f6b7a;
  --f-firma-hell: #e3eff0;
  --f-firma-dunkel: #0a4c57;
  --f-stelle: #d9651b;
  --f-stelle-hell: #fbeadb;
  /* Orange und Gruen als Schrift auf Weiss: dunkler, sonst zu wenig Kontrast. */
  --f-stelle-text: #a4490d;
  --f-fabrikat: #6d3fc4;
  --f-fabrikat-hell: #ede6fa;
  --f-buero: #2b8a4b;
  --f-buero-hell: #e1f2e6;
  --f-buero-text: #20703b;
  --f-warn: #c0392b;
  --f-warn-hell: #fbe6e3;
  --v-text: #111a1c;
  --v-text-2: #536164;
  --v-text-3: #7a878a;
  /* Nur noch fuer Achsen in Grafiken. */
  --v-linie: #e2e8e9;
  --v-grund: #f1f4f4;
  /* Die Kacheln (Kennzahlen, Chips, Tabellenkopf) im helleren Grau von vorher; #f1f4f4 war Leo zu dunkel. */
  --v-kachel: #f4f6f7;
  --v-flaeche: #ffffff;
  /* Eine Tabellenzeile unter der Maus. */
  --v-schwebe: #f5f8f8;
  --v-radius: 12px;
  --v-radius-klein: 8px;
  --v-breite: 1200px;

  color: var(--v-text);
  background: var(--v-grund);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

.vd a {
  color: inherit;
  text-decoration: none;
}

.vd a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.vd .zahl {
  font-variant-numeric: tabular-nums;
}

.vd .leise {
  color: var(--v-text-2);
}

.vd .leiser {
  color: var(--v-text-3);
}

.vd code {
  font-size: 12.5px;
  background: var(--v-kachel);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------- Kopf */

/* Die Marke heisst hier .vd-kopf__marke: .vd-marke ist seit dem 24.09.2026 das
   kleine Etikett "Archiv", "Planung" (weiter unten) und ueberschrieb im Kopf
   display und Schriftgroesse. */

.vd-kopf {
  position: relative;
  background: transparent;
}

/*
 * Seitenwechsel ueber Kopf, Leiste und Reiter (`SofortLink`, 02.10.2026, Leo: "das muss alles instant
 * sein"): sofort ein pulsierender Punkt am Link und ein laufender Balken, bis die neue Seite steht; im
 * Geruest der Suche der Balken ueber den Treffern (xplorer.css), sonst unter dem Kopf. Meist hat die
 * Maus die Seite schon vorab geholt, dann sieht man davon nichts.
 */
.vd-laedt {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  animation: vd-puls 0.7s ease-in-out infinite alternate;
}

@keyframes vd-puls {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 0.9;
  }
}

body:has(.vd-laedt):not(:has(.vx)) .vd-kopf::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 2px;
  background: #26707d;
  animation: vd-balken 0.9s ease-in-out infinite;
}

@keyframes vd-balken {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-laedt,
  body:has(.vd-laedt):not(:has(.vx)) .vd-kopf::after {
    animation: none;
  }
}

.vd-kopf__zeile {
  max-width: var(--v-breite);
  margin: 0 auto;
  padding: 18px 28px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.vd-kopf__marke {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.vd-kopf__marke:hover {
  text-decoration: none;
}

.vd-kopf__marke .vd-zeichen {
  width: 30px;
  height: 30px;
  display: block;
}

/* Die Wortmarke so gross wie 18 px Schrift: 5421 x 731 Einheiten mal 0,018. */
.vd-kopf__marke .vd-wortmarke {
  width: 97.6px;
  height: 13.2px;
  display: block;
}

.vd-kopf__marke small {
  font-weight: 400;
  font-size: 11.5px;
  color: var(--v-text-3);
  letter-spacing: 0;
  margin-left: 2px;
}

.vd-kopf__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v-text-2);
  margin-left: auto;
}

.vd-kopf__nav a {
  padding: 7px 13px;
  border-radius: 8px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.vd-kopf__nav a:hover {
  text-decoration: none;
  color: var(--v-text);
  background: rgba(17, 26, 28, 0.05);
}

.vd-kopf__nav a[aria-current="page"] {
  color: var(--v-text);
  background: rgba(17, 26, 28, 0.06);
}

/* Pro als einziger Knopf im Kopf: dunkel. */
.vd-kopf__nav .vd-kopf__pro {
  margin-left: 8px;
  padding: 7px 16px;
  background: var(--v-text);
  color: #fff;
  font-weight: 600;
}

.vd-kopf__nav .vd-kopf__pro:hover {
  background: var(--f-firma-dunkel);
  color: #fff;
}

.vd-seite {
  max-width: var(--v-breite);
  margin: 0 auto;
  padding: 6px 28px 96px;
}

.vd-fuss {
  max-width: var(--v-breite);
  margin: 0 auto;
  padding: 8px 28px 48px;
  color: var(--v-text-3);
  font-size: 13px;
  line-height: 1.6;
}

.vd-fuss > p:first-child {
  max-width: 92ch;
}

.vd-fuss a {
  color: var(--v-text-2);
}

/*
 * Auf dem Telefon stehen die Bereiche in einer eigenen Zeile unter der Marke,
 * ohne JavaScript. Bis 25.09.2026 waren sie hier ausgeblendet, ohne Ersatz:
 * kein Weg nach oben, und Googles Mobil-Crawler sah auf den Profilen keine
 * Navigation. Seit 05.10.2026 (Leo: "Auf dem Handy einen kleinen Kopf ... OK")
 * eine einzige Zeile zum Wischen statt drei umgebrochener, Pro und Konto vorn;
 * die Seite wird dadurch nicht breiter.
 */
@media (max-width: 720px) {
  .vd-kopf__zeile,
  .vd-seite,
  .vd-fuss {
    padding-left: 16px;
    padding-right: 16px;
  }
  .vd-kopf__zeile {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-top: 10px;
    padding-bottom: 6px;
  }
  .vd-kopf__nav {
    order: 3;
    flex: 1 0 100%;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .vd-kopf__nav::-webkit-scrollbar {
    display: none;
  }
  .vd-kopf__nav a {
    flex: none;
    white-space: nowrap;
    padding: 6px 10px;
  }
  .vd-kopf__nav .vd-kopf__pro {
    order: -2;
    margin: 0 4px 0 0;
    padding: 6px 14px;
  }
  .vd-kopf__nav a[href="/konto"] {
    order: -1;
  }
}

/* --------------------------------------------------------------- Suchkasten */

.vd-suchkasten {
  background: radial-gradient(120% 180% at 0% 0%, #13808f 0%, #0f6b7a 45%, #0c5a66 100%);
  color: #fff;
  border-radius: var(--v-radius);
  padding: 22px 24px 18px;
  margin-bottom: 16px;
}

.vd-suchkasten__titel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.vd-suche {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.vd-suche:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.vd-suche input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 10px 14px 10px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--v-text);
  background: transparent;
}

.vd-suche input::placeholder {
  color: var(--v-text-3);
}

.vd-suche input:focus {
  outline: none;
}

.vd-suche button {
  flex: none;
  border: 0;
  border-radius: 6px;
  background: var(--v-text);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.vd-suche button:hover {
  background: var(--f-firma-dunkel);
}

/*
 * Die Vorschlaege beim Tippen (seit 25.09.2026): eine weisse Flaeche unter dem
 * Feld, ueber dem Inhalt darunter. Der einzige Schatten der Seite neben der
 * Pro-Sperre, weil sie schwebt. Keine Linien, die gewaehlte Zeile getoent.
 */
.vd-suchfeld {
  position: relative;
}

.vd-vorschlaege {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: var(--v-flaeche);
  color: var(--v-text);
  box-shadow:
    0 1px 2px rgba(17, 26, 28, 0.08),
    0 16px 40px rgba(17, 26, 28, 0.18);
}

.vd-vorschlaege__gruppe + .vd-vorschlaege__gruppe {
  margin-top: 4px;
}

/* Seit 02.10.2026: was das Feld gerade tut, statt still zu warten; alte Vorschlaege abgeblendet, bis die neuen da sind. */
.vd-vorschlaege__hinweis {
  padding: 10px;
  font-size: 14px;
  color: var(--v-text-3);
}

.vd-vorschlaege__hinweis--laedt::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: vd-dreht 0.8s linear infinite;
}

@keyframes vd-dreht {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-vorschlaege__hinweis--laedt::after {
    animation: none;
  }
}

.vd-vorschlaege__liste--alt {
  opacity: 0.55;
  transition: opacity 0.15s;
}

.vd-vorschlaege__titel {
  padding: 8px 10px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-firma);
}

.vd-vorschlaege__titel--stelle {
  color: var(--f-stelle-text);
}

.vd-vorschlaege__titel--fabrikat {
  color: var(--f-fabrikat);
}

.vd-vorschlaege__titel--buero {
  color: var(--f-buero-text);
}

.vd .vd-vorschlag {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--v-text);
  text-decoration: none;
}

.vd .vd-vorschlag[aria-selected="true"] {
  background: var(--v-kachel);
  text-decoration: none;
}

.vd-vorschlag__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-vorschlag__name b {
  font-weight: 700;
}

.vd-vorschlag__neben {
  margin-left: 8px;
  font-size: 13px;
  color: var(--v-text-3);
}

.vd-vorschlag__n {
  flex: none;
  font-size: 12.5px;
  color: var(--v-text-3);
  font-variant-numeric: tabular-nums;
}

.vd .vd-vorschlaege__alle {
  display: block;
  margin-top: 4px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--f-firma);
  text-decoration: none;
}

.vd .vd-vorschlaege__alle[aria-selected="true"] {
  background: var(--v-kachel);
}

.vd-suchkasten__arten {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  opacity: 0.92;
}

.vd-suchkasten__arten i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
}

.vd-suchkasten__arten a:hover {
  text-decoration: underline;
}

.vd-suchkasten__stand {
  margin-left: auto;
  opacity: 0.7;
}

/* ------------------------------------------------------------- Abschnitte */

/*
 * Der Titel eines Abschnitts: ein Satz, schlicht (bis 25.09.2026 ein farbiges
 * Etikett in Grossbuchstaben, danach kurz mit farbigem Punkt davor; Leo:
 * "ueberall diese Punkte raus bei den Ueberschriften").
 */
.vd-etikett {
  display: block;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--v-text);
  margin: 0 0 16px;
  text-wrap: balance;
}

/* Als Absatz (Dachzeile ueber einer h1, Abschnitte der Suche): klein, in der Farbe der Art. */
p.vd-etikett {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-firma);
  margin-bottom: 12px;
}

p.vd-etikett--stelle {
  color: var(--f-stelle-text);
}

p.vd-etikett--fabrikat {
  color: var(--f-fabrikat);
}

p.vd-etikett--buero {
  color: var(--f-buero-text);
}

p.vd-etikett--grau {
  color: var(--v-text-2);
}

.vd-tafel {
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 24px 26px 26px;
  min-width: 0;
}

.vd-tafel + .vd-tafel {
  margin-top: 16px;
}

/* Im Raster stehen Tafeln nebeneinander, nicht untereinander: dort kein Abstand oben, sonst stehen sie versetzt (Startseite, Suche). */
.vd-zwei > .vd-tafel,
.vd-treffer > .vd-tafel,
.vd-spalten > .vd-tafel {
  margin-top: 0;
}

.vd-tafel__fuss {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--v-text-3);
  line-height: 1.55;
}

.vd-spalten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .vd-spalten {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------- Profilkopf */

.vd-profil {
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 28px 30px 30px;
}

.vd-profil__art {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-firma);
}

.vd-profil--stelle .vd-profil__art {
  color: var(--f-stelle-text);
}

.vd-profil--fabrikat .vd-profil__art {
  color: var(--f-fabrikat);
}

.vd-profil--buero .vd-profil__art {
  color: var(--f-buero-text);
}

.vd-profil h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-top: 10px;
  text-wrap: balance;
}

.vd-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  border-radius: 6px;
  padding: 4px 11px;
  color: var(--v-text-2);
  background: var(--v-kachel);
}

.vd-chip b {
  font-weight: 600;
  color: var(--v-text);
}

.vd-chip--firma {
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
}

.vd-chip--stelle {
  background: var(--f-stelle-hell);
  color: #8a3f0e;
}

.vd-chip--fabrikat {
  background: var(--f-fabrikat-hell);
  color: #4a2a86;
}

.vd-chip--buero {
  background: var(--f-buero-hell);
  color: #1d5f34;
}

.vd-chip--warn {
  background: var(--f-warn-hell);
  color: var(--f-warn);
}

/* Ein Chip, der etwas tut: der Sprung zum Alarm auf dem Profil einer Vergabestelle (30.09.2026). */
a.vd-chip--alarm {
  background: var(--f-fabrikat-hell);
  color: #4a2a86;
  font-weight: 600;
  text-decoration: none;
}

a.vd-chip--alarm:hover {
  background: #e4d9f7;
}

.vd-kennzahlen {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.vd-kennzahl {
  background: var(--v-kachel);
  border-radius: var(--v-radius-klein);
  padding: 14px 16px 15px;
  min-width: 0;
}

.vd-kennzahl__wert {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

/*
 * Eine lange Zahl (Euro-Betrag, Tag) bricht nie in der Zahl um: eine Zeile,
 * und die Schrift nur so gross, dass die Zahl in die Karte passt. `--zeichen`
 * ist ihre Breite in Ziffern (von `Kennzahl` gesetzt), 100cqi die Breite der
 * Karte innen. Eine Ziffer ist fett hoechstens 0,66 em breit (SF Pro bei
 * 12 bis 22 px 0,63 bis 0,65, Segoe UI, Roboto und Arial schmaler), ein
 * Trennzeichen die Haelfte.
 */
.vd-kennzahl {
  container-type: inline-size;
}

.vd-kennzahl__wert--lang {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: min(22px, 100cqi / (var(--zeichen, 8) * 0.66));
}

.vd-kennzahl__wert small {
  font-size: 13px;
  font-weight: 500;
  color: var(--v-text-2);
  margin-left: 2px;
}

.vd-kennzahl__text {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--v-text-2);
  line-height: 1.4;
}

/* -------------------------------------------------------------- Grafiken */

.vd-balken {
  width: 100%;
  height: auto;
  display: block;
  max-width: 640px;
}

.vd-balken__saeule {
  fill: var(--f-firma);
  opacity: 0.55;
}

.vd-balken__saeule--betont {
  opacity: 1;
}

.vd-balken__saeule:hover {
  opacity: 0.85;
}

.vd-balken__zahl {
  font-size: 12px;
  font-weight: 600;
  fill: var(--v-text);
  font-variant-numeric: tabular-nums;
}

.vd-balken__achse {
  font-size: 11px;
  fill: var(--v-text-3);
  font-variant-numeric: tabular-nums;
}

.vd-balken__grund {
  stroke: var(--v-linie);
  stroke-width: 1;
}

.vd-verteilung {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px auto;
  gap: 7px 10px;
  align-items: center;
  font-size: 13.5px;
}

.vd-verteilung__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-verteilung__spur {
  height: 9px;
  border-radius: 3px;
  background: var(--v-grund);
  overflow: hidden;
}

.vd-verteilung__fuellung {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--f-firma);
  opacity: 0.8;
}

.vd-verteilung--stelle .vd-verteilung__fuellung {
  background: var(--f-stelle);
}

.vd-verteilung--fabrikat .vd-verteilung__fuellung {
  background: var(--f-fabrikat);
}

.vd-verteilung--buero .vd-verteilung__fuellung {
  background: var(--f-buero);
}

.vd-verteilung--grau .vd-verteilung__fuellung {
  background: var(--v-text-3);
}

.vd-verteilung__zahl {
  text-align: right;
  color: var(--v-text-2);
  white-space: nowrap;
  font-size: 13px;
}

/* Zeitleiste: ein Punkt je Zuschlag, Monat fuer Monat, wie die Historie bei North Data. */
.vd-zeitleiste {
  width: 100%;
  height: auto;
  display: block;
}

.vd-zeitleiste__achse {
  stroke: var(--v-linie);
  stroke-width: 1;
}

.vd-zeitleiste__jahr {
  font-size: 11px;
  fill: var(--v-text-3);
}

.vd-zeitleiste__punkt {
  fill: var(--f-firma);
  opacity: 0.75;
}

.vd-zeitleiste__punkt--einzel {
  fill: var(--f-warn);
}

.vd-zeitleiste__punkt:hover {
  opacity: 1;
}

/* Das Netz: Firma in der Mitte, Stellen links, Bueros rechts, Fabrikate unten. */
.vd-netz {
  width: 100%;
  height: auto;
  display: block;
}

/* Knoten als getoente Flaechen ohne Rand (bis 25.09.2026 weiss mit farbigem Rand); nur die Kanten sind Linien. */
.vd-netz__kante {
  stroke: #d3dcdd;
  stroke-width: 1.25;
}

.vd-netz__knoten {
  fill: var(--v-kachel);
  rx: 5px;
}

.vd-netz__knoten--firma {
  fill: var(--f-firma-hell);
}

.vd-netz__knoten--stelle {
  fill: var(--f-stelle-hell);
}

.vd-netz__knoten--buero {
  fill: var(--f-buero-hell);
}

.vd-netz__knoten--fabrikat {
  fill: var(--f-fabrikat-hell);
}

.vd-netz__kern {
  fill: var(--f-firma);
  rx: 6px;
}

.vd-netz__kern--stelle {
  fill: var(--f-stelle);
}

.vd-netz__kern--fabrikat {
  fill: var(--f-fabrikat);
}

.vd-netz__text {
  font-size: 11.5px;
  fill: var(--v-text);
}

.vd-netz__kerntext {
  font-size: 12px;
  font-weight: 700;
  fill: #fff;
}

.vd-netz__zahl {
  font-size: 10.5px;
  fill: var(--v-text-3);
  font-variant-numeric: tabular-nums;
}

.vd-netz__rolle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--v-text-3);
}

.vd-netz a:hover .vd-netz__knoten {
  filter: brightness(0.96);
}

/* --------------------------------------------------------------- Tabellen */

/*
 * Tabellen ohne Linien: der Kopf als getoentes Band mit runden Enden, die
 * Zeilen nur durch Abstand getrennt, unter der Maus leicht hinterlegt.
 * `separate` statt `collapse`, sonst runden die Zellen nicht.
 */
.vd-tabelle {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

.vd-tabelle th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--v-text-3);
  padding: 9px 12px 9px 0;
  background: var(--v-kachel);
}

.vd-tabelle td {
  padding: 11px 12px 11px 0;
  vertical-align: top;
}

.vd-tabelle th:first-child,
.vd-tabelle td:first-child {
  padding-left: 12px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.vd-tabelle th:last-child,
.vd-tabelle td:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.vd-tabelle tbody tr:hover td {
  background: var(--v-schwebe);
}

.vd-tabelle .zahl,
.vd-tabelle th.zahl {
  text-align: right;
  white-space: nowrap;
}

.vd-tabelle .neben {
  display: block;
  font-size: 12px;
  color: var(--v-text-3);
  margin-top: 1px;
}

.vd-tabellenrahmen {
  overflow-x: auto;
}

.vd-liste {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
}

.vd-liste li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.vd-liste__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-liste__n {
  color: var(--v-text-2);
  font-size: 13px;
  white-space: nowrap;
}

/* Eckdaten: die Beschriftung bleibt, lange Werte (Vergabestelle, Ort) brechen um (Persona-Test 02.10.2026). */
.vd-liste--eckdaten .vd-liste__name {
  flex: none;
}

.vd-liste--eckdaten .vd-liste__n {
  min-width: 0;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Frist-Punkt fuer offene Lose */
.vd-frist {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--f-buero);
}

.vd-frist--knapp {
  color: var(--f-stelle);
}

.vd-frist--vorbei {
  color: var(--v-text-3);
  font-weight: 400;
}

/* ----------------------------------------------------------------- Pro */

/* Skelett und Schild teilen sich eine Zelle (07.10.2026): der Kasten waechst mit der Karte. Vorher lag das Schild
   absolut ueber dem Skelett, und auf schmalen Telefonen ragte die Karte 20 bis 40 px ueber die Ueberschrift. */
.vd-sperre {
  position: relative;
  display: grid;
}

.vd-sperre > .vd-sperre__inhalt,
.vd-sperre > .vd-sperre__schild {
  grid-area: 1 / 1;
  min-width: 0;
}

.vd-sperre__inhalt {
  filter: blur(5px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.vd-sperre__schild {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vd-sperre__karte {
  background: var(--v-flaeche);
  border-radius: 10px;
  box-shadow:
    0 1px 2px rgba(17, 26, 28, 0.06),
    0 12px 32px rgba(17, 26, 28, 0.1);
  padding: 16px 18px;
  max-width: 34rem;
  font-size: 13.5px;
  line-height: 1.5;
}

.vd-sperre__karte b {
  color: var(--f-firma);
}

.vd-pro-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--v-text);
  border-radius: 4px;
  padding: 2px 8px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ------------------------------------------------------ Preise (/pro) */

/*
 * Seit dem 25.09.2026: oben der Satz, was frei ist und was Pro kostet, frei
 * auf dem Grund; darunter vier Tarife als Flaechen, Pro dunkel. Die Tarife
 * teilen sich ueber `subgrid` die Zeilen (Name, fuer wen, Preis, Knopf,
 * Punkte), damit Preise und Knoepfe auf einer Hoehe stehen, egal wie lang
 * der Satz darueber ist. Abstand zwischen den Reihen als Rand der Karte,
 * nicht als `row-gap`: der liefe sonst durch jede Karte.
 */
.vd-preise__kopf {
  padding: 30px 4px 30px;
  max-width: 880px;
}

.vd-preise__kopf h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  text-wrap: balance;
}

.vd-preise__intro {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--v-text-2);
}

.vd-preise__zusagen {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 500;
}

.vd-preise__zusagen li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vd-haken {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--f-firma);
}

.vd-tarife {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
}

/* Seit 29.09.2026 nur Frei und Pro: zwei Spalten, nicht zu breit. */
.vd-tarife--zwei {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.vd-tarif {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  margin-bottom: 16px;
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 26px 24px 28px;
  min-width: 0;
}

.vd-tarif__name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vd-tarif__fuer {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--v-text-2);
}

.vd-tarif__preis {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.vd-tarif__preis b {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.vd-tarif__preis span {
  font-size: 13px;
  color: var(--v-text-2);
}

.vd-tarif > div {
  margin-top: 20px;
}

.vd-tarif__punkte {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.vd-tarif__punkte li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vd-tarif__punkte .vd-haken {
  margin-top: 2px;
}

.vd-tarif--hervor {
  background: linear-gradient(165deg, #1b2c30 0%, #0f181a 100%);
  color: #fff;
}

.vd-tarif--hervor .vd-tarif__fuer,
.vd-tarif--hervor .vd-tarif__preis span {
  color: rgba(255, 255, 255, 0.7);
}

.vd-tarif--hervor .vd-haken {
  color: #7fd3dd;
}

/* Knoepfe: leicht gerundet, ohne Rahmen. Standard getoent, auf der dunklen Karte weiss. */
.vd .vd-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--v-kachel);
  color: var(--v-text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.vd .vd-knopf:hover {
  background: #e2e9e9;
  text-decoration: none;
}

/* Knoepfe als <button> (Suchauftrag, Konto, Kasse): ohne Rahmen des Browsers. */
.vd button.vd-knopf {
  border: 0;
  cursor: pointer;
}

.vd .vd-knopf--hell {
  background: #fff;
  color: var(--v-text);
}

.vd .vd-knopf--hell:hover {
  background: #d9f0f3;
}

.vd .vd-knopf--violett {
  width: auto;
  background: var(--f-fabrikat);
  color: #fff;
}

.vd .vd-knopf--violett:hover {
  background: #5a31a8;
}

/* Die Akustik fuer Hersteller: eine violette Flaeche ueber die ganze Breite. */
.vd-preise__vertikal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 56px;
  align-items: end;
  background: var(--f-fabrikat-hell);
  border-radius: var(--v-radius);
  padding: 28px 30px 30px;
}

.vd-preise__vertikal h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.vd-preise__vertikal-text {
  margin-top: 8px;
  max-width: 62ch;
  color: #4b3d6e;
}

.vd-preise__vertikal .vd-tarif__punkte {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
}

.vd-preise__vertikal .vd-haken {
  color: var(--f-fabrikat);
}

.vd-preise__vertikal-preis {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.vd-preise__vertikal-preis .vd-tarif__preis {
  margin-top: 0;
}

.vd-preise__vertikal-preis .vd-tarif__preis span {
  color: #4b3d6e;
}

/*
 * Der Vergleich: keine Linien. Jede zweite Zeile getoent mit runden Enden,
 * die Spalte Pro als durchgehendes Band von oben bis unten.
 */
.vd-preise__vergleich {
  margin-top: 16px;
}

.vd-vergleich {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.vd-vergleich th,
.vd-vergleich td {
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
}

.vd-vergleich thead th {
  font-size: 14px;
  font-weight: 650;
  color: var(--v-text);
  padding-top: 14px;
}

.vd-vergleich tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--v-text);
}

.vd-vergleich__wert {
  width: 17%;
  font-size: 13.5px;
  color: var(--v-text-2);
}

.vd-vergleich tbody tr:nth-child(even) > * {
  background: #f6f8f8;
}

.vd-vergleich tbody tr > :first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.vd-vergleich tbody tr > :last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.vd-vergleich .vd-vergleich__pro {
  background: #edf6f7;
  color: var(--f-firma-dunkel);
}

.vd-vergleich tbody tr:nth-child(even) > .vd-vergleich__pro {
  background: #e3f0f1;
}

.vd-vergleich thead .vd-vergleich__pro {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.vd-vergleich tbody tr:last-child > .vd-vergleich__pro {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.vd-vergleich__ja {
  display: inline-flex;
  vertical-align: middle;
}

.vd-vergleich__ja .vd-haken {
  width: 18px;
  height: 18px;
}

.vd-vergleich__nein {
  display: inline-block;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #c3cdcf;
  vertical-align: middle;
}

/* Nur fuer Vorleser: die Ueberschrift der ersten Spalte. */
.vd-nur-leser {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.vd-preise__fragen {
  margin-top: 44px;
  padding: 0 4px;
}

.vd-preise__fragen h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vd-preise__fragen dl {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 56px;
}

.vd-preise__fragen dt {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vd-preise__fragen dd {
  margin: 6px 0 0;
  max-width: 62ch;
  line-height: 1.6;
  color: var(--v-text-2);
}

.vd-preise__fragen dd a {
  color: var(--f-firma);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1080px) {
  .vd-tarife {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vd-preise__kopf {
    padding-top: 18px;
    padding-bottom: 22px;
  }
  .vd-preise__intro {
    font-size: 16px;
  }
  .vd-tarife,
  .vd-tarife--zwei {
    grid-template-columns: minmax(0, 1fr);
  }
  .vd-tarif {
    padding: 22px 20px 24px;
  }
  .vd-preise__vertikal {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px 24px;
  }
  .vd-preise__vertikal .vd-tarif__punkte {
    grid-template-columns: minmax(0, 1fr);
  }
  .vd-preise__fragen dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  /* Der Vergleich passt ohne Wischen: Leistung 40 %, je Tarif 20 %, kleinere Schrift. */
  .vd-vergleich {
    min-width: 0;
    font-size: 13px;
  }
  .vd-vergleich th,
  .vd-vergleich td {
    padding: 10px 6px;
  }
  .vd-vergleich tbody th {
    width: 40%;
    padding-left: 10px;
  }
  .vd-vergleich__wert {
    width: 20%;
    font-size: 12px;
    line-height: 1.35;
  }
}

/* ---------------------------------------------------------------- Start */

.vd-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .vd-start {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vd-kreise {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vd-kreis {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 11.5px;
  line-height: 1.25;
}

.vd-kreis b {
  display: block;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 3px;
}

.vd-kreis--firma {
  background: var(--f-firma);
}

.vd-kreis--stelle {
  background: var(--f-stelle);
}

.vd-kreis--fabrikat {
  background: var(--f-fabrikat);
}

.vd-kreis--buero {
  background: var(--f-buero);
}

.vd-kreis:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

/*
 * Die Karten neben den vier Kreisen, gleich breit: seit dem 30.09.2026 zwei
 * (Woche, nur ein Angebot) nebeneinander; die Karten "gewinnt am meisten" und
 * "am haeufigsten als Leitfabrikat" sind raus. Mit auto-fit standen bei 790 px
 * Spaltenbreite drei in der ersten Reihe und die vierte allein daneben
 * (25.09.2026). Drei Karten stehen nebeneinander; auf dem Telefon untereinander.
 */
.vd-fakten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vd-fakten:has(> .vd-fakt:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Getrennte Regeln: ein Browser ohne :has() verwirft sonst die ganze Liste, auch ".vd-fakten". */
@media (max-width: 560px) {
  .vd-fakten {
    grid-template-columns: minmax(0, 1fr);
  }
  .vd-fakten:has(> .vd-fakt:nth-child(3):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vd-fakt {
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 18px 20px 20px;
  min-width: 0;
}

.vd-fakt__wert {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vd-fakt__wert--warn {
  color: var(--f-warn);
}

.vd-fakt__text {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--v-text-2);
  line-height: 1.4;
}

.vd-zwei {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}

.vd-treffer {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* /rangliste: die Ranglisten in zwei Spalten; eine Spalte liess die rechte Haelfte der Tafel leer (25.09.2026). */
.vd-ranglisten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

.vd-ranglisten p {
  margin-top: 2px;
}

@media (max-width: 720px) {
  .vd-ranglisten {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.vd-zuschlag {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
}

.vd-zuschlag + .vd-zuschlag {
  margin-top: 9px;
}

.vd-zuschlag__wert {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.vd-zuschlag__titel {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-zuschlag__neben {
  display: block;
  font-size: 12px;
  color: var(--v-text-3);
  margin-top: 1px;
}

.vd-zuschlag__neben a {
  color: var(--v-text-2);
}

.vd-belege {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-beleg {
  background: #f6f2fd;
  border-radius: var(--v-radius-klein);
  padding: 12px 14px;
}

.vd-beleg__text {
  font-size: 13.5px;
  color: var(--v-text-2);
  line-height: 1.5;
}

.vd-beleg__text b {
  color: var(--v-text);
  font-weight: 600;
}

.vd-beleg__quelle {
  font-size: 12px;
  color: var(--v-text-3);
  margin-top: 3px;
}

.vd-leer {
  font-size: 13.5px;
  color: var(--v-text-3);
}

/* ---------------------------------------------------------------- Herkunft */

/*
 * Die zweite Farbreihe, seit dem 23.09.2026 (ADR 0015): woher eine Zahl
 * kommt. DÖE in der Hauptfarbe, TED als ihr helles Gegenstueck (beides
 * amtliche Bekanntmachungen), Portale gold, Ratsvorlagen beere, der Rest grau.
 */
.vd {
  --q-doee: #0f6b7a;
  --q-ted: #93c3cc;
  --q-portal: #e0a526;
  --q-portal-hell: #fbf0d4;
  --q-portal-dunkel: #7a5608;
  --q-ris: #b0457d;
  --q-ris-hell: #f6e3ee;
  --q-ris-dunkel: #7d2552;
  --q-andere: #8d959b;
}

.vd-punkt {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--q-andere);
}

.vd-punkt--doee {
  background: var(--q-doee);
}

.vd-punkt--ted {
  background: var(--q-ted);
}

.vd-punkt--portal {
  background: var(--q-portal);
}

.vd-punkt--ris {
  background: var(--q-ris);
}

/* Das Etikett an einem Treffer oder einer Zeile */
.vd-quelle {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding: 0 7px;
  margin-left: 6px;
  border-radius: 4px;
  white-space: nowrap;
  vertical-align: 1px;
  background: var(--v-grund);
  color: var(--v-text-2);
}

.vd-quelle--portal {
  background: var(--q-portal-hell);
  color: var(--q-portal-dunkel);
}

.vd-quelle--ris {
  background: var(--q-ris-hell);
  color: var(--q-ris-dunkel);
}

.vd-quelle--doee {
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
}

.vd-quelle--ted {
  background: #e6f2f4;
  color: #2c5e68;
}

/* Der Chip "Quellen: DÖE 212 · Portale 3" im Profilkopf */
.vd-chip--quellen {
  gap: 4px 10px;
  flex-wrap: wrap;
  background: var(--v-flaeche);
}

.vd-chip__teil {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Die Tafel "Woher die Daten kommen": je Quelle Punkt, Name, Zahl, Balken */
.vd-herkunft {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.vd-herkunft__zeile {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: baseline;
  font-size: 13.5px;
}

.vd-herkunft__name {
  min-width: 0;
}

.vd-herkunft__neben {
  display: block;
  font-size: 11.5px;
  color: var(--v-text-3);
  line-height: 1.35;
  margin-top: 1px;
}

.vd-herkunft__zahl {
  font-weight: 600;
  white-space: nowrap;
}

.vd-herkunft__spur {
  grid-column: 2 / 4;
  height: 6px;
  border-radius: 3px;
  background: var(--v-grund);
  overflow: hidden;
}

.vd-herkunft__fuellung {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--q-andere);
}

.vd-herkunft__fuellung--doee {
  background: var(--q-doee);
}

.vd-herkunft__fuellung--ted {
  background: var(--q-ted);
}

.vd-herkunft__fuellung--portal {
  background: var(--q-portal);
}

.vd-herkunft__fuellung--ris {
  background: var(--q-ris);
}

.vd-herkunft__kopf {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v-text-3);
  margin: 16px 0 9px;
}

.vd-herkunft__kopf:first-of-type {
  margin-top: 2px;
}

/* Gestapelte Saeulen je Jahr und Quelle */
.vd-stapel {
  width: 100%;
  height: auto;
  display: block;
}

.vd-stapel__teil {
  fill: var(--q-andere);
}

.vd-stapel__teil--doee {
  fill: var(--q-doee);
}

.vd-stapel__teil--ted {
  fill: var(--q-ted);
}

.vd-stapel__teil--portal {
  fill: var(--q-portal);
}

.vd-stapel__teil--ris {
  fill: var(--q-ris);
}

.vd-stapel__teil:hover {
  opacity: 0.8;
}

.vd-legende {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--v-text-2);
}

.vd-legende span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vd-legende b {
  color: var(--v-text);
  font-weight: 600;
}

/* Preisspiegel und Mitgeboten */
.vd-tabelle tr.vd-tabelle__eigen td {
  background: var(--f-firma-hell);
}

.vd-tabelle tr.vd-tabelle__eigen td:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.vd-tabelle tr.vd-tabelle__eigen td:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.vd-tabelle--klein {
  font-size: 13px;
}

.vd-tabelle--klein td {
  padding-top: 6px;
  padding-bottom: 6px;
}

.vd-tabelle--klein td:first-child,
.vd-tabelle--klein th:first-child {
  padding-left: 10px;
  width: 58px;
}

.vd-spiegel + .vd-spiegel {
  margin-top: 22px;
}

.vd-spiegel__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-bottom: 8px;
}

.vd-spiegel__titel {
  font-weight: 600;
  font-size: 14px;
  min-width: 0;
}

.vd-spiegel__neben {
  font-size: 12px;
  color: var(--v-text-3);
}

.vd-abstand {
  display: block;
  font-size: 11.5px;
  color: var(--v-text-3);
}

.vd-zuschlag-marke {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--f-firma);
  margin-left: 6px;
}

.vd-zuschlag-marke--aus {
  color: var(--v-text-3);
}

.vd-rang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--v-grund);
  color: var(--v-text-2);
}

.vd-rang--zwei {
  background: var(--q-portal-hell);
  color: var(--q-portal-dunkel);
}

.vd-rang--eins {
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
}

/* ------------------------------------------- Archiv, Planung, Aufhebung */

/*
 * Seit dem 24.09.2026: was keine laufende Ausschreibung ist, sagt es an der
 * Zeile. Archiv (Historie aus Wayback und Amtsblaettern) ist Vergangenheit
 * und grau wie die Quelle "andere"; Vorinformation ist Planung und traegt
 * das Hell der Hauptfarbe; eine Aufhebung ist kein Zuschlag, grau mit Rand.
 * Keine neue Farbe: die Herkunftsreihe reicht.
 */
.vd-marke {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0 7px;
  margin-left: 6px;
  border-radius: 4px;
  white-space: nowrap;
  vertical-align: 1px;
  background: var(--v-grund);
  color: var(--v-text-2);
}

.vd-marke--archiv {
  background: #eceef0;
  color: #5b6369;
}

.vd-marke--planung {
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
}

.vd-marke--aufgehoben {
  margin-left: 0;
  background: transparent;
  color: var(--v-text-2);
  box-shadow: inset 0 0 0 1px var(--q-andere);
}

/* ---------------------------------------------------- Nur auf Kontor Data */

/* Textseiten: Impressum, Datenschutz, Stoerung, nicht gefunden. */
.vd-text {
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 30px 34px 34px;
  max-width: 780px;
}

.vd-text h1 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.vd-text h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 26px 0 6px;
}

.vd-text p,
.vd-text address {
  font-style: normal;
  max-width: 66ch;
  margin-bottom: 8px;
}

.vd-text a {
  color: var(--f-firma);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vd-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 8px;
}

.vd-text__knopf {
  margin-top: 14px;
  background: var(--v-text);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

.vd-text__knopf:hover {
  background: var(--f-firma-dunkel);
}

.vd-fuss__links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

/* ------------------------------------------------ SEO-Audit, 24.09.2026 */

/* Brotkrumen ueber dem Profil; dieselben Glieder stehen als BreadcrumbList im JSON-LD. */
.vd-pfad {
  font-size: 12.5px;
  color: var(--v-text-2);
  margin: 0 0 8px 2px;
}

.vd-pfad ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  min-width: 0;
}

.vd-pfad li {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.vd-pfad li + li::before {
  content: "›";
  color: var(--v-text-3);
  margin: 0 7px;
}

.vd-pfad a {
  color: var(--f-firma);
}

.vd-pfad [aria-current="page"] {
  color: var(--v-text);
}

/* Das Skelett in einer Sperre: graue Balken ohne Text, in der Form einer Tabelle. */
.vd-skelett {
  display: grid;
  gap: 12px 18px;
  align-items: center;
  padding: 6px 2px;
}

.vd-skelett__balken {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: #e3e9ea;
}

.vd-skelett__balken--zahl {
  justify-self: end;
  max-width: 64px;
}

/* Die Sperre braucht Platz fuer ihr Schild, auch wenn das Skelett kurz ist. */
.vd-sperre__inhalt {
  min-height: 132px;
}

/* Die Knoten des Netzes noch einmal als Liste mit gewoehnlichen Links. */
.vd-netz__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 20px;
  margin-top: 20px;
}

.vd-netz__gruppenname {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v-text-3);
  margin-bottom: 5px;
}

.vd-netz__gruppe ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.vd-netz__gruppe li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.vd-netz__listenname {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-netz__punkt {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--f-firma);
  align-self: center;
}

.vd-netz__punkt--stelle {
  border-color: var(--f-stelle);
}

.vd-netz__punkt--buero {
  border-color: var(--f-buero);
}

.vd-netz__punkt--fabrikat {
  border-color: var(--f-fabrikat);
}

.vd-netz__punkt--grau {
  border-color: var(--v-text-3);
}

/* Die Startseite: eine Ueberschrift und zwei Saetze ueber den Fakten. */
.vd-start__kopf {
  margin-bottom: 16px;
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
  padding: 28px 30px 28px;
}

.vd-start__kopf h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.vd-start__kopf p {
  margin-top: 8px;
  max-width: 70ch;
  color: var(--v-text-2);
}

.vd-kreis--text {
  cursor: default;
}

.vd-kreis--text:hover {
  filter: none;
}

/* Auf dem Telefon: kleinere Radien und Innenabstaende, damit die Flaechen nicht die halbe Breite verschenken. */
@media (max-width: 720px) {
  .vd {
    --v-radius: 10px;
  }
  .vd-tafel,
  .vd-profil,
  .vd-start__kopf {
    padding: 20px 18px 22px;
  }
  .vd-suchkasten {
    padding: 18px 16px 16px;
  }
  .vd-suche input {
    padding-left: 14px;
  }
  .vd-suche button {
    padding: 10px 16px;
  }
  .vd-text {
    padding: 22px 20px 26px;
  }
}

/*
 * Der kleine Kopf ueber Detailseiten auf dem Telefon (05.10.2026): Titel, Frist und Unterlagen einer
 * Ausschreibung stehen auf dem ersten Bildschirm. Ueber Seiten mit Profilkopf nur das Suchfeld, ohne
 * Titel und Zahlen des Bestands (die Startseite behaelt sie); die Brotkrumen in einer Zeile zum
 * Wischen, ihr letztes Glied ist die Ueberschrift darunter und faellt weg (im JSON-LD bleibt es). Die Kennzahlen zu zweit statt
 * untereinander, und auf der Ausschreibung kommen die Unterlagen und das Mailfeld vor die Kennzahlen.
 */
@media (max-width: 720px) {
  body:has(.vd-profil) .vd-suchkasten {
    padding: 8px;
    margin-bottom: 10px;
  }
  body:has(.vd-profil) .vd-suchkasten__titel,
  body:has(.vd-profil) .vd-suchkasten__arten {
    display: none;
  }
  body:has(.vd-profil) .vd-suche {
    margin-top: 0;
  }
  .vd-pfad ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .vd-pfad ol::-webkit-scrollbar {
    display: none;
  }
  .vd-pfad li {
    flex: none;
  }
  .vd-pfad li[aria-current="page"] {
    display: none;
  }
  .vd-profil h1 {
    font-size: 25px;
  }
  .vd-kennzahlen {
    margin-top: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .vd-kennzahl {
    padding: 11px 12px 12px;
  }
  .vd-kennzahl__wert {
    font-size: 19px;
  }
  .vd-kennzahl__wert--lang {
    font-size: min(19px, 100cqi / (var(--zeichen, 8) * 0.66));
  }
  .vd-profil--ausschreibung {
    display: flex;
    flex-direction: column;
  }
  .vd-profil--ausschreibung > .vd-kennzahlen {
    order: 1;
  }
  .vd-profil--ausschreibung > .vm {
    order: 2;
  }
}

/* ------------------------------------------- Verzeichnis (25.09.2026) */

.vd-verzeichnis__h1 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.vd-verzeichnis__text {
  margin-top: 8px;
  max-width: 70ch;
}

.vd-verzeichnis__art {
  margin-top: 26px;
}

.vd-verzeichnis__seiten {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vd .vd-verzeichnis__seiten a {
  display: inline-block;
  min-width: 40px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--v-kachel);
  font-size: 13px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.vd .vd-verzeichnis__seiten a:hover {
  background: var(--f-firma-hell);
}

/* 500 Namen in Spalten, ohne Linien; lange Namen enden mit Auslassung. */
.vd-verzeichnis {
  margin-top: 18px;
  columns: 3 260px;
  column-gap: 32px;
  font-size: 14px;
  line-height: 1.5;
}

.vd-verzeichnis li {
  break-inside: avoid;
  padding: 3px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-verzeichnis__blaettern {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.vd-verzeichnis__blaettern a {
  color: var(--f-firma);
}

/* ------------------------------------------------ Ausschreibungen (26.09.2026) */

.vd-ausschreibungen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vd-ausschreibung {
  min-width: 0;
}

/* Umbrechen statt quetschen (30.09.2026): in der schmalen Seitenleiste eines Profils stand der Titel
   sonst neben der Frist in einer Spalte von ein paar Buchstaben; so rutscht die Frist darunter. */
.vd-ausschreibung__kopf {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}

.vd-ausschreibung__titel {
  flex: 1 1 18em;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

.vd-ausschreibung__frist {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--f-buero);
  white-space: nowrap;
}

.vd-ausschreibung__neben {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--v-text-3);
}

.vd-blaettern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13.5px;
}

.vd-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.vd .vd-aktionen .vd-knopf {
  width: auto;
}

.vd-fabrikate-lv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.vd-fabrikate-lv li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}

.vd-fabrikate-lv .neben {
  font-size: 12.5px;
  color: var(--v-text-3);
}

@media (max-width: 720px) {
  .vd-ausschreibung__kopf {
    flex-direction: column;
    gap: 2px;
  }

  /* In der Spalte waere die Grundbreite 18em eine Hoehe: rund 250 px Leerraum unter jedem Titel (Persona-Test 02.10.2026). */
  .vd-ausschreibung__titel {
    flex: none;
  }
}

/* ------------------------------------------------- Suchauftrag (26.09.2026) */

.vd-suchauftrag {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.vd-suchauftrag label > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--v-text-2);
  margin-bottom: 3px;
}

.vd-suchauftrag input[type="email"],
.vd-suchauftrag select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--v-linie);
  border-radius: var(--v-radius-klein);
  background: #fff;
  font: inherit;
  color: var(--v-text);
}

.vd-suchauftrag__wahl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

/*
 * Das eine Feld neben den Unterlagen (05.10.2026, `SchnellAlarm`): eine getoente Kachel im Kopf der
 * Ausschreibung, Frage, Mailadresse und Knopf in einer Zeile (seit 07.10.2026 abends ohne Satz darunter).
 */
.vd-schnellalarm {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--v-radius-klein);
  background: var(--f-fabrikat-hell);
  max-width: 640px;
}

.vd-schnellalarm__frage {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--v-text);
}

.vd-schnellalarm__zeile {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.vd-schnellalarm input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--v-radius-klein);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--v-text);
}

.vd-schnellalarm input[type="email"]:focus {
  outline: 2px solid var(--f-fabrikat);
  outline-offset: 0;
}

.vd .vd-schnellalarm .vd-knopf {
  flex: none;
}

@media (pointer: coarse) {
  .vd-schnellalarm input[type="email"] {
    font-size: 16px;
  }
}

/* "Mit Google abonnieren" in festen Feldern (components/google-knopf.tsx `GoogleAlarmFormular`). */
.vd .vd-google-alarm button.ka-google {
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.vd .vd-google-alarm__oder {
  margin: 12px 0 10px;
}

/* Im Feld neben den Unterlagen: Google, "oder", Mailadresse und Knopf in einer Zeile; auf dem Telefon untereinander. */
.vd-schnellalarm__zeile {
  flex-wrap: wrap;
  align-items: center;
}

.vd .vd-schnellalarm .vd-google-alarm {
  flex: none;
}

.vd .vd-schnellalarm .vd-google-alarm button.ka-google {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14.5px;
  background: #fff;
}

.vd .vd-schnellalarm .vd-google-alarm button.ka-google:hover {
  background: #f3f0fb;
}

.vd-schnellalarm__oder {
  flex: none;
  color: var(--v-text-2, #536164);
  font-size: 13px;
}

.vd-schnellalarm__mail {
  display: flex;
  flex: 1 1 260px;
  gap: 8px;
  min-width: 0;
}

@media (max-width: 560px) {
  .vd .vd-schnellalarm .vd-google-alarm {
    flex: 1 1 100%;
  }

  .vd-schnellalarm__oder {
    flex: 1 1 100%;
    text-align: center;
  }
}

.vd-falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* --------------------------------------------------------- Kontobereich (30.09.2026) */
/* Links die Bereiche, rechts die Tafeln; auf dem Telefon die Bereiche als Zeile oben. */

.vd-konto {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.vd-konto__nav {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--v-flaeche);
  border-radius: var(--v-radius);
}

.vd-konto__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--v-radius-klein);
  color: var(--v-text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.vd-konto__nav a:hover {
  background: var(--v-kachel);
  text-decoration: none;
}

.vd-konto__nav a span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--v-kachel);
  color: var(--v-text-2);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.vd-konto__inhalt > .vd-tafel + .vd-tafel {
  margin-top: 16px;
}

.vd-konto__teil {
  scroll-margin-top: 16px;
}

.vd-konto__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.vd-konto__kopf h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vd-konto__wer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 10px;
  color: var(--v-text-2);
  font-size: 15px;
}

.vd-konto__oben .vd-meldung {
  margin-top: 14px;
  max-width: 72ch;
}

.vd-konto__anmelden {
  margin-top: 12px;
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-konto__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.vd-konto__knoepfe .vd-knopf {
  width: auto;
}

.vd-konto__daten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.vd-konto__daten > div {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--v-kachel);
}

.vd-konto__daten dt {
  font-size: 12.5px;
  color: var(--v-text-3);
}

.vd-konto__daten dd {
  margin: 2px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.vd-konto__formular {
  margin-top: 18px;
  padding: 18px;
  border-radius: 10px;
  background: var(--v-kachel);
}

.vd-konto__formular h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vd-plan {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--v-kachel);
  color: var(--v-text-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.vd-plan--pro {
  background: var(--f-fabrikat-hell);
  color: #4a2a86;
}

.vd-plan--test {
  background: var(--f-buero-hell);
  color: var(--f-buero-text);
}

.vd-meldung {
  padding: 12px 14px;
  border-radius: var(--v-radius-klein);
  background: var(--f-buero-hell);
  color: var(--f-buero-text);
  font-size: 14.5px;
  line-height: 1.5;
}

.vd-meldung--warn {
  background: var(--f-warn-hell);
  color: var(--f-warn);
}

.vd-zaehler {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-text-3);
}

.vd-leerfeld {
  margin-top: 12px;
  padding: 16px;
  border-radius: 10px;
  background: var(--v-kachel);
  color: var(--v-text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.vd-alarme {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vd-alarm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--v-kachel);
}

.vd-alarm__art {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v-text-3);
}

.vd-alarm__titel {
  margin-top: 2px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--v-text);
  overflow-wrap: anywhere;
}

.vd-alarm__neben {
  margin-top: 3px;
  font-size: 13px;
  color: var(--v-text-2);
}

.vd-alarm__aktionen {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.vd .vd-alarm__aus {
  border: 0;
  padding: 0;
  background: none;
  color: var(--v-text-2);
  font: inherit;
  cursor: pointer;
}

.vd .vd-alarm__aus:hover {
  color: var(--f-warn);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .vd-konto {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-konto__nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .vd-alarm {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Das Angebot von Pro im Konto ohne Abo, und der Knopf zur Kasse mit dem Hinweis darunter. */
.vd-pro-angebot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  margin-top: 10px;
  padding: 20px;
  border-radius: 10px;
  background: var(--f-fabrikat-hell);
}

.vd-pro-angebot h3 {
  font-size: 17px;
  font-weight: 700;
  color: #4a2a86;
  margin-bottom: 6px;
}

.vd-pro-angebot p {
  line-height: 1.55;
}

.vd-pro-angebot__preis {
  margin-bottom: 10px;
  color: var(--v-text-2);
}

.vd-pro-angebot__preis b {
  font-size: 26px;
  color: var(--v-text);
  letter-spacing: -0.02em;
}

.vd-kasse .vd-knopf {
  width: 100%;
}

.vd-kasse__fuss {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--v-text-2);
}

@media (max-width: 700px) {
  .vd-pro-angebot {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------- Kaufseite /pro (30.09.2026, ein Plan, Test) */

.vd-preise__oben {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.vd-preise__zahlen {
  margin-top: 18px;
  font-size: 14px;
  color: var(--v-text-3);
}

.vd-plankarte {
  margin-top: 30px;
  padding: 26px 24px 24px;
  border-radius: var(--v-radius);
  background: linear-gradient(165deg, #1b2c30 0%, #0f181a 100%);
  color: #fff;
}

.vd-plankarte__fuer {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 600;
}

.vd-plankarte__name {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 650;
}

.vd-plankarte__preis {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.vd-plankarte__preis b {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vd-plankarte__preis span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.vd-plankarte__test {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #7fd3dd;
}

.vd-plankarte__kasse {
  margin-top: 18px;
}

.vd-plankarte__kasse .vd-knopf {
  width: 100%;
  padding: 13px 18px;
  font-size: 15.5px;
}

.vd-plankarte__b2b {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.vd-plankarte__klein {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.vd-plankarte__klein li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.vd-plankarte__klein .vd-haken {
  margin-top: 1px;
  color: #7fd3dd;
}

.vd-plankarte__stand {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.vd-plankarte__kunde {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

.vd .vd-plankarte__kunde a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vd-preise__schritte {
  margin-top: 28px;
  padding: 26px 26px 28px;
  border-radius: var(--v-radius);
  background: var(--v-flaeche);
}

.vd-preise__schritte h2,
.vd-was h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vd-preise__schritte ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vd-preise__schritte li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.vd-preise__nummer {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--f-fabrikat-hell);
  color: #4a2a86;
  font-weight: 700;
}

.vd-preise__schritte h3,
.vd-was h3 {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vd-preise__schritte p,
.vd-was p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--v-text-2);
}

.vd-was {
  margin-top: 28px;
  padding: 0 4px;
}

.vd-was ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.vd-was li {
  padding: 20px;
  border-radius: var(--v-radius);
  background: var(--v-flaeche);
}

.vd-was__zeichen {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  color: var(--f-fabrikat);
}

@media (max-width: 960px) {
  .vd-preise__oben {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-plankarte {
    margin-top: 0;
    max-width: 480px;
  }

  .vd-preise__schritte ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Einfuehrungsangebot auf der Karte (30.09.2026): Plakette, Preis mit dem regulaeren durchgestrichen. */
.vd-plankarte__angebot {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #7fd3dd;
  color: #0f181a;
  font-size: 12.5px;
  font-weight: 700;
}

.vd-plankarte__statt {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.vd-plankarte__zeit {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
/* Der Preis mit Umsatzsteuer (seit 05.10.2026, auch fuer Verbraucher): gut sichtbar, nicht als Fussnote. */
.vd-plankarte__brutto {
  font-size: 16px;
  font-weight: 650;
  color: #fff;
}

/* ---------------------------------------------- Einstieg "Kostenlose Auswahl" (30.09.2026, components/einstieg.tsx) */

.vd .vd-knopf--dunkel {
  background: #111a1c;
  color: #fff;
}

.vd .vd-knopf--dunkel:hover {
  background: #26363a;
  color: #fff;
}

.vd button.vd-knopf:disabled {
  background: #a9b3b5;
  color: #fff;
  cursor: default;
}

/* Das Fenster: dunkler Schleier, eine weisse Flaeche in der Mitte; auf dem Telefon ein Blatt von unten. */
.vd-fenster {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 26, 28, 0.55);
  animation: vd-fenster-ein 0.18s ease-out;
}

.vd-fenster__karte {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 30px 30px 26px;
  border-radius: var(--v-radius);
  background: var(--v-flaeche);
  box-shadow: 0 24px 60px rgba(17, 26, 28, 0.28);
  outline: none;
}

.vd-fenster__zu {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--v-text-3);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vd-fenster__zu:hover {
  background: var(--v-kachel);
  color: var(--v-text);
}

.vd-fenster__marke {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
  font-size: 12.5px;
  font-weight: 600;
}

.vd-fenster__frage h2 {
  margin-top: 12px;
  padding-right: 28px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.vd-fenster__frage > p:not(.vd-fenster__marke) {
  margin-top: 12px;
  color: var(--v-text-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.vd-fenster__zahl {
  margin-top: 12px;
  color: var(--v-text);
  font-size: 15.5px;
}

.vd-fenster__zahl b {
  color: var(--f-firma);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.vd-fenster__knoepfe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.vd-fenster__knoepfe .vd-knopf {
  padding: 13px 18px;
  font-size: 15px;
}

@keyframes vd-fenster-ein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-fenster {
    animation: none;
  }
}

@media (max-width: 640px) {
  .vd-fenster {
    align-items: flex-end;
    padding: 0;
  }

  .vd-fenster__karte {
    max-width: none;
    max-height: 92vh;
    padding: 24px 18px 20px;
    border-radius: 12px 12px 0 0;
  }

  .vd-fenster__frage h2 {
    font-size: 21px;
  }
}

/*
 * Die Frage auf Geraeten mit Touch (pointer: coarse, auch Telefone quer und Tablets) ist ein schmales
 * Band am unteren Rand: kein Schleier, die Seite bleibt lesbar und rollt (Gegencheck 30.09.2026, Googles
 * Hinweise zu aufdringlichen Interstitials). Die Klasse setzt das Fenster; die Breite spielt keine Rolle.
 */
.vd-fenster--band {
  align-items: flex-end;
  padding: 0;
  background: transparent;
  pointer-events: none;
  animation: none;
}

.vd-fenster--band .vd-fenster__karte {
  max-width: none;
  pointer-events: auto;
  padding: 12px 16px 12px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 34px rgba(17, 26, 28, 0.22);
}

.vd-fenster--band .vd-fenster__zu {
  top: 4px;
  right: 6px;
}

.vd-fenster--band .vd-fenster__marke,
.vd-fenster--band .vd-fenster__frage > p:not(.vd-fenster__zahl) {
  display: none;
}

.vd-fenster--band .vd-fenster__frage h2 {
  margin-top: 0;
  padding-right: 34px;
  font-size: 15px;
  line-height: 1.3;
}

.vd-fenster--band .vd-fenster__zahl {
  margin-top: 2px;
  font-size: 13px;
}

.vd-fenster--band .vd-fenster__zahl b {
  font-size: 14px;
}

.vd-fenster--band .vd-fenster__knoepfe {
  flex-direction: row;
  margin-top: 10px;
}

.vd-fenster--band .vd-fenster__knoepfe .vd-knopf {
  padding: 8px 12px;
  font-size: 14px;
}

/* Kleine oder quer gehaltene Telefone: nur Frage und Knoepfe, die Zahl kommt im naechsten Schritt. */
@media (max-height: 700px), (max-width: 380px) {
  .vd-fenster--band .vd-fenster__zahl {
    display: none;
  }

  .vd-fenster--band .vd-fenster__frage h2 {
    font-size: 14px;
  }

  .vd-fenster--band .vd-fenster__knoepfe {
    margin-top: 8px;
  }
}

.vd-fenster--band .vd-fenster__knoepfe .vd-knopf--dunkel {
  flex: 2;
}

.vd-fenster--band .vd-fenster__knoepfe .vd-knopf:not(.vd-knopf--dunkel) {
  flex: 1;
}

/* Das Formular in zwei Schritten und dem Dank, im Fenster und auf /auswahl. */
.vd-auswahl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.vd-auswahl__stufe {
  color: var(--v-text-3);
  font-size: 12.5px;
  font-weight: 600;
}

.vd-auswahl__titel {
  margin-top: -8px;
  padding-right: 28px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.vd-auswahl__wahl,
.vd-auswahl__felder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.vd-auswahl__breit {
  grid-column: 1 / -1;
}

.vd-auswahl label > span {
  display: block;
  margin-bottom: 4px;
  color: var(--v-text-2);
  font-size: 12px;
  font-weight: 600;
}

.vd-auswahl input[type="text"],
.vd-auswahl input[type="email"],
.vd-auswahl input[type="tel"],
.vd-auswahl select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--v-linie);
  border-radius: var(--v-radius-klein);
  background: #fff;
  color: var(--v-text);
  font: inherit;
}

.vd-auswahl__zahl {
  padding: 16px 18px;
  border-radius: var(--v-radius-klein);
  background: var(--v-kachel);
}

.vd-auswahl__zahl b {
  display: block;
  color: var(--f-firma);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.15s ease;
}

.vd-auswahl__zahl b.vd-auswahl__alt {
  opacity: 0.35;
}

.vd-auswahl__zahl > p {
  margin-top: 4px;
  color: var(--v-text-2);
}

.vd-auswahl__beispiele {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.vd-auswahl__beispiele li {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.vd-auswahl__beispiele li span {
  display: block;
  color: var(--v-text-3);
  font-size: 12.5px;
  font-weight: 400;
}

.vd-auswahl__kurz {
  color: var(--v-text-2);
}

.vd-auswahl__zurueck {
  padding: 0;
  border: 0;
  background: none;
  color: var(--f-firma);
  font: inherit;
  cursor: pointer;
}

.vd-auswahl__zurueck:hover {
  text-decoration: underline;
}

.vd-auswahl__haken {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--v-text-2);
  font-size: 13px;
  line-height: 1.45;
}

.vd-auswahl__haken input {
  flex: none;
  margin-top: 3px;
}

.vd-auswahl__klein {
  color: var(--v-text-3);
  font-size: 12px;
  line-height: 1.5;
}

.vd-auswahl__klein a {
  text-decoration: underline;
}

.vd-auswahl__fehler {
  padding: 9px 12px;
  border-radius: var(--v-radius-klein);
  background: var(--f-warn-hell);
  color: var(--f-warn);
  font-size: 13px;
}

.vd-auswahl .vd-knopf {
  padding: 13px 18px;
  font-size: 15px;
}

@media (max-width: 520px) {
  .vd-auswahl__wahl,
  .vd-auswahl__felder {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Die Seite /auswahl: links, was man bekommt, rechts das Formular (wie bei ibau, aber als Flaechen). */
.vd-auswahlseite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 32px;
  align-items: start;
  margin-top: 18px;
}

.vd-auswahlseite__text h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vd-auswahlseite__text > p {
  margin-top: 14px;
  color: var(--v-text-2);
  font-size: 16px;
  line-height: 1.6;
}

.vd-auswahlseite__punkte {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.vd-auswahlseite__punkte li {
  padding: 14px 16px;
  border-radius: var(--v-radius-klein);
  background: var(--v-flaeche);
  font-size: 14.5px;
  line-height: 1.5;
}

.vd-auswahlseite__punkte li b {
  display: block;
}

.vd-auswahlseite__punkte li span {
  color: var(--v-text-2);
}

.vd-auswahlseite__formular {
  padding: 26px 26px 24px;
  border-radius: var(--v-radius);
  background: var(--v-flaeche);
}

@media (max-width: 860px) {
  .vd-auswahlseite {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-auswahlseite__text h1 {
    font-size: 27px;
  }
}

/* Das Band auf der Startseite und ueber den Listen, das zur Auswahl fuehrt. */
.vd-auswahlband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--v-radius);
  background: linear-gradient(165deg, #1b2c30 0%, #0f181a 100%);
  color: #fff;
}

.vd-auswahlband b {
  display: block;
  font-size: 17px;
}

.vd-auswahlband span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.vd .vd-auswahlband .vd-knopf {
  width: auto;
  background: #fff;
  color: var(--v-text);
}

.vd .vd-auswahlband .vd-knopf:hover {
  background: #d9f0f3;
}

/* ------------------------------------------- Ansprechpartner (Pro, 01.10.2026) */

.vd-personen {
  display: grid;
  gap: 8px;
}

.vd-personen__liste {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vd-person {
  display: grid;
  gap: 1px;
  padding: 8px 10px;
  border-radius: var(--v-radius-klein);
  background: var(--v-kachel);
  font-size: 13px;
  line-height: 1.45;
}

.vd-person__name {
  font-weight: 600;
  color: var(--v-text);
}

.vd-person__rolle {
  color: var(--v-text-2);
  font-size: 12.5px;
}

.vd-person__wege {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.vd-person__wege a {
  overflow-wrap: anywhere;
}

.vd .vd-person__quelle {
  color: var(--v-text-3);
}

.vd-personen__mehr,
.vd-personen__zentrale {
  margin: 0;
  font-size: 12.5px;
  color: var(--v-text-2);
}

.vd-personen__fuss {
  margin: 0;
  font-size: 11.5px;
  color: var(--v-text-3);
  line-height: 1.45;
}

/* Der Weg zum kostenlosen Konto (drei Stufen, 01.10.2026): in Sperren und unter dem Anriss als Link erkennbar. */
.vd .vd-sperre--konto .vd-sperre__karte a,
.vd .vd-kontolink {
  color: var(--f-firma);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------- Merkliste an der Seite (02.10.2026) */
/* Stern, Status, Zuständig, Wiedervorlage und Notiz auf Ausschreibungs- und Projektseiten (components/xplorer/merken.tsx `MerkArbeit`). */

.vm {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--v-radius-klein);
  background: var(--v-kachel);
  font-size: 13px;
}

.vm__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
}

.vm__stern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px 4px 9px;
  border: 0;
  border-radius: 6px;
  background: var(--v-flaeche);
  box-shadow: inset 0 0 0 1px #d5dee1;
  color: var(--v-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.vm__stern svg {
  color: #a9b6ba;
}

.vm__stern[aria-pressed="true"] svg {
  color: #c98f0a;
}

.vm__stern:disabled {
  cursor: default;
  opacity: 0.7;
}

.vm__feld {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.vm__feld label {
  color: var(--v-text-3);
  font-size: 11.5px;
}

.vm__wahl {
  min-width: 9.5rem;
  max-width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: var(--v-flaeche);
  box-shadow: inset 0 0 0 1px #d5dee1;
  color: var(--v-text);
  font: inherit;
}

.vm__wahl--zu-pruefen {
  box-shadow: inset 3px 0 0 #2b5f80, inset 0 0 0 1px #d5dee1;
}

.vm__wahl--in-bearbeitung {
  box-shadow: inset 3px 0 0 #9a5f2b, inset 0 0 0 1px #d5dee1;
}

.vm__wahl--abgegeben {
  box-shadow: inset 3px 0 0 #5b4a8b, inset 0 0 0 1px #d5dee1;
}

.vm__wahl--gewonnen {
  box-shadow: inset 3px 0 0 #2e6f58, inset 0 0 0 1px #d5dee1;
}

.vm__wahl--verloren {
  box-shadow: inset 3px 0 0 #a3413a, inset 0 0 0 1px #d5dee1;
}

.vm__wahl--faellig {
  box-shadow: inset 0 0 0 1.5px var(--f-warn);
}

.vm__marke {
  display: inline-block;
  min-height: 32px;
  padding: 6px 0;
  font-weight: 600;
}

.vm__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--f-firma);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.vm__zur {
  align-self: center;
  margin-left: auto;
}

.vm__notiz {
  display: grid;
  gap: 4px;
}

.vm__notiz label {
  color: var(--v-text-3);
  font-size: 11.5px;
}

.vm__notiz textarea {
  width: 100%;
  max-width: 720px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--v-flaeche);
  box-shadow: inset 0 0 0 1px #d5dee1;
  color: var(--v-text);
  font: inherit;
  resize: vertical;
}

.vm__notiz-text {
  margin: 0;
  max-width: 720px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--v-flaeche);
  white-space: pre-wrap;
}

.vm__knoepfe {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vm__sichern {
  padding: 5px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--f-firma);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.vm__leise,
.vm__fuss {
  color: var(--v-text-3);
  font-size: 11.5px;
}

.vm__fuss {
  margin: 0;
}

@media (max-width: 560px) {
  .vm__zeile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .vm__stern,
  .vm__zur {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
  }

  .vm__wahl {
    width: 100%;
    min-width: 0;
  }
}

/*
 * iOS Safari zoomt beim Antippen in jedes Feld unter 16 px Schrift. Die Kostenlose Auswahl und der
 * Suchauftrag standen auf 14 px (04.10.2026: im Band unten sprang die Seite beim ersten Feld weg);
 * auf Touch-Geraeten darum 16 px wie Suchkasten und Anmelde-Fenster.
 */
@media (pointer: coarse) {
  .vd-auswahl input[type="text"],
  .vd-auswahl input[type="email"],
  .vd-auswahl input[type="tel"],
  .vd-auswahl select,
  .vd-suchauftrag input[type="email"],
  .vd-suchauftrag select {
    font-size: 16px;
  }
}

/* "Verträge hier kündigen" (/kuendigen, § 312k BGB, seit 05.10.2026): Formular wie beim Anmelden (ka-feld, ka-knopf). */
.vd-kuendigen {
  max-width: 560px;
  margin-top: 20px;
}
.vd-kuendigen__wahl {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.vd-kuendigen__wahl legend {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 620;
}
.vd-kuendigen__wahl label {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 15px;
}
.vd-kuendigen textarea {
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--v-kachel);
  color: var(--v-text);
  font: inherit;
  font-size: 15px;
}
.vd-kuendigen__fertig {
  max-width: 640px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: var(--v-kachel);
}
.vd-kuendigen__fertig ul {
  padding-left: 18px;
}
@media (pointer: coarse) {
  .vd-kuendigen textarea,
  .vd-kuendigen input {
    font-size: 16px;
  }
}
@media print {
  .vd-kuendigen__drucken,
  .vd-fuss,
  .vd-kopf {
    display: none;
  }
}

/*
 * Pausen-Fassung von Kontor Data (seit 20.11.2026): die wenigen Regeln, die
 * es zusaetzlich zu app/grund.css und app/daten.css braucht. bauen.mjs haengt
 * diese Datei hinten an public/pause.css an.
 */

/* Der Hinweis unter dem Stand: diese Seite wird gerade nicht aktualisiert. */
.vd .kp-hinweis {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 9px 14px;
  max-width: 72ch;
  border-radius: var(--v-radius-klein);
  background: var(--f-firma-hell);
  color: var(--f-firma-dunkel);
  font-size: 13.5px;
  line-height: 1.5;
}

.vd-text .kp-hinweis {
  margin-bottom: 4px;
}

/* Startseite und "nicht erreichbar": eine ruhige Flaeche in der Mitte. */
.vd-text.kp-start {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 38px 40px 34px;
}

.vd-text.kp-start h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
}

.vd-text.kp-start h2 {
  margin-top: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--v-text-3);
}

.vd-text .kp-lead {
  font-size: 17px;
  line-height: 1.5;
  max-width: 58ch;
}

.vd-text .kp-pause {
  margin-top: 12px;
  max-width: 58ch;
  color: var(--v-text-2);
}

.vd-text .kp-liste {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.vd-text .kp-liste a {
  display: block;
  padding: 12px 16px 13px;
  border-radius: var(--v-radius-klein);
  background: var(--v-kachel);
  color: var(--v-text);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.vd-text .kp-liste a:hover {
  background: var(--f-firma-hell);
  text-decoration: none;
}

.vd-text .kp-liste strong {
  display: block;
  font-weight: 600;
  color: var(--f-firma-dunkel);
}

.vd-text .kp-liste span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--v-text-2);
}

.vd-text .kp-kontakt {
  margin-top: 26px;
  margin-bottom: 0;
}

.vd-text .kp-en {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13.5px;
  color: var(--v-text-3);
}

/* Der Fuss nennt zuletzt das Jahr, klein. */
.vd-fuss .kp-jahr {
  margin-top: 10px;
  font-size: 12.5px;
}

@media (max-width: 720px) {
  .vd-text.kp-start {
    margin-top: 16px;
    padding: 26px 20px 24px;
  }
  .vd-fuss__links {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}
