/* ==========================================================================
   KEVIN Gebäudereinigung – Stylesheet
   Farben und Abstände entsprechen dem Design. Der Umschaltpunkt zwischen
   mobiler und Desktop-Navigation liegt bei 1080px.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/sourcesans3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/sourcesans3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farb- und Maßtokens ---------- */

:root {
  --navy:       #0B2E4F;
  --navy-2:     #0E3A63;
  --navy-3:     #123E68;
  --navy-line:  #1A4670;
  --navy-btn:   #3A6389;
  --navy-btn-h: #7FB3D8;

  --blue:       #1E9BE0;
  --blue-hi:    #3FB0EC;
  --blue-deep:  #1273B8;
  --blue-pale:  #BFDCF0;

  --orange:     #F59317;
  --orange-hi:  #FFA733;
  --orange-ink: #2A1802;
  --orange-txt: #C4720A;
  --orange-dk:  #9A5A08;
  --star:       #E4720B;

  --ink:        #1B2733;
  --ink-2:      #2C3E4E;
  --ink-3:      #3B4C5C;
  --ink-4:      #4A5C6C;
  --muted:      #5A6B7B;
  --muted-2:    #6C8399;

  --line:       #E3EBF2;
  --line-2:     #E1E9F0;
  --line-3:     #E4EDF4;
  --line-4:     #EDF2F6;
  --line-field: #D6E2EC;

  --header:     #DCEBF8;
  --header-line:#C3DCEF;

  --tint:       #F4F9FD;
  --tint-2:     #F6FAFD;
  --tint-3:     #F9FCFE;
  --tint-4:     #FAFDFF;
  --tint-5:     #F7FBFE;

  --on-navy:    #EAF4FB;
  --on-navy-2:  #B9D6EC;
  --on-navy-3:  #C3D9EA;
  --on-navy-4:  #9FC2DC;
  --on-navy-5:  #B9D2E6;

  --sans:   'Source Sans 3', system-ui, -apple-system, Segoe UI, sans-serif;
  --head:   'Outfit', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:   ui-monospace, SFMono-Regular, Menlo, monospace;

  --callbar-h: 74px;
}

/* ---------- Grundlagen ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.022em;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; height: auto; }
input, textarea, select, button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--head);
  font-weight: 600;
}
.skiplink:focus { left: 0; color: #fff; }

/* Sichtbarer Platzhalter für noch fehlende Pflichtangaben */
.todo {
  background: #FFE1E1;
  color: #8C2B2B;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95em;
}

/* ---------- Layout-Container ---------- */

.wrap {
  width: 100%;
  max-width: var(--w, 1140px);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--wide { --w: 1240px; }
.wrap--1080 { --w: 1080px; }
.wrap--1000 { --w: 1000px; }
.wrap--900  { --w: 900px;  }
.wrap--860  { --w: 860px;  }
.wrap--820  { --w: 820px;  }
.wrap--760  { --w: 760px;  }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 16px 28px;
  font-family: var(--head);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.btn--sm { padding: 10px 18px; border-radius: 9px; font-size: 17px; }
.btn--md { padding: 13px 22px; border-radius: 9px; }
.btn--lg { padding: 14px 24px; border-radius: 9px; }

.btn--orange { background: var(--orange); color: var(--orange-ink); font-weight: 700; }
.btn--orange:hover { background: var(--orange-hi); color: var(--orange-ink); }
.btn--orange.btn--shadow { box-shadow: 0 10px 26px rgba(245, 147, 23, .28); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hi); color: #fff; }
.btn--blue.btn--sm { font-weight: 700; }
.btn--blue.btn--sm:hover { background: var(--blue-deep); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); color: #fff; }

/* Umrandeter Button auf hellem Grund */
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--navy-btn);
  color: var(--on-navy);
}
.btn--outline:hover { border-color: var(--navy-btn-h); color: var(--on-navy); }

