/* ==========================================================================
   Stettler Büroreinigung — Stylesheet
   Gleiche Machart wie stettler-hauswartung.ch (Archivo + IBM Plex Sans),
   eigene Farbwelt aus dem Logo-Hellblau #54B3FD.
   Aufbau: 1 Tokens · 2 Reset · 3 Typografie · 4 Layout · 5 Buttons
           6 Header · 7 Hero · 7b Wischer-Intro · 8 Fakten · 9 Für wen
           10 Leistungen · 11 Rhythmus · 12 Warum · 13 Ablauf
           14 Ansprechpartner · 15 Einsatzgebiet · 16 FAQ · 17 Kontakt
           18 Footer · 19 Mobile-Bar · 20 Reveal · 21 Rechtsseiten
           22 Responsive · 23 Print
   ========================================================================== */

/* 1 — Tokens ============================================================== */

:root {
  /* Ein einziges Blau auf der ganzen Seite: das Logo-Hellblau #54B3FD.
     Auf Weiss hält es nur 2.3:1, deshalb steht auf blauen Flächen immer
     dunkle Schrift (7.6:1) und kleine Textlinks sind dunkel mit blauer
     Unterstreichung. Hellere Flächen sind derselbe Ton mit Deckkraft. */
  --sky-500: #54b3fd;
  --sky-400: #54b3fd;
  --sky-200: rgba(84, 179, 253, 0.45);
  --sky-100: rgba(84, 179, 253, 0.16);
  --sky-50:  rgba(84, 179, 253, 0.08);
  --sky-glow: rgba(84, 179, 253, 0.35);

  /* Historische Namen, jetzt alle exakt das Logo-Blau */
  --blue-600: #54b3fd;
  --blue-700: #54b3fd;

  /* Dunkle Sektionen: neutrales Anthrazit, damit das Blau das Einzige ist,
     was auf der Seite leuchtet. */
  --blue-800: #1a2430;
  --blue-900: #121a23;
  --blue-950: #0c1218;

  /* Neutrale, leicht kühl — sauber, nicht warm */
  --paper:  #f6f8fa;
  --white:  #ffffff;
  --ink:    #101c28;
  --ink-70: #3e4e5e;
  /* #5b6b7a hält auf Papier 5.15:1 für 15-px-Text */
  --ink-50: #5b6b7a;
  --line:   rgba(16, 28, 40, 0.12);
  --line-strong: rgba(16, 28, 40, 0.22);

  /* Auf dunklem Grund */
  --on-dark:     #f2f7fc;
  --on-dark-70:  rgba(242, 247, 252, 0.74);
  --on-dark-50:  rgba(242, 247, 252, 0.66);
  --line-dark:   rgba(242, 247, 252, 0.18);

  /* Fehlerfarbe im Formular */
  --error: #b3341f;

  /* Typografie */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(2.5rem, 1.55rem + 4vw, 4.5rem);
  --fs-h2:      clamp(1.95rem, 1.4rem + 2.3vw, 3.15rem);
  --fs-h3:      clamp(1.2rem, 1.09rem + 0.48vw, 1.5rem);
  --fs-h4:      clamp(1.03rem, 0.99rem + 0.2vw, 1.15rem);
  --fs-lead:    clamp(1.1rem, 1.03rem + 0.36vw, 1.35rem);
  --fs-body:    clamp(1rem, 0.975rem + 0.11vw, 1.0625rem);
  --fs-small:   0.9375rem;
  --fs-eyebrow: 0.75rem;

  /* Abstände */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  --section-y: clamp(4rem, 2.4rem + 6.5vw, 8rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --container: 1200px;

  /* Eine Radius-Regel für die ganze Seite: Buttons und Felder 4 px,
     Karten 8 px, Chips und Ortsmarken rund. */
  --radius: 4px;
  --radius-lg: 8px;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
}

/* 2 — Reset =============================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Die Seite ist bewusst nur hell. Ohne diese Angabe zeichnet Windows im
     Dunkelmodus Formularfelder und Scrollbalken dunkel in ein helles Layout. */
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

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

a, button, summary, label, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(84, 179, 253, 0.2);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .facts :focus-visible, .footer :focus-visible, .mobile-bar :focus-visible {
  outline-color: var(--sky-400);
}

/* Sprungmarken landen nicht unter dem Sticky-Header */
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--sky-500);
  color: var(--ink);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 600;
  transform: translateY(0);
}
.skip-link:focus { transform: translateY(calc(100px + var(--sp-4))); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3 — Typografie ========================================================== */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1, .display { font-size: var(--fs-display); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.008em; }

/* Titel ohne Überschriften-Tag (SEO: weniger Überschriften, gleiche Optik) */
.ttl { font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: -0.012em; text-wrap: balance; }
.ttl--h3 { font-size: var(--fs-h3); }
.ttl--h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.008em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-70);
  text-wrap: pretty;
}

