/*
 * Deutsche Mittelstandsschutz GmbH – Entwurf.
 * Familie der Verbandsseite (Richtung A: dunkle Bühne, Swiss, Archivo mit Breitenachse), als Unternehmen gesetzt:
 * Produkt und Preis vorn. Ein Motiv trägt alles: der Schalter aus dem D von DMSV (Stadionform, Knopf rechts = an).
 * Farben aus dem Logo von nullacht14: Schwarz #231f20, Rot #dd0000, Gold #ffcc00, Grün „Schutz aktiv“ #00a85a, Grau „inaktiv“ #a7a5a6.
 * Kein JavaScript: die Preisschalter auf der Startseite arbeiten mit :checked.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("schrift/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("schrift/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Logofarben */
  --logo-schwarz: #231f20;
  --logo-rot: #dd0000;
  --logo-gold: #ffcc00;
  --logo-gruen: #00a85a;
  --logo-grau: #a7a5a6;

  /* Satz dunkel (Bühne) */
  --d-grund: #231f20;
  --d-tief: #1a1718;
  --d-flaeche: #2f2a2b;
  --d-muster: #2b2627;
  --d-text: #f4f1ea;
  --d-leise: #c2bcb5;
  --d-gruen: #00a85a;
  --d-grau: #8f8c8d;

  /* Satz hell (Lesen) */
  --h-grund: #f6f5f3;
  --h-flaeche: #ebe8e3;
  --h-text: #231f20;
  --h-leise: #554f4b;
  --h-gruen: #007a43;
  --h-grau: #8a8788;
  --h-linie: #cfcac3;

  /* Schrift */
  --schrift: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --g-klein: 0.875rem;
  --g-text: 1.0625rem;
  --g-h3: 1.25rem;
  --g-h2: clamp(1.75rem, 1.15rem + 2.1vw, 3.25rem);
  --g-h1: clamp(2.25rem, 0.8rem + 4.6vw, 5.5rem);
  --g-zahl: clamp(3.25rem, 2rem + 4.6vw, 6rem);
  --weite-titel: 114%;

  /* Raster */
  --rand: clamp(1rem, 4.5vw, 5rem);
  --breite: 84rem;
  --mass: 64ch;
  --luft: clamp(5rem, 3rem + 8vw, 12rem);
  --innen: max(var(--rand), calc((100% - var(--breite)) / 2));

  /* Standard: dunkel */
  --grund: var(--d-grund);
  --flaeche: var(--d-flaeche);
  --text: var(--d-text);
  --leise: var(--d-leise);
  --an: var(--d-gruen);
  --aus: var(--d-grau);
  --linie: #4a4344;
}

/* Lesesatz für lange Texte */
.hell .lesen,
.satz-hell {
  --grund: var(--h-grund);
  --flaeche: var(--h-flaeche);
  --text: var(--h-text);
  --leise: var(--h-leise);
  --an: var(--h-gruen);
  --aus: var(--h-grau);
  --linie: var(--h-linie);
  background: var(--grund);
  color: var(--text);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--d-tief);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--d-grund);
  color: var(--d-text);
  font-family: var(--schrift);
  font-size: var(--g-text);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  hyphenate-limit-chars: 10 4 4;
}

body.hell { background: var(--h-grund); }