/* Umrandeter Button auf dunklem Grund */
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: var(--on-navy);
}
.btn--ghost:hover { border-color: #fff; color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn-row--tight { margin-top: 24px; }
.btn-row--center { justify-content: center; }

.hero .btn--orange:hover,
.hero .btn--blue:hover,
.cta-band .btn--orange:hover,
.cta-band .btn--blue:hover { transform: translateY(-2px); }

/* ---------- Kopfleiste ---------- */

.topbar {
  background: var(--navy);
  color: #BBD6EA;
  font-size: 14px;
  letter-spacing: .01em;
}
.topbar__inner {
  padding-block: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.topbar__alert { color: var(--on-navy); }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(220, 235, 248, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--header-line);
}
.header__inner {
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.header__logo { display: block; flex-shrink: 0; }
.header__logo img { height: clamp(66px, 10vw, 104px); width: auto; }

.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.header__cta { display: flex; align-items: center; gap: 10px; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-family: var(--head);
  font-weight: 600;
  white-space: nowrap;
}
.nav a { color: var(--ink); }
.nav a:hover { color: var(--blue-deep); }
.nav a[aria-current="page"] {
  color: var(--blue-deep);
  box-shadow: inset 0 -2px 0 var(--orange);
}

/* Mobile Navigation – funktioniert per <details> auch ohne JavaScript */
.mobilnav { display: none; position: static; }
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border-radius: 10px;
  border: 2px solid var(--blue);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  list-style: none;
}
.burger::-webkit-details-marker { display: none; }
.burger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobilnav[open] .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobilnav[open] .burger span:nth-child(2) { opacity: 0; }
.mobilnav[open] .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobilnav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  font-family: var(--head);
  font-weight: 500;
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(11, 46, 79, .1);
}
.mobilnav__panel a {
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid #F0F4F8;
}
.mobilnav__panel a:last-child { border-bottom: none; }
.mobilnav__panel a[aria-current="page"] { color: var(--blue-deep); font-weight: 600; }

@media (max-width: 1079px) {
  .header__right { display: none; }
  .mobilnav { display: block; }
}

/* ---------- Startseite: Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, var(--blue) 0%, rgba(30, 155, 224, 0) 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%);
  color: var(--on-navy);
}
.hero__inner {
  padding-block: clamp(44px, 7vw, 86px) clamp(48px, 6vw, 80px);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #DCF0FC;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--orange);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  color: #fff;
  margin: 20px 0 0;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.hero h1 span { color: var(--orange); }
.hero__lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--on-navy-2);
  margin-top: 20px;
  max-width: 54ch;
}
.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--on-navy-4);
  list-style: none;
  padding: 0;
}

.mediabox {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, .06) 0px, rgba(255, 255, 255, .06) 10px,
    rgba(255, 255, 255, .02) 10px, rgba(255, 255, 255, .02) 20px);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.mediabox span {
  font-family: var(--mono);
  font-size: 13px;
  color: #8FB4D2;
  letter-spacing: .02em;
}
/* Hero-Bild: gleiche Rundung und Kante wie der frühere Platzhalter */
.heroimg {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.heroimg img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mediabox--light {
  border-radius: 14px;
  border-color: #DCE8F1;
  background: repeating-linear-gradient(135deg,
    #EDF4FA 0px, #EDF4FA 10px, #E3EEF7 10px, #E3EEF7 20px);
  min-height: 260px;
  margin-top: 32px;
}
.mediabox--light span { color: var(--muted-2); }

/* ---------- Startseite: Kennzahlen ---------- */

.pillars { border-bottom: 1px solid var(--line-4); background: #fff; }
.pillars__inner {
  padding-block: clamp(30px, 4vw, 44px);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pillar { padding-top: 16px; border-top: 3px solid var(--orange); }
.pillar:nth-child(even) { border-top-color: var(--blue); }
.pillar__k {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}
.pillar p { color: var(--muted); font-size: 16px; margin-top: 4px; }

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

.section { padding-block: clamp(48px, 7vw, 80px); }
.section--services {
  background: linear-gradient(180deg, #F2F8FD 0%, #ffffff 100%);
  padding-block: clamp(48px, 7vw, 84px);
}
.section--page { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 80px); }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-txt);
}
.h2-xl { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--navy); margin-top: 8px; }
.h2-lg { font-size: clamp(28px, 3.6vw, 38px); color: var(--navy); }
.h2-md { font-size: clamp(26px, 3.4vw, 34px); color: #fff; }

.h1-page { font-size: clamp(32px, 4.6vw, 46px); color: var(--navy); }
.h1-legal { font-size: clamp(30px, 4.2vw, 42px); color: var(--navy); }

.lead { color: var(--ink-4); margin-top: 14px; max-width: 60ch; font-size: 19px; }
.sub  { color: var(--muted); margin-top: 10px; max-width: 62ch; font-size: 18px; }

/* ---------- Leistungskarten ---------- */

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 32px;
}
.cards--page { margin-top: 36px; }

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 2px solid var(--line-2);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover {
  border-color: var(--blue);
  background: var(--tint-5);
  box-shadow: 0 18px 40px rgba(11, 46, 79, .15);
  transform: translateY(-6px);
  color: var(--ink);
}
.card__num {
  font-family: var(--head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue-pale);
  letter-spacing: -.03em;
}
.card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 99px;
  background: #FFF1DF;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dk);
  font-weight: 700;
}
.card__h { font-size: 24px; color: var(--navy); margin-top: 14px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 16px; margin-top: 10px; flex: 1; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--orange-txt);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--head);
}
.card__more i { color: var(--orange); font-style: normal; }

