@charset "UTF-8";
/* ==========================================================================
   Sauer Dachdeckerei & Spenglerei GmbH — Stylesheet
   --------------------------------------------------------------------------
   Design-System: abgeleitet aus "Vodafone" der TheFold Design-Bibliothek
   (/var/www/open-design/design-systems/vodafone) — eine einzige, kompromisslos
   gefuehrte Markenfarbe, monumentale Versal-Display-Typografie, rote Baender
   als Kapitelwechsel, dokumentarische Fotografie, anthrazitfarbene
   Institutionsflaechen, klinisch kleine Radien, so gut wie keine Schatten.
   Markenrot aus dem Logo gemessen: #F22F29.

   Reihenfolge: 1 Tokens · 2 Reset · 3 Typografie · 4 Layout · 5 Komponenten
   · 6 Sektionen · 7 Formular · 8 Utilities · 9 Motion/Print
   ========================================================================== */

/* ==========================================================================
   1 — TOKENS  (Single Source of Truth: kein Farb- oder Massewert ausserhalb)
   ========================================================================== */
:root {
  /* --- Farbe: Markenrot -------------------------------------------------
     Schema: monochromatisch-rot als Markenkern + ein split-komplementaerer
     Zinkton (~197°). Der Zinkton ist nicht dekorativ gewaehlt, sondern das
     Material der Spenglerei — Zinkblech. Er traegt ausschliesslich
     informative Elemente (Normen, Materialangaben, Fokusring), nie Aktionen.
     Aktionsfarbe ist und bleibt Rot.                                      */
  --red-50:  #fff3f2;
  --red-100: #ffe1df;
  --red-200: #fdbeba;
  --red-300: #fa918b;
  --red-400: #f6605a;
  --red-500: #f22f29;   /* Markenrot: Logo, Baender, grosse Flaechen        */
  --red-600: #d81f1a;   /* Fuellung mit weisser Schrift — Kontrast 5.07:1   */
  --red-700: #b41b17;   /* Hover, roter Text auf Weiss — Kontrast 6.75:1    */
  --red-800: #8c1512;
  --red-900: #5c0e0c;

  /* --- Farbe: Neutrale, warm zur Marke getoent (Hue ~15°, sehr geringe
         Saettigung). Reines Grau wirkt neben dem warmen Rot kalt.          */
  --ink-950: #120f0e;
  --ink-900: #1c1817;   /* Hauptdunkelflaeche: Fuss, Fakten-Paneel — 17.6:1 */
  --ink-800: #2b2523;
  --ink-700: #453d3a;
  --ink-600: #5e5450;
  --ink-500: #736864;   /* sekundaerer Fliesstext: 5.39:1 auf Weiss, 4.97:1
                           auf --ink-50, 4.56:1 auf --ink-100 — haelt 4.5:1
                           auf allen drei hellen Flaechen ein             */
  --ink-400: #a2968f;
  --ink-300: #c9bfb9;
  --ink-200: #e2dbd7;
  --ink-100: #f0ebe8;
  --ink-50:  #f8f5f3;
  --paper:   #ffffff;

  /* --- Farbe: Zink (Stuetzton, split-komplementaer) --------------------- */
  --zinc-100: #e8eff2;
  --zinc-500: #3d6b7d;  /* auf Weiss — Kontrast 5.77:1                      */
  --zinc-300: #8fb2be;  /* nur auf Anthrazit                                */

  /* --- Rollen ----------------------------------------------------------- */
  --c-bg:        var(--paper);
  --c-text:      var(--ink-900);
  --c-text-soft: var(--ink-500);
  --c-line:      var(--ink-200);
  --c-line-soft: var(--ink-100);
  --c-action:    var(--red-600);
  --c-brand:     var(--red-500);
  --c-dark:      var(--ink-900);

  /* --- Typografie ------------------------------------------------------- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Modulare Skala, Ratio 1.25 (grosse Terz), Basis 17px */
  --step--2: 0.68rem;    /* 10.9px — Mikrolabel                             */
  --step--1: 0.85rem;    /* 13.6px — Caption, Eyebrow                       */
  --step-0:  1.0625rem;  /* 17px   — Fliesstext                             */
  --step-1:  1.328rem;   /* 21.3px — Lead                                   */
  --step-2:  1.66rem;    /* 26.6px — H4                                     */
  --step-3:  2.076rem;   /* 33.2px — H3                                     */
  --step-4:  2.594rem;   /* 41.5px — H2                                     */
  --step-5:  3.243rem;   /* 51.9px                                          */
  --step-6:  4.054rem;   /* 64.9px                                          */

  /* Fluide Display-Stufen: monumental oben, ruhig unten */
  --fs-display: clamp(2.594rem, 1.35rem + 5.4vw, 5.0rem);
  --fs-h1:      clamp(2.076rem, 1.35rem + 3.2vw, 3.6rem);
  --fs-h2:      clamp(1.66rem, 1.24rem + 1.85vw, 2.594rem);
  --fs-h3:      clamp(1.328rem, 1.14rem + 0.82vw, 1.75rem);

  --lh-display: 0.92;
  --lh-tight:   1.08;
  --lh-head:    1.16;
  --lh-body:    1.62;

  --track-display: -0.022em;  /* Archivo braucht bei Versalien enge Spur    */
  --track-eyebrow:  0.14em;
  --track-label:    0.06em;

  /* --- Raster und Raum, Basiseinheit 8px --------------------------------- */
  --space-3xs: 0.25rem;  /*  4 */
  --space-2xs: 0.5rem;   /*  8 */
  --space-xs:  0.75rem;  /* 12 */
  --space-s:   1rem;     /* 16 */
  --space-m:   1.5rem;   /* 24 */
  --space-l:   2rem;     /* 32 */
  --space-xl:  3rem;     /* 48 */
  --space-2xl: 4rem;     /* 64 */
  --space-3xl: 6rem;     /* 96 */

  --section-y: clamp(3.5rem, 1.9rem + 6.2vw, 6.5rem);
  --wrap:      78rem;    /* 1248px */
  --wrap-text: 44rem;    /* ~66 Zeichen bei 17px                            */
  --gutter:    clamp(1.25rem, 4vw, 3rem);

  /* --- Form ------------------------------------------------------------- */
  --radius-xs:   2px;    /* Schaltflaechen, Eingabefelder — klinisch scharf */
  --radius-m:    6px;    /* Karten, Bilder                                  */
  --radius-pill: 999px;
  --rule:        1px solid var(--c-line);
  --rule-strong: 2px solid var(--c-text);

  /* --- Elevation: bewusst nur zwei Stufen, nur fuer schwebende Ebenen ---- */
  --shadow-1: 0 1px 2px rgb(18 15 14 / 6%), 0 2px 10px rgb(18 15 14 / 6%);
  --shadow-2: 0 16px 40px rgb(18 15 14 / 18%);

  /* --- Motion ------------------------------------------------------------ */
  --dur-1: 120ms;
  --dur-2: 220ms;
  --dur-3: 460ms;
  --ease-out:    cubic-bezier(0.16, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* --- Ebenen ------------------------------------------------------------ */
  --z-scrim:   80;
  --z-head:    90;
  --z-nav:     100;
  --z-consent: 200;

  color-scheme: light;
}

/* ==========================================================================
   2 — SCHRIFT & RESET
   ========================================================================== */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> selbst nimmt keinen Platz ein — sonst laeuft `object-fit` auf dem
   <img> ins Leere, weil `block-size: 100%` gegen die automatische Hoehe des
   Wrappers rechnet statt gegen den zugeschnittenen Rahmen. Sichtbar war das
   als graue Streifen in den Leistungskarten. */
picture { display: contents; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--zinc-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Sprungmarke — sichtbar sobald sie den Fokus hat */
.skip {
  position: absolute;
  left: var(--space-s);
  top: -100%;
  z-index: calc(var(--z-nav) + 10);
  padding: var(--space-xs) var(--space-s);
  background: var(--c-text);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: top var(--dur-1) var(--ease-out);
}
.skip:focus { top: var(--space-s); }

/* ==========================================================================
   3 — TYPOGRAFIE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 var(--space-m);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}
h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  letter-spacing: -0.015em;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
h4 {
  font-size: var(--step-1);
  line-height: 1.28;
  letter-spacing: -0.005em;
}

p, ul, ol, dl, table, figure, blockquote { margin: 0 0 var(--space-m); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

/* Der Lauftext bekommt eine Zeilenlaenge, egal wie breit der Container ist */
.prose > p,
.prose > ul,
.prose > ol,
.prose > h2,
.prose > h3,
.prose > h4 { max-width: var(--wrap-text); }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-l); }
.prose > :first-child { margin-top: 0; }

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-700);
  max-width: 40ch;
}

