/* ==========================================================================
   CleanVision München – Design System
   Version 2.0 · Relaunch 2026
   ========================================================================== */

/* --- 0. Schriften (lokal gehostet, DSGVO-konform) ------------------------
   Legen Sie die Dateien dm-sans-400.woff2 / -500 / -700 in assets/fonts/ ab.
   Kurzanleitung dazu steht in ANLEITUNG.md, Abschnitt 4.
   Fehlen die Dateien, greift automatisch die System-Schrift - die Seite
   bleibt vollstaendig funktionsfaehig und laedt keine Google-Server.        */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Farben */
  --navy:        #0C2340;
  --navy-soft:   #16334F;
  --blue:        #0A6ED1;
  --blue-dark:   #0857A6;
  --blue-light:  #E8F1FC;
  --ice:         #F4F8FC;
  --white:       #FFFFFF;
  --text:        #14212E;
  --muted:       #5A6B7B;
  --line:        #C9D6E4;   /* Rahmen: deutlich sichtbar */
  --line-soft:   #E3EAF1;   /* nur fuer feine Trenner */
  --green:       #14855A;
  --amber:       #E8A317;

  /* Typo */
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Maße */
  --wrap: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12,35,64,.06), 0 2px 8px rgba(12,35,64,.05);
  --shadow: 0 4px 12px rgba(12,35,64,.07), 0 12px 32px rgba(12,35,64,.07);
  --shadow-lg: 0 8px 24px rgba(12,35,64,.10), 0 24px 64px rgba(12,35,64,.10);
  --header-h: 76px;
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

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

/* --- 3. Typografie ------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.022em; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }
strong { color: var(--text); font-weight: 700; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.72); }
.section--navy .eyebrow { color: #7FB6F0; }
.section--navy .eyebrow::before { background: #7FB6F0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(10,110,209,.32); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10,110,209,.38); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--lg { padding: 18px 34px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 6. Header ----------------------------------------------------------- */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.8);
  font-size: .84rem; padding: 8px 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar__list { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; color: #7FB6F0; }
.topbar a:hover { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 1.12rem; color: var(--navy); letter-spacing: -.02em; }
.logo__sub { font-size: .68rem; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 10px 14px; border-radius: 9px; font-size: .95rem; font-weight: 500; color: var(--text);
  transition: background .16s ease, color .16s ease; position: relative;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--blue-light); color: var(--blue-dark); }

.nav__group { position: relative; }
.nav__toggle { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.nav__toggle svg { width: 13px; height: 13px; transition: transform .2s ease; }
.nav__group[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__group[data-open="true"] .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 11px 13px; border-radius: 9px; font-size: .93rem; font-weight: 500; }
.nav__menu a small { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 1px; }
.nav__menu a:hover { background: var(--ice); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .95rem;
  padding: 9px 4px;
}
.header__phone svg { width: 17px; height: 17px; color: var(--blue); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: 11px; cursor: pointer; place-items: center;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .22s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; transition: .22s;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: calc(var(--header-h)) 0 0; z-index: 55;
  background: #fff; overflow-y: auto; padding: 24px 22px 40px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.06rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--navy); }
.mobile-nav .sub a { padding-left: 18px; font-size: .96rem; font-weight: 500; color: var(--muted); }
.mobile-nav .btn { margin-top: 22px; }

/* --- 7. Hero ------------------------------------------------------------- */
.hero { position: relative; background: var(--ice); overflow: hidden; padding: clamp(44px, 6vw, 84px) 0 clamp(50px, 6vw, 88px); }
.hero::before {
  content: ""; position: absolute; top: -220px; right: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,110,209,.11) 0%, rgba(10,110,209,0) 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lead { max-width: 520px; margin-bottom: 28px; }

.hero__usp {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 22px; margin: 30px 0 0;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); max-width: 520px;
}
.hero__usp li { display: flex; align-items: center; gap: 9px; font-size: .94rem; font-weight: 600; color: var(--navy); }
.hero__usp svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero__badge {
  position: absolute; bottom: 22px; left: -22px; background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 13px; max-width: 260px;
}
.hero__badge__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-light); display: grid; place-items: center; color: var(--blue); flex-shrink: 0; }
.hero__badge__icon svg { width: 22px; height: 22px; }
.hero__badge strong { display: block; font-size: .98rem; color: var(--navy); line-height: 1.25; }
.hero__badge span { font-size: .82rem; color: var(--muted); }