::selection { background: var(--logo-gold); color: #000; }

:focus-visible { outline: 3px solid var(--logo-gold); outline-offset: 3px; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 {
  font-stretch: var(--weite-titel);
  font-weight: 760;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
}
h1 { font-size: var(--g-h1); line-height: 1.02; letter-spacing: -0.03em; hyphens: manual; }
h2 { font-size: var(--g-h2); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: var(--g-h3); line-height: 1.25; letter-spacing: -0.005em; }
p { max-width: var(--mass); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }

svg { display: block; }
.nb { white-space: nowrap; }

.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden; /* taste-skill-ignore: nur für Vorleseprogramme */
  clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; left: var(--rand); top: -4rem; z-index: 10;
  background: var(--logo-gold); color: #000; padding: 0.5rem 1rem; font-weight: 700;
}
.sprung:focus { top: 0.5rem; }

.pfeil { width: 0.8em; height: 0.8em; display: inline-block; vertical-align: -0.05em; }

/* ---------------------------------------------------------------- Knopf: die Stadionform des Schalters */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--logo-gruen); color: #0d0b0c;
  font-weight: 700; font-stretch: 104%; text-decoration: none; text-align: center;
  line-height: 1.2;
  transition: background-color 120ms cubic-bezier(0.16, 1, 0.3, 1), color 120ms cubic-bezier(0.16, 1, 0.3, 1);
}
.knopf:hover { background: var(--d-text); color: var(--logo-schwarz); }
.satz-hell .knopf:hover, .hell .lesen .knopf:hover { background: var(--logo-schwarz); color: var(--d-text); }
.knopf-voll { width: 100%; }

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

.kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.25rem var(--innen);
  background: var(--d-grund); color: var(--d-text);
  position: relative; z-index: 2;
}
.marke-gmbh {
  display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0;
  text-decoration: none; color: var(--d-text);
}
.marke-zeichen { width: auto; height: 2.25rem; flex: none; }
.marke-name { font-weight: 700; font-stretch: 108%; font-size: 1.0625rem; line-height: 1.15; letter-spacing: -0.005em; }
.kopf-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.kopf-nav a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 0.375rem 0; display: inline-block; }
.kopf-nav a:hover, .kopf-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--logo-gold); }
.zum-verband { color: var(--d-leise); white-space: nowrap; }
.zum-verband:hover { color: var(--d-text); }

/* ---------------------------------------------------------------- Bühne der Startseite */

