/*
Theme Name: Hacker Finanzierung 2026
Author: Immobilienfinanzierung Thomas Hacker GmbH & Co. KG
Description: Schlankes Theme für hacker-finanzierung.de (Relaunch 2026), erzeugt aus dem freigegebenen Entwurf.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: hacker-2026
*/

/* WordPress-Adminleiste (nur für angemeldete Nutzer): Kopfzeile darunter halten. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* Immobilienfinanzierung Thomas Hacker – Entwurf 2026
   Designsprache: ruhig, viel Weißraum, große Typografie. Keine externen Schriften (Ladezeit, Datenschutz). */

:root {
  color-scheme: light;      /* Seite ist bewusst hell gestaltet – Browser sollen sie im Dark Mode nicht umfärben */
  --blue: #00446b;          /* Markenfarbe aus Logo/bisheriger Seite */
  --blue-dark: #00324f;
  --blue-soft: #e8f0f5;
  --ink: #1d1d1f;
  --text: #3a3a3c;
  --muted: #5e6166;         /* ≥ 4.5:1 auf Weiß und auf --bg-alt */
  --line: #e3e5e8;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,40,70,.08);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #2b8ac4; outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
/* Lange deutsche Wörter (z. B. „Immobilienfinanzierung“) auf schmalen Handys trennen statt überlaufen lassen */
h1, h2, h3, h4 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
p, li, a, span { overflow-wrap: break-word; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 40em; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
/* Sehr schmale Handys: weniger Innenabstand, Knöpfe mit zwei Symbolen ohne Symbole –
   so bleibt die Beschriftung einzeilig und mittig. */
@media (max-width: 400px) {
  .btn { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .btn:has(svg + svg) svg { display: none; }
}
/* Google-„G“ auf dunklem Knopf: weißer Kreis als Hintergrund */
.g-badge { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; flex: none; margin-left: -4px; }
.g-badge svg { width: 16px; height: 16px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border-color: #c9d6df; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
/* Schmale Zeile über dem Kopfbereich: Telefon + Öffnungszeiten (nur Laptop/Desktop; mobil gibt es die Anrufen-Leiste) */
.topbar { background: linear-gradient(90deg, #0d2436 0%, var(--blue-dark) 45%, var(--blue) 100%); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar__contact { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; }
@media (max-width: 1040px) { .topbar { display: none; } }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav .btn { margin-left: 12px; padding: 10px 20px; min-height: 42px; font-size: .95rem; color: #fff; }
.nav .btn:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; }
.nav a { white-space: nowrap; }
/* Schmalere Laptops: Menü etwas enger, damit nichts umbricht */
@media (min-width: 1041px) and (max-width: 1239px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
  .nav .btn { margin-left: 6px; padding: 10px 16px; font-size: .9rem; }
  .brand img { height: 40px; }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--ink);
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.06);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:hover { background: none; }
  .nav .btn { margin: 18px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; padding: 14px; }
  .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f3f6f9 100%); }
.hero .container { display: flex; align-items: center; min-height: 640px; }
.hero__text { padding: 80px 0; position: relative; z-index: 2; width: 54%; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero h1 .eyebrow { font-size: .8rem; letter-spacing: .14em; margin-bottom: 22px; line-height: 1.5; }
.hero .lead { margin-top: 18px; max-width: 34em; }
.hero__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: .92rem; color: var(--muted); max-width: 32em; }
.hero__note svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 55% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}
.hero__caption {
  position: absolute; right: 24px; bottom: 28px; z-index: 2; color: #fff; text-align: right;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
/* Ab 1400 px stehen die runden Kontaktknöpfe rechts – Bildunterschrift davon freihalten */
@media (min-width: 1400px) { .hero__caption { right: 100px; } }
.hero__caption strong { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.hero__caption span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero .container { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__text { padding: 40px 0 48px; width: auto; }
  .hero__media { order: -1; position: relative; width: auto; margin: 0 -24px; height: 360px; }
  .hero__media img { -webkit-mask-image: none; mask-image: none; object-position: 62% 25%; }
  .hero__caption strong { font-size: 1.25rem; }
}
@media (max-width: 420px) { .hero__caption span { display: none; } }

/* Unterseiten-Kopf */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.page-hero .lead { margin-top: 8px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.trust .icon { width: 34px; height: 34px; }
/* Mittlere Breiten: 3 + 2 Punkte, ohne Trennlinien zwischen den Zeilen */
@media (min-width: 901px) and (max-width: 1180px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .trust li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
.trust small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.trust small a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.icon { width: 40px; height: 40px; flex: none; color: var(--blue); }
@media (max-width: 900px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li + li { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Karten / Grids ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: .9fr 1.6fr; align-items: start; }
/* minmax(0, 1fr): Spalte darf schmaler werden als ihr breitester Inhalt (sonst Überlauf bei 320 px) */
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards, .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--2, .cards--4 { grid-template-columns: minmax(0, 1fr); } }

/* Abschnittskopf: Text links, Button rechts (auf dem Handy untereinander) */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head > div { max-width: 46em; min-width: 0; flex: 1 1 280px; }
.section-head .lead { margin-bottom: 0; }

/* Karten ohne Bild: so viele nebeneinander, wie Platz ist – keine einzelne Karte in einer eigenen Zeile. */
.cards.cards--auto { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.cards--auto .card__body { padding: 24px 22px; }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.section--alt .card { box-shadow: none; }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card h2, .steps h2 { font-size: 1.3rem; }
.card__body .link-arrow { margin-top: auto; }
.card__badge { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 14px; }
.card__badge img { flex: 0 0 64px; }
.card__badge .link-arrow { margin-top: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 12px;
}
.card__icon svg { width: 28px; height: 28px; }

.rounded-img { border-radius: var(--radius); width: 100%; object-fit: cover; }
/* Einheitliches Querformat (z. B. alle Bilder auf „Leistungen“) */
.rounded-img--3x2 { aspect-ratio: 3 / 2; }
.banner-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; border-radius: var(--radius); margin-top: 36px; }
@media (max-width: 620px) { .banner-img { aspect-ratio: 4 / 3; } }
/* Querformat-Foto neben langer Textspalte: höherer Ausschnitt mit Fokus auf die Person */
.rounded-img--tall { aspect-ratio: 4 / 5; object-position: 64% 40%; }
@media (max-width: 900px) {
  .split .rounded-img { max-height: 440px; object-position: 50% 30%; }
  .split .rounded-img--tall { aspect-ratio: 3 / 2; object-position: 60% 35%; }
}

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (max-width: 440px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat:nth-child(odd) { border-right: 0; }
  .stat { padding: 20px 4px; }
}
.stat { padding: 26px 24px; border-top: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--blue); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Ablauf ---------- */
/* Zeitstrahl: Desktop waagerecht, darunter senkrecht. Die Linie verbindet die Mitten der Symbole. */
.steps {
  --icon: 72px; --gap: 24px;
  list-style: none; padding: 0; margin: 48px 0 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.steps::before {
  content: ""; position: absolute; top: calc(var(--icon) / 2 - 1px); height: 2px;
  left: calc((100% - 3 * var(--gap)) / 8); right: calc((100% - 3 * var(--gap)) / 8);
  background: linear-gradient(90deg, #c9d6df, var(--blue));
}
.steps > li { position: relative; text-align: center; padding: 0 8px; }
.steps__icon {
  position: relative; z-index: 1; margin: 0 auto 20px;
  width: var(--icon); height: var(--icon); border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--blue); border: 2px solid var(--blue);
  box-shadow: 0 0 0 8px var(--bg);
}
.section--alt .steps__icon { box-shadow: 0 0 0 8px var(--bg-alt); }
.steps > li:last-child .steps__icon { background: var(--blue); color: #fff; }
.steps__icon svg { width: 32px; height: 32px; }
.steps__num { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.steps h2, .steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Senkrechter Zeitstrahl: immer bei .steps--vertical (Ablauf-Seite), sonst unter 900px.
   Die Linie wird je Schritt vom Symbol bis zum nächsten Schritt gezogen, damit sie bei
   unterschiedlich langen Texten genau am letzten Symbol endet. */
.steps--vertical { --icon: 64px; --gap: 36px; grid-template-columns: 1fr; gap: var(--gap); max-width: 860px; margin-left: auto; margin-right: auto; }
.steps--vertical::before { content: none; }
.steps--vertical > li { text-align: left; padding: 0 0 0 calc(var(--icon) + 28px); min-height: var(--icon); }
.steps--vertical > li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(var(--icon) / 2 - 1px); width: 2px;
  top: var(--icon); bottom: calc(-1 * var(--gap));
  background: linear-gradient(180deg, #c9d6df, var(--blue));
}
.steps--vertical .steps__icon { position: absolute; left: 0; top: 0; margin: 0; }
.steps__body { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 32px; }
.section--alt .steps__body { background: #fff; }
.steps--vertical h2 { font-size: 1.45rem; margin-bottom: .6em; }
.steps--vertical .steps__body p { font-size: 1.02rem; line-height: 1.65; }
.steps--vertical .steps__body p + p, .steps--vertical .steps__body ul + p { margin-top: .9em; }

.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 0 0 0 32px; min-height: 0; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300446b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.steps--vertical .checklist li::after { content: none; }
.checklist--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 22px; max-width: 52em; }
@media (max-width: 620px) { .checklist--inline { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
  .steps { --icon: 60px; grid-template-columns: 1fr; gap: 32px; max-width: 620px; }
  .steps::before { content: none; }
  .steps > li { text-align: left; padding: 4px 0 0 calc(var(--icon) + 20px); min-height: var(--icon); }
  .steps > li:not(:last-child)::after {
    content: ""; position: absolute; left: calc(var(--icon) / 2 - 1px); width: 2px;
    top: var(--icon); bottom: calc(-1 * var(--gap));
    background: linear-gradient(180deg, #c9d6df, var(--blue));
  }
  .steps { --gap: 32px; }
  .steps__icon { position: absolute; left: 0; top: 0; margin: 0; }
  .steps__icon svg { width: 26px; height: 26px; }
  .steps--vertical { --icon: 52px; --gap: 28px; }
  .steps--vertical > li { padding-left: calc(var(--icon) + 16px); }
  .steps__body { padding: 22px 20px; }
  .steps--vertical h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .steps--vertical { --icon: 40px; --gap: 24px; }
  .steps--vertical > li { padding-left: calc(var(--icon) + 12px); }
  .steps--vertical .steps__icon svg { width: 20px; height: 20px; }
  .steps--vertical .steps__icon { box-shadow: 0 0 0 4px var(--bg); }
  .steps__body { padding: 18px 16px; }
}
/* Ablauf auf der Startseite (Handy): kleinere Symbole, engere Abstände */
@media (max-width: 620px) {
  .steps:not(.steps--vertical) { --icon: 46px; --gap: 22px; margin-top: 32px; }
  .steps:not(.steps--vertical) > li { padding-left: calc(var(--icon) + 16px); }
  .steps:not(.steps--vertical) .steps__icon { box-shadow: 0 0 0 5px var(--bg); }
  .steps:not(.steps--vertical) .steps__icon svg { width: 22px; height: 22px; }
  .steps:not(.steps--vertical) h3 { font-size: 1.08rem; margin-bottom: .25em; }
  .steps:not(.steps--vertical) p { font-size: .95rem; line-height: 1.55; }
}

/* ---------- Werdegang ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid #c9d6df; }
.timeline li { position: relative; padding: 0 0 32px 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -37px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue);
}
.timeline li:last-child::before { background: var(--blue); }
.timeline__when { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--blue); margin-bottom: 4px; }
.timeline h3 { margin-bottom: .25em; }
.timeline p { color: var(--muted); margin: 0; }

/* Prohyp-Abzeichen (Startseite, Abschnitt „Warum Thomas Hacker?“) */
.award { display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; background: var(--bg); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.award img { flex: 0 0 88px; }
.award div { min-width: 0; }
.award strong { display: block; color: var(--ink); font-size: 1.05rem; }
.award p { color: var(--muted); font-size: .95rem; margin: .35em 0 .5em; }
@media (max-width: 440px) {
  .award { flex-direction: column; gap: 12px; }
}
/* Kompakte Fassung: kleines Abzeichen, ein Satz, Link */
.award--compact { align-items: center; gap: 16px; margin-top: 20px; padding: 14px 18px; box-shadow: none; border: 1px solid var(--line); }
.award--compact img { flex: 0 0 56px; width: 56px; height: 56px; }
.award--compact strong { font-size: 1rem; }
.award--compact p { font-size: .9rem; line-height: 1.45; margin: .2em 0 .35em; }
@media (max-width: 440px) { .award--compact { flex-direction: row; align-items: flex-start; } }

/* Kennzahlen kompakt (Startseite): auch auf dem Handy zweispaltig */
.stats--compact .stat { padding: 18px 16px; }
.stats--compact .stat strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.stats--compact .stat span { display: block; font-size: .9rem; line-height: 1.4; hyphens: auto; }
@media (max-width: 440px) {
  .stats--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--compact .stat { padding: 14px 10px; }
  .stats--compact .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* Leistungskarten kompakt: auf dem Handy zwei nebeneinander */
@media (max-width: 620px) {
  .cards--compact.cards--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cards--compact > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cards--compact .card__body { padding: 18px 16px; gap: 4px; }
  .cards--compact .card__icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }
  .cards--compact .card__icon svg { width: 22px; height: 22px; }
  .cards--compact h3 { font-size: 1.05rem; hyphens: auto; }
  .cards--compact .card__body p { font-size: .9rem; line-height: 1.45; }
}
@media (max-width: 340px) { .cards--compact.cards--auto { grid-template-columns: minmax(0, 1fr); } }

/* Förderbanken als ruhige Kennzeichen */
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.center .chips { justify-content: center; max-width: 52em; margin-left: auto; margin-right: auto; }
.chips li {padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .rounded-img--desktop { display: none; } }

/* Rechner-Links (Startseite) */
.tool-links { list-style: none; padding: 0; margin: 32px auto 0; max-width: 920px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-links a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%;
  padding: 20px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; text-align: center; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.tool-links a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.tool-links svg { width: 28px; height: 28px; flex: none; color: var(--blue); }
@media (max-width: 760px) {
  .tool-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-links a { flex-direction: row; text-align: left; gap: 10px; padding: 14px 12px; font-size: .95rem; hyphens: auto; }
  .tool-links svg { width: 22px; height: 22px; }
}
@media (max-width: 400px) {
  .tool-links a { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 6px; }
  .cards--compact .card__body { padding: 16px 12px; }
  .cards--compact h3 { font-size: 1rem; }
}

.quote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote p { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; margin-bottom: 16px; }
.quote footer { color: var(--muted); font-weight: 600; }

/* ---------- Kundenstimmen (Google-Rezensionen als Laufband) ---------- */
.section--reviews { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews-score { display: flex; align-items: center; gap: 16px; }
.reviews-score strong { font-size: 3rem; line-height: 1; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.reviews-score__label { display: block; color: var(--muted); font-size: .92rem; }
.reviews-score .stars svg { width: 20px; height: 20px; }
/* Google-Siegel im Kopf des Bewertungsbereichs */
.g-siegel {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; background: #fff;
  border: 1px solid rgba(0, 68, 107, .07); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,40,70,.08);
}
.reviews-head { flex-direction: column; align-items: flex-start; gap: 4px; }
.reviews-score { gap: 20px; }
.g-siegel > * { flex: none; }
.g-siegel__logo { width: 36px; height: 36px; flex: none; }
.reviews-score .g-siegel__main strong { display: block; letter-spacing: 0; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.g-siegel .stars svg { width: 17px; height: 17px; }
.g-siegel__note { color: var(--muted); font-size: .88rem; line-height: 1.4; border-left: 1px solid var(--line); padding-left: 14px; }
@media (max-width: 480px) { .g-siegel { gap: 12px; padding: 12px 14px; } .g-siegel__note { display: none; } }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 18px; height: 18px; }

.reviews { position: relative; margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track { list-style: none; margin: 0; padding: 8px 0 16px; display: flex; gap: 20px; width: max-content; animation: reviews-marquee var(--duration, 70s) linear infinite; }
.reviews:hover .reviews__track, .reviews:focus-within .reviews__track, .reviews.is-paused .reviews__track { animation-play-state: paused; }
@keyframes reviews-marquee { to { transform: translateX(calc(-50% - 10px)); } }

.review {
  /* Breite wächst mit dem Bildschirm: auf dem Desktop etwa 3 bis 4 Karten gleichzeitig, dafür flacher. */
  position: relative; width: clamp(380px, 32vw, 600px); flex: none;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  border: 1px solid rgba(0, 68, 107, .07); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,40,70,.08);
  padding: 28px 28px 22px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(0,40,70,.14); }
/* Dezentes Zitatzeichen oben rechts */
.review::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px; pointer-events: none;
  font: 700 5.5rem/1 Georgia, "Times New Roman", serif; color: var(--blue-soft);
}
.review .stars { position: relative; }
/* Google-„G“ vor den Sternen jeder Rezension */
.review__rating { position: relative; display: flex; align-items: center; gap: 10px; }
.review__g { width: 20px; height: 20px; flex: none; }
/* Rezensionen vollständig im Quelltext; nur auf dem Handy nach 8 Zeilen gekürzt (Weiterlesen). Alle Karten wachsen auf die Höhe der längsten. */
.review blockquote { position: relative; margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.65; }
.review blockquote p { margin: 0 0 .7em; }
.review blockquote p:last-child { margin-bottom: 0; }
.review footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--muted);
}
.review footer strong { color: var(--ink); font-weight: 600; display: block; font-size: .95rem; }
.review__person { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #2a7aa8 100%); color: #fff;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
}
.review__source {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted);
}
.review__source svg { width: 16px; height: 16px; }
.review--placeholder blockquote { color: #9aa0a6; font-style: italic; }

.reviews-controls { display: flex; justify-content: center; margin-top: 12px; }
.reviews-toggle { background: transparent; border: 1.5px solid #c9d6df; color: var(--blue); border-radius: 999px; padding: 8px 16px; font: 600 .88rem var(--font); cursor: pointer; }
.reviews-toggle:hover { border-color: var(--blue); }
.review-cta {
  margin: 36px auto 0; max-width: 860px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.review-cta h3 { font-size: 1.15rem; margin-bottom: .3em; }
.review-cta > div { flex: 1 1 320px; }
.review-cta p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 620px) { .review-cta .btn { width: 100%; justify-content: center; } }
/* Kurze Beschriftung auf schmalen Handys, damit der Knopf einzeilig und mittig bleibt */
.label-short { display: none; }
@media (max-width: 440px) { .label-long { display: none; } .label-short { display: inline; } }
.reviews-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 16px auto 0; max-width: 46em; }

/* Ohne Bewegung: als waagerecht scrollbare Reihe */
@media (prefers-reduced-motion: reduce) {
  .reviews { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .reviews__track { animation: none; padding-left: 24px; padding-right: 24px; }
  .review { scroll-snap-align: start; }
  .reviews__track [data-clone], .reviews-controls { display: none; }
}
.reviews-score { flex-wrap: wrap; }
/* „Weiterlesen“ gibt es nur auf dem Handy (siehe unten); auf breiteren Bildschirmen sind die Rezensionen vollständig sichtbar. */
.review-more { display: none; }
@media (max-width: 620px) {
  .review { width: 290px; padding: 24px 22px 20px; }
  .review blockquote { font-size: .94rem; }
  .review::before { font-size: 4.5rem; right: 16px; }
  .reviews-score strong { font-size: 2.4rem; }
  .reviews-score .btn { width: 100%; justify-content: center; }
  /* Handy: lange Rezensionen nach 8 Zeilen kürzen, voller Text per „Weiterlesen“ (bleibt im Quelltext vollständig). */
  .review blockquote { max-height: calc(1.65em * 8); overflow: hidden; }
  .review.has-more blockquote::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fdfdfe);
  }
  .review.is-open blockquote { max-height: none; }
  .review.is-open blockquote::after { content: none; }
  .review-more { display: none; align-self: flex-start; margin-top: -6px; padding: 6px 0; background: none; border: 0; color: var(--blue); font: 600 .9rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .review.has-more .review-more { display: inline-block; }

  /* Bewerten-Kasten und Hinweis kompakter */
  .review-cta { margin-top: 24px; padding: 18px 18px; gap: 14px; }
  .review-cta h3 { font-size: 1.05rem; }
  .review-cta p { font-size: .9rem; line-height: 1.5; }
  .reviews-note { font-size: .78rem; line-height: 1.5; margin-top: 12px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.12rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, #1d6690);
  color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 36em; }
.cta-band .eyebrow { color: rgba(255,255,255,.8); }
.cta-band .btn-row { margin-top: 0; }
.cta-band .cta-band__trust { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.78); }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 24px; height: 24px; margin-top: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: .98rem; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--ink); padding-right: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #c3c9d0; border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field--check input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }
.form .field__error { color: #b3261e; font-size: .9rem; margin: 0; font-weight: 600; }
.form .field__hint { color: var(--muted); font-size: .88rem; font-weight: 400; margin: 0; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field--check label { font-weight: 400; color: var(--text); }
.field--check .field__error { grid-column: 2; }
.form .btn { justify-self: start; }

/* Reiter im Kontaktformular (E-Mail / WhatsApp). Ohne JavaScript werden beide Formulare untereinander gezeigt. */
.tabs { display: none; scroll-margin-top: 110px; }
.js .tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 22px; background: var(--blue-soft); border-radius: 999px; }
.tabs [role="tab"] {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 0; border-radius: 999px; background: transparent; color: var(--blue); font: 600 .98rem var(--font); cursor: pointer;
}
.tabs [role="tab"] svg { width: 18px; height: 18px; flex: none; }
.tabs [role="tab"]:hover { background: rgba(255,255,255,.6); }
.tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; }
.tabpanel + .tabpanel { margin-top: 40px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.tabpanel[hidden] { display: none; }

/* ---------- Seite „Häufige Fragen“ ---------- */
.faq-themen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq-themen a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #c9d6df; color: var(--blue); font-weight: 600; font-size: .92rem; text-decoration: none; }
.faq-themen a:hover { border-color: var(--blue); }
.faq-gruppe { font-size: 1.5rem; margin: 48px auto 12px; max-width: 820px; scroll-margin-top: 110px; }
.faq-gruppe + .faq { margin-top: 8px; }
.faq details > div ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq-gruppe:first-child { margin-top: 0; }
.faq-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }

/* ---------- „Kurz beantwortet“ (Fördermittel, später Ratgeber) ---------- */
.kurzantwort { max-width: 900px; margin: 0 auto; padding: 24px 28px; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); }
.kurzantwort h2 { font-size: 1.2rem; margin-bottom: .5em; }
.kurzantwort p { margin: 0; color: var(--ink); line-height: 1.65; }

/* ---------- Fördermittel ---------- */
.foerder-karten .card h3 { font-size: 1.2rem; }
/* „Gut zu wissen“ in allen drei Karten auf gleicher Höhe: Hinweis + Link an den Kartenboden */
.foerder-karten .foerder-hinweis { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.foerder-karten .foerder-hinweis + .link-arrow { margin-top: 14px; }
.foerder-liste { margin: 0 0 4px; padding-left: 1.2em; color: var(--muted); font-size: .95rem; display: grid; gap: 4px; }
.foerder-schritte { margin: 20px 0 28px; padding-left: 1.3em; display: grid; gap: 14px; }
.foerder-schritte li { line-height: 1.6; }
.foerder-schritte li::marker { color: var(--blue); font-weight: 600; }

/* ---------- Über mich: Steckbrief ---------- */
.profil { margin: 24px 0 28px; padding: 6px 22px; background: var(--bg-alt); border-radius: var(--radius-sm); border-left: 3px solid var(--blue); }
.profil > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profil > div:last-child { border-bottom: 0; }
.profil dt { font-weight: 600; color: var(--ink); font-size: .92rem; }
.profil dd { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.5; }
@media (max-width: 480px) { .profil > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Seite „Zinsen & Rechner“: Zinsniveau als Einstieg ---------- */
.zins-teaser {
  display: flex; align-items: center; gap: 24px; padding: 28px 32px; margin-bottom: 48px; text-decoration: none; color: var(--text);
  background: linear-gradient(120deg, var(--blue-soft) 0%, #fff 70%); border: 1px solid rgba(0, 68, 107, .12);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.zins-teaser:hover { transform: translateY(-3px); color: var(--text); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(0,40,70,.14); }
.zins-teaser__icon { width: 64px; height: 64px; flex: none; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.zins-teaser__icon svg { width: 34px; height: 34px; }
.zins-teaser__text { flex: 1; display: grid; gap: 4px; }
.zins-teaser__text .eyebrow { margin-bottom: 0; }
.zins-teaser__text strong { color: var(--ink); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.zins-teaser__text > span:last-child { color: var(--muted); font-size: .98rem; max-width: 46em; }
.zins-teaser__btn { flex: none; }
.rechner-titel { font-size: 1.5rem; margin-bottom: 20px; }
@media (max-width: 760px) {
  .zins-teaser { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 16px; }
  .zins-teaser__icon { width: 52px; height: 52px; border-radius: 14px; }
  .zins-teaser__btn { width: 100%; justify-content: center; }
}

/* ---------- Eingebettete Rechner ---------- */
.embed { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(8px, 2vw, 24px); }
.embed iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.embed-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* ---------- Fließtext (Rechtstexte, Ratgeber) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.02rem; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Offene Punkte im Entwurf – vor Livegang entfernen */
.todo {
  border: 2px dashed #c77700; background: #fff8ec; color: #5a3a00;
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: .95rem;
}
.todo strong { color: #5a3a00; }
.todo-inline { background: #fff1d6; color: #5a3a00; border: 1px dashed #c77700; border-radius: 4px; padding: 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #0d2436 0%, var(--blue-dark) 45%, var(--blue) 100%); color: rgba(255,255,255,.8); padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer abbr { text-decoration: none; }
.footer-license { font-size: .85rem; line-height: 1.5; margin-top: 12px; }
.footer-license a { text-decoration: underline; text-underline-offset: 2px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-kontakt__liste li { display: flex; gap: 10px; align-items: flex-start; }
.footer-kontakt__liste svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; opacity: .85; }
.footer-grid h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Schnellkontakt (Telefon, E-Mail, WhatsApp) ---------- */
/* Desktop: runde Knöpfe senkrecht mittig am rechten Rand, Beschriftung beim Überfahren/Fokus. Handy: feste Leiste unten. */
.quick-contact { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.quick-contact a {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 40, 70, .25); transition: transform .2s ease, background .2s ease;
}
.quick-contact a:hover { transform: scale(1.06); background: var(--blue-dark); color: #fff; }
.quick-contact a.qc--wa { background: #0f7a40; }   /* dunkles Grün: weiße Schrift erreicht 4,5:1 */
.quick-contact a.qc--wa:hover { background: #0b6434; }
.quick-contact svg { width: 24px; height: 24px; }
.qc__label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.quick-contact a:hover .qc__label, .quick-contact a:focus-visible .qc__label { opacity: 1; }

/* Unter 1400 px reicht der Rand neben dem Inhalt (1180 px) nicht sicher für die runden Knöpfe –
   sie würden Text verdecken oder zu knapp daran stehen. Dort: kompakte, beschriftete Leiste unten mittig. */
@media (max-width: 1399px) {
  .quick-contact {
    top: auto; right: auto; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    flex-direction: row; gap: 8px; padding: 6px;
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 28px rgba(0, 40, 70, .16);
  }
  .quick-contact a { width: auto; height: 44px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: none; }
  .quick-contact a:hover { transform: none; }
  .quick-contact svg { width: 20px; height: 20px; }
  .qc__label { position: static; transform: none; opacity: 1; background: none; padding: 0; font-size: .92rem; }
  /* Platz für die Leiste: Fußbereich nach unten verlängern, damit nichts verdeckt wird */
  .site-footer { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom)); }
}
/* Handy: Leiste über die volle Breite */
@media (max-width: 760px) {
  .quick-contact {
    left: 0; right: 0; bottom: 0; transform: none; border: 0; border-top: 1px solid var(--line); border-radius: 0;
    box-shadow: 0 -6px 20px rgba(0,0,0,.06); padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  }
  .quick-contact a { flex: 1; height: 48px; padding: 0; border-radius: 12px; }
}
@media print { .quick-contact { display: none; } }

/* Dezentes Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Kontakt: Anfahrt als drei Symbole nebeneinander */
.anfahrt { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.anfahrt li { text-align: center; }
.anfahrt li > a, .anfahrt li { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.anfahrt li + li { border-left: 1px solid var(--line); }
.anfahrt .card__icon { margin: 0 auto 8px; }
.anfahrt strong { font-size: 1.02rem; }
.anfahrt span:not(.card__icon) { color: var(--muted); font-size: .92rem; }
.anfahrt a strong { color: var(--blue); }
.anfahrt a:hover strong, .anfahrt a:focus-visible strong { text-decoration: underline; }
@media (max-width: 620px) {
  .anfahrt { grid-template-columns: 1fr; gap: 22px; }
  .anfahrt li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
/* Fördermittel: Schriftzug-Kacheln statt Symbole (keine Bank-Logos – markenrechtlich geschützt) */
.foerder-marke {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 90px; margin-bottom: 20px;
  padding: 12px 18px; border-radius: var(--radius-sm); background: var(--blue-soft); border-left: 4px solid var(--blue);
}
.foerder-karten .foerder-marke h3 { margin: 0; color: var(--blue); font-size: 1.45rem; font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.foerder-marke span { color: var(--muted); font-size: .88rem; line-height: 1.3; }