/* --- 8. Trust-Leiste ----------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust { padding: 30px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item {
  padding: 24px 18px; text-align: center; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.trust__item svg { width: 26px; height: 26px; color: var(--blue); margin: 0 auto 10px; }
.trust__item strong { display: block; font-size: 1.02rem; color: var(--navy); line-height: 1.25; }
.trust__item span { font-size: .86rem; color: var(--muted); }

/* --- 9. Cards ------------------------------------------------------------ */
.card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.card__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--blue-light); display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; }
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card__link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .93rem; color: var(--blue); }
.card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.card:hover .card__link svg { transform: translateX(3px); }

.service-card { padding: 0; overflow: hidden; }
.service-card .media { aspect-ratio: 16/10; border-radius: 0; }
.service-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }

/* Feature-Karten (Warum wir) */
.feature {
  display: flex; gap: 16px; background: #fff; border: 2px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow-sm);
}
.section--navy .feature { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); box-shadow: none; }
.section--ice .feature { box-shadow: none; }
.feature__num {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem;
}
.section--navy .feature__num { background: var(--blue); }
.feature h3 { margin-bottom: 7px; font-size: 1.12rem; }
.feature p { font-size: .95rem; }

/* --- 10. Ablauf / Steps -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 2px solid var(--line);
  border-radius: var(--radius); padding: 62px 22px 24px; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 20px; left: 22px;
  width: 32px; height: 32px; border-radius: 9px; background: var(--blue-light); color: var(--blue-dark);
  display: grid; place-items: center; font-size: .92rem; font-weight: 700; letter-spacing: -.01em;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* --- 11. Media / Bilder -------------------------------------------------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-light);
  background-image: linear-gradient(135deg, #DCEAFA 0%, #F2F7FD 55%, #E4EEF9 100%);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .84rem; font-weight: 600; color: #86A5C4; text-align: center; padding: 18px; letter-spacing: .02em;
}
.media--tall { aspect-ratio: 3/4; }
.media--wide { aspect-ratio: 16/9; }
.media--square { aspect-ratio: 1/1; }

/* --- 12. FAQ ------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 0 22px; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item:hover { border-color: var(--blue); }
.faq__item[data-open="true"] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 40px 20px 0; font-size: 1.04rem; font-weight: 600; color: var(--navy); position: relative;
  line-height: 1.4;
}
.faq__q::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq__item[data-open="true"] .faq__q::after { transform: translateY(-20%) rotate(-135deg); }
.faq__a { display: none; padding: 0 30px 22px 0; border-top: 1px solid var(--line-soft); margin-top: -2px; padding-top: 16px; }
.faq__item[data-open="true"] .faq__a { display: block; }
.faq__a p + p { margin-top: 12px; }

/* --- 13. Formulare ------------------------------------------------------- */
.form-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 11px;
  background: #fff; font-size: .98rem; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,110,209,.11);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B7B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 42px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--muted); line-height: 1.5; }