/* ---------- Diskretions-Abschnitt ---------- */

.discreet { background: var(--navy); color: var(--on-navy); }
.discreet__inner {
  padding-block: clamp(44px, 6vw, 68px);
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.discreet p { margin-top: 14px; color: var(--on-navy-3); max-width: 52ch; }
.discreet__list {
  display: grid;
  gap: 14px;
  align-content: center;
  list-style: none;
  padding: 0;
}
.discreet__list li { padding: 16px 18px; border-radius: 10px; background: var(--navy-3); }

/* ---------- Bewertungen ---------- */

.reviews {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 30px;
}
.review {
  padding: 26px;
  border-radius: 12px;
  background: var(--tint-2);
  border: 1px solid var(--line-3);
}
.review__stars { color: var(--star); letter-spacing: 3px; font-size: 16px; }
.review p { margin-top: 12px; color: var(--ink-2); }
.review__meta { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

.linkmore { display: inline-block; margin-top: 24px; color: var(--blue-deep); font-weight: 600; }

/* ---------- Abschluss-Band ---------- */

.cta-band {
  background:
    radial-gradient(700px 340px at 50% 0%, var(--blue) 0%, rgba(30, 155, 224, 0) 65%),
    var(--navy);
}
.cta-band__inner { padding-block: clamp(48px, 6.5vw, 76px); text-align: center; }
.cta-band h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  color: #fff;
  letter-spacing: -.02em;
}
.cta-band p {
  color: var(--on-navy-2);
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 18px;
}

/* ---------- Leistung: Detailseite ---------- */

.servicehero { background: var(--tint); border-bottom: 1px solid var(--line-3); }
.servicehero__inner { padding-block: clamp(32px, 5vw, 60px); }
.backlink { font-size: 15px; color: var(--blue-deep); }
.servicehero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--navy);
  margin-top: 14px;
}
.servicehero h1 span { color: var(--blue); }
.servicehero__intro { font-size: 19px; color: var(--ink-4); margin-top: 16px; }

.article-body { padding-block: clamp(36px, 5vw, 60px); }

.overview {
  padding: 26px 28px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.overview h2 { font-size: 20px; font-weight: 600; color: var(--navy); }
.overview ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: var(--ink-2);
}

.prose { display: grid; gap: 30px; margin-top: 36px; }
.prose h2 { font-size: clamp(22px, 2.8vw, 27px); font-weight: 600; color: var(--navy); }
.prose p { color: var(--ink-3); margin-top: 10px; }