.buehne {
  position: relative; overflow: hidden;
  min-height: clamp(36rem, 86svh, 58rem);
  display: flex; align-items: center;
  padding: clamp(3rem, 6vw, 6rem) var(--innen) clamp(4rem, 8vw, 8rem);
  background: var(--d-grund);
}
.buehne-muster {
  position: absolute; top: 0; height: 100%;
  left: -16%; width: 172%;
  color: var(--d-muster);
  pointer-events: none;
}
/* Der Schalter in Posterformat: Bahn in Grün, Knopf rechts in der Farbe des Grundes = Schutz eingeschaltet */
.buehne-form {
  position: absolute; z-index: 1;
  width: min(44vw, 80vh); aspect-ratio: 2 / 1;
  right: var(--innen); top: 50%; transform: translateY(-50%);
  border-radius: 999px;
  background: var(--logo-gruen);
}
.buehne-knopf {
  position: absolute; top: 12%; bottom: 12%; right: 6%;
  aspect-ratio: 1; border-radius: 50%;
  background: var(--d-grund);
}
.buehne-text { position: relative; z-index: 2; max-width: min(46%, 40rem); }
.buehne h1 { margin-bottom: 1.75rem; }
.buehne-satz { font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.buehne-preis { margin-top: 2rem; font-size: var(--g-text); line-height: 1.4; }
.buehne-preis .zahl {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.03em; line-height: 1; margin-right: 0.25rem; font-variant-numeric: tabular-nums;
}
.buehne-preis-leise { color: var(--d-leise); font-size: var(--g-klein); }
.netto-hinweis { font-weight: 700; font-size: var(--g-text); }
.buehne .netto-hinweis { margin-top: 0.75rem; color: var(--d-text); }
.lesen > .netto-hinweis { margin-bottom: 1.5rem; }
.anbieter { font-size: var(--g-klein); color: var(--leise, var(--d-leise)); hyphens: manual; }
.pult .anbieter, .preis-mitglied .anbieter { color: var(--d-leise); }
.pult .anbieter { margin-bottom: 1rem; }
.buehne .anbieter { margin-top: 0.5rem; }
.buehne-handlung { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; max-width: none; }
.leise-link { font-weight: 600; }

/* ---------------------------------------------------------------- Paket: Bausteine und Preispult */

.paket {
  --grund: var(--h-grund); --flaeche: var(--h-flaeche); --text: var(--h-text); --leise: var(--h-leise);
  --an: var(--h-gruen); --aus: var(--h-grau); --linie: var(--h-linie);
  background: var(--grund); color: var(--text);
  padding: var(--luft) var(--innen);
}
.zustand { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; } /* taste-skill-ignore: unsichtbares Eingabefeld, keine Linie */
.paket-raster {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.paket h2 { margin-bottom: 1.25rem; }
.abschnitt-satz { color: var(--leise); margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.bausteine { list-style: none; padding: 0; display: grid; gap: 0; }
.baustein { padding: 2rem 0; }
.baustein + .baustein { border-top: 2px solid var(--flaeche); }
.baustein-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 0.75rem; }
.baustein p + p { margin-top: 0.75rem; }
.baustein-grenze { color: var(--leise); font-size: var(--g-klein); line-height: 1.55; }
.mehr { margin-top: 2rem; font-weight: 600; }

/* Statusmarke: Pille mit halbem D am rechten Ende (nach den Status-Marken von nullacht14) */
.status {
  --f: var(--an);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.5em;
  height: 2em; padding: 0 0.42em 0 0.95em;
  margin: 0.55em 0.6em 0.55em 0;
  color: var(--f);
  font-size: 0.875rem; font-weight: 700; font-stretch: 104%; white-space: nowrap; line-height: 1;
}
.status::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 0.23em solid var(--f); border-radius: 999px; background: var(--grund);
}
.status::after {
  content: ""; position: absolute; z-index: -2;
  top: -0.52em; bottom: -0.52em; right: -0.52em; width: 2.7em;
  border-radius: 0 999px 999px 0; background: var(--f);
}
.status-knopf { width: 1.07em; height: 1.07em; border-radius: 50%; background: var(--f); flex: none; }
.status-aus { --f: var(--aus); padding: 0 0.95em 0 0.42em; }

/* Bedienschalter des Pults */
.pult {
  position: sticky; top: 1.5rem;
  background: var(--logo-schwarz); color: var(--d-text);
  --grund: var(--logo-schwarz); --an: var(--d-gruen); --aus: var(--d-grau);
  border-radius: 1.75rem; padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.pult-schalter { display: grid; gap: 0.875rem; margin-bottom: 1.75rem; }
.schalter { display: flex; align-items: center; gap: 0.875rem; cursor: pointer; font-weight: 600; line-height: 1.3; }
.schalter-bahn {
  position: relative; flex: none;
  width: 3.25rem; height: 1.875rem; border-radius: 999px;
  border: 0.1875rem solid var(--aus); background: var(--logo-schwarz);
  transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.schalter-knopf {
  position: absolute; top: 50%; left: 0.1875rem; width: 1.125rem; height: 1.125rem;
  border-radius: 50%; background: var(--aus);
  transform: translateY(-50%);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
#s-mitglied:checked ~ .paket-raster label[for="s-mitglied"] .schalter-bahn,
#s-jahr:checked ~ .paket-raster label[for="s-jahr"] .schalter-bahn { border-color: var(--an); }
#s-mitglied:checked ~ .paket-raster label[for="s-mitglied"] .schalter-knopf,
#s-jahr:checked ~ .paket-raster label[for="s-jahr"] .schalter-knopf { transform: translate(1.375rem, -50%); background: var(--an); }
#s-mitglied:focus-visible ~ .paket-raster label[for="s-mitglied"] .schalter-bahn,
#s-jahr:focus-visible ~ .paket-raster label[for="s-jahr"] .schalter-bahn { outline: 3px solid var(--logo-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .schalter-bahn, .schalter-knopf { transition: none; }
}

.pult-preis { min-height: 1em; margin-bottom: 0.75rem; }
.pult-preis .fall { display: none; font-weight: 600; }
.pult-preis .zahl {
  display: block; font-size: var(--g-zahl); line-height: 1; font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin-bottom: 0.25rem;
}
#s-mitglied:checked ~ #s-jahr:not(:checked) ~ .paket-raster .f-m-mo,
#s-mitglied:checked ~ #s-jahr:checked ~ .paket-raster .f-m-ja,
#s-mitglied:not(:checked) ~ #s-jahr:not(:checked) ~ .paket-raster .f-l-mo,
#s-mitglied:not(:checked) ~ #s-jahr:checked ~ .paket-raster .f-l-ja { display: block; }

.pult-art { color: var(--d-leise); font-size: var(--g-klein); margin-bottom: 1.5rem; }
.pult-summe { background: var(--d-flaeche); border-radius: 1.25rem; padding: 1.25rem; }
.pult-summe p { font-size: var(--g-klein); margin-bottom: 0.75rem; }
.pult-summe strong { font-weight: 700; }
.pult-summe ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-bottom: 1.25rem; font-size: var(--g-klein); line-height: 1.4; }
.pult-summe li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.5rem; }
.pult-summe li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pult-hinweis { font-size: var(--g-klein); background: var(--d-flaeche); border-radius: 1.25rem; padding: 1.25rem; }
.pult-mehr { margin-top: 1.25rem; font-size: var(--g-klein); font-weight: 600; }

/* Zustände aus den beiden Schaltern */
#s-mitglied:not(:checked) ~ .paket-raster .wenn-mitglied { display: none; }
#s-mitglied:checked ~ .paket-raster .wenn-kein-mitglied { display: none; }
#s-jahr:checked ~ .paket-raster .fall-mo { display: none; }
#s-jahr:not(:checked) ~ .paket-raster .fall-ja { display: none; }
#s-mitglied:not(:checked) ~ .paket-raster .baustein-mitglied :is(h3, p) { color: var(--leise); }

/* ---------------------------------------------------------------- Rollen: Verband und GmbH */

.rollen { padding: var(--luft) var(--innen); background: var(--d-grund); }
.rollen h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.rollen-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rolle { padding: clamp(1.75rem, 3.5vw, 3.5rem); border-radius: 1.75rem; display: grid; align-content: start; gap: 1rem; }
.rolle-verband { background: var(--d-flaeche); }
.rolle-gmbh { background: var(--d-text); color: var(--logo-schwarz); }
.rolle h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); margin-bottom: 0.5rem; }
.pfeil-link { font-weight: 700; }
.rollen-fuss { margin-top: clamp(2rem, 4vw, 3rem); }
.rollen-satz { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; max-width: 52rem; }