/* Versal-Vorzeile mit rotem Strich — markiert jede Sektion */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0 0 var(--space-s);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ink-700);
}
.eyebrow::before {
  content: "";
  inline-size: 1.75rem;
  block-size: 3px;
  background: var(--c-brand);
  flex: none;
}
.eyebrow--light { color: var(--ink-300); }

/* Monumentale Versal-Zeile, nur fuer Hero und Bandkoepfe */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}

.u-red { color: var(--red-700); }
.u-brand { color: var(--c-brand); }

strong, b { font-weight: 600; }

.prose a,
.rte a {
  color: var(--red-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.prose a:hover, .rte a:hover { color: var(--red-800); }

/* ==========================================================================
   4 — LAYOUT
   ========================================================================== */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--text { width: min(100% - (var(--gutter) * 2), var(--wrap-text)); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--tint { background: var(--ink-50); }
.section--line { border-top: var(--rule); }

.grid { display: grid; gap: var(--space-l); }
@media (min-width: 46em) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Zweispalter: Text + Bild, ab Tablet nebeneinander */
.split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 60em) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
  .split--wide-text { grid-template-columns: 1.15fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

.section__head { margin-bottom: var(--space-xl); max-width: 52ch; }
.section__head > p:not(.eyebrow) { color: var(--c-text-soft); }

/* ==========================================================================
   5 — KOMPONENTEN
   ========================================================================== */

/* --- 5.1 Schaltflaechen --------------------------------------------------
   Zwei gleichrangige Formen wie im Vorbild: scharfes Rechteck fuer Formular-
   und Werkzeug-Aktionen, Pille fuer redaktionelle Aufforderungen.          */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-block-size: 3rem;             /* Touch-Ziel >= 48px */
  padding: var(--space-xs) var(--space-m);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--red { background: var(--c-action); color: var(--paper); border-color: var(--c-action); }
.btn--red:hover { background: var(--red-700); border-color: var(--red-700); }

.btn--dark { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
.btn--dark:hover { background: var(--ink-800); border-color: var(--ink-800); }

.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--ink-300); }
.btn--ghost:hover { border-color: var(--ink-900); background: var(--ink-50); }

.btn--onred { background: var(--paper); color: var(--red-800); border-color: var(--paper); }
.btn--onred:hover { background: var(--red-50); }

.btn--onred-ghost { background: transparent; color: var(--paper); border-color: rgb(255 255 255 / 70%); }
.btn--onred-ghost:hover { background: rgb(255 255 255 / 16%); border-color: var(--paper); }

.btn--onglass { background: rgb(255 255 255 / 12%); color: var(--paper); border-color: rgb(255 255 255 / 55%); backdrop-filter: blur(6px); }
.btn--onglass:hover { background: rgb(255 255 255 / 22%); border-color: var(--paper); }

/* Rechteckige Variante fuer Formulare */
.btn--rect { border-radius: var(--radius-xs); }
.btn--block { inline-size: 100%; }

/* Als Schaltflaeche muss sie ein ausreichend grosses Ziel bieten
   (WCAG 2.2, 2.5.8) — deshalb Innenabstand statt nackter Textlink. */
.linkish {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  margin-block: calc(var(--space-2xs) * -1);
  padding: var(--space-2xs) 0;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* Textlink mit Pfeil */
.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-700);
}
.arrow::after {
  content: "→";
  transition: transform var(--dur-1) var(--ease-out);
}
.arrow:hover::after { transform: translateX(0.25em); }

/* --- 5.2 Kopfzeile ------------------------------------------------------- */
.topbar {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--step--1);
}
.topbar__in {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-m);
  align-items: center;
  justify-content: space-between;
  min-block-size: 2.5rem;
  padding-block: var(--space-3xs);
}
.topbar__claim { letter-spacing: 0.01em; }
.topbar__links { display: flex; gap: var(--space-m); }
.topbar__links a { color: var(--paper); text-decoration: none; }
.topbar__links a:hover { color: var(--red-300); text-decoration: underline; }
@media (max-width: 47.9375em) {
  .topbar__claim { display: none; }
  .topbar__in { justify-content: center; }
}

