/* consiliareal – Die Immobilienberater
   Leitidee: Ruhe und Klarheit eines guten Beraters. Große Typografie, viel Raum, wenig Elemente.
   Farben aus dem Logo: Nachtblau trägt, Himmelblau setzt Akzente. Eine Schrift: MW Sans. */

:root {
  --white: #FCFCFC;
  --gray: #F2F4F7;
  --ink: #001642;
  --ink-2: #4A5672;
  --ink-3: #6B7590;
  --sky: #6699FF;
  --on-dark: #FCFCFC;
  --on-dark-2: rgba(252, 252, 252, 0.72);
  --err: #A4262C;
  --font: "MW Sans", Montserrat, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--white); color: var(--ink); font: 500 17px/1.53 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* Typografische Stufen */
.section-title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; }
.section-sub { font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-2); max-width: 36em; text-wrap: balance; }

/* Handlungen */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 1.0625rem/1 var(--font); letter-spacing: -0.01em; cursor: pointer; transition: background-color .3s var(--ease); }
.pill:hover { background: #12306B; }
.pill-sm { min-height: 32px; padding: 0 14px; font-size: 0.8125rem; white-space: nowrap; }
.cta-short { display: none; }
@media (max-width: 440px) { .cta-long { display: none; } .cta-short { display: inline; } }
.pill-lg { min-height: 52px; padding: 0 30px; }
.more { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 1.0625rem; color: var(--ink); white-space: nowrap; }
.more::after { content: "›"; font-size: 1.35em; line-height: 0; margin-left: 4px; transform: translateY(-1px); transition: transform .3s var(--ease); }
a.more:hover::after, a:hover > .more::after { transform: translate(3px, -1px); }
.more-light { color: var(--on-dark); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 252, 0.8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
.nav-in { height: var(--nav-h); max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; margin-right: auto; }
.brand img { width: 168px; height: auto; display: block; }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
@media (max-width: 560px) { :root { --nav-h: 64px; } .brand img { width: 148px; } .nav-cta { min-height: 36px; padding: 0 14px; font-size: 0.875rem; } }
.nav-links { display: flex; gap: 8px; }
.nav-links a { padding: 8px 12px; font-size: 0.9375rem; color: var(--ink-2); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 11px; width: 22px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
.menu { position: fixed; z-index: 49; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--white); padding: 16px var(--gutter) 48px; overflow-y: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 10px 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.menu-tel { margin-top: 32px; color: var(--ink-3); font-size: 0.9375rem; }
.menu-tel a { color: var(--ink); font-weight: 600; margin-left: 6px; }
body.menu-open { overflow: hidden; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-in { gap: 12px; }
}

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 120px); text-align: center; overflow: hidden; }
.hero-text { padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.05; letter-spacing: -0.04em; max-width: 13em; text-wrap: balance; }
.greet { display: block; color: #3366E6; }
.news { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 28px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 22, 66, 0.12); font-size: 0.9375rem; color: var(--ink); text-align: left; transition: box-shadow .2s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.news[hidden] { display: none; }
.news:hover { box-shadow: inset 0 0 0 1px rgba(0, 22, 66, 0.3); }
.news-k { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 0.8125rem; font-weight: 600; }
.news-t { min-width: 0; line-height: 1.35; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.news-arrow { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; transition: transform .3s var(--ease); }
.news-arrow svg { display: block; }
.news:hover .news-arrow { transform: translateX(3px); }
.news.is-out { opacity: 0; transform: translateY(-4px); }
@media (max-width: 560px) { .news { font-size: 0.875rem; margin-bottom: 22px; border-radius: 20px; } .news-k { border-radius: 14px; } }
.hero-sub { text-wrap: balance; margin-top: 24px; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--ink-2); max-width: 30em; }
.starter { margin-top: 40px; width: 100%; max-width: 620px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 2px rgba(0, 22, 66, 0.06), 0 12px 40px -16px rgba(0, 22, 66, 0.25); }
.starter select, .starter input { height: 48px; border: 0; border-radius: 999px; background-color: transparent; box-shadow: none; }
.starter select { flex: 0 0 44%; padding-left: 20px; }
.starter input { flex: 1 1 auto; min-width: 0; padding: 0 16px; }
.starter input:focus, .starter select:focus { box-shadow: none; background-color: var(--gray); }
.starter .pill { flex: none; }
.intent-q { margin-top: 40px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.intents { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.intent { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(0, 22, 66, 0.18); font-weight: 600; font-size: 1rem; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.intent:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hello { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.hello-faces { display: flex; flex: none; }
.hello-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white); background: #E4EBFB; }
.hello-faces img + img { margin-left: -10px; }
.hello p { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.hello strong { color: var(--ink); font-weight: 600; }
.hello a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 560px) { .intents { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .intent { justify-content: center; padding: 0 12px; font-size: 0.9375rem; } .intent:last-child { grid-column: 1 / -1; } }
.hero-note { margin-top: 18px; font-size: 0.875rem; color: var(--ink-3); }
.hero-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .starter { flex-wrap: wrap; border-radius: 24px; padding: 8px; }
  .starter select { flex: 1 1 100%; }
  .starter input { flex: 1 1 100%; padding-left: 20px; }
  .starter .pill { flex: 1 1 100%; }
}
.skyline { margin-top: clamp(40px, 5vw, 64px); height: clamp(220px, 30vw, 480px); }
.skyline svg { width: 100%; height: 100%; }
.sk-mid, .sk-far { will-change: transform; }

/* Aussage mit Wort-für-Wort-Hervorhebung */
.statement { max-width: 1080px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--gutter); }
.statement-text { font-size: clamp(1.75rem, 1rem + 3vw, 3.5rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.035em; text-wrap: pretty; }
.statement-text .w { color: rgba(0, 22, 66, 0.16); transition: color .4s var(--ease); }
.statement-text .w.on { color: var(--ink); }

/* Zwei große Flächen */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
.tile { position: relative; min-height: clamp(560px, 52vw, 720px); display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 6vw, 72px) 32px 0; overflow: hidden; }
.tile h2 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.04em; hyphens: manual; }
.tile-sub { margin-top: 12px; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); line-height: 1.35; max-width: 22em; }
.tile-links { margin-top: 20px; display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: center; }
.tile-art { position: absolute; left: 50%; bottom: 0; width: min(92%, 600px); transform: translateX(-50%); }
.tile-dark { background: var(--ink); color: var(--on-dark); }
.tile-dark .tile-sub { color: var(--on-dark-2); }
.tile-light { background: var(--gray); }
.tile-light .tile-sub { color: var(--ink-2); }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 520px; }
}