/* ---------------------------------------------------------------- Band: der ganze Streifen ist der Link */

.band {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr;
  min-height: clamp(16rem, 42svh, 28rem);
  margin: 0 calc(var(--rand) * 0.5);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: clamp(2rem, 6vw, 6rem) clamp(2rem, 6vw, 6rem) 0 0;
  background: var(--logo-gruen); color: #0d0b0c; text-decoration: none;
  transition: background-color 120ms linear, color 120ms linear;
}
.band:hover, .band:focus-visible { background: var(--d-text); }
.band-satz { grid-column: 1; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 600; line-height: 1.4; max-width: 34rem; }
.band-pfeil { grid-column: 2; grid-row: 1; }
.band-pfeil .pfeil { width: clamp(2rem, 3vw, 3rem); height: clamp(2rem, 3vw, 3rem); }
.band-wort {
  grid-column: 1 / -1; align-self: end;
  font-size: 15vw; line-height: 0.82; font-weight: 800; font-stretch: 112%; letter-spacing: -0.045em;
  margin-left: -0.04em; white-space: nowrap;
}

/* ---------------------------------------------------------------- Seitenkopf der Inhaltsseiten */

.seitenkopf {
  background: var(--d-grund); color: var(--d-text);
  padding: clamp(3rem, 7vw, 7rem) var(--innen) clamp(3rem, 6vw, 6rem);
}
.seitenkopf-satz { margin-top: 1.5rem; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--d-leise); max-width: 44rem; }
.sprungliste { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sprungliste a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--d-flaeche); text-decoration: none; font-size: var(--g-klein); font-weight: 600;
}
.sprungliste a:hover { background: var(--logo-gruen); color: #0d0b0c; }

/* ---------------------------------------------------------------- Lesen */

.lesen { padding: clamp(3rem, 6vw, 6rem) var(--innen) var(--luft); }
.lesen > * + * { margin-top: clamp(4rem, 7vw, 7rem); }
.lesen p, .lesen dd, .lesen td, .lesen th, .baustein p, .rolle p { hyphens: auto; }
.lesen h2 { margin-bottom: 1.5rem; }
.lesen p + p { margin-top: 1rem; }

.lb-teil h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.lb-teil-name { display: block; margin-top: 0.5rem; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.25; }
.lb-vorspann { font-size: 1.125rem; margin-bottom: 1rem; }
.lb-baustein, .lb-bedingung { padding-top: 2.5rem; scroll-margin-top: 1rem; }
.lb-baustein h3, .lb-bedingung h3 { margin-bottom: 1.25rem; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.lb-kenn {
  display: inline-block; margin-right: 0.5rem; padding: 0.15em 0.6em; border-radius: 999px;
  background: var(--logo-schwarz); color: var(--d-text); font-size: 0.8em; font-stretch: 100%; vertical-align: 0.08em;
}
.lb-text { max-width: var(--mass); }
.lb-text p + p { margin-top: 1rem; }
.lb-quelle { color: var(--leise); font-size: var(--g-klein); }

.angaben { display: grid; gap: 0; }
.angaben > div { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: 0.25rem 2rem; padding: 1rem 0; }
.angaben > div + div { border-top: 2px solid var(--flaeche); }
.angaben dt { font-weight: 700; }
.angaben dd { max-width: var(--mass); }
.offen { color: var(--leise); font-style: italic; }

/* Preise */
.preistafel { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.preis-spalte { border-radius: 1.75rem; padding: clamp(1.75rem, 3.5vw, 3rem); display: grid; align-content: start; gap: 1rem; }
.preis-mitglied { background: var(--logo-schwarz); color: var(--d-text); }
.preis-liste { background: var(--flaeche); }
.preis-gross { font-weight: 600; }
.preis-gross .zahl {
  display: block; font-size: var(--g-zahl); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em;
  line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 0.25rem;
}
.preis-alt { font-size: 1.125rem; }
.lesen .preis-spalte p + p { margin-top: 0; }
.preis-spalte .knopf { justify-self: start; margin-top: 0.5rem; }
.preis-mitglied .knopf:hover { background: var(--d-text); color: var(--logo-schwarz); }
.preis-hinweis { color: var(--leise); font-size: var(--g-klein); }

.balken { display: flex; gap: 0.375rem; margin: 2rem 0; min-height: 7rem; }
.balken-teil { flex-basis: 0; display: grid; align-content: space-between; gap: 0.5rem; padding: 1rem 1.25rem; border-radius: 1.25rem; font-size: var(--g-klein); line-height: 1.35; min-width: 0; }
.balken-zahl { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.balken-verband { background: var(--h-flaeche); color: var(--h-text); }
.balken-gmbh { background: var(--logo-gruen); color: #0d0b0c; border-radius: 1.25rem 999px 999px 1.25rem; }

.tabelle { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-variant-numeric: tabular-nums; }
.tabelle th, .tabelle td { text-align: left; padding: 0.875rem 1rem 0.875rem 0; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { font-size: var(--g-klein); color: var(--leise); font-weight: 600; border-bottom: 2px solid var(--text); }
.tabelle tbody th { font-weight: 600; }
.tabelle tfoot th, .tabelle tfoot td { font-weight: 800; border-bottom: 0; }
.tabelle .z { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 1rem; }

/* ---------------------------------------------------------------- Fuß */

.fuss { background: var(--d-tief); color: var(--d-text); padding: clamp(3rem, 6vw, 6rem) var(--innen) 2rem; }
.fuss-zeichen { color: #3b3536; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fuss-marke { height: clamp(6rem, 3rem + 14vw, 20rem); width: auto; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; font-size: 0.9375rem; line-height: 1.55; }
.fuss-absender p + p { margin-top: 0.75rem; color: var(--d-leise); }
.fuss-name, .fuss-titel { font-weight: 700; font-stretch: 108%; }
.fuss-titel { margin-bottom: 0.5rem; }
.fuss-verband-satz { margin: 0.25rem 0 0.75rem; color: var(--d-leise); }
.fuss ul { list-style: none; padding: 0; display: grid; gap: 0.25rem; }
.fuss ul a { text-decoration: none; color: var(--d-leise); }
.fuss ul a:hover { color: var(--d-text); text-decoration: underline; }
.fuss-linie { display: flex; height: 0.3125rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.fuss-linie span { flex: 0 0 5rem; }
.fuss-linie span:nth-child(1) { background: #000; }
.fuss-linie span:nth-child(2) { background: var(--logo-rot); }
.fuss-linie span:nth-child(3) { background: var(--logo-gold); }
.fuss-zeile { margin-top: 1rem; font-size: var(--g-klein); color: var(--d-leise); }

/* ---------------------------------------------------------------- Schmal */

@media (max-width: 960px) {
  .paket-raster { grid-template-columns: minmax(0, 1fr); }
  .pult { position: static; }
  .rollen-raster, .preistafel { grid-template-columns: minmax(0, 1fr); }
  .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-absender { grid-column: 1 / -1; }
  .buehne-form { width: 34vw; }
  .buehne-text { max-width: 58%; }
}

@media (max-width: 720px) {
  .kopf { padding-top: 1rem; padding-bottom: 1rem; }
  .marke-zeichen { height: 1.875rem; }
  .marke-name { font-size: 0.9375rem; }
  .marke-name .nb { display: block; }
  .kopf-nav { width: 100%; }
  .kopf-nav ul { gap: 0 1.25rem; }
  .kopf-nav li:last-child { flex-basis: 100%; }
  .kopf-nav a { font-size: 0.875rem; padding: 0.25rem 0; }
  h1 { font-size: min(2.25rem, 9vw); }

  .buehne {
    min-height: 0; display: block;
    padding-top: 2.5rem; padding-bottom: calc(52vw + 3rem);
  }
  .buehne-text { max-width: none; }
  .buehne-form {
    width: 118vw; top: auto; bottom: -4vw; transform: none;
    right: -2vw;
  }
  .buehne-muster { left: 0; width: 100%; top: auto; bottom: 0; height: 120vw; }

  .angaben > div { grid-template-columns: minmax(0, 1fr); }
  .balken { flex-direction: column; }
  .balken-teil { flex-grow: 0 !important; }
  .balken-gmbh { border-radius: 1.25rem 1.25rem 3rem 1.25rem; }
  .tabelle th, .tabelle td { padding-right: 0.5rem; font-size: 0.9375rem; }
  .tabelle .z { padding-left: 0.5rem; }
  .fuss-verband { grid-column: 1 / -1; }
  .band { margin: 0; border-radius: 2.5rem 2.5rem 0 0; min-height: 20rem; }
  .band-wort { font-size: 17.5vw; }
}