.site-head {
  position: sticky;
  top: 0;
  z-index: var(--z-head);
  background: var(--paper);
  border-bottom: var(--rule);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-block-size: 4.5rem;
  padding-block: var(--space-2xs);
}

/* --- 5.3 Logo-Sperrsatz: Bildmarke als SVG, Wortmarke als echter Text ---- */
.logo {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: var(--ink-900);
  text-decoration: none;
  flex: none;
  line-height: 1;
}
.logo__gable { inline-size: 6.5rem; block-size: auto; }
.logo__word {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo__a {
  inline-size: 0.98em;
  block-size: 0.72em;
  align-self: flex-end;
  margin-inline: 0.02em -0.04em;
  transform: translateY(0.02em);
}
.logo__sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step--2);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.site-foot .logo { color: var(--paper); justify-items: start; }
.site-foot .logo__sub { color: var(--ink-400); }

/* --- 5.4 Navigation ------------------------------------------------------ */
.mainnav__list {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainnav__link {
  display: inline-block;
  padding: var(--space-2xs) 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-800);
  border-bottom: 2px solid transparent;
}
.mainnav__link:hover,
.mainnav__link.is-current { color: var(--ink-950); border-bottom-color: var(--c-brand); }
.mainnav__item { position: relative; }
.mainnav__item--tel { display: none; }

