/* Thermokraft Bamberg – Stylesheet
   Aufbau und Rhythmus wie sonnenkraft-bamberg.de (Roboto, eckige Buttons, dunkle Blöcke),
   Farben aus dem Thermokraft-Logo: Rot #E4473B (warm), Blau #4CA3F3 (Luft/kühl), Grau. */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-vf-latin.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --red: #E4473B;            /* Logo-Rot: Flächen, Grafik, große Schrift */
  --red-cta: #C8362B;        /* Buttons: Weiß darauf 5,2:1 */
  --red-cta-hover: #A92C22;
  --red-soft: #FDEEEC;
  --blue: #4CA3F3;           /* Logo-Blau: Grafik, Akzente */
  --blue-text: #1E6DB5;      /* Blau als Text auf Weiß: 5,4:1 */
  --blue-soft: #EAF4FE;
  --ink: #25282C;            /* Anthrazit aus dem Logo-Grau: Kopf, Footer, dunkle Blöcke */
  --ink-2: #30343A;
  --ink-line: rgba(255, 255, 255, .16);
  --on-ink-muted: #B9BFC6;
  --heading: #1D1F22;
  --text: #404040;
  --muted: #5F6368;
  --line: #E2E4E7;
  --soft: #F5F5F5;
  --white: #FFFFFF;
  --container: 1140px;
  --gutter: 20px;
  --header-h: 90px;
  --shadow: 0 10px 30px rgba(20, 22, 25, .08);
  --shadow-strong: 0 18px 50px rgba(20, 22, 25, .18);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 350;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { color: var(--heading); margin: 0 0 .5em; line-height: 1.2; font-weight: 500; }
h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.005em; }
h3 { font-size: 22px; font-weight: 700; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 500; }
.skip-link:focus { top: 12px; }

/* Augenbraue mit Rot/Blau-Teilung wie das Logo-Haus */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--heading); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; flex: none;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}
.section-dark .eyebrow, .on-dark .eyebrow, .page-hero .eyebrow { color: #fff; }
.lead { font-size: 20px; line-height: 1.6; }

/* Buttons – eckig wie bei Sonnenkraft */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 19px 26px; border: 0; border-radius: 0;
  font: 500 15px/1.2 "Roboto", sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--red-cta); color: #fff; }