/* Bewusst nur an vier Stellen eingesetzt: Hero, Warum, Ansprechpartner, Kontakt. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  line-height: 1;
  margin-bottom: var(--sp-5);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--sky-500);
  flex: none;
}
.on-dark .eyebrow { color: var(--on-dark-70); }

.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.section-head .lead { margin-top: var(--sp-4); }

/* 4 — Layout ============================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

section { position: relative; }

.section { padding-block: var(--section-y); }

.on-dark { background: var(--blue-800); color: var(--on-dark); }
.on-dark .lead { color: var(--on-dark-70); }
.on-paper { background: var(--paper); }
.on-white { background: var(--white); }

.section > .container { position: relative; z-index: 1; }

/* 5 — Buttons ============================================================= */

.btn {
  --btn-bg: var(--sky-500);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              transform 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--sky-glow); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--sky-50); --btn-fg: var(--ink); border-color: var(--sky-500); box-shadow: none; }

/* Auf dunklen Flächen trägt das Logo-Hellblau den Button: Tinte darauf 7.6:1 */
.btn--on-dark { --btn-bg: var(--sky-500); --btn-fg: var(--ink); }
.btn--on-dark:hover { box-shadow: 0 8px 20px -8px rgba(84, 179, 253, 0.6); }

.btn--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: var(--line-dark);
}
.btn--ghost-dark:hover { --btn-bg: transparent; --btn-fg: var(--white); border-color: var(--sky-500); box-shadow: none; }

.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }

.btn .icon { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 32px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--sky-500);
  padding-bottom: 3px;
  transition: box-shadow 0.2s var(--ease);
}
.link-arrow:hover { box-shadow: inset 0 -0.9em 0 var(--sky-100), inset 0 -2px 0 var(--sky-500); }
.link-arrow .icon {
  width: 15px; height: 15px;
  color: var(--ink);
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--on-dark); }
.on-dark .link-arrow .icon { color: var(--sky-500); }

/* 6 — Header ============================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 248, 250, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 248, 250, 0.97);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; min-height: 44px; }
.brand__mark { height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sky-500);
}
.brand__sub {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.6vw, 2rem); }
.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-70);
  padding: var(--sp-2) 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--sky-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  background: var(--sky-500);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.header__phone:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--sky-glow); }
.header__phone .icon { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 7 — Hero ================================================================ */

.hero {
  padding-top: clamp(3rem, 1.8rem + 5vw, 5.5rem);
  padding-bottom: clamp(3rem, 1.8rem + 5vw, 5.5rem);
  background: var(--paper);
  overflow: hidden;
}

/* Einspaltig und textgeführt: Titel, Lead, zwei Buttons, vier Zusagen.
   Der erste visuelle Eindruck kommt vom Wischer-Intro, nicht von einem Bild. */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  padding-block: clamp(0.5rem, 0.2rem + 1.5vw, 2rem);
}

.hero h1 { max-width: 17ch; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.25rem); }
.hero h1 em { font-style: normal; color: var(--sky-500); }

.hero__lead { margin-top: var(--sp-5); max-width: 52ch; }

.hero__actions {
  margin-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Vier Zusagen als Chips, nichts davon erfunden */
.chips {
  margin-top: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.3rem 0.85rem 0.3rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-70);
}
.chips .icon { width: 16px; height: 16px; color: var(--sky-500); flex: none; }

/* 7b — Hero-Video: siehe cinematic.css (ersetzt das gezeichnete Wischer-Intro, 25.09.2026) */

/* 8 — Faktenband ========================================================== */

.facts { background: var(--blue-800); color: var(--on-dark); }
.facts__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line-dark);
}
.facts__item {
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem) clamp(1rem, 0.6rem + 1.4vw, 2rem);
  border-right: 1px solid var(--line-dark);
}
.facts__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}
.facts__label {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--on-dark-70);
  display: block;
}

/* 9 — Für wen ============================================================= */