/* Untermenue Leistungen — Desktop: Flyout, Mobil: aufgeklappte Liste */
.subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  z-index: var(--z-nav);
  min-inline-size: 15rem;
  margin: 0;
  padding: var(--space-2xs);
  list-style: none;
  background: var(--paper);
  border: var(--rule);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-2) var(--ease-out),
              transform var(--dur-2) var(--ease-out),
              visibility var(--dur-2);
}
.mainnav__item--has-sub:hover > .subnav,
.mainnav__item--has-sub:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav a {
  display: block;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-xs);
  font-size: var(--step-0);
  text-decoration: none;
  color: var(--ink-800);
}
.subnav a:hover, .subnav a[aria-current] { background: var(--ink-50); color: var(--red-700); }

.burger {
  display: none;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: 3rem;
  min-inline-size: 3rem;
  padding: var(--space-2xs) var(--space-xs);
  background: transparent;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
}
.burger__bars { display: grid; gap: 4px; inline-size: 1.15rem; }
.burger__bars i {
  display: block;
  block-size: 2px;
  background: var(--ink-900);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) linear;
}
.burger[aria-expanded="true"] .burger__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mainnav__close {
  display: none;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: 2.75rem;
  margin: 0 0 var(--space-s) auto;
  padding: var(--space-2xs) var(--space-s);
  background: transparent;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-800);
  cursor: pointer;
}
.mainnav__close:hover { border-color: var(--ink-900); background: var(--ink-50); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgb(18 15 14 / 55%);
}

/* Mobiles Menue: volldeckende Schublade. Der Hintergrund ist bewusst
   undurchsichtig (--paper), damit nichts durchscheint, und liegt ueber
   allen Seiteninhalten (--z-nav > --z-head). */
@media (max-width: 63.9375em) {
  .burger { display: inline-flex; }

  .mainnav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: var(--z-nav);
    inline-size: min(22rem, 88vw);
    padding: var(--space-m) var(--space-l) var(--space-l);
    background: var(--paper);
    border-left: var(--rule);
    box-shadow: var(--shadow-2);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-3) var(--ease-in-out), visibility var(--dur-3);
  }
  .mainnav.is-open { transform: translateX(0); visibility: visible; }
  .mainnav__close { display: inline-flex; }

  .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav__item { border-bottom: 1px solid var(--c-line-soft); }
  .mainnav__link { display: block; padding: var(--space-s) 0; font-size: var(--step-1); border-bottom: 0; }
  .mainnav__link.is-current { color: var(--red-700); }

  .subnav {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 var(--space-s) var(--space-s);
    border-left: 2px solid var(--c-line);
    margin-block-end: var(--space-s);
  }
  .subnav a { padding: var(--space-2xs) var(--space-xs); }

  .mainnav__item--cta, .mainnav__item--tel { border-bottom: 0; margin-block-start: var(--space-m); }
  .mainnav__item--tel { display: block; margin-block-start: var(--space-2xs); }
  .mainnav__item--cta .btn, .mainnav__item--tel .btn { inline-size: 100%; }
}
@media (min-width: 64em) {
  .nav-scrim { display: none; }
}

/* --- 5.5 Brotkrumen ------------------------------------------------------ */
.crumbs { border-bottom: var(--rule); background: var(--ink-50); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  list-style: none;
  margin: 0;
  padding-block: var(--space-xs);
  font-size: var(--step--1);
  color: var(--c-text-soft);
}
.crumbs li + li::before { content: "/"; margin-inline-end: var(--space-2xs); color: var(--ink-300); }
.crumbs a { color: var(--ink-700); text-decoration: none; }
.crumbs a:hover { color: var(--red-700); text-decoration: underline; }

/* --- 5.6 Karten ---------------------------------------------------------- */
/* Keine Schatten: Trennung entsteht durch Weissraum, Linien und Bildkanten. */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--rule);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out);
}
.card:hover { border-color: var(--ink-400); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-100); }
.card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale var(--dur-3) var(--ease-out); }
.card:hover .card__media img { scale: 1.04; }
.card__num {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  padding: var(--space-2xs) var(--space-xs);
  background: var(--c-brand);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  font-variant-numeric: tabular-nums;
}
.card__body { padding: var(--space-m); display: flex; flex-direction: column; gap: var(--space-2xs); flex: 1; }
.card__body h3 { margin: 0; font-size: var(--step-2); }
.card__body p { color: var(--c-text-soft); margin: 0; flex: 1; }
.card__body .arrow { margin-block-start: var(--space-s); align-self: flex-start; }
/* Ganze Karte klickbar, ohne den Link zu verschachteln */
.card__link::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }

/* --- 5.7 Merkmal-Liste (Icon-frei, typografisch) ------------------------- */
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-l); }
@media (min-width: 46em) { .feats--3 { grid-template-columns: repeat(3, 1fr); } }
.feats li { padding-block-start: var(--space-s); border-top: var(--rule-strong); }
.feats h3 { font-size: var(--step-1); margin-bottom: var(--space-2xs); }
.feats p { color: var(--c-text-soft); margin: 0; font-size: var(--step-0); }