/* Leistungsübersicht direkt unter dem Startbereich (wie ing.de) */
.products { padding: clamp(32px, 4vw, 48px) 0 clamp(48px, 6vw, 72px); }
.product-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.product-list a { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-radius: 18px; background: var(--gray); transition: background-color .2s var(--ease); }
.product-list a:hover { background: #E6ECF8; }
.product-list span { display: flex; flex-direction: column; gap: 4px; }
.product-list strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.product-list small { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.35; }
.product-list svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.product-list a:hover svg { transform: translateX(3px); }
@media (max-width: 1080px) { .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-list { grid-template-columns: 1fr; gap: 8px; } .product-list a { padding: 18px 20px; } }

/* Feature: Bild links, Text rechts */
.feature-sec { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-visual { margin: 0; border-radius: 32px; overflow: hidden; background: #E4EBFB; }
.feature-visual img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 47% 50%; display: block; }
@media (max-width: 860px) { .feature-visual img { aspect-ratio: 4 / 3; object-position: 55% 50%; } }
.feature-visual .tile-art { position: absolute; left: 50%; bottom: 0; width: 118%; transform: translateX(-50%); }
.feature-title { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); }
.feature-copy .section-sub { margin-top: 20px; }
.benefits { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.benefits li { position: relative; padding-left: 22px; color: var(--ink-2); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.benefits strong { color: var(--ink); font-weight: 600; }
.actions { margin-top: 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } .feature-visual { border-radius: 24px; } }

/* Ratgeber-Artikel */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.articles a { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.hl-d { color: var(--ink-2); font-size: 0.9375rem; }
.articles .more { margin-top: auto; padding-top: 8px; font-size: 0.9375rem; }
.articles a:hover .hl-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .articles { grid-template-columns: 1fr; gap: 36px; } }
.pill-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill-ghost:hover { background: var(--ink); color: var(--white); }

/* Vertrauen */
.trust { padding: clamp(96px, 12vw, 144px) 0; background: var(--gray); }
.trust-title { text-align: center; max-width: 14em; margin: 0 auto; }
.trust-grid { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.trust-grid li { display: flex; flex-direction: column; gap: 8px; }
.trust-grid strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.trust-grid span { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* Leistungen: drei Säulen */
.pillars { padding: clamp(96px, 12vw, 160px) 0; }
.pillars .section-sub { margin-top: 20px; }
.pillar-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.pillar h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.1; }
.pillar p { margin-top: 12px; color: var(--ink-2); }
.pillar ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Team */
.team { padding: clamp(96px, 12vw, 160px) 0; background: var(--gray); }
.team .section-sub { margin-top: 20px; }
.team-grid { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); max-width: 880px; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: #E4EBFB; }
.person figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.person h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.person p { color: var(--ink-2); font-size: 0.9375rem; }
.person .more { margin-top: 6px; font-size: 1rem; }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; gap: 40px; } .person img { border-radius: 22px; } }

/* Leistungen als typografischer Index */
.services { padding: clamp(96px, 12vw, 160px) 0; }
.service-list { margin-top: clamp(40px, 5vw, 64px); }
.service-list a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr) 170px; align-items: center; gap: 32px; padding: 22px 0; }
.service-name { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); hyphens: manual; font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); transition: color .3s var(--ease); }
.service-desc { color: var(--ink-2); font-size: 1.0625rem; }
.service-list a .more { opacity: 0; transition: opacity .3s var(--ease); }
.service-list:hover .service-name { color: rgba(0, 22, 66, 0.3); }
.service-list a:hover .service-name, .service-list a:focus-visible .service-name { color: var(--ink); }
.service-list a:hover .more, .service-list a:focus-visible .more { opacity: 1; }
@media (hover: none), (max-width: 760px) {
  .service-list a { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .service-list a .more { opacity: 1; }
  .service-list:hover .service-name { color: var(--ink); }
}

/* Ratgeber */
.guide { padding: clamp(96px, 12vw, 160px) 0; }
.guide-all { margin-top: clamp(40px, 5vw, 56px); }
.guide-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.feature { display: flex; flex-direction: column; gap: 16px; padding: clamp(32px, 4vw, 56px); min-height: 420px; border-radius: 28px; background: var(--gray); }
.feature-t { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.feature-d { color: var(--ink-2); max-width: 30em; }
.feature .more { margin-top: auto; }
.headlines li + li { margin-top: 28px; }
.headlines a { display: flex; flex-direction: column; gap: 4px; }
.hl-k { font-size: 0.8125rem; color: var(--ink-3); }
.hl-t { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.headlines a:hover .hl-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.report { margin-top: clamp(48px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 28px 32px; border-radius: 22px; background: var(--gray); }
.report p { color: var(--ink-2); }
.report strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; border-radius: 22px; }
  .feature .more { margin-top: 8px; }
}

/* Ablauf */
.process { padding: clamp(96px, 12vw, 160px) 0; }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-title { position: sticky; top: calc(var(--nav-h) + 40px); }
.process-steps { counter-reset: s; }
.process-steps li { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--ink-2); }
.process-steps li + li { margin-top: clamp(28px, 4vw, 48px); }
.process-steps strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-title { position: static; }
}