.btn-primary:hover { background: var(--red-cta-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--red-soft); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px currentColor; }
.btn-outline:hover { background: var(--soft); }
.btn-sm { padding: 13px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--ink); height: var(--header-h); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; padding: 33px 0; position: relative; }
.menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.menu > li:hover > a::after, .menu > li.is-active > a::after { transform: scaleX(1); }
.sub-toggle { background: none; border: 0; color: #fff; padding: 4px; margin-left: 2px; cursor: pointer; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.sub {
  position: absolute; top: 100%; left: -20px; min-width: 260px; list-style: none; margin: 0; padding: 10px 0;
  background: #fff; box-shadow: var(--shadow-strong); border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub a { display: block; padding: 10px 22px; color: var(--heading); text-decoration: none; font-size: 15px; font-weight: 400; }
.sub a:hover { background: var(--soft); color: var(--red-cta); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-phone { display: none; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: clamp(600px, calc(100vh - var(--header-h)), 820px); display: flex; align-items: center; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,40,44,.92) 0%, rgba(37,40,44,.72) 45%, rgba(37,40,44,.35) 100%); }
.hero-house { position: absolute; right: -40px; bottom: -30px; width: min(46vw, 560px); opacity: .9; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 70px 0; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-lead { font-size: 19px; font-weight: 400; max-width: 640px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 30px 0 0; font-size: 15px; font-weight: 400; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--red); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #fff; z-index: 2; animation: bob 2.2s infinite; }
.scroll-hint svg { width: 30px; height: 30px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* Claim */
.claim { padding: 90px 0 30px; }
.claim h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 12px; }
.claim p { font-size: 20px; max-width: 700px; margin: 0 auto; }

/* Region (Bild + Text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; margin: 0; padding: 0 60px 60px 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-badge {
  position: absolute; right: 0; bottom: 0; width: 210px; padding: 26px 24px;
  background: var(--red-cta); color: #fff; font-weight: 500; font-size: 18px; line-height: 1.35;
}
.split-badge svg { width: 46px; height: 46px; margin-bottom: 14px; }
.split-text .lead-strong { color: var(--heading); font-weight: 700; font-size: 17px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--heading); font-weight: 400; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 1px; }
.section-dark .checklist li { color: #fff; }
.section-dark .checklist svg { color: var(--red); }

/* Intro dunkel + Schnellanfrage */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.intro-text .big { font-size: 20px; line-height: 1.7; }
.person { display: flex; align-items: center; gap: 14px; margin: 30px 0; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.person strong { display: block; color: #fff; font-weight: 700; font-size: 15px; }
.person span { font-size: 14px; color: var(--on-ink-muted); }
.partners { border-top: 1px solid var(--ink-line); padding-top: 26px; margin-top: 34px; }
.partners-label { font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 42px; }
.partner-logo { font-weight: 800; font-size: 24px; letter-spacing: .02em; color: #D8DCE0; font-stretch: 85%; }
.partner-logo small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .08em; color: var(--on-ink-muted); }

/* Formulare */
.form-card { background: #fff; color: var(--text); padding: 36px 34px; box-shadow: var(--shadow-strong); }
.form-card h3, .section-dark .form-card h3 { font-size: 26px; margin-bottom: 6px; color: var(--heading); }
.form-card .form-intro { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.req { color: var(--red-cta); }
.input, .select, textarea.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #C9CDD2; border-radius: 0;
  font: 400 16px "Roboto", sans-serif; color: var(--heading); background: #fff;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--ink); outline: 2px solid var(--blue); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--red-cta); }
.field.has-error .input, .field.has-error .select { border-color: var(--red-cta); }
.error-msg { display: none; color: var(--red-cta); font-size: 13px; font-weight: 500; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.form-legal { font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success svg { width: 56px; height: 56px; color: var(--red-cta); margin: 0 auto 16px; }
.form-done .form-body { display: none; }
.form-done .form-success { display: block; }

/* Leistungskarten */
.section-head { margin-bottom: 54px; }
.section-head p { font-size: 18px; max-width: 720px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  display: flex; flex-direction: column; background: #fff; padding: 36px 32px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.card-icon { width: 58px; height: 58px; color: var(--ink); margin-bottom: 20px; }
.card h3 { margin-bottom: 12px; }
.card p { flex: 1; }
.card .btn { align-self: flex-start; margin-top: 10px; }
.cards-foot { text-align: center; margin-top: 44px; font-size: 16px; }
.cards-foot a { color: var(--heading); font-weight: 600; }

/* Förder-Teaser */
.foerder-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.big-number { font-size: clamp(64px, 9vw, 112px); font-weight: 800; line-height: .95; color: var(--red); letter-spacing: -.03em; font-stretch: 90%; margin: 0 0 18px; }
.big-number small { font-size: .38em; font-weight: 700; letter-spacing: 0; }
.stack-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.stack-list li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.stack-list b { font-size: 20px; color: var(--heading); font-weight: 700; }
.note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin: 18px 0;
  background: var(--blue-soft); border-left: 4px solid var(--blue); color: var(--heading); font-size: 15px; font-weight: 400;
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--blue-text); margin-top: 2px; }
.section-dark .note { background: rgba(76,163,243,.12); color: #fff; }
.section-dark .note svg { color: var(--blue); }

/* Warum wir – dunkle Box */
.why { background: var(--ink); color: #fff; padding: 64px 60px; }
.why h2 { color: #fff; max-width: 820px; margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.why-cell { border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); padding: 30px 24px 34px; min-height: 180px; }
.why-cell svg { width: 48px; height: 48px; color: #fff; margin-bottom: 22px; }
.why-cell p { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.5; }
.why-cell p b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.why-cta { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.why-cta h3 { color: #fff; font-size: 24px; margin: 0; }
.why-cta .btn { align-self: flex-start; }

/* Bewertungen */
.reviews { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: center; }
.reviews > *, .calc > *, .split > *, .intro-grid > *, .steps-grid > *, .foerder-teaser > * { min-width: 0; }
.reviews-summary { text-align: center; }
.reviews-summary .label { font-size: 22px; font-weight: 800; color: var(--heading); letter-spacing: .02em; }
.stars { display: inline-flex; gap: 2px; color: #F4B400; }
.stars svg { width: 26px; height: 26px; }
.reviews-summary .count { font-size: 14px; margin: 4px 0 10px; }
.reviews-summary .google { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--heading); }
.reviews-summary .google svg { width: 24px; height: 24px; }
.reviews-summary .sister { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 16px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ink); flex: none; }
.review-head strong { display: block; color: var(--heading); font-weight: 600; font-size: 15px; line-height: 1.2; }
.review-head span { font-size: 12px; color: var(--muted); }
.review-head .g { margin-left: auto; width: 20px; height: 20px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.review-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.review-nav button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.review-nav button:hover { border-color: var(--ink); }
.review-nav svg { width: 18px; height: 18px; }
.review-nav .prev svg { transform: rotate(180deg); }

/* Schritte */
.steps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.steps-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 38px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.step-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--red-cta); color: #fff; display: grid; place-items: center; --ic-warm: #fff; --ic-cool: #fff; }
.step-icon svg { width: 34px; height: 34px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step h3 span { color: var(--red-cta); margin-right: 6px; }
.step p { margin: 0; }

/* Ratgeber-Teaser */
.teaser-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.teaser { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.teaser:hover { box-shadow: var(--shadow-strong); transform: translateY(-3px); }
.teaser-top { height: 150px; background: var(--ink); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.teaser-top svg { width: 64px; height: 64px; position: relative; }
.teaser-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50%); }
.teaser-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.teaser-body .cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red-cta); margin-bottom: 8px; }
.teaser-body h3 { font-size: 19px; line-height: 1.35; }
.teaser-body p { font-size: 15px; flex: 1; }
.teaser-body .more { font-weight: 600; color: var(--heading); display: inline-flex; gap: 8px; align-items: center; }
.teaser-body .more svg { width: 16px; height: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 600; color: var(--heading); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { color: var(--red-cta); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }

/* Karriere-Band + Footer */
.career-band { background: var(--ink); color: #fff; padding: 64px 0; border-bottom: 1px solid var(--ink-line); }
.career-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.career-band h2 { color: #fff; margin: 0; font-size: clamp(26px, 3vw, 36px); }
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 40px; }
.footer-brand img { width: 170px; margin-bottom: 10px; }
.footer-claim { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.footer-sister { padding-bottom: 36px; }
.footer-sister p { margin: 0; padding: 18px 22px; border: 1px solid var(--ink-line); font-size: 14px; }
.footer-sister a { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--ink-line); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom .link-button { text-decoration: none; color: var(--on-ink-muted); }
.footer-bottom .link-button:hover { color: #fff; }

/* Cookie-Banner */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 150; max-width: 540px; }
.cookie-box { background: #fff; color: var(--text); padding: 26px 26px 22px; box-shadow: var(--shadow-strong); border-top: 4px solid var(--red); font-size: 14px; }
.cookie-box h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cookie-options { display: grid; gap: 10px; margin: 6px 0 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 auto; }

/* Unterseiten-Kopf */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 64px 0 70px; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { max-width: 760px; color: #E6E8EB; font-size: 19px; margin: 0; }
.page-hero .hero-house { width: 380px; right: -30px; bottom: -60px; opacity: .55; }
.breadcrumb { font-size: 13px; color: var(--on-ink-muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--on-ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* Rechner */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 38px 36px; }
.q { border: 0; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.q:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.q-title { display: flex; gap: 12px; align-items: baseline; font-size: 18px; font-weight: 700; color: var(--heading); margin: 0 0 6px; padding: 0; }
.q-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-weight: 700; transform: translateY(-2px); }
.q-help { font-size: 14px; color: var(--muted); margin: 0 0 16px 40px; }
.q-body { margin-left: 40px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choices.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choices.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 400px) { .choices.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 54px; height: 100%;
  padding: 12px 14px; border: 1px solid #C9CDD2; background: #fff; font-size: 15px; font-weight: 500; color: var(--heading); line-height: 1.3; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice span small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--red-cta); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red-cta); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.input-unit { position: relative; max-width: 280px; }
.input-unit .input { padding-right: 70px; }
.input-unit .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); font-weight: 500; pointer-events: none; }
.tabs { display: inline-flex; border: 1px solid #C9CDD2; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { background: #fff; border: 0; padding: 12px 18px; font: 500 15px "Roboto", sans-serif; color: var(--heading); cursor: pointer; }
.tabs button + button { border-left: 1px solid #C9CDD2; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.sub-q { margin-top: 18px; }
.sub-q[hidden] { display: none; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type=range] { flex: 1; accent-color: var(--red-cta); }
.range-row output { min-width: 72px; text-align: right; font-weight: 700; color: var(--heading); }

.calc-result { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: #fff; padding: 34px 32px; box-shadow: var(--shadow-strong); }
.calc-result h2 { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.result-top { display: grid; grid-template-columns: 116px 1fr; gap: 22px; align-items: center; margin-bottom: 20px; }
.result-house { width: 116px; height: 116px; }
.result-big { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-stretch: 90%; }
.result-big small { font-size: 26px; font-weight: 700; }
.result-caption { font-size: 14px; color: var(--on-ink-muted); margin-top: 6px; }
.result-amount { font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.breakdown { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--ink-line); }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ink-line); font-size: 15px; font-weight: 400; }
.breakdown li.off { color: #8C939B; }
.breakdown li.cap { color: var(--blue); }
.breakdown b { font-weight: 700; color: #fff; white-space: nowrap; }
.breakdown li.off b { color: #80878F; }
.result-note { font-size: 13px; line-height: 1.55; color: var(--on-ink-muted); margin: 14px 0 0; }
.result-note a { color: #fff; }
.calc-result .btn { width: 100%; margin-top: 22px; }
.deadline { font-size: 14px; font-weight: 400; padding: 12px 14px; background: rgba(228,71,59,.14); border-left: 3px solid var(--red); margin-top: 16px; }

.hk-bars { display: grid; gap: 14px; margin: 8px 0 18px; }
.hk-bar .hk-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.hk-bar .hk-label b { font-weight: 700; }
.hk-track { height: 16px; background: rgba(255,255,255,.08); }
.hk-fill { height: 100%; transition: width .4s ease; }
.hk-fill.old { background: #8A9098; }
.hk-fill.new { background: var(--red); }

.result-kw { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kw-class { display: inline-block; margin-top: 10px; padding: 6px 12px; background: var(--red-cta); color: #fff; font-weight: 700; font-size: 15px; }
.result-block { border-top: 1px solid var(--ink-line); padding-top: 18px; margin-top: 18px; }
.result-block h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.plaus { font-size: 14px; font-weight: 400; color: #E6E8EB; }

details.assumptions { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
details.assumptions summary { cursor: pointer; font-weight: 600; color: var(--heading); }
details.assumptions p, details.assumptions ul { margin: 10px 0 0; color: var(--muted); }
.section .intro-text h2 { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fact { border-top: 3px solid var(--ink); padding-top: 18px; }
.fact h3 { font-size: 18px; }
.fact p { font-size: 15px; margin: 0; }
.source-list { font-size: 13px; color: var(--muted); }
.source-list li { margin-bottom: 4px; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.table-wrap { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 700; color: var(--heading); background: var(--soft); }

.stub { padding: 110px 0; text-align: center; }
.stub p { max-width: 560px; margin: 0 auto 26px; }

/* Responsiv */
@media (max-width: 1150px) {
  :root { --header-h: 76px; }
  .brand img { height: 42px; }
  /* Menü-Knopf: feste Strichbreite (Safari lässt Spans in Buttons sonst auf 0 schrumpfen), Rahmen + Wort "Menü" */
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 12px;
    background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.55); border-radius: 0;
    color: #fff; font: 600 15px/1 "Roboto", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: .01em; cursor: pointer;
    -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { background: rgba(255,255,255,.16); border-color: #fff; }
  .nav-toggle .bars { position: relative; display: block; flex: 0 0 22px; width: 22px; height: 16px; }
  .nav-toggle .bars span { position: absolute; left: 0; display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 1px; transition: transform .2s, opacity .2s, top .2s; }
  .nav-toggle .bars span:nth-child(1) { top: 0; }
  .nav-toggle .bars span:nth-child(2) { top: 6.75px; }
  .nav-toggle .bars span:nth-child(3) { top: 13.5px; }
  .nav-toggle .t-close { display: none; }
  .nav-open .nav-toggle .t-open { display: none; }
  .nav-open .nav-toggle .t-close { display: inline; }
  .nav-open .nav-toggle .bars span:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
  .nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bars span:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--ink-line); }
  .menu > li > a { flex: 1; padding: 16px 0; font-size: 18px; }
  .menu > li > a::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; margin: 2px 0; padding: 0; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.35); -webkit-appearance: none; appearance: none; }
  .sub-toggle svg { width: 20px; height: 20px; }
  .sub-toggle[aria-expanded="true"] { background: rgba(255,255,255,.1); border-color: #fff; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .sub.open { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub:hover .sub.open, .has-sub .sub.open { display: block; }
  .sub a { color: var(--on-ink-muted); padding: 9px 0; font-size: 16px; }
  .sub a:hover { background: none; color: #fff; }
  .header-cta { margin-top: 26px; }
  .nav-phone { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none; margin-top: 18px; font-weight: 500; font-size: 17px; }
  .nav-phone svg { width: 20px; height: 20px; color: var(--red); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .split, .intro-grid, .foerder-teaser, .steps-grid, .calc, .reviews { grid-template-columns: 1fr; gap: 44px; }
  .cards, .teaser-cards, .facts { grid-template-columns: 1fr 1fr; }
  .why { padding: 44px 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-intro, .calc-result { position: static; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-house { opacity: .35; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 60px 0; }
  .claim { padding: 60px 0 10px; }
  .hero-content { padding: 50px 0 80px; }
  .hero-lead { font-size: 17px; }
  .btn-row .btn { width: 100%; }
  .cards, .teaser-cards, .facts, .why-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .why-cta { grid-column: auto; }
  .split-media { padding: 0 30px 50px 0; }
  .split-badge { width: 180px; padding: 20px; font-size: 16px; }
  .form-card, .calc-form { padding: 28px 20px; }
  .calc-result { padding: 28px 22px; }
  .q-help, .q-body { margin-left: 0; }
  .choices { grid-template-columns: 1fr 1fr; }
  .result-top { grid-template-columns: 88px 1fr; }
  .result-house { width: 88px; height: 88px; }
  .result-big { font-size: 48px; }
  .review-track { grid-auto-columns: 86%; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Effekte & moderne Details
   Alles respektiert die Systemeinstellung „Bewegung reduzieren“ (ganz unten).
   ========================================================= */
.site-header { transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(37, 40, 44, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }

/* Einblenden beim Scrollen – nur mit JS aktiv */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.reveal-left { transform: translateX(-36px); }
.js .reveal.reveal-right { transform: translateX(36px); }
.js .reveal.reveal-zoom { transform: scale(.95); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1) .25s; }
.js .eyebrow.is-visible::before { transform: scaleX(1); }

/* Hero: Bild langsam heranzoomen, Text gestaffelt, Haus zeichnet sich */
.hero-media img, .hero-media video { animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-content > * { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.6,.1,.2,1) forwards .4s; }
.draw path + path { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Zahlenleiste unter dem Hero */
.stats { position: relative; z-index: 3; margin-top: -64px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--shadow-strong); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--heading); letter-spacing: -.02em; font-stretch: 90%; }
.stat-num em { font-style: normal; color: var(--red); }
.stat-num em::before { content: "\00a0"; }
.stat p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }

/* Karten: Rot/Blau-Kante wächst beim Überfahren */
.card { position: relative; }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50%); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card-icon { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-icon { transform: translateY(-4px) scale(1.06); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(200, 54, 43, .32); transform: translateY(-1px); }
.btn-dark:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .25); transform: translateY(-1px); }
.why-cell { transition: background-color .3s; }
.why-cell:hover { background: rgba(255,255,255,.04); }
.why-cell svg { transition: transform .35s; }
.why-cell:hover svg { transform: translateY(-4px); }
.teaser-top svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.teaser:hover .teaser-top svg { transform: scale(1.12) rotate(-3deg); }

/* Schritte: Linie füllt sich beim Scrollen */
.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 31px; top: 32px; width: 2px; }
.steps::before { bottom: 32px; background: #DADDE1; }
.steps::after { height: calc((100% - 64px) * var(--progress, 0)); background: linear-gradient(var(--red), var(--blue)); }
.step-icon { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--soft); transition: transform .3s; }
.step:hover .step-icon { transform: scale(1.08); }
.section:not(.section-soft) .step-icon { box-shadow: 0 0 0 6px #fff; }

/* Partnerlogos */
/* Partnerlogos: immer im Original (Markenrichtlinien erlauben keine Umfärbung) – auf dunklem Grund auf weißen Kacheln */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.logo-tile { display: grid; place-items: center; width: 176px; height: 104px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.logo-tile img { max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain; }
.partner-logos .logo-tile img { max-height: 48px; }
.logo-tile.wide { padding: 30px 22px; }
a.logo-tile:hover, .logo-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-logos { gap: 12px; }
.partner-logos .logo-tile { width: 112px; height: 68px; padding: 9px 12px; border: 0; }
.partner-logos .logo-tile.wide { padding: 20px 14px; }

/* Persönlich: Ansprechpartner */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person-card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.person-card:hover { box-shadow: var(--shadow-strong); transform: translateY(-4px); }
.person-photo { aspect-ratio: 3 / 4; background: var(--ink); overflow: hidden; position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.person-card:hover .person-photo img { transform: scale(1.05); }
.person-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 54px; font-weight: 800; letter-spacing: .04em; }
.person-photo .initials svg { position: absolute; width: 70%; opacity: .5; }
.person-photo .ph-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 12px; color: var(--on-ink-muted); background: rgba(0,0,0,.35); }
.person-body { padding: 18px 20px 20px; }
.person-body h3 { font-size: 18px; margin: 0 0 2px; }
.person-body .role { font-size: 14px; color: var(--red-cta); font-weight: 500; margin: 0 0 10px; }
.person-body a { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--text); text-decoration: none; margin-top: 4px; line-height: 1.4; }
.person-body a svg { margin-top: 2px; }
.person-body a:hover { color: var(--red-cta); }
.person-body a svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.quote-block { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; margin-bottom: 56px; }
.quote-block:last-child { margin-bottom: 0; }
.quote-block blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 400; color: var(--heading); position: relative; padding-left: 34px; }
.quote-block blockquote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(var(--red) 0 50%, var(--blue) 50%); }
.quote-block cite { display: block; margin-top: 16px; font-style: normal; font-size: 16px; color: var(--muted); }
.quote-block cite strong { color: var(--heading); }

/* Regional: Karte */
.region { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.region > * { min-width: 0; }
.region-map { width: 100%; max-width: 560px; margin: 0 auto; }
.region-map .radius { fill: rgba(228,71,59,.05); stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 6 6; }
.region-map .river { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.region-map .town circle { fill: var(--ink); }
.region-map .town text { font: 500 13px "Roboto", sans-serif; fill: var(--heading); }
.region-map .town.out circle { fill: #A3A9B0; }
.region-map .town.out text { fill: #646A71; }
.region-map a.town:hover text { fill: var(--red-cta); text-decoration: underline; }
.region-map .home-pin .pulse { fill: var(--red); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.region-map .home-pin text { font: 700 15px "Roboto", sans-serif; fill: var(--red-cta); }
@keyframes pulse { from { transform: scale(.4); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
.region-map .radius-label { font: 500 12px "Roboto", sans-serif; fill: var(--red-cta); letter-spacing: .04em; }
.region-map .river-label { font: italic 400 12px "Roboto", sans-serif; fill: var(--blue-text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--heading); transition: border-color .2s, color .2s, transform .2s; }
.chips a:hover { border-color: var(--red-cta); color: var(--red-cta); transform: translateY(-2px); }

/* Unterseiten-Bausteine: Artikel, Leistungen, Stellen, Team */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.toc { border: 1px solid var(--line); padding: 22px 22px 18px; background: #fff; }
.toc p { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--heading); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--red-cta); }
.cta-box { background: var(--ink); color: #fff; padding: 26px 24px; }
.cta-box h3 { color: #fff; font-size: 20px; }
.cta-box p { font-size: 15px; color: #E6E8EB; }
.cta-box .btn { width: 100%; margin-top: 6px; }
.cta-box .phone { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; color: #fff; text-decoration: none; font-weight: 500; }
.cta-box .phone svg { width: 18px; height: 18px; color: var(--red); }
.prose { font-size: 17px; line-height: 1.75; font-weight: 400; color: #3a3a3a; }
.prose > h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--blue-text); }
.prose .lead { font-size: 20px; color: var(--heading); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; margin: 26px 0; background: var(--blue-soft); border-left: 4px solid var(--blue); font-size: 16px; line-height: 1.6; color: var(--heading); }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--blue-text); margin-top: 2px; }
.callout.warm { background: var(--red-soft); border-color: var(--red); }
.callout.warm svg { color: var(--red-cta); }
.callout p:last-child { margin: 0; }
.keyfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.keyfact { background: var(--soft); padding: 18px 18px 16px; border-top: 3px solid var(--red); }
.keyfact b { display: block; font-size: 26px; font-weight: 800; color: var(--heading); line-height: 1.1; font-stretch: 90%; }
.keyfact span { font-size: 14px; line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-ink-muted); margin-top: 18px; }
.article-meta span { display: inline-flex; gap: 8px; align-items: center; }
.article-meta svg { width: 16px; height: 16px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--heading); font-weight: 400; }
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--red-cta); margin-top: 1px; }
.diagram { background: #fff; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.job-cards { display: grid; gap: 18px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px 28px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: box-shadow .3s, transform .3s, border-color .3s; position: relative; }
.job-card:hover { box-shadow: var(--shadow-strong); transform: translateY(-3px); border-color: transparent; }
.job-card h3 { margin: 0 0 6px; font-size: 21px; }
.job-card p { margin: 0; font-size: 15px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.job-tags span { font-size: 12.5px; font-weight: 500; padding: 5px 10px; background: var(--soft); color: var(--heading); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.benefits.four { grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 30px 26px; border: 1px solid var(--ink-line); }
.benefit svg { width: 48px; height: 48px; color: #fff; margin-bottom: 18px; }
.benefit h3 { color: #fff; font-size: 20px; }
.benefit p { margin: 0; font-size: 15px; color: #E6E8EB; }
.team-group { margin-top: 56px; }
.team-group:first-child { margin-top: 0; }
.team-group > h3 { font-size: 24px; margin-bottom: 6px; }
.team-group > p { margin-bottom: 24px; max-width: 720px; }
.people.small { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.people.small .person-body h3 { font-size: 16px; }
.people.small .person-body .role { font-size: 13px; margin-bottom: 0; }
.people.small .person-photo .initials { font-size: 36px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-list .ci { width: 48px; height: 48px; background: var(--red-cta); color: #fff; display: grid; place-items: center; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list strong { color: var(--heading); font-weight: 600; font-size: 18px; text-decoration: none; }
.contact-list a:hover { color: var(--red-cta); }
.legal { max-width: 860px; font-size: 16px; }
.legal h2 { font-size: 24px; margin-top: 1.8em; }
.legal h3 { font-size: 18px; margin-top: 1.4em; }
.legal .todo { background: #FFF4D6; padding: 2px 6px; font-weight: 500; color: #7A5200; }
@media (max-width: 960px) {
  .article-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-aside { position: static; }
  .keyfacts, .benefits, .benefits.four { grid-template-columns: 1fr 1fr; }
  .people.small { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .keyfacts, .benefits, .benefits.four { grid-template-columns: 1fr; }
  .people.small { grid-template-columns: 1fr 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
}

/* Mobile Aktionsleiste + nach oben */
.mobile-bar { display: none; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(180deg); }
.to-top:hover { background: var(--red-cta); }

@media (max-width: 1150px) {
  /* backdrop-filter würde das feste Handy-Menü an den Header binden – daher mobil ohne Glaseffekt */
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
}
@media (max-width: 1300px) {
  /* "1 Ansprechpartner" passt bei vier Spalten nicht mehr in eine Zeile – Einheit darunter */
  .stats-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { min-width: 0; padding: 26px 22px; }
  .stat-num { font-size: 38px; }
  .stat-num em { display: block; font-size: .55em; margin-top: 4px; }
  .stat-num em::before { content: none; }
}
@media (max-width: 960px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { min-width: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .people { grid-template-columns: 1fr 1fr; }
  .quote-block, .region { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .stats { margin-top: -40px; }
  .stat { padding: 20px 16px; }
  .stat-num { font-size: 32px; }
  .stat-num em { display: block; font-size: .55em; margin-top: 4px; }
  .stat p { font-size: 13.5px; }
  .people { gap: 14px; }
  .person-body { padding: 14px; }
  .person-body h3 { font-size: 16px; }
  .person-body a { font-size: 12.5px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 500; font-size: 15px; text-decoration: none; }
  .mobile-bar a svg { width: 18px; height: 18px; }
  .mobile-bar .call { background: var(--ink); color: #fff; }
  .mobile-bar .ask { background: var(--red-cta); color: #fff; }
  body { padding-bottom: 54px; }
  .to-top { bottom: 70px; right: 14px; }
  .cookie { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .eyebrow::before { opacity: 1 !important; transform: none !important; }
  .draw path { stroke-dashoffset: 0 !important; }
}

/* Formular sendet: sichtbarer Ladezustand (ui-ux-pro-max: Submit Feedback) */
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading svg { display: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
::selection { background: var(--red); color: #fff; }