/* Aufzaehlung mit rotem Haken */
.ticks { list-style: none; margin: 0 0 var(--space-m); padding: 0; display: grid; gap: var(--space-xs); }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: var(--space-2xs); }
.ticks li::before {
  content: "";
  margin-block-start: 0.55em;
  inline-size: 0.85rem;
  block-size: 0.85rem;
  background: var(--c-brand);
  clip-path: polygon(0 52%, 38% 100%, 100% 12%, 100% 34%, 38% 100%, 0 74%);
}

/* --- 5.8 Fakten-Paneel (anthrazit, „Datenmodus") ------------------------- */
.facts { background: var(--ink-900); color: var(--paper); }
.facts__grid {
  display: grid;
  gap: var(--space-l);
  padding-block: var(--section-y);
}
@media (min-width: 46em) { .facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .facts__grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.fact { padding-inline: 0; }
@media (min-width: 64em) {
  .fact { padding-inline: var(--space-l); border-left: 1px solid rgb(255 255 255 / 22%); }
  .fact:first-child { padding-inline-start: 0; border-left: 0; }
}
.fact__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-5);
  line-height: 1;
  letter-spacing: var(--track-display);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.fact__num em { font-style: normal; color: var(--c-brand); }
.fact__lab { display: block; margin-block-start: var(--space-2xs); color: var(--ink-300); font-size: var(--step-0); }

/* --- 5.9 Rotes Band als Kapitelwechsel ---------------------------------- */
/* Traegt weissen Text, deshalb --c-action (5.07:1) statt Markenrot
   (--red-500 kaeme nur auf 4.03:1). Das Markenrot bleibt dem Logo, den
   Vorzeilen-Strichen und den Ziffern vorbehalten. */
.band { background: var(--c-action); color: var(--paper); }
.band__in {
  display: grid;
  gap: var(--space-l);
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem);
}
@media (min-width: 60em) { .band__in { grid-template-columns: 1.4fr auto; gap: var(--space-2xl); } }
.band__head {
  font-size: var(--fs-h2);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-2xs);
}
.band__text { margin: 0; color: var(--paper); max-width: 46ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* --- 5.10 Zitate --------------------------------------------------------- */
.quotes { display: grid; gap: var(--space-l); }
@media (min-width: 46em) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0;
  padding-block-start: var(--space-s);
  border-top: var(--rule-strong);
}
.quote blockquote { margin: 0 0 var(--space-s); font-size: var(--step-1); line-height: 1.42; }
.quote figcaption { font-size: var(--step--1); color: var(--c-text-soft); letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 600; }
.stars { display: flex; gap: 2px; margin-block-end: var(--space-xs); color: var(--c-brand); }
.stars svg { inline-size: 1rem; block-size: 1rem; }

/* --- 5.11 Ablauf-Schritte ------------------------------------------------ */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-l); }
@media (min-width: 46em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding-block-start: var(--space-s); border-top: var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-block-end: var(--space-2xs);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--space-2xs); }
.steps p { color: var(--c-text-soft); margin: 0; }

/* --- 5.12 FAQ ------------------------------------------------------------ */
.faq { border-top: var(--rule); max-width: 52rem; }
.faq details { border-bottom: var(--rule); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: var(--space-s);
  padding-block: var(--space-m);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  margin-inline-start: auto;
  margin-block-start: 0.35em;
  inline-size: 0.9rem;
  block-size: 0.9rem;
  background: var(--c-brand);
  clip-path: polygon(43% 0, 57% 0, 57% 43%, 100% 43%, 100% 57%, 57% 57%, 57% 100%, 43% 100%, 43% 57%, 0 57%, 0 43%, 43% 43%);
  transition: rotate var(--dur-2) var(--ease-out);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--red-700); }
.faq__a { padding-block-end: var(--space-m); max-width: var(--wrap-text); color: var(--ink-700); }
.faq__a > :last-child { margin-bottom: 0; }