/* Bewertung */
.valuation { padding: clamp(96px, 12vw, 160px) 0; background: var(--gray); text-align: center; }
.valuation-in, .contact-in { display: flex; flex-direction: column; align-items: center; }
.valuation .section-sub, .contact .section-sub { margin-top: 16px; }
.form { width: 100%; max-width: 760px; margin-top: 48px; text-align: left; }
.form-step { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.form-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide2 { grid-column: 1 / -1; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); padding-left: 4px; }
input, select { width: 100%; height: 56px; padding: 0 18px; border: 1px solid rgba(0, 22, 66, 0.16); border-radius: 14px; background: var(--white); color: var(--ink); font: 500 1.0625rem var(--font); letter-spacing: -0.01em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
input:hover, select:hover { border-color: rgba(0, 22, 66, 0.32); }
input:focus, select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(102, 153, 255, 0.2); }
input[aria-invalid="true"] { border-color: var(--err); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001642' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.field-err { color: var(--err); font-size: 0.8125rem; padding-left: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--err); font-size: 0.9375rem; text-align: center; max-width: 34em; }
.contact .form-error { color: #FFB4B8; }
.preview-note { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-3) !important; }
.pill:disabled { opacity: .6; cursor: progress; }
.fineprint { max-width: 40em; text-align: center; font-size: 0.75rem; line-height: 1.5; color: var(--ink-3); }
.fineprint a { text-decoration: underline; text-underline-offset: 2px; }
.form-done { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; outline: none; padding: 24px 0; }
.done-t { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
.form-done p:not(.done-t) { color: var(--ink-2); }
@media (max-width: 760px) { .form-grid, .form-grid-3 { grid-template-columns: 1fr; } .form-step .pill { width: 100%; } }

/* Häufige Fragen */
.faq { padding: clamp(96px, 12vw, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-title { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa + .qa { margin-top: 8px; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa summary:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.qa p { padding: 0 40px 20px 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-title { position: static; } .qa p { padding-right: 0; } }

/* Regionen */
.regions { padding: clamp(80px, 10vw, 136px) 0; text-align: center; }
.regions-title { font-size: clamp(3rem, 1.2rem + 7vw, 7.5rem); line-height: 1; letter-spacing: -0.05em; }
.regions-title span { display: inline-block; }
.regions-title span:nth-child(2) { color: #3D63B8; }
.regions-title span:nth-child(3) { color: var(--sky); }
.regions-sub { margin: 28px auto 0; }
.regions-cols { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: left; }
.regions-cols h3 { font-size: 1.0625rem; letter-spacing: -0.015em; }
.regions-cols p { margin-top: 6px; font-size: 0.9375rem; color: var(--ink-3); }
.region-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px !important; }
.region-links .more { font-size: 0.9375rem; }
@media (max-width: 760px) { .region-links { align-items: center; } }
@media (max-width: 760px) { .regions-cols { grid-template-columns: 1fr; gap: 24px; text-align: center; } }

/* Kontakt */
.contact { padding: clamp(96px, 12vw, 160px) 0; background: var(--ink); color: var(--on-dark); text-align: center; }
.contact .section-sub { color: var(--on-dark-2); }
.contact-tel { margin-top: 24px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; }
.contact-tel a { color: var(--sky); }
.contact-tel a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact .field label { color: var(--on-dark-2); }
.contact input, .contact select { border-color: transparent; }
.contact .pill { background: var(--sky); color: var(--ink); }
.contact .pill:hover { background: #80ABFF; }
.contact .fineprint { color: var(--on-dark-2); }
.contact .field-err { color: #FFB4B8; }
.contact input[aria-invalid="true"] { border-color: #FFB4B8; }
.contact .form-done p:not(.done-t) { color: var(--on-dark-2); }

/* Ansprechpartner im Kontakt */
.people { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; }
.pp { display: flex; align-items: center; gap: 16px; text-align: left; }
.pp img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; background: #E4EBFB; }
.pp-n { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.pp-r { font-size: 0.8125rem; color: var(--on-dark-2); }
.pp-m { display: inline-block; margin-top: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--sky); }
.pp-m:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact .people + .section-sub { margin-top: 40px; }

/* Fotos */
.hero-photo { margin: clamp(48px, 6vw, 72px) 0 0; }
.hero-photo img { display: block; width: 100%; height: auto; min-height: 240px; object-fit: cover; object-position: 50% 60%; background: #E4EBFB; }
.page-photo { margin-top: clamp(48px, 6vw, 72px); }
.page-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 28px; background: #E4EBFB; }
.block-photo { margin: clamp(32px, 4vw, 48px) 0 0; }
.block-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; border-radius: 24px; background: #E4EBFB; }
@media (max-width: 560px) { .page-photo img { aspect-ratio: 4 / 3; border-radius: 20px; } .block-photo img { aspect-ratio: 4 / 3; border-radius: 20px; } }

/* Lange Wörter: nie über den Rand */
h1, h2, h3, .hl-t, summary span { overflow-wrap: break-word; hyphens: manual; }
p, li, dd, .prose { overflow-wrap: break-word; }
@media (max-width: 560px) { p, li, dd, .prose { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 16 8 8; } }

/* Ortsseiten */
.city-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.city-text p { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; max-width: 62ch; }
.city-text .city-areas { font-size: 16px; margin-top: 32px; }
.city-text .city-areas strong { display: block; color: var(--ink); margin-bottom: 6px; }
.checklist strong a { color: inherit; text-decoration: none; }
.checklist strong a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .city-grid { grid-template-columns: 1fr; } .city-text p { font-size: 17px; } }

/* Unterseiten */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); }
.crumbs { font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 24px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem); line-height: 1.03; letter-spacing: -0.045em; max-width: 12em; }
.page-sub { margin-top: 24px; font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-2); max-width: 34em; text-wrap: balance; }
.page-hero .actions { margin-top: 36px; }
.block { padding: clamp(80px, 10vw, 136px) 0; }
.block-alt { background: var(--gray); }
.block-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.block-sub { margin-top: 20px; }
.checklist { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 72px); }
.checklist li { position: relative; padding-left: 24px; display: flex; flex-direction: column; gap: 4px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.checklist strong { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; }
.checklist span { color: var(--ink-2); }
.tiers { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.tiers li { display: flex; flex-direction: column; gap: 10px; }
.tier-k { font-size: 0.8125rem; font-weight: 600; color: #3D63B8; }
.tiers h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); letter-spacing: -0.03em; }
.tiers p:not(.tier-k) { color: var(--ink-2); }
@media (max-width: 860px) { .checklist, .tiers { grid-template-columns: 1fr; } }
.block .process-title { position: sticky; top: calc(var(--nav-h) + 40px); }
@media (max-width: 860px) { .block .process-title { position: static; } }

/* Ratgeber-Artikel */
.post-page { padding: clamp(56px, 8vw, 112px) 0 clamp(80px, 10vw, 128px); }
.post-wrap { max-width: 760px; }
.post-cat { font-size: 0.875rem; font-weight: 600; color: #3D63B8; margin-bottom: 12px; }
.post-page h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4rem); line-height: 1.05; letter-spacing: -0.045em; }
.post-lead { margin-top: 24px; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink-2); }
.post-meta { margin-top: 20px; font-size: 0.875rem; color: var(--ink-3); }
.prose { margin-top: 48px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); letter-spacing: -0.03em; line-height: 1.2; margin: 48px 0 14px; }
.prose h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.post-cta { margin-top: 64px; padding: clamp(28px, 4vw, 40px); border-radius: 28px; background: var(--gray); }
.post-cta h2 { font-size: 1.5rem; letter-spacing: -0.03em; }
.post-cta p { margin-top: 8px; color: var(--ink-2); }
.post-cta .actions { margin-top: 20px; }
.post-note { margin-top: 24px; font-size: 0.8125rem; color: var(--ink-3); }

/* Rechtliches */
.legal { padding: clamp(56px, 8vw, 112px) 0 clamp(96px, 12vw, 160px); }
.legal-in { max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4rem); letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-2); list-style: disc; }
.legal li::marker { color: var(--sky); }
.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 12px; }
.legal-box { padding: 20px 24px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 22, 66, 0.1); }
.legal-box strong { color: var(--ink); }
.legal-date { margin-top: 48px !important; font-size: 0.9375rem; color: var(--ink-3) !important; }
.legal-lead { font-size: 1.1875rem; color: var(--ink) !important; }
.todo { background: #FFF1C2; color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Footer */
.footer { background: var(--gray); color: var(--ink-3); font-size: 0.75rem; line-height: 1.5; padding: 48px 0 32px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 32px; }
.footer-h { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.footer-cols a { display: block; padding: 4px 0; }
.footer-cols a:hover, .footer-base a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.footer-base img { width: 120px; height: auto; margin-bottom: 8px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } .footer-cols a { padding: 8px 0; font-size: 0.8125rem; } }

/* Einblendung beim Scrollen */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .fade { opacity: 1; transform: none; }
  .statement-text .w { color: var(--ink); }
}

/* Ratgeber-Filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 40px); }
.filters[hidden] { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 22, 66, 0.14); font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.chip span { font-weight: 500; color: var(--ink-3); font-size: 0.8125rem; transition: color .2s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(0, 22, 66, 0.35); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.65); }
.articles > li[hidden] { display: none; }
.filter-empty { color: var(--ink-3); }
@media (max-width: 560px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; } .filters::-webkit-scrollbar { display: none; } .chip { flex: none; } }

/* Nach oben */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(252, 252, 252, 0.92); color: var(--ink); box-shadow: inset 0 0 0 2.5px rgba(0, 22, 66, 0.08), 0 6px 20px rgba(0, 22, 66, 0.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--white); }
body.menu-open .to-top { display: none; }
.to-top-ring { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); pointer-events: none; }
.to-top-ring circle { fill: none; stroke-width: 2.5; }
.to-top-track { stroke: transparent; }
.to-top-bar { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 128.81; stroke-dashoffset: 128.81; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top-bar { stroke: var(--white); }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 16px; } }