.check input { width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.check a { color: var(--blue); text-decoration: underline; }

.form-note { font-size: .84rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success {
  display: none; text-align: center; padding: 34px 20px;
  background: #F0FAF5; border: 1.5px solid #B9E5CF; border-radius: var(--radius);
}
.form-success[data-show="true"] { display: block; }
.form-success svg { width: 46px; height: 46px; color: var(--green); margin: 0 auto 14px; }
.form-success h3 { color: var(--green); margin-bottom: 8px; }
.form-error { display: none; background: #FEF2F2; border: 1.5px solid #FBC5C5; color: #9B1C1C; padding: 14px 16px; border-radius: 11px; font-size: .92rem; margin-bottom: 16px; }
.form-error[data-show="true"] { display: block; }

/* Auswahl-Kacheln */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; padding: 13px 12px; border: 2px solid var(--line); border-radius: 11px; text-align: center;
  font-size: .92rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: .16s;
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue-light); color: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice span:hover { border-color: #BBD3EC; }

/* Formular-Gruppen: zusammengehoerige Felder in einem Kasten */
.fieldset {
  border: 2px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius); background: var(--ice);
  padding: 20px 20px 4px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.fieldset__title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--navy);
}
.fieldset__num {
  width: 23px; height: 23px; border-radius: 7px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: .72rem; flex-shrink: 0; letter-spacing: 0;
}
.fieldset .field input, .fieldset .field select, .fieldset .field textarea { background: #fff; }
.fieldset .choice span { background: #fff; }

/* Allgemeiner Info-Kasten */
.box {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.box--ice { background: var(--ice); box-shadow: none; }
.box__title {
  display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px;
}
.box__title svg { width: 16px; height: 16px; color: var(--blue); }

/* --- 14. CTA-Band -------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #14375C 100%); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -140px; bottom: -180px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,110,209,.30) 0%, transparent 68%);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 12px; max-width: 560px; }

/* --- 15. Jobs ------------------------------------------------------------ */
.perk-list { display: grid; gap: 10px; }
.perk-list li {
  display: flex; gap: 12px; align-items: flex-start; font-size: .97rem;
  background: #fff; border: 2px solid var(--line); border-radius: 11px; padding: 13px 16px;
}
.section--ice .perk-list li { box-shadow: var(--shadow-sm); }
.perk-list svg { width: 21px; height: 21px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.job-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 16px; }
.tag { font-size: .79rem; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: var(--ice); color: var(--navy); border: 1px solid var(--line); }

/* --- 16. Footer ---------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: clamp(48px, 6vw, 76px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a { font-size: .95rem; transition: color .16s ease; }
.footer a:hover { color: #fff; }
.footer__about p { color: rgba(255,255,255,.6); font-size: .95rem; margin: 16px 0 20px; max-width: 330px; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255,255,255,.5); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { width: 17px; height: 17px; color: #7FB6F0; flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .88rem;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* --- 17. Sticky Mobile-CTA ---------------------------------------------- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -4px 20px rgba(12,35,64,.09);
}
.sticky-cta .btn { flex: 1; padding: 14px 12px; font-size: .95rem; }

/* --- 18. Content-Seiten (Recht, Text) ------------------------------------ */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.13rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose ul li { color: var(--muted); margin-bottom: 7px; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose address { font-style: normal; color: var(--muted); line-height: 1.8; }
.placeholder-note {
  background: #FFF8E6; border: 1.5px solid #F3D98A; border-radius: 11px; padding: 15px 17px;
  font-size: .92rem; color: #7A5B10; margin-bottom: 22px;
}
.placeholder-note strong { color: #5C4409; }
mark.ph { background: #FFE9A8; color: #6B4E06; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

.page-hero { background: var(--ice); padding: clamp(38px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: #A8B6C4; }

/* --- 20. Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .hero__badge { left: auto; right: 14px; }
  .split { grid-template-columns: 1fr; }
  .split--rev > *:first-child { order: 2; }
  .topbar__list li:not(:first-child) { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__usp { grid-template-columns: 1fr; max-width: none; }
  .sticky-cta { display: flex; }
  .trust__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-band .btn { width: auto; }
}

@media print {
  .header, .topbar, .sticky-cta, .cta-band, .footer, .burger, .mobile-nav { display: none !important; }
}

/* ==========================================================================
   21. ANIMATIONEN
   Alles laeuft nur, wenn JavaScript aktiv ist (<html class="anim">).
   Ohne JS ist sofort alles sichtbar - die Seite kann nie "leer" bleiben.
   ========================================================================== */

/* --- Scroll-Reveal: Grundzustand --- */
.anim .reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity .85s cubic-bezier(.16,.84,.32,1), transform .85s cubic-bezier(.16,.84,.32,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.anim .reveal.is-visible { opacity: 1; transform: none; }

/* --- Richtungsvarianten --- */
.anim .reveal--left  { transform: translateX(-56px); }
.anim .reveal--right { transform: translateX(56px); }
.anim .reveal--zoom  { transform: scale(.90); }
.anim .reveal--fade  { transform: none; }
.anim .reveal--up-lg { transform: translateY(48px); }
.anim .reveal--left.is-visible,
.anim .reveal--right.is-visible,
.anim .reveal--zoom.is-visible,
.anim .reveal--up-lg.is-visible { transform: none; }

/* --- Bilder: sanft heranzoomen --- */
.anim .media img { transition: transform 1.1s cubic-bezier(.22,.61,.36,1), opacity .8s ease; }
.anim .reveal .media img,
.anim .media.reveal img { transform: scale(1.07); opacity: .85; }
.anim .reveal.is-visible .media img,
.anim .media.reveal.is-visible img { transform: scale(1); opacity: 1; }

/* --- Header: schrumpft beim Scrollen --- */
.header { transition: height .28s ease, box-shadow .28s ease, background .28s ease; }
.header.is-scrolled { box-shadow: 0 2px 18px rgba(12,35,64,.10); background: rgba(255,255,255,.97); }
.header.is-scrolled .header__inner { height: 62px; }
.header__inner { transition: height .28s cubic-bezier(.22,.61,.36,1); }
.header.is-scrolled .logo__mark { width: 33px; height: 33px; border-radius: 9px; }
.logo__mark { transition: width .28s ease, height .28s ease, border-radius .28s ease; }
.header.is-scrolled .logo__sub { opacity: 0; height: 0; overflow: hidden; }
.logo__sub { transition: opacity .2s ease, height .28s ease; }

/* --- Lesefortschritt oben --- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue) 0%, #4FA3EA 100%);
  z-index: 70; transition: width .1s linear; border-radius: 0 3px 3px 0;
}

/* --- Zahlen im Ablauf: kurzer Puls beim Erscheinen --- */
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.anim .step.is-visible::before { animation: pop .5s cubic-bezier(.22,.61,.36,1) backwards; animation-delay: calc(var(--d, 0ms) + 180ms); }
.anim .feature.is-visible .feature__num { animation: pop .5s cubic-bezier(.22,.61,.36,1) backwards; animation-delay: calc(var(--d, 0ms) + 150ms); }

/* --- Haken in Listen: von links einlaufen --- */
@keyframes slideIn { from { transform: translateX(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.anim .perk-list li.is-visible svg,
.anim .hero__usp li svg { animation: slideIn .45s ease backwards; }

/* --- Karten: weicheres Anheben --- */
.card, .step, .feature, .box, .trust__item, .faq__item, .perk-list li {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, border-color .25s ease;
}
.trust__item:hover, .step:hover, .box:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.perk-list li:hover { transform: translateX(3px); border-color: var(--blue); }

/* --- Buttons: Glanz beim Hover --- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.30) 50%, transparent 80%);
}
.btn--primary:hover::after { transform: translateX(110%); transition: transform .75s cubic-bezier(.22,.61,.36,1); }

/* --- Hero: Inhalte gestaffelt einblenden --- */
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.anim .hero__inner > div > *,
.anim .hero__media { animation: heroIn .8s cubic-bezier(.22,.61,.36,1) backwards; }
.anim .hero__inner > div > *:nth-child(1) { animation-delay: .05s; }
.anim .hero__inner > div > *:nth-child(2) { animation-delay: .13s; }
.anim .hero__inner > div > *:nth-child(3) { animation-delay: .21s; }
.anim .hero__inner > div > *:nth-child(4) { animation-delay: .29s; }
.anim .hero__inner > div > *:nth-child(5) { animation-delay: .37s; }
.anim .hero__media { animation-delay: .18s; }

/* --- Hero-Badge: schwebt leicht --- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.anim .hero__badge { animation: heroIn .8s cubic-bezier(.22,.61,.36,1) .5s backwards, float 5s ease-in-out 1.3s infinite; }

/* --- Navigation: Unterstrich waechst --- */
.nav__link::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}
.nav__link:hover::before, .nav__link[aria-current="page"]::before { transform: scaleX(1); }

/* --- FAQ: Antwort faehrt auf --- */
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.anim .faq__item[data-open="true"] .faq__a { animation: faqOpen .3s ease; }

/* --- Nach oben scrollen --- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer;
  border: 0; z-index: 45; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
  box-shadow: var(--shadow);
}
.to-top svg { width: 20px; height: 20px; }
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* --- Barrierefreiheit: alles aus, wenn der Nutzer das so eingestellt hat --- */
@media (prefers-reduced-motion: reduce) {
  .anim .reveal, .anim .reveal--left, .anim .reveal--right, .anim .reveal--zoom, .anim .reveal--up-lg {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .anim .hero__inner > div > *, .anim .hero__media, .anim .hero__badge,
  .anim .step.is-visible::before, .anim .feature.is-visible .feature__num { animation: none !important; }
  .progress { display: none; }
  .anim .media img { transform: none !important; opacity: 1 !important; }
}

@media (max-width: 680px) {
  .to-top { right: 14px; bottom: 86px; width: 42px; height: 42px; }
}

/* ==========================================================================
   22. MEHR BEWEGUNG BEIM SCROLLEN
   ========================================================================== */

/* --- Zahlen-Band: Werte zaehlen beim Erscheinen hoch --- */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; left: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,110,209,.30) 0%, transparent 68%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
}
.stat__num {
  font-size: clamp(2.1rem, 4.4vw, 3rem); font-weight: 700; color: #fff;
  letter-spacing: -.035em; line-height: 1; display: block;
}
.stat__num small { font-size: .5em; font-weight: 700; margin-left: 2px; letter-spacing: -.02em; }
.stat__label { display: block; margin-top: 10px; font-size: .93rem; color: rgba(255,255,255,.7); }

/* --- Bilder: leichte Tiefenwirkung beim Scrollen --- */
.anim [data-parallax] { will-change: transform; }
/* Bild leicht ueberdimensioniert, damit beim Mitbewegen keine Kanten frei werden */
.media img[data-parallax] { scale: 1.14; }

/* --- Ueberschriften: Linie waechst mit --- */
.section-head--center h2 { position: relative; display: inline-block; padding-bottom: 16px; }
.section-head--center h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 3px; width: 0;
  background: var(--blue); border-radius: 3px; transform: translateX(-50%);
  transition: width .8s cubic-bezier(.16,.84,.32,1) .25s;
}
.anim .section-head.is-visible h2::after { width: 62px; }
html:not(.anim) .section-head--center h2::after { width: 62px; }

/* --- Abschnittswechsel: Inhalt kommt gestaffelt --- */
.anim .split.is-visible > * { transition-delay: 0ms; }
.anim .split > *:nth-child(2) { transition-delay: 120ms; }

/* --- Karten: 3D-Neigung beim Ueberfahren --- */
.card, .step, .trust__item, .box { transform-style: preserve-3d; }
.anim .service-card:hover .media img { transform: scale(1.06); }
.service-card .media img { transition: transform .7s cubic-bezier(.16,.84,.32,1); }

/* --- Trennlinie zwischen Abschnitten, die sich aufbaut --- */
.divider { height: 2px; background: var(--line-soft); position: relative; overflow: hidden; }
.divider::after {
  content: ""; position: absolute; inset: 0; width: 0; background: var(--blue);
  transition: width 1.1s cubic-bezier(.16,.84,.32,1);
}
.anim .divider.is-visible::after { width: 100%; }

/* --- Sticky-Effekt: Bild bleibt kurz stehen --- */
.sticky-media { position: sticky; top: calc(var(--header-h) + 30px); }

/* --- Buchstaben der grossen Ueberschrift laufen ein --- */
@keyframes wordUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.anim .hero h1 .w { display: inline-block; animation: wordUp .75s cubic-bezier(.16,.84,.32,1) backwards; }

@media (max-width: 1024px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .stats__grid { grid-template-columns: 1fr; } .sticky-media { position: static; } }

@media (prefers-reduced-motion: reduce) {
  .section-head--center h2::after { width: 62px !important; transition: none !important; }
  .divider::after { width: 100% !important; transition: none !important; }
  .anim .hero h1 .w { animation: none !important; }
  .anim [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   23. AKTIONSBANNER UND RABATT
   ========================================================================== */
.promo {
  background: linear-gradient(90deg, #0A6ED1 0%, #0857A6 100%); color: #fff;
  font-size: .91rem; padding: 10px 0; position: relative;
}
.promo__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.promo strong { color: #fff; font-weight: 700; }
.promo__code {
  display: inline-flex; align-items: center; gap: 7px;
  border: 2px dashed rgba(255,255,255,.55); border-radius: 8px; padding: 3px 11px;
  font-weight: 700; letter-spacing: .08em; font-size: .88rem;
}
.promo__link { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.promo__link:hover { opacity: .82; }
.promo__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,.75); cursor: pointer; padding: 6px; line-height: 0;
}
.promo__close svg { width: 15px; height: 15px; }
.promo__close:hover { color: #fff; }
.promo[hidden] { display: none; }

/* Aktionskasten auf der Startseite */
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: var(--blue-light); border: 2px solid #A9CCEC; border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.offer__badge {
  width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em;
  flex-shrink: 0; line-height: 1;
}
.offer h3 { margin-bottom: 6px; }
.offer p { font-size: .95rem; }
.offer__code {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 12px;
  background: #fff; border: 2px dashed var(--blue); border-radius: 10px; padding: 8px 15px;
  font-weight: 700; color: var(--blue-dark); letter-spacing: .09em;
}
.offer__code span:first-child { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.offer__fine { font-size: .82rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .offer { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .offer__fine { text-align: center; }
}
@media (max-width: 680px) {
  .promo { font-size: .84rem; padding: 10px 34px; }
  .promo__inner { gap: 8px; }
}

/* ==========================================================================
   24. BEWERTUNGEN
   ========================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review__stars svg { width: 17px; height: 17px; color: #F5A623; }
.review__text { font-size: .97rem; color: var(--text); line-height: 1.6; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.review__name { font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.review__meta { font-size: .84rem; color: var(--muted); }
.review--empty { border-style: dashed; border-color: #F3D98A; background: #FFFCF4; }
.review--empty .review__text { color: #7A5B10; font-style: italic; }
.review--empty .review__stars svg { color: #E4D3A4; }
.review--empty .review__avatar { background: #FBEFCE; color: #7A5B10; }

@media (max-width: 1024px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .reviews { grid-template-columns: 1fr; } }

/* ==========================================================================
   25. VERSPRECHEN / ZITATE
   ========================================================================== */
.quote {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}
.quote::before {
  content: "\201E"; position: absolute; top: 6px; right: 22px;
  font-size: 5.4rem; line-height: 1; color: var(--blue-light); font-weight: 700;
  pointer-events: none;
}
.quote__text {
  position: relative; font-size: 1.04rem; line-height: 1.6; color: var(--text);
  font-weight: 500; flex: 1;
}
.quote__author {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.quote__mark {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: grid; place-items: center; color: #fff;
}
.quote__mark svg { width: 20px; height: 20px; }
.quote__name { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.quote__role { display: block; font-size: .84rem; color: var(--muted); }