/* --- 5.13 Materialtafel (Zink-Stuetzton, rein informativ) ---------------- */
.spec { border-collapse: collapse; inline-size: 100%; font-size: var(--step-0); }
.spec caption { text-align: left; margin-bottom: var(--space-s); color: var(--c-text-soft); font-size: var(--step--1); }
.spec th, .spec td { text-align: left; padding: var(--space-xs) var(--space-s) var(--space-xs) 0; border-bottom: var(--rule); vertical-align: top; }
.spec thead th { border-bottom: var(--rule-strong); font-family: var(--font-display); font-size: var(--step--1); letter-spacing: var(--track-label); text-transform: uppercase; }
.spec tbody th { font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.note {
  display: flex;
  gap: var(--space-s);
  padding: var(--space-m);
  background: var(--zinc-100);
  border-left: 3px solid var(--zinc-500);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-size: var(--step-0);
  color: var(--ink-800);
}
.note > :last-child { margin-bottom: 0; }
.note strong { color: var(--zinc-500); }

/* ==========================================================================
   6 — SEKTIONEN
   ========================================================================== */

/* --- 6.1 Startseiten-Hero: Foto, darauf Versalzeile, kein Kasten --------- */
.hero { position: relative; background: var(--ink-950); color: var(--paper); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(18 15 14 / 78%) 0%, rgb(18 15 14 / 55%) 45%, rgb(18 15 14 / 82%) 100%);
}
.hero__in {
  display: grid;
  align-content: end;
  gap: var(--space-m);
  min-block-size: min(78svh, 44rem);
  padding-block: var(--space-3xl) var(--space-2xl);
}
.hero__title { max-width: 16ch; }
.hero__sub { max-width: 44ch; font-size: var(--step-1); color: rgb(255 255 255 / 88%); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-block-start: var(--space-2xs); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-m);
  margin: var(--space-m) 0 0;
  padding: var(--space-m) 0 0;
  border-top: 1px solid rgb(255 255 255 / 25%);
  list-style: none;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgb(255 255 255 / 82%);
}
.hero__meta li { display: flex; align-items: center; gap: var(--space-2xs); }
.hero__meta li::before { content: ""; inline-size: 6px; block-size: 6px; background: var(--c-brand); rotate: 45deg; }

/* Die H1 der Startseite traegt Firmenname und Anspruch, darf aber leise
   auftreten — sichtbar, nie display:none. */
.hero__h1 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: rgb(255 255 255 / 78%);
  margin: 0;
  max-width: 40ch;
}

/* --- 6.2 Unterseiten-Kopf ------------------------------------------------ */
.phead { position: relative; background: var(--ink-900); color: var(--paper); isolation: isolate; }
.phead__media { position: absolute; inset: 0; z-index: -2; }
.phead__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.phead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgb(18 15 14 / 92%) 0%, rgb(18 15 14 / 74%) 55%, rgb(18 15 14 / 45%) 100%);
}
.phead__in { padding-block: clamp(3rem, 2rem + 6vw, 6rem); max-width: 40rem; }
.phead h1 { text-transform: uppercase; letter-spacing: var(--track-display); margin-bottom: var(--space-s); }
.phead p { color: rgb(255 255 255 / 86%); font-size: var(--step-1); margin: 0; max-width: 38ch; }
.phead--plain { background: var(--ink-900); }
.phead--plain::after { background: none; }

/* --- 6.3 Bild-Blocks ----------------------------------------------------- */
.figure { margin: 0; }
.figure img { inline-size: 100%; border-radius: var(--radius-m); }
.figure figcaption { margin-block-start: var(--space-2xs); font-size: var(--step--1); color: var(--c-text-soft); }
.figure--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.figure--square img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Vollbreites Foto als ruhiger Kapiteltrenner */
.bleed { position: relative; block-size: clamp(14rem, 34vw, 26rem); overflow: hidden; background: var(--ink-100); }
.bleed img { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* --- 6.4 Kontaktbereich -------------------------------------------------- */
.contact-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 64em) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-3xl); } }
.contact-block + .contact-block { margin-block-start: var(--space-l); padding-block-start: var(--space-l); border-top: var(--rule); }
.contact-block h2 { font-size: var(--step-2); margin-bottom: var(--space-2xs); }
.contact-block p, .contact-block address { margin: 0; font-style: normal; color: var(--ink-700); }
.contact-block a:not(.btn) { color: var(--red-700); }

.map { border: var(--rule); border-radius: var(--radius-m); overflow: hidden; background: var(--ink-100); }
.map iframe { display: block; inline-size: 100%; block-size: 22rem; border: 0; }
/* Platzhalter mit derselben Hoehe wie die Karte — verhindert Springen,
   solange die Einwilligung fehlt. */
.map__placeholder {
  display: grid;
  place-content: center;
  gap: var(--space-s);
  block-size: 22rem;
  padding: var(--space-l);
  text-align: center;
  color: var(--c-text-soft);
}

/* ==========================================================================
   7 — FORMULAR
   ========================================================================== */
.form { display: grid; gap: var(--space-m); }
.form__row { display: grid; gap: var(--space-m); }
@media (min-width: 40em) { .form__row--2 { grid-template-columns: repeat(2, 1fr); } }

.field { display: grid; gap: var(--space-3xs); }
.field > label { font-weight: 600; font-size: var(--step-0); }
.field .hint { font-size: var(--step--1); color: var(--c-text-soft); }
.req { color: var(--red-700); }

.input, .select, .textarea {
  inline-size: 100%;
  min-block-size: 3rem;
  padding: var(--space-xs) var(--space-s);
  background: var(--paper);
  border: 1px solid var(--ink-400);
  border-radius: var(--radius-xs);
  font-size: var(--step-0);
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.textarea { min-block-size: 9rem; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  padding-inline-end: var(--space-2xl);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235e5450' d='M1 1.4 6 6.6l5-5.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-s) center;
  background-size: 12px 8px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-600); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--zinc-500);
  box-shadow: 0 0 0 3px rgb(61 107 125 / 22%);
  outline: none;
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--red-600); }
.err { font-size: var(--step--1); color: var(--red-700); font-weight: 600; }