.ctabox {
  margin-top: 44px;
  padding: 30px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--on-navy);
}
.ctabox h2 { font-size: 24px; color: #fff; }
.ctabox p { margin-top: 10px; color: var(--on-navy-3); }
.ctabox .btn-row { margin-top: 20px; }

.infobox {
  margin-top: 44px;
  padding: 28px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line-3);
}
.infobox h2 { font-size: 22px; font-weight: 600; color: var(--navy); }
.infobox p { color: var(--ink-3); margin-top: 8px; }

.linklist {
  margin-top: 12px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--ink-3);
}

/* ---------- Einzugsgebiet ---------- */

.areas {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 36px;
}
.area {
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--tint-3);
}
.area h2 { font-size: 20px; font-weight: 600; color: var(--navy); }
.area p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.aftertext { color: var(--muted); margin-top: 28px; max-width: 60ch; }

/* ---------- Über uns ---------- */

.about-prose { display: grid; gap: 28px; margin-top: 36px; }
.about-prose h2 { font-size: 26px; font-weight: 600; color: var(--navy); }
.about-prose p { color: var(--ink-3); margin-top: 10px; }

.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
}
.tile {
  padding: 20px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line-3);
}
.tile strong { color: var(--navy); }
.tile p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Referenzen ---------- */

.placeholderbox {
  margin-top: 36px;
  padding: 28px;
  border-radius: 12px;
  border: 1px dashed #C4D8E7;
  background: var(--tint-4);
}
.placeholderbox h2 { font-size: 20px; font-weight: 600; color: var(--navy); }
.placeholderbox p { color: var(--muted); margin-top: 8px; }

.clients { margin-top: 36px; }
.clients h2 { font-size: 26px; font-weight: 600; color: var(--navy); }
.clients__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 16px;
  list-style: none;
  padding: 0;
}
.clients__grid li {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
}

/* ---------- FAQ ---------- */

.faq { margin-top: 34px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--head);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { color: var(--ink-3); padding: 0 0 22px; max-width: 70ch; }

/* ---------- Ratgeber ---------- */

.posts { display: grid; gap: 18px; margin-top: 34px; }
.post {
  display: block;
  padding: 26px 28px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.post:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 22px rgba(11, 46, 79, .08);
  color: var(--ink);
}
.post__date { font-size: 14px; color: var(--muted-2); }
.post h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.post p { color: var(--muted); margin-top: 8px; }
.post__more { display: inline-block; margin-top: 12px; color: var(--blue-deep); font-weight: 600; }

.post-page { padding-block: clamp(36px, 5vw, 64px) clamp(48px, 7vw, 80px); }
.post-page__date { display: block; font-size: 14px; color: var(--muted-2); margin-top: 16px; }
.post-page h1 { font-size: clamp(30px, 4.2vw, 42px); color: var(--navy); margin-top: 6px; }
.post-page__teaser { font-size: 19px; color: var(--ink-4); margin-top: 16px; }
.post-page .prose h2 { font-size: 25px; }

/* ---------- Kontakt ---------- */

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

