/* Schriften lokal (keine Verbindung zu Google) – Lato & Playfair Display, SIL Open Font License */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lato-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/lato-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }

/* Grundlagen (in der Vorschau vom Rahmen gesetzt) */
html { -webkit-text-size-adjust: 100%; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Logo ist ein rundes Abzeichen mit eigenem Rand */
html body .nav-logo img, html body .f-logo img { padding: 0; background: none; }
html body .portrait { border-width: 3px; }
/* Tally zeichnet seine Texte dunkel – darum bleibt das Formular auch im Dunkelmodus auf hellem Grund */
@media (prefers-color-scheme: dark) {
  html body .form-card { background: #F5F8FB; border-color: #D9E1E8; color: #14202B; }
  html body .form-card h3 { color: #14202B; }
}
.legal h2 { font-size: 1.15rem; }
.legal h3 { font-size: 1rem; margin: 22px 0 6px; }
.legal h4 { font-size: .95rem; margin: 16px 0 6px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 10px; }
.legal ul { list-style: disc; } .legal ol[type="a"] { list-style: lower-alpha; }
.legal .small { font-size: .82rem; opacity: .75; }
.todo { background: #FFF4D6; color: #5C4300; border: 1px solid #F0D58A; border-radius: 10px; padding: 16px 18px; margin: 20px 0; }
.form-card iframe { display: block; width: 100%; border: 0; min-height: 420px; }
/* Layout: Teamfoto-Hero → Ablauf in 4 Schritten → Leistungen → Team in Logo-Kreisen → Kontakt
   Farben aus dem Logo: #006699 (Logo-Blau), dunkler #00476B für Flächen, #53AEDD als heller Akzent */
:root {
  --brand-dark: #00476B;
  --brand-mid:  #006699;
  --brand-light:#53AEDD;
  --brand-pale: #DCEEF8;
  --accent:     #006699;   /* Text- und Symbolfarbe, im Dunkelmodus heller */
  --bg:         #ffffff;
  --bg-soft:    #F3F8FC;
  --fg:         #15242F;
  --fg-muted:   #4A6375;
  --border:     #D0E4F0;
  --nav-h: 72px;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0,71,107,.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1922; --bg-soft: #112230; --fg: #E6F2FA; --fg-muted: #8DB6CC;
    --border: #1E3A50; --brand-pale: #16354A; --accent: #53AEDD; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--fg); line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
.card, .checklist li, .mini li { overflow-wrap: break-word; }
[id] { scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1080px; margin: 0 auto; }

/* ── Navigation ── */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--brand-dark); z-index: 101; }
nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--brand-dark); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.nav-logo img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 3px; flex-shrink: 0; }
.nav-logo .name { display: block; white-space: nowrap; font-size: .98rem; font-weight: 700; color: #fff; line-height: 1.2; }
.nav-logo .tagline { display: block; white-space: nowrap; font-size: .68rem; color: var(--brand-light); letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; }
.nav-links > li > a, .sub-toggle { line-height: 1.4; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; padding: 7px 12px; border-radius: 6px; transition: background .15s; }
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; cursor: pointer; color: rgba(255,255,255,.85); font: .9rem 'Lato', sans-serif; padding: 7px 8px 7px 12px; border-radius: 6px; }
.sub-toggle:hover, .has-sub.open .sub-toggle { background: rgba(255,255,255,.12); color: #fff; }
.sub-toggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform .15s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,30,50,.18); padding: 8px; z-index: 120; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub.open .sub { display: block; }
.nav-links .sub a { display: block; color: var(--fg); padding: 9px 12px; border-radius: 6px; font-size: .92rem; }
.nav-links .sub a:hover, .nav-links .sub a[aria-current="page"] { background: var(--brand-pale); color: var(--fg); }
.nav-links .sub a[aria-current="page"] { font-weight: 700; }
.sub-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.nav-links .sub-all a { color: var(--accent); font-weight: 700; }
.nav-social { display: flex; gap: 8px; border-left: 1px solid rgba(255,255,255,.2); padding-left: 16px; }
.nav-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .15s; }
.nav-social a:hover { background: var(--brand-light); }
.nav-social svg, .social svg { width: 16px; height: 16px; fill: currentColor; }
.hamburger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Hero mit Teamfoto ── */
.hero { position: relative; background: var(--brand-dark); overflow: hidden; }
.hero-photo { display: block; width: 100%; height: clamp(440px, 60vw, 720px); object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,40,62,.94) 0%, rgba(0,40,62,.72) 28%, rgba(0,40,62,0) 58%); pointer-events: none; }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-block: 0 48px; }
.hero-text .inner { max-width: 1200px; }
.hero-copy { max-width: 540px; }
.hero-eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 3.6vw, 2.9rem); color: #fff; line-height: 1.15; margin-bottom: 12px; }
.hero-claim { color: rgba(255,255,255,.92); font-size: 1.1rem; font-weight: 300; letter-spacing: .04em; margin-bottom: 26px; }
.hero-claim b { font-weight: 700; color: #fff; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font: 700 .95rem 'Lato', sans-serif; text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-light); color: #00324D; }
.btn-primary:hover { background: #73C2EA; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* ── Kennzahlen ── */
.facts { background: var(--brand-dark); padding-block: 36px; border-top: 1px solid rgba(255,255,255,.08); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fact .num { font-family: 'Playfair Display', Georgia, serif; font-size: 2.3rem; color: var(--brand-light); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact-link { text-decoration: none; border-radius: 10px; transition: background .15s; }
.fact-link:hover { background: rgba(255,255,255,.07); }
.stars { color: #F5B82E; font-size: .8em; }
.fact .lbl { font-size: .84rem; color: rgba(255,255,255,.78); letter-spacing: .03em; }

/* ── Abschnitte ── */
.section { padding-block: 76px; }
.section.soft { background: var(--bg-soft); }
.head { text-align: center; margin-bottom: 48px; }
.eyebrow { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.head p { color: var(--fg-muted); max-width: 580px; margin: 0 auto; }

/* ── Ablauf ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: step; }
.step { position: relative; padding-top: 64px; min-width: 0; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 700 1.15rem 'Playfair Display', Georgia, serif; }
.step::after { content: ""; position: absolute; top: 23px; left: 58px; right: -16px; height: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3, .card h3, .usp-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p, .card p, .usp-item p { font-size: .92rem; color: var(--fg-muted); }

/* ── Leistungen ── */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.tab-btn { padding: 9px 20px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); color: var(--fg-muted); font: 700 .87rem 'Lato', sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.tab-btn.active, .tab-btn:hover { background: var(--brand-mid); color: #fff; border-color: var(--accent); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards-4 .card { padding: 24px 20px; }
.card { background: var(--bg-soft); display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s, transform .2s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--brand-pale); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; fill: var(--accent); }

/* ── Digital & schnell ── */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.usp-item { min-width: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-size: .88rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.card .more:hover, .all-reviews a:hover, .route:hover, .page-head .crumbs a:hover, .back:hover { text-decoration: underline; }

/* ── Team in Logo-Kreisen ── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.member { text-align: center; min-width: 0; }
.portrait { width: min(210px, 100%); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--accent); padding: 7px; background: var(--bg); }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.member h3 { font-size: 1.08rem; margin-bottom: 2px; }
.member .role, .profile .role { font-size: .78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.member .quali { font-size: .86rem; color: var(--fg-muted); }
.langs { text-align: center; margin-top: 40px; color: var(--fg-muted); font-size: .95rem; }
.langs b { color: var(--fg); }

/* ── Kundenstimmen ── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.quote { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { font-size: .97rem; line-height: 1.6; }
.quote figcaption { font-size: .85rem; color: var(--fg-muted); }
.quote figcaption b { color: var(--fg); }
.head .stars { letter-spacing: .1em; }
.all-reviews { text-align: center; margin-top: 28px; }
.all-reviews a, .more-inline { font-weight: 700; color: var(--accent); text-decoration: none; }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.faq-item { min-width: 0; padding-top: 18px; border-top: 2px solid var(--border); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--fg-muted); font-size: .95rem; }

/* ── Kontakt ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact > * { min-width: 0; }
.contact h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; margin-bottom: 22px; }
.item { display: flex; gap: 14px; margin-bottom: 18px; }
.item-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-pale); display: grid; place-items: center; flex-shrink: 0; }
.item-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.item .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-muted); font-weight: 700; }
.item .value { user-select: all; }
.route { font-size: .86rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.hours { border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.hours td { padding: 3px 14px 3px 0; vertical-align: top; }
.hours td:first-child { font-weight: 700; color: var(--fg-muted); white-space: nowrap; }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; }
.social a:hover { opacity: .88; }
.ig { background: #C13584; } .fb { background: #1877F2; } .wa { background: #1DA851; }

.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.form-card h3 { font-family: 'Lato', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.hint { font-size: .84rem; color: var(--fg-muted); background: var(--brand-pale); border-radius: 8px; padding: 10px 12px; margin: 4px 0 12px; }

/* ── Karte ── */
.map { margin-top: 40px; }
.map a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.map-btn { position: absolute; right: 16px; bottom: 16px; background: var(--brand-mid); color: #fff; font-weight: 700; font-size: .9rem; padding: 10px 18px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.map a:hover .map-btn { background: var(--brand-dark); }
.map figcaption, .map-side figcaption { font-size: .75rem; color: var(--fg-muted); margin-top: 6px; text-align: right; }

/* ── Unterseiten ── */
.page-head { background: linear-gradient(135deg, var(--brand-dark), var(--brand-mid)); color: #fff; padding-block: 56px 60px; }
.page-head .crumbs { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.page-head .crumbs a { color: #fff; text-decoration: none; }
.page-head h1 { overflow-wrap: break-word;  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; max-width: 780px; margin-bottom: 14px; }
.page-head .intro { max-width: 640px; color: rgba(255,255,255,.9); font-size: 1.08rem; margin-bottom: 26px; }
.card .small { font-size: .82rem; margin-top: 8px; }
.card-accent { border: 2px solid var(--brand-mid); }
.team-3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto; }
.ctas-center { justify-content: center; margin-top: 36px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.mini { list-style: none; display: grid; gap: 7px; margin-top: 14px; }
.mini li { display: flex; gap: 9px; font-size: .9rem; align-items: flex-start; }
.mini svg { flex-shrink: 0; width: 18px; height: 18px; fill: var(--accent); margin-top: 2px; }
.hint-center { max-width: 620px; margin: 20px auto 0; text-align: center; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.chips-label { font-size: .85rem; color: var(--fg-muted); margin-right: 4px; }
.chip { font-size: .85rem; padding: 6px 12px; border-radius: 100px; background: var(--brand-pale); color: var(--fg); }
.card-wide { margin-top: 20px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
.h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.split p, .center-cta p { color: var(--fg-muted); }
.checklist { list-style: none; display: grid; gap: 18px; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.checklist svg { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-pale); fill: var(--accent); margin-top: 1px; }
.checklist b { display: block; margin-bottom: 2px; }
.checklist span { color: var(--fg-muted); font-size: .93rem; }
.quote-single { max-width: 720px; margin: 0 auto; text-align: center; align-items: center; background: var(--bg); }
.quote-single blockquote { font-size: 1.12rem; }
.person-cta { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 900px; }
.person-cta .portrait { margin: 0; }
.person-cta p { color: var(--fg-muted); margin-bottom: 12px; }
.person-cta .tel { font-size: 1.3rem; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.person-cta .hint { margin-top: 16px; }
.btn-solid { background: var(--brand-mid); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }

/* ── Teamseite ── */
.team-photo { margin-top: -28px; }
.team-photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile { display: grid; grid-template-columns: 1fr; gap: 18px; text-align: center; align-items: start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; min-width: 0; }
.profile-lead { grid-column: 1 / -1; grid-template-columns: 200px 1fr; gap: 28px; text-align: left; }
.profile .portrait { margin: 0 auto; width: 150px; }
.profile-lead .portrait { width: 100%; }
.profile-body { min-width: 0; }
.profile h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; }
.profile .quali { color: var(--fg-muted); font-size: .9rem; margin-bottom: 12px; }
.profile .bio { margin-bottom: 14px; max-width: 62ch; }
.profile dl { display: grid; grid-template-columns: 1fr; gap: 2px; font-size: .92rem; }
.profile dt:not(:first-child) { margin-top: 10px; }
.profile-lead dl { grid-template-columns: auto 1fr; gap: 6px 14px; }
.profile-lead dt:not(:first-child) { margin-top: 0; }
.profile dt { font-weight: 700; color: var(--fg-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.profile dd { min-width: 0; overflow-wrap: anywhere; }
.profile dd.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.profile-lead dd.chips { justify-content: flex-start; }
.profile .chip { padding: 2px 10px; font-size: .8rem; background: var(--brand-pale); }
.center-cta { text-align: center; }

/* ── Recklinghausen ── */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.link-card { position: relative; display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 48px 20px 22px; text-decoration: none; color: var(--fg); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.link-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.link-card b { display: block; margin-bottom: 4px; }
.link-card span { font-size: .9rem; color: var(--fg-muted); }
.link-card i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--accent); }
.split .tel { font-size: 1.3rem; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.map-side { margin: 0; }
.map-side img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }

/* ── Rechtliche Seiten ── */
.legal { max-width: 760px; }
.legal h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 18px 0 8px; }
.legal .lead { color: var(--fg-muted); margin-bottom: 8px; }
.legal h2 { font-size: 1.02rem; margin: 30px 0 8px; color: var(--accent); }
.legal p, .legal li { margin-bottom: 10px; overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; }
.legal a { color: inherit; }
.back { font-size: .9rem; font-weight: 700; color: var(--accent) !important; text-decoration: none; }

/* ── Footer ── */
footer { background: var(--brand-dark); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.f-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-weight: 700; }
.f-logo img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 2px; }
footer p { font-size: .84rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.f-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.f-links a { font-size: .84rem; color: rgba(255,255,255,.65); text-decoration: none; }
.f-links a:hover { color: var(--brand-light); }

/* ── WhatsApp-Knopf ── */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1DA851; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ── Tablet & Handy ── */
@media (max-width: 1100px) {
  .nav-social { display: none; }
}
@media (max-width: 900px) {
  .profiles { grid-template-columns: 1fr 1fr; } .profile-lead { grid-template-columns: 150px 1fr; }
  .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .team, .usp { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links, .nav-social { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: -20px; right: -20px; background: var(--brand-dark); padding: 12px 20px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
  .nav-links.open a { display: block; padding: 11px 8px; }
  .nav-links.open .sub-toggle { padding: 11px 8px; font-size: .9rem; width: 100%; justify-content: space-between; }
  .nav-links.open .sub { position: static; display: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 6px 14px; }
  .nav-links.open .has-sub:hover .sub { display: none; }
  .nav-links.open .has-sub.open .sub, .nav-links.open .has-sub.open:hover .sub { display: block; }
  .nav-links.open .sub a { color: rgba(255,255,255,.85); padding: 9px 8px; }
  .nav-links.open .sub a:hover, .nav-links.open .sub a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
  .nav-links.open .sub-all { border-top-color: rgba(255,255,255,.15); }
  .nav-links.open .sub-all a { color: var(--brand-light); }
}
@media (max-width: 760px) {
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .split, .checklist.two { grid-template-columns: 1fr; gap: 24px; }
  .person-cta { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .person-cta .portrait { margin: 0 auto; width: 180px; }
  .person-cta .ctas { justify-content: center; }
  /* Foto oben, Text darunter – Gesichter bleiben frei */
  .hero::after { display: none; }
  .hero-photo { height: auto; aspect-ratio: 3 / 2; }
  .hero-text { position: static; background: var(--brand-dark); padding-block: 26px 34px; }
  .contact { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .team-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .profiles { grid-template-columns: 1fr; } .profile-lead { grid-template-columns: 1fr; text-align: center; } .profile-lead .portrait { width: 160px; } .profile-lead dl { grid-template-columns: 1fr; gap: 2px; } .profile-lead dt:not(:first-child) { margin-top: 10px; } .profile-lead dd.chips { justify-content: center; } .team-photo { margin-top: 0; padding-top: 20px; }
}
@media (max-width: 520px) {
  .cards, .cards-4, .cards-2, .steps, .usp { grid-template-columns: 1fr; }
  .team { gap: 28px 14px; }
  .nav-logo .tagline { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