.check { display: grid; grid-template-columns: 1.35rem 1fr; gap: var(--space-2xs) var(--space-xs); align-items: start; }
.check input {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  margin: 0.15rem 0 0;
  accent-color: var(--red-600);
}
.check label { font-size: var(--step--1); line-height: 1.5; color: var(--ink-700); }

/* Honigtopf — fuer Menschen und Screenreader unsichtbar, fuer Bots sichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  padding: var(--space-m);
  border-radius: var(--radius-xs);
  border-left: 3px solid;
  font-size: var(--step-0);
}
.alert > :last-child { margin-bottom: 0; }
.alert--err { background: var(--red-50); border-color: var(--red-600); color: var(--red-900); }
.alert--ok { background: var(--zinc-100); border-color: var(--zinc-500); color: var(--ink-900); }

/* ==========================================================================
   8 — FUSSBEREICH & UTILITIES
   ========================================================================== */
.site-foot { background: var(--ink-900); color: var(--ink-300); padding-block: var(--space-3xl) var(--space-l); }
.site-foot__grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 46em) { .site-foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--space-l); } }
.site-foot__claim { margin: var(--space-m) 0 0; max-width: 34ch; font-size: var(--step-0); }
.site-foot__h {
  font-size: var(--step--1);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 var(--space-s);
  padding-block-end: var(--space-2xs);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.site-foot a { color: var(--ink-300); text-decoration: none; }
.site-foot a:hover { color: var(--paper); text-decoration: underline; }
.site-foot address { font-style: normal; line-height: 1.7; }
.site-foot__social { display: flex !important; gap: var(--space-m); margin-block-start: var(--space-m) !important; }
.site-foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-l);
  justify-content: space-between;
  margin-block-start: var(--space-2xl);
  padding-block-start: var(--space-m);
  border-top: 1px solid rgb(255 255 255 / 18%);
  font-size: var(--step--1);
}
.site-foot__bar p { margin: 0; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.center { text-align: center; }
.mt-l { margin-block-start: var(--space-l); }
.mt-xl { margin-block-start: var(--space-xl); }

/* Sanftes Einblenden beim Scrollen — rein additiv, Inhalt ist auch ohne
   JavaScript und ohne IntersectionObserver vollstaendig sichtbar. */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in,
.no-js .reveal { opacity: 1; transform: none; transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }

/* ==========================================================================
   9 — MOTION-PRAEFERENZ & DRUCK
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-head, .band, .nav-scrim, .btn, .site-foot__social { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero, .phead { background: #fff; color: #000; }
  .hero::after, .phead::after, .hero__media, .phead__media { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* --- Anthrazit-Paneel mit Text und Bild ---------------------------------
   Dieselbe Flaeche wie .facts, aber fuer redaktionelle Bloecke im
   „Datenmodus" — z. B. der Sturmschaden-Hinweis auf der Startseite.       */
.panel { background: var(--ink-900); color: var(--ink-300); padding-block: var(--section-y); }
.panel h2 { color: var(--paper); }
.panel p { max-width: 46ch; }
.panel .figure img { border-radius: var(--radius-m); }

/* Fehlermeldung unter einer Checkbox laeuft ueber beide Rasterspalten. */
.err--wide { grid-column: 1 / -1; }

/* 404-Karten benutzen h2 statt h3 — gleiche Optik, richtige Rangfolge. */
.card__body h2 { margin: 0; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.22; }

/* ==========================================================================
   10 — KLARO! EINWILLIGUNGSDIALOG
   --------------------------------------------------------------------------
   Klaro bringt eigene Stile mit und spritzt sie zur LAUFZEIT als <style> in
   den Kopf — sie stehen in der Kaskade also NACH dieser Datei und gewinnen
   bei gleicher Spezifitaet. Deshalb hier bewusst mit !important, wo Klaro
   feste Masse setzt (es setzt u. a. width:400px, right:20px, bottom:20px).
   Ziel: ein flacher, volle Breite einnehmender Balken unten, der zur
   Formensprache der Seite gehoert statt wie ein fremdes Widget zu wirken.
   ========================================================================== */
.klaro { font-family: var(--font-body); }

/* --- Banner: flacher Balken ueber die volle Breite ---------------------- */
.klaro .cookie-notice:not(.cookie-modal-notice) {
  position: fixed !important;
  inset: auto 0 0 0 !important;
  inline-size: 100% !important;
  max-inline-size: none !important;
  padding: var(--space-m) 0 !important;
  background: var(--ink-900) !important;
  color: var(--ink-300) !important;
  border-top: 3px solid var(--c-brand) !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow-2) !important;
  z-index: var(--z-consent) !important;
}
.klaro .cookie-notice .cn-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-xl);
  inline-size: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: var(--step--1);
  line-height: 1.5;
}
.klaro .cookie-notice .cn-body p {
  flex: 1 1 22rem;
  margin: 0 !important;
  color: var(--ink-300);
}
.klaro .cookie-notice .cn-body p.cn-ok {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-m);
  margin: 0 !important;
}
.klaro .cookie-notice .cn-ok {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-m);
  margin: 0 !important;
}
.klaro .cookie-notice .cn-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: 0 !important;
}
.klaro .cookie-notice a,
.klaro .cookie-notice .cm-link,
.klaro .cookie-notice .cn-learn-more,
.klaro .cookie-modal a {
  color: var(--red-300) !important;
  text-underline-offset: 0.18em;
}
.klaro .cookie-notice a:hover,
.klaro .cookie-notice .cn-learn-more:hover { color: var(--paper) !important; }
.klaro .cookie-notice .cn-learn-more { white-space: nowrap; }

