:root {
  --ink: #17231f;
  --muted: #5d6964;
  --paper: #f8f6f1;
  --white: #ffffff;
  --blue: #164c73;
  --blue-dark: #0d334f;
  --blue-soft: #e9f1f6;
  --green: #3f705d;
  --green-dark: #2f5748;
  --sand: #e8e0d2;
  --line: rgba(23, 35, 31, .14);
  --shadow: 0 24px 70px rgba(20, 39, 31, .13);
  --shadow-soft: 0 12px 36px rgba(20, 39, 31, .08);
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3.3rem, 8vw, 7rem); line-height: .9; margin-bottom: 28px; }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1; margin-bottom: 22px; }
h3 { font-size: 1.22rem; line-height: 1.25; }
p { margin-top: 0; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: rgba(255,255,255,.78); }
.lead { max-width: 720px; font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); }
.fineprint { color: var(--muted); font-size: .82rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(23,35,31,.09); background: rgba(248,246,241,.9); backdrop-filter: blur(18px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 205px; }
.brand img { width: 47px; height: 47px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.brand-copy span { margin-top: 5px; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 11px; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(22,76,115,.09); color: var(--blue); }
.main-nav .nav-cta { margin-left: 5px; background: var(--blue); color: #fff; padding-inline: 17px; }
.main-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s, opacity .2s; }

.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 21px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: var(--green); color: #fff; }
.button-secondary:hover { background: var(--green-dark); }
.button-outline { border-color: var(--line); background: rgba(255,255,255,.65); color: var(--ink); }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-light { background: #fff; color: var(--blue-dark); }
.button-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.text-link { color: var(--blue); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.hero { position: relative; min-height: calc(100vh - 84px); display: grid; align-items: center; overflow: hidden; background: #d8e2df; }
.hero-media { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,24,.78) 0%, rgba(10,28,24,.57) 46%, rgba(10,28,24,.08) 80%), linear-gradient(0deg, rgba(10,28,24,.36), transparent 55%); }
.hero-content { position: relative; z-index: 1; padding: 90px 0 82px; color: #fff; }
.hero-content h1 { max-width: 850px; }
.hero-content .lead { color: rgba(255,255,255,.82); max-width: 660px; }
.hero-locations { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 45px; font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-locations span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; backdrop-filter: blur(8px); }

.page-hero { padding: 112px 0 76px; background: linear-gradient(135deg, var(--blue-soft), var(--paper) 63%); }
.page-hero h1 { max-width: 980px; color: var(--blue-dark); font-size: clamp(3.1rem, 7vw, 6rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.page-hero-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.page-hero-card strong { display: block; margin-bottom: 8px; color: var(--blue); }

.section { padding: 108px 0; }
.section-sm { padding: 70px 0; }
.section-white { background: #fff; }
.section-blue { background: var(--blue-dark); color: #fff; }
.section-green { background: var(--green-dark); color: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.section-heading > div { max-width: 780px; }
.section-heading > p { max-width: 410px; color: var(--muted); }
.section-blue .section-heading > p, .section-green .section-heading > p { color: rgba(255,255,255,.7); }

.property-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.property-card { grid-column: span 4; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-card:first-child, .property-card:nth-child(2) { grid-column: span 6; }
.property-media { position: relative; aspect-ratio: 1.42; overflow: hidden; background: var(--sand); }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.property-card:hover .property-media img { transform: scale(1.035); }
.badge { position: absolute; top: 16px; left: 16px; display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--blue-dark); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.property-body { padding: 25px; }
.property-body .place { margin-bottom: 9px; color: var(--green); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.property-body h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.property-body h3 a { text-decoration: none; }
.property-facts { display: flex; flex-wrap: wrap; gap: 6px 15px; color: var(--muted); font-size: .86rem; }
.property-price { margin-top: 18px; font-weight: 900; }

.region-grid, .feature-grid, .process-grid, .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.region-card { position: relative; min-height: 470px; overflow: hidden; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow-soft); }
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,30,25,.8), rgba(11,30,25,.06) 67%); }
.region-card-content { position: absolute; z-index: 1; inset: auto 26px 26px; }
.region-card h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.region-card a { color: #fff; font-weight: 800; }

.feature-card, .process-card, .stat-card, .content-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); }
.feature-card .icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 900; }
.feature-card p, .process-card p, .content-card p { color: var(--muted); }
.process-card .number { display: block; margin-bottom: 35px; color: var(--green); font-family: var(--serif); font-size: 2.2rem; }
.stat-card strong { display: block; color: var(--blue); font-family: var(--serif); font-size: 2.45rem; font-weight: 500; }
.stat-card span { color: var(--muted); font-size: .87rem; }
.stat-card.pending strong { font-family: var(--sans); font-size: .83rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { min-height: 560px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 900; }

.quote-band { padding: 74px 0; background: var(--blue-dark); color: #fff; }
.quote-band blockquote { max-width: 1000px; margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: 1.03; letter-spacing: -.035em; }
.quote-band p { margin: 28px 0 0; color: rgba(255,255,255,.68); }

.cta-panel { position: relative; overflow: hidden; padding: 58px; border-radius: var(--radius); background: var(--green-dark); color: #fff; box-shadow: var(--shadow); }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -90px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { max-width: 650px; color: rgba(255,255,255,.75); }

.form-shell { max-width: 900px; margin-inline: auto; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .83rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(22,76,115,.13); border-color: var(--blue); }
.checkbox { display: flex; align-items: start; gap: 10px; font-size: .83rem; color: var(--muted); }
.checkbox input { margin-top: 5px; }
.step-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.progress { height: 5px; margin-bottom: 32px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.progress::before { content: ""; display: block; width: var(--progress, 25%); height: 100%; background: var(--blue); transition: width .25s; }
[data-step][hidden] { display: none; }
[data-step]:focus { outline: none; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { min-height: 90px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); text-align: center; font-weight: 800; cursor: pointer; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid rgba(22,76,115,.18); }

.object-hero { padding: 50px 0 42px; }
.object-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.object-head h1 { margin: 12px 0 18px; color: var(--blue-dark); font-size: clamp(3rem, 7vw, 6.5rem); }
.object-price { text-align: right; }
.object-price strong { display: block; color: var(--blue-dark); font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 500; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 280px); gap: 12px; padding: 0 20px; max-width: 1500px; margin: 0 auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.gallery img:first-child { grid-row: 1 / 3; }
.demo-banner { padding: 10px 20px; background: #fff1c9; border-bottom: 1px solid #e2c36a; color: #553f08; text-align: center; font-size: .8rem; }
.demo-banner strong { font-weight: 900; }
.ai-image-label { position: absolute; right: 14px; bottom: 14px; display: inline-flex; padding: 6px 9px; border-radius: 999px; background: rgba(13,51,79,.9); color: #fff; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.object-gallery { width: min(calc(100% - 40px), 1500px); margin: 0 auto; }
.gallery-stage { position: relative; height: min(68vw, 720px); min-height: 480px; overflow: hidden; border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow-soft); }
.gallery-stage > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--blue-dark); font-size: .76rem; font-weight: 900; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 10px; margin-top: 12px; padding: 2px 2px 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gallery-thumb { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: var(--sand); cursor: pointer; scroll-snap-align: start; }
.gallery-thumb img { width: 100%; height: 92px; object-fit: cover; opacity: .76; transition: opacity .2s, transform .2s; }
.gallery-thumb span { position: absolute; right: 6px; bottom: 6px; min-width: 26px; padding: 3px 5px; border-radius: 999px; background: rgba(13,51,79,.84); color: #fff; font-size: .65rem; font-weight: 900; }
.gallery-thumb:hover img, .gallery-thumb.is-active img { opacity: 1; transform: scale(1.025); }
.gallery-thumb.is-active { border-color: var(--blue); }
.gallery-thumb:focus-visible { outline: 4px solid rgba(22,76,115,.22); outline-offset: 2px; }
.gallery-caption { margin: 4px 2px 0; color: var(--muted); font-size: .8rem; }
.disclaimer-card { margin: 30px 0; border-color: #e2c36a; background: #fff8e3; }
.disclaimer-card strong { display: block; margin-bottom: 7px; color: #6d5108; }
.object-next { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.object-next a { color: var(--blue); font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fact-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 45px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.fact { padding: 21px; background: #fff; }
.fact strong { display: block; font-size: 1.1rem; }
.fact span { color: var(--muted); font-size: .76rem; }
.object-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.object-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.object-content h3 { margin-top: 40px; }
.object-aside { position: sticky; top: 110px; padding: 27px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.object-aside .button { width: 100%; margin-top: 9px; }
.qr-box { display: grid; grid-template-columns: 112px 1fr; gap: 15px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.qr-box img { width: 112px; border: 1px solid var(--line); border-radius: 10px; }
.qr-box p { margin: 0; color: var(--muted); font-size: .78rem; }
.details-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 28px 0; }
.details-list div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; font-weight: 800; text-align: right; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 17px; color: var(--blue); font-size: 1.55rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-right: 30px; color: var(--muted); }

.site-footer { padding: 76px 0 28px; background: #12211c; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr .8fr; gap: 48px; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 15px; color: rgba(255,255,255,.46); font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.72); text-align: left; text-decoration: none; font-size: .9rem; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.social-row a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.45); font-size: .78rem; }
.mobile-actions { display: none; }

/* Finanzierungsorientierte Immobilienbewertung */
.valuation-hero { background: linear-gradient(135deg, var(--paper) 0%, #eef5f2 54%, var(--blue-soft) 100%); }
.valuation-promise { border-top: 5px solid var(--green); }
.micro-label { display: block; margin-bottom: 13px; color: var(--green); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.valuation-intro .section-heading { margin-bottom: 45px; }
.value-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { position: relative; padding: 34px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.value-card > span { display: block; margin-bottom: 34px; color: var(--green); font-family: var(--serif); font-size: 2.25rem; }
.value-card p { color: var(--muted); }
.value-card.is-highlight { border-color: transparent; background: var(--blue-dark); color: #fff; box-shadow: var(--shadow); }
.value-card.is-highlight > span { color: #91c9ad; }
.value-card.is-highlight p { color: rgba(255,255,255,.72); }
.finance-gap-section { background: #edf4f8; }
.finance-gap-layout { align-items: stretch; }
.emphasis-line { padding-left: 19px; border-left: 4px solid var(--green); color: var(--blue-dark); font-weight: 900; }
.finance-example { align-self: center; overflow: hidden; border: 1px solid rgba(22,76,115,.14); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.example-row { display: flex; justify-content: space-between; gap: 24px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.example-row span { max-width: 250px; color: var(--muted); }
.example-row strong { color: var(--blue-dark); font-size: 1.3rem; white-space: nowrap; }
.example-gap { display: flex; justify-content: space-between; gap: 22px; padding: 28px; background: var(--green); color: #fff; }
.example-gap span { font-weight: 800; }
.example-gap strong { font-family: var(--serif); font-size: 2.25rem; font-weight: 500; white-space: nowrap; }
.finance-example > p { margin: 0; padding: 18px 28px 22px; color: var(--muted); font-size: .76rem; }
.valuation-method .section-heading p { color: rgba(255,255,255,.7); }
.method-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.method-card { min-width: 0; padding: 26px 22px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); background: rgba(255,255,255,.06); }
.method-card > span { color: #91c9ad; font-family: var(--serif); font-size: 1.7rem; }
.method-card h3 { margin-top: 25px; font-size: 1.08rem; }
.method-card p { color: rgba(255,255,255,.65); font-size: .85rem; }
.definition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.definition-card { padding: 30px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--paper); }
.definition-card p { color: var(--muted); }
.important-note { display: grid; grid-template-columns: 150px 1fr; gap: 25px; margin-top: 30px; padding: 25px 28px; border: 1px solid #e2c36a; border-radius: var(--radius-sm); background: #fff8e3; }
.important-note strong { color: #6d5108; }
.important-note p { margin: 0; color: #5c5238; }
.result-card { background: #fff; box-shadow: var(--shadow-soft); }
.source-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.source-note a { color: var(--blue); }

/* Ortsteilporträts Heidesee */
.district-overview-hero, .district-detail-hero { background: linear-gradient(135deg, #edf4f0 0%, var(--paper) 48%, var(--blue-soft) 100%); }
.district-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow-soft); }
.district-summary > div { padding: 27px 20px; background: rgba(255,255,255,.88); }
.district-summary strong { display: block; color: var(--blue-dark); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; line-height: 1; }
.district-summary span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.district-summary > p { grid-column: 1 / -1; margin: 0; padding: 16px 20px; background: #fff; color: var(--muted); font-size: .76rem; }
.district-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.district-card { position: relative; min-height: 340px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fff 0%, var(--district-soft, #eef4f0) 100%); box-shadow: var(--shadow-soft); }
.district-card::after { content: ""; position: absolute; right: -48px; bottom: -62px; width: 185px; height: 185px; border: 1px solid color-mix(in srgb, var(--district, var(--blue)) 27%, transparent); border-radius: 50%; }
.district-card-top { display: flex; justify-content: space-between; gap: 15px; color: var(--district, var(--green)); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.district-card h2 { margin: 42px 0 14px; font-size: 2.6rem; }
.district-card h2 a { text-decoration: none; }
.district-card p { color: var(--muted); }
.district-card .text-link { position: relative; z-index: 1; margin-top: auto; padding-top: 16px; }
.district-tags { margin-bottom: 18px; color: var(--district, var(--green)); font-size: .76rem; font-weight: 800; }
.district-tone-bindow, .district-tone-dolgenbrodt, .district-tone-gussow { --district: #2f7082; --district-soft: #e8f3f5; }
.district-tone-blossin, .district-tone-kolberg, .district-tone-wolzig { --district: #315e78; --district-soft: #e8f0f5; }
.district-tone-dannenreich, .district-tone-friedersdorf { --district: #7a6340; --district-soft: #f3eee4; }
.district-tone-graebendorf, .district-tone-streganz { --district: #3f705d; --district-soft: #e8f1ec; }
.district-tone-prieros { --district: #346e69; --district-soft: #e4f1ef; }
.region-infra { background: #eef4f1; }
.adjacent-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.adjacent-card span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.adjacent-card h3 { margin: 8px 0; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.adjacent-card p { max-width: 650px; margin: 0; color: var(--muted); }
.source-panel { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.source-panel h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.source-panel > p { max-width: 900px; color: var(--muted); }
.source-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.source-links a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); text-decoration: none; font-size: .76rem; font-weight: 800; }
.district-highlight-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.district-highlight-row span { padding: 8px 11px; border: 1px solid rgba(22,76,115,.17); border-radius: 999px; background: rgba(255,255,255,.45); color: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.district-visual { position: relative; min-height: 390px; display: flex; flex-direction: column; justify-content: end; padding: 35px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, var(--district-soft, #e9f1f6), #fff); box-shadow: var(--shadow); }
.district-visual::before, .district-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--district, var(--blue)) 35%, transparent); border-radius: 50%; }
.district-visual::before { width: 290px; height: 290px; right: -80px; top: -80px; }
.district-visual::after { width: 170px; height: 170px; right: 50px; top: 48px; }
.district-visual > span { position: absolute; top: 30px; left: 34px; color: var(--district, var(--blue)); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.district-visual strong { position: relative; z-index: 1; color: var(--district, var(--blue)); font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); font-weight: 500; line-height: .9; }
.district-visual small { position: relative; z-index: 1; color: var(--muted); font-weight: 800; }
.district-visual a { position: relative; z-index: 1; margin-top: 25px; color: var(--blue); font-size: .8rem; font-weight: 900; }
.life-card { padding: 34px; border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; background: #eef4f1; }
.life-card p { color: var(--muted); }
.infrastructure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.infrastructure-card { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.infrastructure-card h3 { color: var(--blue-dark); }
.infrastructure-card p { margin: 0; color: var(--muted); }
.region-check-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.region-check-card h3, .region-check-card .check-list { color: #fff; }
.district-property { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.district-property .property-media { border-radius: var(--radius-sm); }
.district-property h3 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; }
.district-property p { color: var(--muted); }
.district-property-empty { background: linear-gradient(135deg, #eef4f1, #fff); }
.district-empty-mark { min-height: 300px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--green-dark); color: rgba(255,255,255,.8); font-family: var(--serif); font-size: 9rem; }
.district-link-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.district-link-cloud a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: .82rem; font-weight: 800; }
.district-link-cloud a[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: #fff; }

/* Version 9: lizenzierte Ortsbilder, Slider und detaillierte Infrastruktur */
.district-card { min-height: 0; padding: 0; }
.district-card::after { z-index: 0; }
.district-card-photo { position: relative; z-index: 1; display: block; height: 210px; overflow: hidden; background: var(--district-soft, #eef4f0); }
.district-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.district-card-photo:hover img { transform: scale(1.035); }
.district-card-body { position: relative; z-index: 1; min-height: 345px; display: flex; flex-direction: column; padding: 27px 28px 30px; }
.district-card h2 { margin-top: 34px; }
.section-heading.compact { margin-bottom: 30px; }
.district-gallery-section { padding-top: 70px; }
.location-slider { width: min(100%, 860px); margin-inline: auto; }
.location-slider-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #132d3d; box-shadow: var(--shadow); touch-action: pan-y; }
.location-slide { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; margin: 0; opacity: 0; visibility: hidden; transition: opacity .42s ease, visibility .42s ease; }
.location-slide.is-active { opacity: 1; visibility: visible; }
.location-slide img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.location-slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 15px 22px; background: #fff; color: var(--ink); }
.location-slide figcaption strong { font-size: .9rem; }
.location-slide figcaption span { color: var(--muted); font-size: .69rem; text-align: right; }
.location-slide figcaption a { color: var(--blue); }
.slider-arrow { position: absolute; z-index: 6; top: calc(50% - 35px); width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; background: rgba(14,43,61,.82); color: #fff; font-size: 1.35rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.slider-arrow:hover { background: var(--blue); }
.slider-arrow:focus-visible, .slider-dots button:focus-visible { outline: 4px solid rgba(53,132,173,.32); outline-offset: 3px; }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-status { position: absolute; z-index: 6; right: 18px; bottom: 86px; padding: 7px 10px; border-radius: 999px; background: rgba(14,43,61,.82); color: #fff; font-size: .72rem; font-weight: 900; }
.slider-dots { display: flex; justify-content: center; gap: 9px; padding-top: 16px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #b8c5c0; cursor: pointer; }
.slider-dots button[aria-current="true"] { width: 30px; border-radius: 999px; background: var(--blue); }
.image-license-note { max-width: 860px; margin: 14px auto 0; color: var(--muted); font-size: .72rem; }
.district-services { background: #edf4f1; }
.school-care-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-detail { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.service-detail-school { border-top: 5px solid var(--blue); }
.service-kicker { display: block; margin-bottom: 12px; color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.service-detail h3 { font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 500; }
.service-detail h4 { margin: 26px 0 8px; font-size: .95rem; }
.service-detail p { color: var(--muted); }
.line-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.line-tags span { padding: 7px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: .72rem; font-weight: 900; }
.water-daily-section { background: linear-gradient(135deg, #e9f2f4, #f7f5ef); }
.daily-check-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-dark); color: #fff; box-shadow: var(--shadow); }
.daily-check-card .check-list { color: rgba(255,255,255,.86); }
.faq-region { max-width: 1000px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; color: var(--blue-dark); font-weight: 900; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 14px; color: var(--green); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 880px; padding: 0 44px 18px 0; color: var(--muted); }

/* Familienwegweiser und ortsteilbezogene Vereinsinformationen */
.family-hero { background: linear-gradient(135deg, #edf5f2 0%, #f7f1e5 100%); }
.family-overview-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; padding: 40px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(120deg, #f5f8f6, #fff); box-shadow: var(--shadow); }
.family-overview-cta h2 { max-width: 780px; }
.family-overview-cta p { max-width: 760px; }
.family-life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.family-life-grid > * { min-width: 0; }
.club-list { display: grid; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.club-list li { position: relative; padding-left: 22px; }
.club-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.family-route-card { padding: 28px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, var(--blue), #0d486a); box-shadow: var(--shadow); }
.family-route-card .eyebrow, .family-route-card .text-link { color: #fff; }
.family-route-card p { color: rgba(255,255,255,.82); }
.route-links { display: grid; gap: 10px; margin: 20px 0; }
.route-link { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 13px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }
.route-link:hover { background: rgba(255,255,255,.16); }
.route-link span { padding: 4px 7px; border-radius: 8px; color: var(--blue); background: #fff; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.family-venue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.youth-club-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.family-venue { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.family-venue > span { color: var(--green); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.family-venue h3 { margin: 8px 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.family-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.family-table caption { padding: 18px 22px; color: var(--muted); text-align: left; font-size: .84rem; }
.family-table th, .family-table td { padding: 16px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.family-table thead th { color: #fff; background: var(--blue); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.family-table tbody th { color: var(--ink); }
.family-table tbody tr:nth-child(even) { background: #f7faf8; }
.source-warning { margin: 20px 0 0; padding: 17px 19px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff7e7; color: var(--ink); }
.family-sports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.family-district-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.family-district-directory a { display: grid; gap: 4px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; background: #fff; }
.family-district-directory a:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.family-district-directory span { color: var(--muted); font-size: .82rem; }

/* Transparente Finanzierungsbeispiele */
.finance-example-section { background: linear-gradient(135deg, #eaf3f5 0%, #f7f3e8 100%); }
.finance-calculator { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.finance-input-card, .finance-results { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.finance-input-card h3 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.finance-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.finance-fields label { display: grid; gap: 8px; min-width: 0; color: var(--ink); font-size: .78rem; font-weight: 900; }
.input-suffix { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #f8faf8; overflow: hidden; }
.input-suffix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34,99,137,.13); }
.input-suffix input { width: 100%; min-width: 0; padding: 14px 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 1rem; }
.input-suffix > span { padding: 0 13px; color: var(--muted); font-size: .76rem; }
.finance-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 22px 0; padding: 16px; border-radius: 14px; background: var(--blue-soft); cursor: pointer; }
.finance-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); }
.finance-check span { display: grid; gap: 4px; }
.finance-check small { color: var(--muted); font-weight: 500; }
.finance-result-primary { display: grid; gap: 8px; padding: 30px; border-radius: 21px; color: #fff; background: linear-gradient(145deg, var(--blue-dark), var(--blue)); }
.finance-result-primary > span { font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.finance-result-primary > strong { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.7rem); font-weight: 500; line-height: .95; }
.finance-result-primary small { color: rgba(255,255,255,.78); }
.finance-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.finance-result-grid > div { display: grid; gap: 8px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.finance-result-grid span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.finance-result-grid strong { color: var(--blue-dark); font-size: clamp(1.35rem, 3vw, 2rem); overflow-wrap: anywhere; }
.finance-breakdown { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finance-breakdown summary { padding: 17px 0; color: var(--blue-dark); cursor: pointer; font-weight: 900; }
.finance-breakdown dl { display: grid; gap: 10px; margin: 0 0 18px; }
.finance-breakdown dl > div { display: flex; justify-content: space-between; gap: 20px; }
.finance-breakdown dt { color: var(--muted); }
.finance-breakdown dd { margin: 0; color: var(--ink); font-weight: 900; text-align: right; }
.finance-warning { margin: 20px 0 0; padding: 17px 19px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff7e7; color: var(--ink); }
.finance-context { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.finance-context article { min-width: 0; padding: 20px; border: 1px solid rgba(28,74,65,.14); border-radius: 17px; background: rgba(255,255,255,.72); }
.finance-context span { display: block; color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.finance-context strong { display: block; margin: 8px 0; color: var(--blue-dark); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.finance-context p { margin: 0; color: var(--muted); font-size: .8rem; }
.finance-table { min-width: 620px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .main-nav a { padding-inline: 7px; font-size: .78rem; }
  .page-hero-grid, .split, .object-layout { gap: 42px; }
  .property-card { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .district-directory { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { padding-bottom: 66px; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto; max-height: calc(100vh - 138px); display: none; padding: 18px 20px 28px; overflow: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-open .main-nav { display: grid; }
  .main-nav a { padding: 14px; border-radius: 12px; font-size: 1rem; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .home-page .hero-media img { object-position: 62% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(10,28,24,.82) 0%, rgba(10,28,24,.42) 78%); }
  .page-hero-grid, .split, .object-head, .object-layout { grid-template-columns: 1fr; }
  .object-price { text-align: left; }
  .region-grid, .feature-grid, .process-grid, .stats-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .region-card:last-child { grid-column: 1 / -1; }
  .gallery { grid-template-rows: repeat(2, 210px); }
  .fact-bar { grid-template-columns: repeat(3, 1fr); }
  .object-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .value-triad, .definition-grid { grid-template-columns: 1fr 1fr; }
  .value-card.is-highlight, .definition-card:last-child { grid-column: 1 / -1; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .district-summary { align-self: stretch; }
  .district-property { grid-template-columns: 1fr; }
  .school-care-grid { grid-template-columns: 1fr; }
  .family-overview-cta { grid-template-columns: 1fr; }
  .family-district-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .youth-club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-calculator { grid-template-columns: 1fr; }
  .finance-context { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-actions { position: fixed; z-index: 1100; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 66px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -8px 30px rgba(20,39,31,.12); }
  .mobile-actions a { display: grid; place-items: center; padding: 8px 3px; text-decoration: none; color: var(--ink); font-size: .72rem; font-weight: 900; }
  .mobile-actions a:nth-child(2) { background: var(--green); color: #fff; }
  .mobile-actions a:nth-child(3) { background: var(--blue); color: #fff; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-content, .page-hero-grid > *, .split > *, .service-grid > *, .feature-grid > *, .cta-panel { min-width: 0; }
  h1, h2, h3, .lead, .eyebrow, .button, .page-hero-card, .content-card { overflow-wrap: anywhere; hyphens: auto; }
  h1 { font-size: clamp(3.05rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.2rem, 12vw, 3.35rem); }
  .brand { min-width: auto; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .58rem; }
  .hero { min-height: 730px; }
  .hero-content { padding: 74px 0 58px; align-self: end; }
  .hero-content .actions, .cta-panel .actions { display: grid; }
  .hero-locations { margin-top: 32px; gap: 7px; }
  .hero-locations span { padding: 7px 9px; font-size: .65rem; }
  .page-hero { padding: 75px 0 52px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .section { padding: 76px 0; }
  .section-sm { padding: 52px 0; }
  .section-heading { display: block; margin-bottom: 30px; }
  .property-grid, .region-grid, .feature-grid, .process-grid, .stats-grid, .form-grid, .service-grid { grid-template-columns: 1fr; }
  .property-card, .property-card:first-child, .property-card:nth-child(2), .region-card:last-child { grid-column: auto; }
  .region-card { min-height: 390px; }
  .split { gap: 34px; }
  .split-media, .split-media img { min-height: 390px; }
  .quote-band { padding: 58px 0; }
  .cta-panel { padding: 34px 24px; }
  .form-shell { padding: 24px 18px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice span { min-height: 62px; }
  .gallery { display: flex; gap: 9px; padding: 0 14px 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gallery img, .gallery img:first-child { width: 88vw; height: 330px; flex: 0 0 88vw; scroll-snap-align: center; }
  .object-gallery { width: calc(100% - 28px); }
  .gallery-stage { height: 64vw; min-height: 260px; border-radius: 18px; }
  .gallery-thumbs { grid-auto-columns: 108px; }
  .gallery-thumb img { height: 74px; }
  .demo-banner { padding-inline: 14px; text-align: left; }
  .fact-bar { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
  .details-list { grid-template-columns: 1fr; }
  .object-hero { padding-top: 34px; }
  .object-head h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 5px; }
  .value-triad, .definition-grid, .method-grid { grid-template-columns: 1fr; }
  .value-card.is-highlight, .definition-card:last-child { grid-column: auto; }
  .value-card { padding: 27px 23px; }
  .example-row, .example-gap { align-items: flex-start; padding: 21px; }
  .example-row { display: grid; gap: 6px; }
  .example-gap strong { font-size: 1.85rem; }
  .important-note { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .district-summary { grid-template-columns: 1fr; }
  .district-summary > p { grid-column: auto; }
  .district-directory, .infrastructure-grid { grid-template-columns: 1fr; }
  .district-card { min-height: 315px; padding: 25px; }
  .district-card h2 { font-size: 2.3rem; }
  .district-visual { min-height: 330px; padding: 27px; }
  .district-visual > span { left: 27px; }
  .adjacent-card { display: grid; padding: 25px; }
  .source-panel { padding: 27px 22px; }
  .source-links { display: grid; }
  .source-links a { border-radius: 12px; }
  .district-property { padding: 18px; gap: 28px; }
  .district-empty-mark { min-height: 220px; font-size: 7rem; }
  .district-card-photo { height: 205px; }
  .district-card-body { min-height: 0; }
  .location-slider-stage { aspect-ratio: auto; height: 360px; }
  .location-slide { grid-template-rows: 250px 110px; }
  .location-slide figcaption { display: grid; align-content: center; gap: 5px; min-height: 110px; padding: 13px 17px; }
  .location-slide figcaption span { text-align: left; }
  .slider-arrow { top: 102px; width: 42px; height: 42px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-status { right: 11px; bottom: 120px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail { padding: 24px 22px; }
  .family-overview-cta { padding: 28px 23px; }
  .family-life-grid, .family-venue-grid, .family-sports-grid, .family-district-directory, .youth-club-grid { grid-template-columns: 1fr; }
  .family-route-card { padding: 24px 22px; }
  .table-scroll { margin-right: -14px; border-radius: 16px 0 0 16px; }
  .family-table { min-width: 760px; }
  .finance-input-card, .finance-results { padding: 24px 20px; }
  .finance-fields, .finance-result-grid, .finance-context { grid-template-columns: 1fr; }
  .finance-result-primary { padding: 25px 20px; }
  .finance-result-primary > strong { font-size: clamp(3rem, 15vw, 4.5rem); }
  .finance-breakdown dl > div { display: grid; gap: 3px; }
  .finance-breakdown dd { text-align: left; }
  .finance-table { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
/* Bodenrichtwerte 2026: interaktive BORIS-Zonenkarte */
.brw-hero { background: linear-gradient(135deg, #e8f2f4 0%, var(--paper) 58%, #eef2ea 100%); }
.brw-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow-soft); }
.brw-hero-stats > div { min-height: 154px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: rgba(255,255,255,.9); }
.brw-hero-stats strong { display: block; color: var(--blue); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; }
.brw-hero-stats span { margin-top: 9px; color: var(--muted); font-size: .79rem; font-weight: 800; line-height: 1.35; }
.brw-hero-stats > p { grid-column: 1 / -1; margin: 0; padding: 17px 24px; background: #fff; color: var(--muted); font-size: .82rem; }

.brw-app { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #f4f7f5; box-shadow: var(--shadow); }
.brw-map-toolbar { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(400px, 1.5fr) auto; gap: 20px; align-items: end; padding: 24px; border-bottom: 1px solid var(--line); background: #fff; }
.brw-select-label { display: grid; gap: 8px; color: var(--blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.brw-select-label select { width: 100%; min-height: 48px; padding: 9px 38px 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 750; }
.brw-filter-group { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; border: 0; }
.brw-filter-group legend { width: 100%; margin-bottom: 5px; color: var(--blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.brw-filter-group label { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: .78rem; font-weight: 750; }
.brw-filter-group input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: #7d8790; box-shadow: 0 0 0 3px rgba(125,135,144,.13); }
.legend-dot.standard { background: #2f7f86; }
.legend-dot.ufer { background: #164c73; }
.legend-dot.erholung { background: #b27b38; }
.legend-dot.land { background: #64825e; }
.brw-map-actions { display: grid; gap: 8px; }
.brw-map-actions .button { min-height: 44px; padding-block: 9px; font-size: .79rem; }
.brw-map-actions button:disabled { cursor: default; opacity: .72; transform: none; }
.brw-privacy-note { margin: 0; padding: 13px 24px; border-bottom: 1px solid var(--line); background: var(--blue-soft); color: var(--muted); font-size: .76rem; }
.brw-privacy-note strong { color: var(--blue-dark); }
.brw-map { height: clamp(510px, 68vh, 720px); background-color: #dce8e3; background-image: radial-gradient(circle at 22% 34%, rgba(22,76,115,.12), transparent 28%), radial-gradient(circle at 78% 62%, rgba(63,112,93,.13), transparent 32%); }
.brw-map.map-error { display: grid; place-items: center; padding: 30px; text-align: center; }
.brw-map.map-error > div { max-width: 520px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.9); }
.brw-map-status { min-height: 54px; display: flex; align-items: center; margin: 0; padding: 12px 24px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .82rem; }
.brw-map .leaflet-control-zoom a { color: var(--blue-dark); }
.brw-map .leaflet-control-attribution { font-size: 9px; }
.brw-map .leaflet-tooltip { border: 0; border-radius: 9px; color: var(--blue-dark); font-weight: 850; box-shadow: var(--shadow-soft); }
.brw-map .leaflet-popup-content-wrapper { border-radius: 18px; box-shadow: 0 18px 55px rgba(13,51,79,.25); }
.brw-map .leaflet-popup-content { margin: 18px; }
.brw-popup > span { color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brw-popup h3 { margin: 7px 0 9px; color: var(--blue-dark); font-family: var(--serif); font-size: 1.28rem; font-weight: 550; }
.brw-popup > strong { display: block; color: var(--blue); font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.brw-popup ul { margin: 13px 0; padding-left: 18px; color: var(--muted); font-size: .79rem; }
.brw-popup-link, .brw-popup-source { display: block; margin-top: 8px; color: var(--blue); font-size: .79rem; font-weight: 850; text-underline-offset: 3px; }
.brw-popup-source { color: var(--muted); font-size: .72rem; }

.brw-district-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brw-district-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-soft); }
.brw-district-card > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.brw-district-card > div:first-child span { order: 2; color: var(--blue); font-size: .75rem; font-weight: 900; white-space: nowrap; }
.brw-district-card h3 { margin: 0; color: var(--blue-dark); font-family: var(--serif); font-size: 1.65rem; font-weight: 550; }
.brw-district-card p { margin-bottom: 9px; color: var(--muted); font-size: .88rem; }
.brw-district-card > div:last-child { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; padding-top: 15px; }
.brw-district-card button { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: .82rem; font-weight: 900; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.brw-district-card a { color: var(--green-dark); font-size: .82rem; font-weight: 850; text-underline-offset: 4px; }
.brw-check-card .button { margin-top: 15px; }
.brw-inline-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-soft), #fff); box-shadow: var(--shadow-soft); }
.brw-inline-panel h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.brw-inline-panel p { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.brw-inline-values { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.brw-inline-values span { padding: 7px 11px; border-radius: 999px; background: #fff; color: var(--blue-dark); font-size: .78rem; font-weight: 850; box-shadow: 0 5px 18px rgba(20,39,31,.07); }

@media (max-width: 1050px) {
  .brw-map-toolbar { grid-template-columns: 1fr 1.7fr; }
  .brw-map-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .brw-district-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .brw-hero-stats { grid-template-columns: 1fr; }
  .brw-hero-stats > div { min-height: 112px; }
  .brw-map-toolbar { grid-template-columns: 1fr; padding: 18px; }
  .brw-map-actions { grid-column: auto; grid-template-columns: 1fr; }
  .brw-filter-group { gap: 7px; }
  .brw-filter-group label { flex: 1 1 calc(50% - 7px); border-radius: 12px; }
  .brw-privacy-note, .brw-map-status { padding-inline: 18px; }
  .brw-map { height: 560px; }
  .brw-district-grid { grid-template-columns: 1fr; }
  .brw-inline-panel { grid-template-columns: 1fr; padding: 23px; }
  .brw-inline-panel .button { width: 100%; }
}

@media (max-width: 440px) {
  .brw-map { height: 520px; }
  .brw-filter-group label { flex-basis: 100%; }
  .brw-district-card > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .brw-district-card > div:first-child span { order: 0; }
}

/* Version 13: mobile-first Verdichtung, Fingerziele und Schnellnavigation */
.mobile-quick-nav { display: none; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-quick-nav .container { display: flex; gap: 9px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.mobile-quick-nav .container::-webkit-scrollbar { display: none; }
.mobile-quick-nav a { min-height: 44px; display: inline-flex; flex: 0 0 auto; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--blue-dark); font-size: .78rem; font-weight: 850; text-decoration: none; scroll-snap-align: start; }
.mobile-quick-nav a:focus-visible { outline: 4px solid rgba(53,132,173,.3); outline-offset: 2px; }

@media (max-width: 680px) {
  html { scroll-padding-top: 92px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); line-height: .96; }
  .home-page .hero h1 { font-size: clamp(2.5rem, 11.2vw, 3.35rem); line-height: .98; }
  .home-page .hero-content { padding-top: 58px; }
  .home-page .hero-locations { margin-top: 24px; }
  h2 { font-size: clamp(2rem, 9.8vw, 3rem); line-height: 1.02; }
  .page-hero { padding: 62px 0 46px; }
  .page-hero h1 { font-size: clamp(2.65rem, 12.5vw, 3.8rem); line-height: .96; }
  .object-head h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .section { padding: 62px 0; }
  .section-sm { padding: 44px 0; }
  .section-heading { margin-bottom: 26px; }
  .mobile-quick-nav { display: block; }
  .text-link, .footer-links a, .source-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .social-row a { width: 44px; height: 44px; }
  .faq-item summary, details summary { min-height: 48px; display: flex; align-items: center; }
  input, select, textarea { font-size: 16px; }
  .choice { min-height: 56px; }
  .choice input { width: 20px; height: 20px; }
  .slider-arrow { top: 99px; width: 48px; height: 48px; }
  .slider-dots { gap: 2px; padding-top: 8px; }
  .slider-dots button, .slider-dots button[aria-current="true"] { position: relative; width: 44px; height: 44px; border-radius: 0; background: transparent; }
  .slider-dots button::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 10px; border-radius: 999px; background: #b8c5c0; transform: translate(-50%, -50%); }
  .slider-dots button[aria-current="true"]::after { width: 28px; background: var(--blue); }
  .brw-select-label select { min-height: 50px; font-size: 16px; }
  .brw-map-toolbar { gap: 14px; padding: 16px; }
  .brw-filter-group { flex-wrap: nowrap; gap: 8px; margin-right: -16px; padding: 0 16px 6px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .brw-filter-group::-webkit-scrollbar { display: none; }
  .brw-filter-group legend { flex: 0 0 100%; }
  .brw-filter-group label { min-height: 48px; flex: 0 0 auto; border-radius: 999px; scroll-snap-align: start; }
  .brw-filter-group input { width: 20px; height: 20px; }
  .brw-map { height: 480px; }
  .brw-district-card button { min-height: 44px; display: inline-flex; align-items: center; }
  .brw-district-card > div:last-child { gap: 2px 16px; }
}

@media (max-width: 440px) {
  .home-page .hero-locations { flex-wrap: nowrap; gap: 6px; transform: translateY(-16px); }
  .home-page .hero-locations span { padding: 6px 7px; font-size: .58rem; white-space: nowrap; }
  .brw-filter-group label { flex-basis: auto; }
  .brw-map { height: 460px; }
}
