/* KM Wohnen – v4: hell, modern, lebendig
   CI: Anthrazit #1A2327 (Logo), Montserrat (Wortmarke). Dazu warmes Sand und ein Holzton als Akzent.
   Text: Source Sans 3. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
	--ink: #1a2327;
	--ink-2: #26343b;
	--text: #4d555a;
	--muted: #858c90;
	--sand: #f5f1eb;
	--stone: #e9e3d9;
	--line: #e4dfd6;
	--wood: #b0845a;
	--white: #fff;
	--head: "Montserrat", system-ui, sans-serif;
	--body: "Source Sans 3", system-ui, sans-serif;
	--wrap: 1280px;
	--gut: clamp(20px, 4.5vw, 64px);
	--sec: clamp(88px, 10vw, 150px);
	--r: 3px;
	--ease: cubic-bezier(.22, .61, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .6em; hyphens: manual; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }
.section { padding: var(--sec) 0; }
.kicker { font: 600 .74rem/1.4 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--wood); margin: 0 0 16px; }
.kicker--light { color: rgba(255, 255, 255, .85); }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head .h2 { margin: 0; }
.split-head > p { margin: 0; font-size: 1.1rem; max-width: 34em; }

/* Buttons & Links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--r); font: 600 .92rem/1 var(--head); text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn .icon, .link .icon, .house__link .icon, .person__link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon, .link:hover .icon, .house__link:hover .icon, .person__link:hover .icon { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sand); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 .92rem/1 var(--head); text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid currentColor; }

/* Header */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.no-hero .header { position: sticky; color: var(--ink); background: #fff; box-shadow: 0 1px 0 var(--line); }
.header.is-fixed { position: fixed; color: var(--ink); background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); animation: drop .45s var(--ease); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.header__inner { display: flex; align-items: center; gap: 40px; height: 92px; max-width: calc(1440px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); transition: height .35s var(--ease); }
.header.is-fixed .header__inner { height: 74px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand__mark { width: 46px; height: auto; }
.brand__word { width: 138px; height: auto; }
.header__nav { display: flex; gap: clamp(20px, 2.4vw, 38px); margin-left: auto; }
.header__nav a { position: relative; padding: 8px 0; font: 500 .95rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wood); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current]::after { transform: scaleX(1); }
.header__end { display: flex; align-items: center; gap: 24px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font: 600 .92rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.header__phone .icon { width: 17px; height: 17px; }
.header__cta { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--r); background: #fff; color: var(--ink); font: 600 .88rem/1 var(--head); text-decoration: none; white-space: nowrap; transition: background .3s; }
.header.is-fixed .header__cta, .no-hero .header__cta { background: var(--ink); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before { display: block; width: 26px; height: 2px; background: currentColor; position: relative; margin: 0 auto; transition: transform .3s var(--ease); }
.menu-btn__bars { transform: translateY(-4px); }
.menu-btn__bars::before { content: ""; position: absolute; left: 0; top: 8px; }
.menu-open .menu-btn__bars { transform: translateY(0) rotate(45deg); }
.menu-open .menu-btn__bars::before { top: 0; transform: rotate(-90deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: #fff; padding: 110px var(--gut) 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.6rem/1.2 var(--head); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.menu nav a[aria-current] { color: var(--wood); }
.menu__contact { display: grid; gap: 14px; margin-top: 36px; }
.menu__contact a:not(.btn) { color: var(--ink); }
.menu__contact p { margin: 0; font-size: .95rem; }
.menu-open .header { color: var(--ink); background: #fff; position: fixed; }
.menu-open body { overflow: hidden; }

/* Hero (Startseite) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16, 22, 25, .55) 0%, rgba(16, 22, 25, .1) 30%, rgba(16, 22, 25, .25) 55%, rgba(16, 22, 25, .82) 100%); }
.hero--dark .hero__shade { background: linear-gradient(to bottom, rgba(16, 22, 25, .62) 0%, rgba(16, 22, 25, .38) 32%, rgba(16, 22, 25, .48) 58%, rgba(16, 22, 25, .9) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 112px); align-items: end; padding-top: 140px; padding-bottom: clamp(48px, 7vh, 88px); }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero__lead { max-width: 33em; font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__link { font: 600 .95rem/1 var(--head); text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, .6); }
.hero__quick { display: grid; border-top: 1px solid rgba(255, 255, 255, .3); }
.hero__quick a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); text-decoration: none; transition: padding .35s var(--ease); }
.hero__quick a:hover { padding-left: 10px; }
.hero__quick span { font: 600 1.25rem/1.2 var(--head); letter-spacing: -0.01em; }
.hero__quick small { grid-row: 2; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.hero__quick .icon { grid-row: 1 / 3; grid-column: 2; }

/* Laufband */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font: 500 1.05rem/1 var(--head); letter-spacing: .02em; white-space: nowrap; }
.ticker span::after { content: ""; width: 7px; height: 7px; background: var(--wood); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 40px clamp(48px, 7vw, 120px); align-items: start; }
.intro__title { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0; }
.intro__lead { font: 500 1.3rem/1.55 var(--head); letter-spacing: -0.01em; color: var(--ink); }
.person { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.person p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.person strong { font: 600 1rem/1.35 var(--head); color: var(--ink); }
.person span { color: var(--muted); font-size: .92rem; }
.person__link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem/1 var(--head); text-decoration: none; color: var(--ink); }
.portrait { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; background: var(--stone); }
.portrait img { position: absolute; left: -35.5%; top: -23%; width: 165%; max-width: none; height: auto; }
.portrait--mark { background: var(--ink); color: #fff; }
.portrait--mark svg { width: 56%; height: auto; margin-top: 4%; }

/* Hausideen */
.houses { background: var(--sand); overflow: hidden; }
.houses__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-bottom: 44px; }
.houses__head .h2 { margin: 0; }
.houses__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border: 1px solid var(--stone); border-radius: var(--r); background: #fff; font: 600 .86rem/1 var(--head); color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrows { display: flex; gap: 8px; }
.arrow { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.arrow:hover { background: var(--ink); color: #fff; }
.arrow[data-scroll="-1"] .icon { transform: scaleX(-1); }
.houses__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 24px; scrollbar-width: none; cursor: grab; }
.houses__track::-webkit-scrollbar { display: none; }
.houses__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.houses__track.is-dragging .house { pointer-events: none; }
.house { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.house:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(26, 35, 39, .35); }
.house[hidden] { display: none; }
.house__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.house__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.house:hover .house__img img { transform: scale(1.05); }
.house__type { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .94); font: 600 .74rem/1 var(--head); color: var(--ink); }
.house__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.house__name { font-size: 1.35rem; margin-bottom: 4px; }
.house__meta { font: 500 .9rem/1.4 var(--head); color: var(--wood); margin-bottom: 12px; }
.house__text { font-size: .98rem; flex: 1; }
.house__link { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem/1 var(--head); color: var(--ink); text-decoration: none; margin-top: 8px; }
.houses__note { margin: 20px 0 0; font-size: .88rem; color: var(--muted); }

/* Leistungen (Tabs) */
.services__head { text-align: center; margin-bottom: 36px; }
.tabs { display: flex; justify-content: center; gap: 4px; margin: 0 auto 56px; padding: 5px; width: fit-content; background: var(--sand); border-radius: calc(var(--r) + 3px); }
.tab { padding: 14px clamp(20px, 3vw, 40px); border: 0; border-radius: var(--r); background: transparent; font: 600 1rem/1 var(--head); color: var(--text); cursor: pointer; transition: background .3s, color .3s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tabpanel { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: fadeup .6s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabpanel__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.tabpanel__img img { width: 100%; height: 100%; object-fit: cover; }
.tabpanel__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.checks { margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--wood); stroke-width: 2; }
.checks--light li { color: #fff; }

/* Werteinschätzung */
.valuation { background: var(--ink); color: rgba(255, 255, 255, .78); }
.valuation .h2 { color: #fff; }
.valuation__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px clamp(48px, 7vw, 120px); align-items: center; }
.valuation__intro > p { font-size: 1.1rem; }
.wizard { background: #fff; color: var(--text); border-radius: calc(var(--r) + 3px); padding: clamp(28px, 4vw, 48px); }
.wizard__bar { height: 4px; background: var(--sand); border-radius: 2px; overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 25%; background: var(--wood); transition: width .5s var(--ease); }
.wizard__count { margin: 14px 0 22px; font: 600 .78rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wizard__step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.js .wizard__step:not(.is-active) { display: none; }
.wizard__step.is-active { animation: fadeup .45s var(--ease); }
.wizard__step legend { padding: 0; margin-bottom: 20px; font: 600 1.35rem/1.25 var(--head); color: var(--ink); letter-spacing: -0.015em; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.options--small { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.option input { position: absolute; opacity: 0; }
.option span { overflow-wrap: break-word; hyphens: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); font: 600 .9rem/1.3 var(--head); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.options--small .option span { align-items: center; text-align: center; padding: 14px 10px; }
.option .icon { width: 26px; height: 26px; color: var(--wood); }
.option span:hover { border-color: var(--ink); }
.option input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.option input:checked + span .icon { color: #fff; }
.option input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.range { display: block; margin-bottom: 24px; }
.range span { display: block; font: 600 1rem/1.4 var(--head); color: var(--ink); margin-bottom: 12px; }
.range output { color: var(--wood); }
.range input { width: 100%; accent-color: var(--ink); }
.wfield { display: block; margin-bottom: 16px; }
.wfield span { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.wfield input, .wfield select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.wfield input:focus, .wfield select:focus { outline: none; border-color: var(--ink); }
.wizard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wizard__nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__nav .btn--white { background: var(--ink); color: #fff; }
.wizard__nav .btn--white:hover { background: var(--ink-2); }
.wizard__back { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: 600 .9rem/1 var(--head); color: var(--muted); cursor: pointer; }
.wizard__back .icon { width: 16px; height: 16px; transform: scaleX(-1); }
.wizard__error { margin: 14px 0 0; color: #a33; font-size: .92rem; }
.is-invalid { border-color: #c44 !important; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 12px; font-size: .92rem; }
.check input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--ink); flex: none; }

/* Ablauf */
.timeline { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 1px; background: var(--line); }
.timeline__step { position: relative; }
.timeline__dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border-radius: 50%; background: var(--sand); color: var(--ink); box-shadow: 0 0 0 8px #fff; transition: background .35s, color .35s; }
.timeline__step:hover .timeline__dot { background: var(--ink); color: #fff; }
.timeline__dot .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.timeline__title { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.timeline__step p { margin: 0; font-size: .98rem; }

/* Ausstellungshaus */
.office { padding-bottom: var(--sec); }
.office__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.office__img { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.office__img img { width: 100%; height: 100%; object-fit: cover; }
.office__card { grid-column: 7 / 13; grid-row: 1; position: relative; background: #fff; padding: clamp(32px, 4vw, 56px); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(26, 35, 39, .3); }
.facts { margin: 24px 0 30px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.office__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.office__note { margin: 28px 0 0; font-size: .85rem; color: var(--muted); }

/* Kontakt */
.contact { background: var(--sand); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 7vw, 120px); }
.contact__phone { display: block; margin: 28px 0 8px; font: 600 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--head); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.contact__mail { color: var(--ink); text-underline-offset: 4px; }
.form { background: #fff; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--r) + 3px); align-self: start; }
.form__topics { border: 0; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__topics legend { font: 600 1rem/1 var(--head); color: var(--ink); margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r); font: 600 .85rem/1 var(--head); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { margin-top: 12px; }
.form-notice { display: flex; gap: 12px; padding: 14px 18px; margin-bottom: 24px; background: var(--sand); border-left: 3px solid var(--wood); color: var(--ink); }
.form-notice .icon { width: 20px; height: 20px; color: var(--wood); }
.form-notice--error { border-color: #c44; color: #8a1f20; }

/* Unterseiten-Kopf */
.phero { position: relative; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.phero__img { position: absolute; inset: 0; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.phero__inner { position: relative; padding-top: 140px; padding-bottom: clamp(48px, 7vh, 88px); }
.phero__title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 15em; margin-bottom: 20px; }
.phero__lead { max-width: 38em; font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin: 0; }

/* Bild-Text */
.split--sand { background: var(--sand); }
.split__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 40px clamp(48px, 7vw, 120px); align-items: center; }
.split--flip .split__img { order: 2; }
.split--flip .split__grid { grid-template-columns: 5fr 6fr; }
.split__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* Karte */
.map-sec { padding-top: 0; background: var(--sand); }
.map { position: relative; min-height: 440px; background: var(--stone); display: grid; border-radius: var(--r); overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }
.map__consent { align-self: center; justify-self: center; max-width: 520px; padding: 36px; text-align: center; }
.map__addr { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.map__note { font-size: .92rem; }
.map__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.map__btns .icon { display: none; }

/* Rechtliches */
.legal { padding: clamp(56px, 7vw, 104px) 0 var(--sec); }
.prose { max-width: 46em; }
.prose h1 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; margin-bottom: .8em; }
.prose h2 { font-size: 1.2rem; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose a { text-underline-offset: 3px; }
.legal-missing { background: #fff3cd; padding: 0 4px; }
.notfound { padding: var(--sec) 0; min-height: 50vh; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: clamp(72px, 9vw, 128px) 0 28px; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3.1rem); max-width: 14em; margin: 0; }
.footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer__phone { font: 600 1.15rem/1 var(--head); color: #fff; text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(40px, 5vw, 64px) 0; }
.footer__h { font: 600 .74rem/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.footer__grid p:not(.footer__h) { font-size: .98rem; margin-bottom: .8em; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__word { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 32px); color: #fff; padding-top: 8px; }
.footer__mark { width: clamp(56px, 9vw, 130px); height: auto; flex: none; }
.footer__text { flex: 1; min-width: 0; height: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: rgba(255, 255, 255, .45); }
.footer__bottom p { margin: 0; }

/* Responsiv */
@media (max-width: 1180px) {
	.header__phone span { display: none; }
	.brand__word { width: 120px; }
	.header__inner { gap: 28px; }
}
@media (max-width: 1040px) {
	.header__nav { gap: 20px; }
	.header__phone { display: none; }
	.timeline { grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); row-gap: 48px; }
	.timeline::before { display: none; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__quick { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0 24px; }
	.hero__quick a { border-top: 1px solid rgba(255, 255, 255, .3); }
	.office__img { grid-column: 1 / 10; }
	.office__card { grid-column: 5 / 13; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.header__nav, .header__cta { display: none; }
	.header__end { margin-left: auto; }
	.menu-btn { display: block; }
	.header__inner, .header.is-fixed .header__inner { height: 72px; }
	.brand__mark { width: 40px; }
	.split-head, .intro__grid, .tabpanel, .valuation__grid, .contact__grid, .split__grid, .split--flip .split__grid { grid-template-columns: 1fr; }
	.split--flip .split__img { order: 0; }
	.office__img, .office__card { grid-column: 1 / -1; }
	.office__card { grid-row: 2; margin: -56px 16px 0; }
	.tabs { width: 100%; }
	.tab { flex: 1; padding: 14px 8px; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.brand__word { width: 112px; }
	.hero__inner { padding-top: 110px; }
	.hero__quick { grid-template-columns: 1fr; }
	.hero__quick a + a { border-top: 0; }
	.hero__quick small { display: none; }
	.hero__quick a { padding: 14px 0; }
	.timeline { grid-template-columns: 1fr; row-gap: 32px; }
	.timeline__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
	.timeline__dot { grid-row: span 2; margin: 0; }
	.timeline__title { align-self: end; margin-top: 6px; }
	.form__row, .wizard__row { grid-template-columns: 1fr; }
	.options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.option span { flex-direction: row; align-items: center; padding: 14px 16px; }
	.option .icon { width: 22px; height: 22px; }
	.options--small { grid-template-columns: 1fr; }
	.office__card { margin: -40px 0 0; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
	.footer__grid { grid-template-columns: 1fr; }
	.houses__tools { width: 100%; justify-content: space-between; }
	.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
	.filter { flex: none; }
	.arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Grid-Kinder dürfen schrumpfen (verhindert Überbreite auf dem Handy) */
.valuation__grid > *, .contact__grid > *, .tabpanel > *, .split__grid > *, .intro__grid > *, .hero__inner > *, .wizard__step, .wizard__row > * { min-width: 0; }

/* ===== Überarbeitung 12.11. ===== */

/* Hero: kräftiger abdunkeln, damit die Schrift trägt */
.hero__shade { background: linear-gradient(to bottom, rgba(14, 19, 22, .6) 0%, rgba(14, 19, 22, .42) 35%, rgba(14, 19, 22, .55) 60%, rgba(14, 19, 22, .9) 100%); }
.hero__title, .hero__lead, .hero__quick { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.phero .hero__shade { background: linear-gradient(to bottom, rgba(14, 19, 22, .55), rgba(14, 19, 22, .35) 40%, rgba(14, 19, 22, .82)); }

/* Einleitung mit Bildkomposition */
.intro__grid { grid-template-columns: 6fr 5fr; align-items: center; }
.collage { position: relative; padding: 0 12% 18% 0; }
.collage__a { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.collage__b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); border: 8px solid #fff; background: var(--stone); box-shadow: 0 30px 60px -30px rgba(26, 35, 39, .45); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__badge { position: absolute; left: 28px; bottom: 6%; margin: 0; display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--ink); color: #fff; border-radius: var(--r); }
.collage__badge strong { font: 600 2rem/1 var(--head); letter-spacing: -0.03em; color: var(--wood); }
.collage__badge span { font: 500 .9rem/1.3 var(--head); max-width: 9em; }
.intro__text .h2 { margin-bottom: 24px; }
.intro__lead { font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover .icon[class] { transform: none; }
.btn:hover svg:last-child { transform: translateX(4px); }

/* Ablauf: Bild links, Schritte rechts, Linie füllt sich beim Scrollen */
.process { background: var(--sand); }
.process__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px clamp(48px, 8vw, 140px); align-items: start; }
.process__side { position: sticky; top: 110px; }
.process__side > p { font-size: 1.1rem; max-width: 30em; }
.process__img { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { position: relative; display: grid; gap: 0; }
.steps__line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--stone); }
.steps__line span { display: block; width: 100%; height: 0; background: var(--wood); transition: height .15s linear; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 0 0 56px; }
.step:last-child { padding-bottom: 0; }
.step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--muted); border: 2px solid var(--stone); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.step__dot .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.step__body { padding-top: 10px; opacity: .45; transition: opacity .5s; }
.step__title { font-size: 1.35rem; margin-bottom: 8px; }
.step__body p { margin: 0; font-size: 1.02rem; }
.step.is-on .step__dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.06); }
.step.is-on .step__body { opacity: 1; }
.no-js-steps .step__body, .step__body:only-child { opacity: 1; }

/* Werteinschätzung: Foto im Hintergrund */
.valuation { position: relative; overflow: hidden; background: var(--ink); }
.valuation__bg { position: absolute; inset: -20px; }
.valuation__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px); }
.valuation::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(14, 19, 22, .92) 0%, rgba(14, 19, 22, .78) 45%, rgba(14, 19, 22, .55) 100%); }
.valuation > .wrap { position: relative; z-index: 2; }
.wizard { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* Kontakt: Foto im Hintergrund, Formular als Karte */
.contact { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .8); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 19, 22, .9) 0%, rgba(14, 19, 22, .72) 50%, rgba(14, 19, 22, .4) 100%); }
.contact > .wrap { position: relative; z-index: 2; }
.contact .h2, .contact__phone, .contact__mail { color: #fff; }
.contact__info { align-self: center; }
.contact__facts { display: grid; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact__facts li { display: flex; gap: 14px; align-items: flex-start; }
.contact__facts .icon { color: var(--wood); margin-top: 3px; }
.form { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* Footer: Ansprechpartner statt Schriftzug */
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.footer { padding-top: clamp(56px, 7vw, 96px); }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; padding: clamp(28px, 3.5vw, 44px); border-radius: calc(var(--r) + 3px); background: rgba(255, 255, 255, .06); }
.footer__person { display: flex; align-items: center; gap: 20px; }
.footer__person p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer__person strong { font: 600 1.3rem/1.25 var(--head); color: #fff; letter-spacing: -0.015em; }
.footer__person span { font-size: .98rem; }
.portrait--lg { width: 76px; height: 76px; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__bottom { border-top: 0; margin-top: 0; }

@media (max-width: 900px) {
	.intro__grid, .process__grid { grid-template-columns: 1fr; }
	.process__side { position: static; }
	.collage { max-width: 560px; }
	.contact::before { background: rgba(14, 19, 22, .82); }
}
@media (max-width: 640px) {
	.collage__badge { left: 12px; padding: 12px 16px; }
	.collage__badge strong { font-size: 1.6rem; }
	.step { gap: 18px; padding-bottom: 40px; }
	.step__dot { width: 52px; height: 52px; }
	.steps__line { left: 25px; }
	.step { grid-template-columns: 52px 1fr; }
	.footer__actions .btn { width: 100%; }
}
.office { padding-top: var(--sec); }
.contact .form { color: var(--text); }
.footer__h { font: 600 1rem/1.4 var(--head); letter-spacing: -0.01em; text-transform: none; color: #fff; margin-bottom: 12px; }

/* ===== Überarbeitung 14.11.: Unterseiten ===== */

/* Seitenkopf: Text + Collage */
.phead { background: var(--sand); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); overflow: hidden; }
.phead__grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.phead__grid > * { min-width: 0; }
.crumbs { display: flex; gap: 10px; font: 500 .85rem/1 var(--head); color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { text-decoration: none; color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.phead__title { font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 24px; animation: fadeup .8s var(--ease) both; }
.phead__lead { font-size: 1.15rem; max-width: 34em; animation: fadeup .8s .1s var(--ease) both; }
.phead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; animation: fadeup .8s .2s var(--ease) both; }
.phead__tel { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); font: 600 1.05rem/1.2 var(--head); }
.phead__tel .icon { width: 46px; height: 46px; padding: 13px; border: 1px solid var(--ink); border-radius: 50%; transition: background .3s, color .3s; }
.phead__tel:hover .icon { background: var(--ink); color: #fff; }
.phead__tel small { display: block; font: 400 .82rem/1.3 var(--body); color: var(--muted); }
.phead__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); animation: fadeup .8s .3s var(--ease) both; }
.phead__facts li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.phead__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.phead__facts strong { font: 600 1rem/1.3 var(--head); color: var(--ink); }
.phead__facts span { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.phead__media { position: relative; padding: 0 0 16% 14%; }
.phead__a { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.phead__b { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); border: 8px solid var(--sand); background: var(--stone); box-shadow: 0 30px 60px -30px rgba(26, 35, 39, .45); animation: fadeup 1s .35s var(--ease) both; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; }
.phead__a img { animation: settle 2.6s var(--ease) both; }

/* Liste mit wechselndem Bild */
.explorer--sand { background: var(--sand); }
.explorer__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.explorer__grid > * { min-width: 0; }
.explorer__list { border-top: 1px solid var(--line); }
.explorer__item { border-bottom: 1px solid var(--line); }
.explorer__btn { width: 100%; display: flex; align-items: center; gap: 20px; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); transition: color .3s; }
.explorer__btn:hover, .explorer__item.is-active .explorer__btn { color: var(--ink); }
.explorer__no { font: 600 .85rem/1 var(--head); color: var(--wood); width: 28px; flex: none; }
.explorer__t { flex: 1; font: 600 clamp(1.15rem, 1.7vw, 1.45rem)/1.25 var(--head); letter-spacing: -0.015em; }
.explorer__plus { position: relative; width: 16px; height: 16px; flex: none; }
.explorer__plus::before, .explorer__plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.explorer__plus::after { transform: rotate(90deg); }
.explorer__item.is-active .explorer__plus::after { transform: rotate(0); }
.explorer__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.explorer__body p { overflow: hidden; margin: 0; padding-left: 48px; }
.explorer__item.is-active .explorer__body { grid-template-rows: 1fr; }
.explorer__item.is-active .explorer__body p { padding-bottom: 26px; }
.explorer__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.explorer__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.explorer__img.is-active { opacity: 1; transform: none; }
.explorer__img img { width: 100%; height: 100%; object-fit: cover; }
.explorer__count { position: absolute; right: 16px; bottom: 16px; margin: 0; padding: 8px 14px; background: rgba(255, 255, 255, .92); border-radius: var(--r); font: 600 .82rem/1 var(--head); color: var(--muted); }
.explorer__count span { color: var(--ink); }

/* Preisregler */
.pricescale { background: var(--sand); }
.scale { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); background: #fff; border-radius: calc(var(--r) + 3px); box-shadow: 0 30px 60px -40px rgba(26, 35, 39, .35); }
.scale > * { min-width: 0; }
.scale__bar { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; padding-top: 40px; }
.scale__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #d9cbb8 0%, #d9cbb8 30%, var(--wood) 33.3%, var(--wood) 66.6%, #d9cbb8 70%, #d9cbb8 100%); }
.scale__zone { text-align: center; font: 600 .82rem/1.2 var(--head); color: var(--muted); }
.scale__zone--ok { color: var(--ink); }
.scale__range { position: absolute; left: -10px; right: -10px; top: -11px; width: calc(100% + 20px); height: 36px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.scale__range::-webkit-slider-runnable-track { height: 36px; background: transparent; }
.scale__range::-moz-range-track { height: 36px; background: transparent; }
.scale__range::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); border: 6px solid #fff; box-shadow: 0 4px 14px rgba(26, 35, 39, .35); }
.scale__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 6px solid #fff; box-shadow: 0 4px 14px rgba(26, 35, 39, .35); }
.scale__range:focus-visible { outline: none; }
.scale__range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--wood); outline-offset: 2px; }
.scale__case strong { display: block; font: 600 1.3rem/1.3 var(--head); color: var(--ink); margin-bottom: 8px; }
.scale__case p { margin: 0; }
.scale__case:not([hidden]) { animation: fadeup .45s var(--ease); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.tile { padding: 28px 24px; background: #fff; border-radius: calc(var(--r) + 3px); transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(26, 35, 39, .35); }
.tile .icon { width: 26px; height: 26px; color: var(--wood); margin-bottom: 20px; }
.tile strong { display: block; font: 600 1.05rem/1.3 var(--head); color: var(--ink); margin-bottom: 8px; }
.tile p { margin: 0; font-size: .96rem; line-height: 1.6; }

/* Partner-Karte mit Hanse-Haus-Logo */
.partner { background: var(--sand); }
.partner__card { display: grid; grid-template-columns: 6fr 5fr; background: #fff; border-radius: calc(var(--r) + 3px); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(26, 35, 39, .35); }
.partner__card > * { min-width: 0; }
.partner__img { position: relative; min-height: 420px; background: var(--stone); }
.partner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.partner__img figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; background: rgba(255, 255, 255, .94); border-radius: var(--r); font-size: .84rem; color: var(--ink); }
.partner__text { padding: clamp(32px, 4.5vw, 64px); }
.partner__logo { display: block; width: 110px; height: auto; margin: -8px 0 24px -6px; }
.partner__facts { display: grid; gap: 18px; margin: 28px 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.partner__facts li { display: flex; gap: 16px; align-items: flex-start; }
.partner__facts .icon { width: 22px; height: 22px; color: var(--wood); margin-top: 2px; }
.partner__facts strong { display: block; font: 600 1rem/1.3 var(--head); color: var(--ink); }
.partner__facts span { font-size: .95rem; line-height: 1.5; }

/* Lieber neu bauen: dunkles Band mit Hausmodellen */
.newbuild { background: var(--ink); color: rgba(255, 255, 255, .78); overflow: hidden; }
.newbuild .h2 { color: #fff; }
.newbuild__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.newbuild__grid > * { min-width: 0; }
.newbuild__text p { font-size: 1.1rem; margin-bottom: 32px; }
.newbuild__houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.minihouse { display: block; text-decoration: none; color: #fff; }
.minihouse:nth-child(2) { margin-top: 48px; }
.minihouse figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); margin-bottom: 16px; background: var(--ink-2); }
.minihouse img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.minihouse:hover img { transform: scale(1.05); }
.minihouse__type { display: block; font: 500 .8rem/1.3 var(--head); color: var(--wood); margin-bottom: 4px; }
.minihouse strong { display: block; font: 600 1.1rem/1.3 var(--head); }
.minihouse small { font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* Über uns: Haltung */
.values__statement { font: 600 clamp(1.6rem, 3vw, 2.6rem)/1.25 var(--head); letter-spacing: -0.025em; color: var(--ink); max-width: 24em; margin: 0 0 clamp(48px, 6vw, 88px); text-wrap: balance; }
.values__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.values__grid > * { min-width: 0; }
.values__imgs { position: relative; padding-bottom: 30%; }
.values__img { overflow: hidden; border-radius: var(--r); background: var(--stone); }
.values__img img { width: 100%; height: 100%; object-fit: cover; }
.values__img--0 { aspect-ratio: 4 / 3.4; width: 88%; }
.values__img--1 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(26, 35, 39, .45); }
.values__list > p { font-size: 1.1rem; }
.values__list ol { margin-top: 32px; border-top: 1px solid var(--line); }
.values__list li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.values__list li > span { font: 600 .85rem/1.9 var(--head); color: var(--wood); }
.values__list h3 { font-size: 1.35rem; margin-bottom: 8px; }
.values__list li p { margin: 0; }

/* Ansprechpartner */
.person-sec { background: var(--ink); color: rgba(255, 255, 255, .78); }
.person-sec .h2 { color: #fff; }
.person-sec__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 7vw, 120px); align-items: center; }
.person-sec__grid > * { min-width: 0; }
.person-sec__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.person-sec__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person-sec__img.is-mark { display: grid; place-items: center; background: linear-gradient(160deg, var(--ink-2), #111a1d); color: #fff; }
.person-sec__mark { width: 42%; height: auto; opacity: .9; margin-bottom: 18%; }
.person-sec__img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(to top, rgba(14, 19, 22, .85), transparent); color: #fff; }
.person-sec__img figcaption strong { display: block; font: 600 1.3rem/1.3 var(--head); }
.person-sec__img figcaption span { font-size: .92rem; color: rgba(255, 255, 255, .7); }
.person-sec__text > p { font-size: 1.12rem; }

/* Kontaktwege (hell auf dunkel) */
.ways { display: grid; gap: 12px; margin-top: 32px; }
.way { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: calc(var(--r) + 3px); color: #fff; text-decoration: none; font: 600 1.05rem/1.3 var(--head); transition: background .3s, border-color .3s, transform .3s var(--ease); overflow-wrap: anywhere; }
.way:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .4); transform: translateX(4px); }
.way .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--wood); color: #fff; flex: none; }
.way small { display: block; font: 400 .85rem/1.4 var(--body); color: rgba(255, 255, 255, .6); }
.contact .ways { margin-top: 28px; }
.contact .way { background: rgba(14, 19, 22, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Nächste Schritte */
.next { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.next li { display: flex; align-items: center; gap: 14px; font-size: .98rem; }
.next span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--wood); font: 600 .8rem/1 var(--head); color: var(--wood); }
.contact .next { color: rgba(255, 255, 255, .85); }
.next--light { color: rgba(255, 255, 255, .85); }

/* Leistungs-Tabs: nummerierte Teilschritte */
.ministeps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 8px; }
.ministeps li { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; background: var(--sand); border-radius: calc(var(--r) + 3px); font: 500 .95rem/1.4 var(--head); color: var(--ink); transition: background .3s, color .3s; }
.ministeps li:hover { background: var(--ink); color: #fff; }
.ministeps span { font: 600 .8rem/1 var(--head); color: var(--wood); }
.tabpanel .actions { margin-top: 24px; }

/* Ausstellungshaus: Hausbild etwas höher anschneiden */
.office__img img { object-position: 50% 40%; }

@media (max-width: 1040px) {
	.tiles { grid-template-columns: 1fr 1fr; }
	.newbuild__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.phead__grid, .explorer__grid, .scale, .partner__card, .values__grid, .person-sec__grid { grid-template-columns: 1fr; }
	.phead__media { padding: 0 0 14% 10%; }
	.phead__a { aspect-ratio: 4 / 3; }
	.crumbs { margin-bottom: 20px; }
	.explorer__media { order: -1; aspect-ratio: 4 / 3; }
	.partner__img { min-height: 300px; }
	.person-sec__img { max-width: 420px; }
}
@media (max-width: 640px) {
	.phead__facts { grid-template-columns: 1fr; }
	.phead__facts li, .phead__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.phead__actions .btn { width: 100%; }
	.tiles, .ministeps { grid-template-columns: 1fr; }
	.newbuild__houses { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.minihouse { scroll-snap-align: start; }
	.minihouse:nth-child(2) { margin-top: 0; }
	.explorer__body p { padding-left: 0; }
}

/* Startseite: Hinweis an der Bildcollage ohne Zahl */
.collage__badge .icon { width: 30px; height: 30px; color: var(--wood); }
.collage__badge span { max-width: 15em; }

/* Rechtstexte: Hinweis, solange eRecht24-Texte fehlen */
.legal-note { margin: 0 0 8px; padding: 22px 26px; background: var(--sand); border-left: 3px solid var(--wood); border-radius: var(--r); font-size: 1.08rem; color: var(--ink); }