.ctile {
  display: block;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.ctile:hover { background: var(--navy-3); color: #fff; }
.ctile--blue { background: var(--blue); }
.ctile--blue:hover { background: var(--blue-hi); }
.ctile__label { font-size: 14px; color: var(--on-navy-4); }
.ctile--blue .ctile__label { color: #DCF0FC; }
.ctile__value { font-family: var(--head); font-size: 26px; font-weight: 700; color: #fff; }

.itile { padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line-2); }
.itile h2 { font-size: 19px; font-weight: 600; color: var(--navy); }
.itile p { color: var(--ink-3); margin-top: 6px; }

/* ---------- Formular ---------- */

.form {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--tint-4);
  display: grid;
  gap: 16px;
}
.form h2 { font-size: 24px; font-weight: 600; color: var(--navy); }
.form label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-3); }
.form input[type=text],
.form input[type=email],
.form select,
.form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line-field);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(30, 155, 224, .25);
  outline-offset: 0;
}
/* Muss .form label schlagen, sonst stapelt das Grid Kästchen und Text. */
.form label.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.form__check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.form__hint { font-size: 13px; color: var(--muted-2); }
.form button[type=submit] {
  padding: 15px 24px;
  border-radius: 9px;
  border: none;
  background: var(--navy);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
.form button[type=submit]:hover { background: var(--navy-3); }
.form button[type=submit][disabled] { opacity: .6; cursor: progress; }

/* Honeypot: für Menschen unsichtbar, für Bots ausfüllbar */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.notice--err  { background: #FDECEC; color: #8C2B2B; }
.notice--ok   { background: #E6F5EA; color: #1F6B3A; }
.notice--warn {
  background: #FFF6E5;
  border: 1px solid #F0D9A8;
  color: #7A5411;
  padding: 14px 16px;
}
.notice--warn a, .notice--err a { color: inherit; text-decoration: underline; }

/* ---------- Rechtstexte ---------- */

.legal { display: grid; gap: 26px; margin-top: 28px; color: var(--ink-3); }
.legal h2 { font-size: 21px; font-weight: 600; color: var(--navy); }
.legal h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.legal p { margin-top: 8px; }
.legal ul { margin-top: 8px; padding-left: 20px; display: grid; gap: 6px; }
.legal__note { font-size: 14px; color: var(--muted-2); }
.legal__box {
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line-3);
}

/* ---------- Fussbereich ---------- */

.footer { background: var(--navy); color: var(--on-navy-5); margin-top: auto; }
.footer__grid {
  padding-block: clamp(36px, 5vw, 56px) 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer__logo { height: 104px; width: auto; margin-bottom: 16px; }
.footer__addr { font-size: 15px; color: var(--on-navy-4); }
.footer__addr a { color: var(--on-navy); }
.footer__h {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer__links { display: grid; gap: 8px; margin-top: 12px; font-size: 15px; justify-items: start; }
.footer__links a, .footer__links span { color: var(--on-navy-5); }
.footer__links a:hover { color: #fff; }
.footer__consent {
  background: none;
  border: none;
  padding: 0;
  color: var(--on-navy-5);
  font-size: 15px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
}
.footer__consent:hover { color: #fff; }
.footer__bar { border-top: 1px solid var(--navy-line); }
.footer__bar .wrap { padding-block: 16px; font-size: 14px; color: #7FA5C4; }
.footer__spacer { display: none; }

/* ---------- Feste Kontaktleiste auf schmalen Bildschirmen ---------- */

.callbar { display: none; }

@media (max-width: 1079px) {
  .footer__spacer { display: block; height: var(--callbar-h); }
  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(11, 46, 79, .08);
  }
  .callbar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 9px;
    font-weight: 600;
    font-family: var(--head);
    font-size: 17px;
  }
  .callbar__btn--navy { background: var(--navy); color: #fff; }
  .callbar__btn--blue { background: var(--blue); color: #fff; }
  body.consent-open .callbar { display: none; }
}

/* ---------- Einwilligungs-Banner ---------- */

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 -10px 40px rgba(11, 46, 79, .22);
}
.consent[hidden] { display: none; }
.consent__box {
  max-width: 1140px;
  margin-inline: auto;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
}
.consent__title { font-size: 20px; font-weight: 700; color: var(--navy); }
.consent__text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-3);
  max-width: 88ch;
  line-height: 1.6;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
/* Beide Schaltflächen bewusst gleich gross – kein Dark Pattern. */
.consent__actions .btn { flex: 1 1 240px; padding: 14px 24px; border-radius: 9px; }
.consent__links { margin-top: 12px; font-size: 14px; color: var(--muted-2); }

/* Platzhalter für externe Inhalte, solange keine Einwilligung vorliegt */
.embed-consent {
  padding: 28px;
  border-radius: 12px;
  border: 1px dashed #C4D8E7;
  background: var(--tint-4);
  text-align: center;
}
.embed-consent h2 { font-size: 20px; font-weight: 600; color: var(--navy); }
.embed-consent p { color: var(--muted); margin-top: 8px; }
.embed-consent .btn { margin-top: 16px; }

/* ---------- Druck und Bewegungsreduktion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .btn:hover { transform: none; }
}

@media print {
  .topbar, .header, .callbar, .consent, .footer__links, .btn-row { display: none !important; }
  body { font-size: 12pt; }
}