.rooms { background: var(--white); }
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.room {
  position: relative;
  min-height: 190px;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.room:hover { border-color: var(--sky-500); transform: translateY(-2px); }
.room__icon {
  position: absolute;
  top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  left: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  width: 30px; height: 30px;
  color: var(--sky-500);
}
.room h3, .room .ttl { font-size: var(--fs-h4); }
.room p { font-size: var(--fs-small); color: var(--ink-70); }

/* Zwei Kacheln tragen Farbe: Büros als Kern (doppelt breit), Praxen als
   zweiter Schwerpunkt. So liest sich das Raster nicht als fünf gleiche Karten. */
.room--lead { grid-column: span 2; background: var(--blue-800); color: var(--on-dark); border-color: var(--blue-800); }
.room--lead:hover { border-color: var(--blue-800); }
.room--lead .room__icon { color: var(--sky-500); }
.room--lead p { color: var(--on-dark-70); }
.room--sky { background: var(--sky-100); border-color: transparent; }

/* 10 — Leistungen ========================================================= */

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 0.8rem + 2.4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}
.services__intro .lead { margin: 0; }

.service-group + .service-group { margin-top: clamp(3rem, 2rem + 3.4vw, 5rem); }

.service-group__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--ink);
  margin-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}
.service-group__title { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2rem); }
.service-group__note {
  margin-left: auto;
  font-size: var(--fs-small);
  color: var(--ink-50);
  text-align: right;
  flex: none;
}

/* Feste drei Spalten: sechs Karten ergeben zwei volle Reihen, keine Lücke */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background-color 0.25s var(--ease);
}
.service-card:hover { background: var(--sky-50); }
.service-card__icon {
  width: 34px; height: 34px;
  color: var(--sky-500);
  margin-bottom: var(--sp-2);
}
.service-card h4, .service-card .ttl { color: var(--ink); }
.service-card p { font-size: var(--fs-small); color: var(--ink-70); }

/* Zweite Gruppe: drei Leistungen als breite Zeilen mit Aufzählung */
.service-rows { display: grid; gap: var(--sp-4); }
.service-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--sp-5);
  align-items: start;
  padding: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.service-row__icon { width: 34px; height: 34px; color: var(--sky-500); }
.service-row h4, .service-row .ttl { margin-bottom: var(--sp-2); }
.service-row > div > p { font-size: var(--fs-small); color: var(--ink-70); }
.service-row ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem var(--sp-5);
}
.service-row li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--ink-70);
}
.service-row li .icon { width: 16px; height: 16px; color: var(--sky-500); flex: none; margin-top: 0.3em; }

/* 11 — Rhythmus =========================================================== */

.rhythm { background: var(--blue-800); color: var(--on-dark); overflow: hidden; }
.rhythm__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 0.8rem + 2.4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}

.rhythm__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.beat {
  background: var(--blue-800);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem) clamp(1rem, 0.7rem + 1.1vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: background-color 0.3s var(--ease);
}
.beat:hover { background: var(--blue-900); }

/* Wochenleiste: fünf Felder Mo bis Fr, gefüllt = Einsatztag */
.beat__week { display: flex; gap: 5px; }
.beat__week span {
  flex: 1 1 0;
  height: 8px;
  border-radius: 999px;
  background: var(--line-dark);
}
.beat__week span.on { background: var(--sky-500); }
.beat__week span.half { background: linear-gradient(90deg, var(--sky-500) 50%, var(--line-dark) 50%); }

.beat h3, .beat .ttl { font-size: var(--fs-h3); }
.beat p { font-size: var(--fs-small); color: var(--on-dark-70); }
.beat__for {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--sky-500);
}

.rhythm__foot {
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  justify-content: space-between;
}
.rhythm__foot p { color: var(--on-dark-70); max-width: 56ch; font-size: var(--fs-small); }
.rhythm__foot strong { color: var(--on-dark); font-weight: 600; }

/* 12 — Warum ============================================================== */

.why { background: var(--white); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 3.5vw, 5rem);
  align-items: start;
}
.why__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__aside .lead { margin-top: var(--sp-4); }
.why__cta { margin-top: var(--sp-6); }