/* --- Schaltflaechen: dieselbe Grammatik wie .btn ------------------------ */
.klaro .cm-btn,
.klaro .cn-buttons button {
  min-block-size: 2.75rem;
  margin: 0 !important;
  padding: var(--space-2xs) var(--space-m) !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.klaro .cm-btn.cm-btn-success,
.klaro .cm-btn.cm-btn-accept-all {
  background: var(--c-action) !important;
  border-color: var(--c-action) !important;
  color: var(--paper) !important;
}
.klaro .cm-btn.cm-btn-success:hover,
.klaro .cm-btn.cm-btn-accept-all:hover { background: var(--red-700) !important; border-color: var(--red-700) !important; }
.klaro .cm-btn.cm-btn-danger,
.klaro .cm-btn.cn-decline,
.klaro .cm-btn.cm-btn-decline,
.klaro .cm-btn.cm-btn-info {
  background: transparent !important;
  border-color: rgb(255 255 255 / 55%) !important;
  color: var(--paper) !important;
}
.klaro .cm-btn.cm-btn-danger:hover,
.klaro .cm-btn.cn-decline:hover,
.klaro .cm-btn.cm-btn-decline:hover,
.klaro .cm-btn.cm-btn-info:hover { background: rgb(255 255 255 / 14%) !important; border-color: var(--paper) !important; }

/* Auf schmalen Schirmen sollen beide Schaltflaechen gleich breit stehen. */
@media (max-width: 40em) {
  .klaro .cookie-notice:not(.cookie-modal-notice) { padding: var(--space-s) 0 !important; }
  .klaro .cookie-notice .cn-body { gap: var(--space-s); font-size: var(--step--1); }
  .klaro .cookie-notice .cn-body p { flex: 1 1 100%; }
  .klaro .cookie-notice .cn-buttons { inline-size: 100%; }
  .klaro .cookie-notice .cn-buttons button { flex: 1 1 10rem; }
}

/* --- Einstellungs-Dialog ------------------------------------------------ */
.klaro .cookie-modal { z-index: calc(var(--z-consent) + 1) !important; }
.klaro .cookie-modal .cm-bg { background: rgb(18 15 14 / 72%) !important; }
.klaro .cookie-modal .cm-modal.cm-klaro,
.klaro .cookie-modal .cm-modal {
  background: var(--paper) !important;
  color: var(--c-text) !important;
  border-radius: var(--radius-m) !important;
  box-shadow: var(--shadow-2) !important;
  max-inline-size: 44rem !important;
}
.klaro .cookie-modal .cm-header,
.klaro .cookie-modal .cm-footer { border-color: var(--c-line) !important; background: var(--paper) !important; }
.klaro .cookie-modal .cm-header h1,
.klaro .cookie-modal .cm-header h1.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  color: var(--c-text) !important;
}
.klaro .cookie-modal .cm-body,
.klaro .cookie-modal .cm-body p,
.klaro .cookie-modal .cm-header p { color: var(--ink-700) !important; }
.klaro .cookie-modal .cm-list-title { font-weight: 600; color: var(--c-text) !important; }
.klaro .cookie-modal .cm-list-description { color: var(--c-text-soft) !important; font-size: var(--step--1); }
.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider { background-color: var(--c-action) !important; }
.klaro .cookie-modal .cm-list-input.half:checked + .cm-list-label .slider { background-color: var(--red-300) !important; }
.klaro .cookie-modal .cm-list-input:focus-visible + .cm-list-label .slider { outline: 3px solid var(--zinc-500); outline-offset: 2px; }
.klaro .cookie-modal .cm-list-input.required + .cm-list-label .slider { background-color: var(--ink-400) !important; }
.klaro .cookie-modal .cm-powered-by { font-size: var(--step--2); color: var(--ink-400) !important; }
.klaro .cookie-modal .cm-caret a,
.klaro .cookie-modal .cm-link { color: var(--red-700) !important; }