/* Ohne Nummern: die Gründe sind keine Reihenfolge. Ein Haken markiert jede Zusage. */
.reasons li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-5);
  padding-block: clamp(1.25rem, 1rem + 0.9vw, 1.85rem);
  border-top: 1px solid var(--line);
}
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .icon { width: 22px; height: 22px; color: var(--sky-500); margin-top: 0.15em; }
.reasons h3, .reasons .ttl { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.reasons p { font-size: var(--fs-small); color: var(--ink-70); }

/* 13 — Ablauf ============================================================= */

.steps { background: var(--paper); }
.steps__list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  position: relative;
}
/* Verbindungslinie hinter den Nummern */
.steps__list::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 22px;
  height: 2px;
  background: var(--line);
}
.step { counter-increment: step; position: relative; padding-top: var(--sp-8); }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--sky-500);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.step h3, .step .ttl { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-small); color: var(--ink-70); }
.step__when { display: inline-block; margin-top: var(--sp-3); font-size: 0.8125rem; color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--sky-500); padding-bottom: 2px; }

/* 14 — Ansprechpartner ==================================================== */

.team { background: var(--white); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 0.7rem + 1.1vw, 1.75rem);
}
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.person__mono {
  width: 66px; height: 66px;
  display: grid;
  place-items: center;
  background: var(--sky-500);
  color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
}
.person__role {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: var(--sp-2);
  display: block;
}
.person h3, .person .ttl { font-size: var(--fs-h3); }
.person__contact { display: grid; gap: var(--sp-1); margin-top: auto; padding-top: var(--sp-2); }
.person__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  font-size: var(--fs-small);
  color: var(--ink-70);
  transition: color 0.2s var(--ease);
  word-break: break-word;
}
.person__contact a:hover { color: var(--ink); }
.person__contact .icon { width: 17px; height: 17px; color: var(--sky-500); flex: none; }
.person__contact a[href^="tel:"] { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 15 — Einsatzgebiet ====================================================== */

.area { background: var(--paper); }
.area__lead { max-width: 62ch; margin-top: var(--sp-4); }
.area__note { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--ink-50); }

.towns__title {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: var(--sp-6);
}
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.towns li {
  padding: 0.4rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
}
.towns li.is-hq { background: var(--sky-500); color: var(--ink); border-color: var(--sky-500); }

.area__more { margin-top: var(--sp-5); font-size: var(--fs-small); color: var(--ink-50); }

/* 16 — FAQ ================================================================ */

.faq { background: var(--white); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 3.5vw, 5rem);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__aside .lead { margin-top: var(--sp-4); }

.faq__list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: clamp(1.1rem, 0.9rem + 0.7vw, 1.5rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  letter-spacing: -0.008em;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--ink-70); }

.faq-item__sign {
  position: relative;
  width: 20px; height: 20px;
  flex: none;
  color: var(--sky-500);
}
.faq-item__sign::before,
.faq-item__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.faq-item__sign::before { left: 0; right: 0; top: 9px; height: 2px; }
.faq-item__sign::after { top: 0; bottom: 0; left: 9px; width: 2px; }
.faq-item[open] .faq-item__sign::after { transform: scaleY(0); }

.faq-item__body { padding-bottom: clamp(1.1rem, 0.9rem + 0.7vw, 1.5rem); max-width: 62ch; }
.faq-item__body p + p { margin-top: var(--sp-3); }
.faq-item__body p { color: var(--ink-70); font-size: var(--fs-small); }

/* 17 — Kontakt ============================================================ */

.contact { background: var(--blue-800); color: var(--on-dark); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: start;
}

.contact__details { display: grid; gap: var(--sp-5); margin-top: var(--sp-7); }
.contact__row {
  display: grid;
  gap: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-dark);
}
.contact__key {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-50);
}
.contact__val { font-size: 1.05rem; font-weight: 500; }
.contact__val a { display: inline-flex; align-items: center; min-height: 44px; }
.contact__val a:hover { color: var(--sky-500); }
.contact__val a[href^="tel:"] { font-variant-numeric: tabular-nums; }

.form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
}
.form__title { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.form__intro { font-size: var(--fs-small); color: var(--ink-70); margin-bottom: var(--sp-6); }

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--sp-4);
}
.form__row + .form__row, .form__field + .form__field, .form__row + .form__field,
.form__field + .form__row, .form__row + .form__fieldset, .form__fieldset + .form__field {
  margin-top: var(--sp-4);
}

.form__field { display: grid; gap: 0.4rem; }
.form__field label, .form__fieldset legend { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; }
.form .req { color: var(--ink-70); }
.form__hint { font-size: 0.8125rem; color: var(--ink-50); }

.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--ink-50); opacity: 1; }
.form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form select { appearance: none; cursor: pointer; padding-right: 2.5rem; background-image: none; }

.form__select { position: relative; display: grid; }
.form__select::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1.15rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-70);
  border-bottom: 2px solid var(--ink-70);
  transform: rotate(45deg);
  pointer-events: none;
}

.form input:focus, .form select:focus, .form textarea:focus {
  background: var(--white);
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px var(--sky-100);
}
.form input:user-invalid,
.form textarea:user-invalid,
.form [aria-invalid="true"] { border-color: var(--error); }

/* Besichtigung: drei Optionen als Segmente */
.form__fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__fieldset legend { padding: 0; margin-bottom: 0.4rem; }
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.segments label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.segments input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.segments label:has(input:checked) { background: var(--sky-500); border-color: var(--sky-500); color: var(--ink); }
.segments label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

.form__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__consent { margin-top: var(--sp-5); font-size: 0.8125rem; color: var(--ink-50); line-height: 1.55; }
.form__consent a { color: var(--ink); border-bottom: 2px solid var(--sky-500); }

.form__submit { margin-top: var(--sp-5); width: 100%; }

.form__alt {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-70);
  text-align: center;
}
.form__alt a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 var(--sky-500);
}

.form__error {
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: #fdeeea;
  border-left: 3px solid var(--error);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: #7d2415;
}
.form__error a { font-weight: 600; border-bottom: 1px solid currentColor; }

/* 18 — Footer ============================================================= */

.footer {
  background: var(--blue-950);
  color: var(--on-dark);
  padding-top: clamp(3rem, 2rem + 3.4vw, 5rem);
  padding-bottom: var(--sp-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.4vw, 3.5rem);
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub { color: var(--on-dark-50); }
.footer__tagline { margin-top: var(--sp-4); color: var(--on-dark-70); font-size: var(--fs-small); max-width: 34ch; }
.footer h2, .footer .footer__title {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-50);
  margin-bottom: var(--sp-4);
}
.footer ul { display: grid; gap: 0.2rem; }
.footer li a, .footer address a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  color: var(--on-dark-70);
  transition: color 0.2s var(--ease);
}
.footer li a:hover, .footer address a:hover { color: var(--white); }
.footer address { font-style: normal; font-size: var(--fs-small); color: var(--on-dark-70); line-height: 1.9; }
.footer address a[href^="tel:"] { font-variant-numeric: tabular-nums; }

.footer__bottom {
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--on-dark-50);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark-50); }
.footer__legal a:hover { color: var(--white); }

/* 19 — Mobile-Bar ========================================================= */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 56px;
  font-size: var(--fs-small);
  font-weight: 600;
  background: var(--sky-500);
  color: var(--ink);
}
.mobile-bar a:last-child { background: var(--blue-900); color: var(--on-dark); }
.mobile-bar .icon { width: 17px; height: 17px; }

/* 20 — Reveal ============================================================= */

.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* 21 — Rechtsseiten ======================================================= */

.legal { padding-block: clamp(3rem, 2rem + 3.4vw, 5.5rem); background: var(--white); }
.legal__inner { max-width: 68ch; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--sp-5); }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: var(--fs-h4); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.legal p, .legal li { color: var(--ink-70); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: var(--sp-4); }
.legal ul { display: grid; gap: 0.4rem; padding-left: 1.2rem; list-style: disc; }
.legal a { color: var(--ink); border-bottom: 2px solid var(--sky-500); }
.legal address { font-style: normal; line-height: 1.9; color: var(--ink-70); }
.legal__updated { margin-top: var(--sp-7); font-size: 0.8125rem; color: var(--ink-50); }

.legal mark {
  background: #fdeeea;
  color: #8a2f1c;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.thanks { min-height: 62vh; display: grid; place-items: center; padding-block: var(--sp-9); background: var(--white); }
.thanks__inner { max-width: 52ch; text-align: center; }
.thanks__icon { width: 64px; height: 64px; margin: 0 auto var(--sp-5); color: var(--sky-500); }
.thanks .lead { margin-top: var(--sp-4); }
.thanks__actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* 22 — Responsive ========================================================= */

@media (max-width: 1080px) {
  .why__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .why__aside, .faq__aside { position: static; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm__head, .services__intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .rooms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list::before { display: none; }
  .service-row { grid-template-columns: 34px minmax(0, 1fr); }
  .service-row ul { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link {
    padding-block: var(--sp-4);
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 500;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .nav__link::after { display: none; }

  .header__phone span { display: none; }
  .header__phone { padding: 0.6rem; width: 44px; justify-content: center; }

  .facts__list { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .facts__item { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .facts__item:last-child { border-bottom: 0; }

  .service-group__head { flex-wrap: wrap; }
  .service-group__note { margin-left: 0; width: 100%; text-align: left; }

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

  .mobile-bar { display: flex; }
  body { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  .rhythm__track, .rooms__grid, .steps__list, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .room--lead { grid-column: auto; }
  .room { min-height: 0; padding-top: 4.25rem; }
  .service-row ul { grid-template-columns: minmax(0, 1fr); }
  .brand__sub { display: none; }
  .hero__actions .btn, .thanks__actions .btn { width: 100%; }
  .rhythm__foot { flex-direction: column; align-items: flex-start; }
  .segments { grid-template-columns: minmax(0, 1fr); }
}

/* 23 — Print ============================================================== */

@media print {
  .header, .mobile-bar, .form, .nav-toggle, .wisch { display: none !important; }
  body { background: #fff; color: #000; }
  .on-dark, .contact, .rhythm, .facts, .footer, .room--lead { background: #fff !important; color: #000 !important; }
}

/* 24 — Zustände, Formular-Schutz, Cookie-Banner ============================
   Übernommen von stettler-hauswartung.ch, Farben nach den Regeln dieser Seite:
   auf Logo-Blau steht immer dunkle Schrift. */

/* hidden muss auch gegen display-Regeln gewinnen (z. B. .footer__legal a) */
[hidden] { display: none !important; }

/* Inhalte, die nur gelten, wenn Tracking bzw. Turnstile eingeschaltet sind.
   Den Zustand setzt das Skript im <head> als Attribut am <html>.
   Ohne JavaScript bleibt der «aus»-Text stehen, und das stimmt dann auch. */
[data-if="tracking"], [data-if="turnstile"] { display: none; }
[data-tracking="on"] [data-if="tracking"],
[data-turnstile="on"] [data-if="turnstile"] { display: block; }
[data-tracking="on"] [data-if-not="tracking"] { display: none; }

.form__turnstile:empty { display: none; }
.form__turnstile { margin-bottom: var(--sp-5); }
.form__submit:disabled { opacity: 0.7; cursor: progress; }

/* Cookie-Banner (consent.js) */
.cc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  pointer-events: none;
}
.cc__box {
  pointer-events: auto;
  max-width: 44rem;
  margin: 0 0 0 auto;
  padding: var(--sp-5);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--sky-500);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(12, 18, 24, 0.22);
}
.cc__titel {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--ink);
}
.cc__text { margin: 0 0 var(--sp-4); line-height: 1.55; color: var(--ink-70); }
.cc__text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sky-500); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.cc__optionen { margin: 0 0 var(--sp-4); padding: var(--sp-3) 0 0; border-top: 1px solid var(--line); list-style: none; }
.cc__optionen li { margin: 0; }
.cc__optionen label { display: flex; align-items: center; gap: var(--sp-3); min-height: 40px; cursor: pointer; }
.cc__optionen input { width: 18px; height: 18px; accent-color: var(--sky-500); flex: none; }
.cc__aktionen { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cc__btn {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cc__btn:hover { border-color: var(--sky-500); background: var(--sky-50); }
.cc__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* «Alle akzeptieren» und «Nur notwendige» sind gleich gewichtet: kein Dark Pattern */
.cc__btn--primaer, .cc__btn[data-cc="notwendige"] { background: var(--sky-500); border-color: var(--sky-500); color: var(--ink); }
.cc__btn--primaer:hover, .cc__btn[data-cc="notwendige"]:hover { background: var(--blue-800); border-color: var(--blue-800); color: var(--white); }

@media (max-width: 860px) {
  /* über der fixierten Aktionsleiste (56 px) */
  .cc { bottom: calc(56px + env(safe-area-inset-bottom)); padding: var(--sp-3); }
  .cc__box { margin: 0 auto; padding: var(--sp-4); }
}
@media (max-width: 560px) {
  .cc__aktionen { flex-direction: column; }
  .cc__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc__btn { transition: none; } }

@media print { .cc { display: none !important; } }
