/* Thibaudier Immobilien, Entwurf 2026-10 (high-end-visual-design)
   Vibe: Soft Structuralism. Layout: asymmetrisches Bento. Akzent: Soester Grünsandstein. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-latin.woff2) format('woff2'); }

:root {
  --bg: #f1f1ee;
  --surface: #ffffff;
  --tint: #e8e8e3;
  --ink: #1b1b19;
  --text: #45443f;
  --muted: #6a6963;
  --accent: #2f5240;
  --accent-press: #24402f;
  --accent-soft: #e3ebe5;
  --dark: #1d1f1c;
  --dark-core: #262925;
  --ring: rgba(27, 27, 25, .07);
  --shell: rgba(27, 27, 25, .035);
  --max: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 2rem;
  --pad: 6px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --float: 0 40px 90px -40px rgba(27, 27, 25, .16), 0 12px 32px -18px rgba(27, 27, 25, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1rem + 4.4vw, 5.1rem); line-height: .96; letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 1.15rem + 2.9vw, 3.9rem); line-height: 1; letter-spacing: -.048em; }
h3 { font-size: clamp(1.3rem, 1.1rem + .55vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 56ch; }
.copy { max-width: 60ch; }
.copy p + p { margin-top: 1rem; }
.num { font-variant-numeric: tabular-nums; }
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Pill-Etikett über Überschriften */
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ring); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.tag::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); }
.on-dark .tag, .tip .tag { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #bcd6c5; }
.on-dark .tag::before, .tip .tag::before { background: #bcd6c5; }

/* Doppelrand: Schale und Kern */
.bezel { padding: var(--pad); border-radius: var(--r); background: var(--shell); box-shadow: inset 0 0 0 1px var(--ring); }
.core { border-radius: calc(var(--r) - var(--pad)); background: var(--surface); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 1px 2px rgba(27,27,25,.04); overflow: hidden; position: relative; }
.bezel.float { box-shadow: inset 0 0 0 1px var(--ring), var(--float); }
.bezel.on-dark { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.bezel.on-dark > .core { background: var(--dark-core); box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
.bezel.green { background: rgba(47,82,64,.12); box-shadow: inset 0 0 0 1px rgba(47,82,64,.18); }
.bezel.green > .core { background: var(--accent); box-shadow: inset 0 1px 1px rgba(255,255,255,.14); }
.media > .core img { width: 100%; height: 100%; object-fit: cover; }

/* Knöpfe mit Pfeil im Kreis */
.btn { display: inline-flex; align-items: center; gap: .9rem; min-height: 54px; padding: 0 .4rem 0 1.5rem; border-radius: 999px; border: 0; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; cursor: pointer; transition: transform .6s var(--spring), background-color .4s var(--spring), box-shadow .4s var(--spring); }
.btn:active { transform: scale(.98); }
.btn .btn-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--spring); }
.btn .btn-ic .i { width: 18px; height: 18px; }
.btn:hover .btn-ic { transform: translate(3px, -1px) scale(1.05); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.btn-primary .btn-ic { background: rgba(255,255,255,.14); }
.btn-primary:hover { background: var(--accent-press); }
.btn-quiet { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ring); }
.btn-quiet .btn-ic { background: rgba(27,27,25,.05); }
.btn-light { background: #fff; color: var(--accent-press); }
.btn-light .btn-ic { background: var(--accent-soft); }
.btn.plain { padding: 0 1.5rem; }
.menu-open, .menu-open body { overflow: hidden; }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.link .i { transition: transform .6s var(--spring); }
.link:hover .i { transform: translate(3px, -2px); }
:where(main p a:not(.btn):not(.link), .copy a) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Insel-Navigation */
.island { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 1.25rem; padding: 6px 6px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: inset 0 0 0 1px rgba(27,27,25,.06), 0 18px 40px -22px rgba(27,27,25,.25); transition: box-shadow .5s var(--spring); }
.island.scrolled { box-shadow: inset 0 0 0 1px rgba(27,27,25,.08), 0 22px 50px -20px rgba(27,27,25,.32); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; padding-right: .25rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .78rem; letter-spacing: .02em; }
.island nav { display: flex; gap: 1.4rem; font-size: .95rem; font-weight: 500; color: var(--text); }
.island nav a { white-space: nowrap; transition: color .3s var(--spring); }
.island nav a:hover { color: var(--accent); }
.island .btn { min-height: 46px; padding-left: 1.15rem; font-size: .95rem; }
.island .btn .btn-ic { width: 36px; height: 36px; }
.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(27,27,25,.05); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .6s var(--spring), top .6s var(--spring); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22.5px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gut) 3rem; background: rgba(241,241,238,.86); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); opacity: 0; visibility: hidden; transition: opacity .6s var(--spring), visibility 0s linear .6s; }
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .6s var(--spring), visibility 0s; }
.sheet a { display: block; overflow: hidden; font-size: clamp(2.2rem, 8vw, 3.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; color: var(--ink); }
.sheet a span { display: block; transform: translateY(3rem); opacity: 0; transition: transform .8s var(--spring), opacity .8s var(--spring); transition-delay: calc(var(--n) * 60ms); }
.menu-open .sheet a span { transform: none; opacity: 1; }
.sheet .sheet-foot { margin-top: 2.5rem; font-size: 1rem; color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(7.5rem, 13vw, 10rem) clamp(5rem, 9vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { max-width: 14ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2.75rem; margin: 2.75rem 0 0; padding: 0; }
.hero-facts dt { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.hero-facts dd { margin: .45rem 0 0; font-size: .95rem; color: var(--muted); }
.hero-media { position: relative; margin: 0; }
.hero-media .media > .core { aspect-ratio: 4 / 4.7; }
.hero-media .media img { transform: scale(1.08); transition: transform 2.6s var(--spring); }
.is-loaded .hero-media .media img { transform: scale(1); }
.hero-note { position: absolute; left: clamp(-3.5rem, -4vw, -1.5rem); bottom: clamp(2rem, 5vw, 3.5rem); width: min(340px, 82%); --r: 1.6rem; }
.hero-note .core { padding: 1.4rem 1.5rem 1.5rem; }
.hero-note .note-label { font-size: .95rem; color: var(--muted); }
.hero-note .date { margin-top: .25rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1.2; }
.hero-note .small { margin-top: .7rem; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.credit { margin-top: .85rem; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* Abschnitte */
.section { padding-block: clamp(6rem, 12vw, 10.5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.tint { background: var(--tint); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.bento > .bezel > .core { height: 100%; padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; gap: 1rem; }
.b-a { grid-column: span 7; grid-row: span 2; }
.b-b, .b-c { grid-column: span 5; }
.b-d { grid-column: span 12; }
.b-a > .core { justify-content: space-between; color: #dce7df; min-height: 30rem; }
.b-a .lead-in { font-size: 1.15rem; color: #cbdbd0; }
.b-a .type { margin-top: .5rem; font-size: clamp(2.3rem, 1.2rem + 3vw, 4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; color: #fff; min-height: 2.1em; }
.caret { display: inline-block; width: .07em; height: .88em; margin-left: .06em; background: currentColor; vertical-align: -.08em; animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.tags li { padding: .5rem .95rem; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; font-size: .95rem; font-weight: 500; }
.b-a .tile-foot { font-size: 1.02rem; line-height: 1.55; max-width: 36ch; }
.b-a .tile-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.big { font-size: clamp(2.8rem, 1.6rem + 2.6vw, 4.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; color: var(--ink); }
.b-d > .core { flex-direction: row !important; align-items: center; gap: 2.5rem !important; }
.b-d .copy { flex: 0 0 min(42ch, 46%); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: .5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { white-space: nowrap; padding: .55rem 1rem; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink); font-size: .95rem; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Zickzack */
.zig { display: grid; gap: clamp(5rem, 9vw, 8rem); }
.zig-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.zig-row.flip .zig-media { order: 2; }
.zig-media { margin: 0; }
.zig-media .core { aspect-ratio: 5 / 4; }
.zig-row.flip .zig-media .core { aspect-ratio: 4 / 5; }
.zig-media img { transition: transform 1.6s var(--spring); }
.zig-media:hover img { transform: scale(1.035); }
.zig-text h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.75rem); letter-spacing: -.045em; line-height: 1.05; margin-bottom: 1.25rem; }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .85rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); }
.checks .i { margin-top: .15rem; color: var(--accent); }

/* Region */
.region { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.town { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; text-align: left; border: 0; padding: 1.1rem 1.25rem; border-radius: 1.5rem; background: transparent; font: inherit; color: var(--muted); cursor: pointer; transition: background-color .5s var(--spring), box-shadow .5s var(--spring); }
.town strong { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; color: var(--muted); transition: color .4s var(--spring); }
.town span { grid-column: 1; font-size: .98rem; line-height: 1.45; }
.town .ic { grid-row: 1 / span 2; grid-column: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; opacity: 0; transform: translate(-6px, 4px) scale(.9); transition: opacity .5s var(--spring), transform .6s var(--spring); }
.town:hover strong, .town[aria-pressed="true"] strong { color: var(--ink); }
.town[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ring), 0 14px 30px -20px rgba(27,27,25,.2); }
.town[aria-pressed="true"] .ic { opacity: 1; transform: none; }
.town-panel { position: sticky; top: 110px; }
.town-photos { position: relative; aspect-ratio: 4 / 3; }
.town-photos img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--spring), transform 1.4s var(--spring); }
.town-photos img.on { opacity: 1; transform: scale(1); }
.town-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 1.5rem; margin-top: 1rem; padding-inline: .5rem; }
.town-foot .credit { margin: 0; }
.town-foot .link { white-space: nowrap; flex: none; }
.region-more { margin-top: 1.75rem; padding-inline: 1.25rem; font-size: 1rem; color: var(--muted); }

/* Ablauf: gestapelte Karten */
.flow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.flow-head { position: sticky; top: 130px; }
.flow-head h2 { margin-bottom: 1.25rem; }
.flow-head .link { margin-top: 1.75rem; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack > li { position: sticky; top: calc(104px + var(--i) * 100px); margin-bottom: 1.5rem; }
.stack > li > .core { padding: clamp(1.75rem, 3.5vw, 2.75rem); min-height: 18rem; display: grid; gap: .75rem; align-content: start; }
.when { display: flex; align-items: baseline; gap: .9rem; margin-bottom: .75rem; font-size: clamp(2.3rem, 1.5rem + 2vw, 3.4rem); font-weight: 600; letter-spacing: -.055em; color: var(--accent); line-height: 1; }
.when small { font-size: 1rem; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.stack p:not(.when) { max-width: 52ch; }

/* Situationen */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.rail-head .copy { margin-top: 1.25rem; }
.rail-ctrl { display: flex; gap: .5rem; }
.rail-ctrl button { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ring); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .6s var(--spring); }
.rail-ctrl button:active { transform: scale(.94); }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 31%, 430px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 1.5rem; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(27,27,25,.25) transparent; }
.rail > li { scroll-snap-align: start; }
.rail > li > .core { height: 100%; padding: clamp(1.6rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.rail .kind { font-size: .95rem; font-weight: 600; color: var(--accent); }
.rail .we { margin-top: auto; padding: 1rem 1.1rem; border-radius: 1.1rem; background: var(--accent-soft); color: var(--accent-press); font-size: .98rem; line-height: 1.5; }

/* Zusage */
.promise > .core { padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); color: #d9d8d1; }
.promise h2 { color: #fff; margin-bottom: 1.25rem; }
.promise-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.promise h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1.1rem; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.promise li { display: flex; gap: .75rem; align-items: flex-start; color: #efeee8; line-height: 1.5; }
.promise li .i { margin-top: .15rem; }
.yes .i { color: #9dd0ae; }
.no .i { color: #e6ae90; }

/* Wer kauft */
.who { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.who-photo .core { aspect-ratio: 4 / 5; }
.who-photo img { object-position: 50% 18%; }
.who-panel { margin-left: clamp(-6rem, -6vw, -2rem); position: relative; }
.who-panel > .core { padding: clamp(2rem, 4.5vw, 4rem); }
.who-panel h2 { margin-bottom: 1.5rem; }
.sign { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sign b { display: block; color: var(--ink); font-weight: 600; }
.sign span { font-size: .95rem; color: var(--muted); }

/* Tippgeber */
.tip > .core { padding: clamp(2rem, 4.5vw, 3.5rem) clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; color: #dce7df; }
.tip h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.7rem); margin-bottom: .75rem; }
.tip strong { color: #fff; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact h2 { margin-bottom: 1.25rem; }
.due-label { margin-top: 2.5rem; font-size: 1rem; color: var(--muted); }
.due-big { margin-top: .35rem; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; color: var(--accent); }
.contact-facts { margin-top: 2.25rem; display: grid; gap: .5rem; color: var(--muted); }
.contact-facts b { color: var(--ink); font-weight: 600; }
.form > .core { padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .5rem; align-content: start; }
.field label { font-size: .98rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--bg); border: 0; border-radius: 16px; padding: .95rem 1.05rem; box-shadow: inset 0 0 0 1px var(--ring), inset 0 1px 2px rgba(27,27,25,.04); transition: box-shadow .4s var(--spring), background-color .4s var(--spring); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b19' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(47,82,64,.1); }
.field .help { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.field .err { display: none; font-size: .92rem; font-weight: 500; color: #9b2c1b; }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 1.5px #c2412a; background: #fff8f6; }
.field.invalid .err { display: block; }
.form-error { display: none; border-radius: 16px; padding: 1rem 1.1rem; background: #fbefeb; color: #7a2412; font-size: .98rem; line-height: 1.5; }
.form-error a { text-decoration: underline; }
.form .note { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.form .note a { text-decoration: underline; }
.form button[type="submit"] { position: relative; overflow: hidden; width: 100%; justify-content: space-between; min-height: 58px; }
.form button[aria-busy="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: rgba(255,255,255,.75); animation: busy 1.1s var(--spring) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { padding-block: clamp(4rem, 8vw, 6rem) 2.5rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot-name { font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); font-weight: 600; letter-spacing: -.045em; color: var(--ink); line-height: 1.05; }
.foot h4 { margin: 0 0 1rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { transition: color .3s var(--spring); }
.foot a:hover { color: var(--accent); }
.foot-base { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; box-shadow: 0 -1px 0 var(--ring); display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.foot details summary { cursor: pointer; }
.foot details ul { margin-top: .9rem; font-size: .88rem; gap: .35rem; }

/* Eintritt: schwer und weich, mit Unschärfe */
.js [data-reveal] > * { opacity: 0; transform: translateY(4rem); filter: blur(12px); transition: opacity 1s var(--spring), transform 1.1s var(--spring), filter 1s var(--spring); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in > * { opacity: 1; transform: none; filter: blur(0); }
.magnetic { transition: transform .6s var(--spring); }

/* Schmalere Fenster */
@media (max-width: 1120px) {
  .island nav { display: none; }
  .burger { display: block; }
  .island { gap: .6rem; }
}
@media (max-width: 900px) {
  .hero-grid, .section-head, .promise > .core { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero-media .media > .core { aspect-ratio: 16 / 10; }
  .hero-note { position: relative; left: auto; bottom: auto; width: auto; margin: 1rem 0 0; }
  .bento > .bezel { grid-column: span 12; grid-row: auto; }
  .b-a > .core { min-height: 0; }
  .b-d > .core { flex-direction: column !important; align-items: stretch; }
  .b-d .copy { flex: none; }
}
@media (max-width: 767px) {
  :root { --r: 1.6rem; }
  .hero { padding-top: 6.5rem; }
  .hero-grid, .section-head, .zig-row, .region, .flow, .who, .contact, .foot-grid { grid-template-columns: 1fr; }
  .promise > .core, .tip > .core, .promise-lists { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-media .media > .core { aspect-ratio: 4 / 3.4; }
  .hero-note { position: relative; left: auto; bottom: auto; width: auto; margin: 1rem 0 0; }
  .zig-row.flip .zig-media { order: 0; }
  .zig-row.flip .zig-media .core { aspect-ratio: 5 / 4; }
  .town-panel, .flow-head { position: static; }
  .region { display: flex; flex-direction: column-reverse; }
  .stack > li { position: relative; top: auto; }
  .stack > li > .core { min-height: 0; }
  .who-panel { margin: 1rem 0 0; }
  .who-photo .core { aspect-ratio: 4 / 3.6; }
  .rail-ctrl { display: none; }
  .rail { grid-auto-columns: 86%; }
  .form-row { grid-template-columns: 1fr; }
  .island .btn .call-long { display: none; }
  .island .brand-name { display: none; }
  .hero-facts { gap: 1.75rem; }
  .hero-facts dt { font-size: 1.6rem; }
  .who-panel h2 { font-size: 2rem; }
}
@media (min-width: 768px) { .call-short { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] > * { opacity: 1; transform: none; filter: none; }
  .hero-media .media img { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Unterseiten ---------- */
.island nav a[aria-current="page"] { color: var(--accent); }
h1 em, h2 em { font-style: normal; color: var(--muted); }
.band h2 em, .on-dark h2 em { color: #bcd6c5; }
.lead, .intro { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 58ch; color: var(--text); }
.intro { margin: 1.25rem 0; }
.hero > .wrap:not(.hero-grid) h1 { max-width: 21ch; }
.hero > .wrap:not(.hero-grid) .lead { max-width: 64ch; }
.hero-sub { margin-top: 1.25rem; font-size: .98rem; color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }
.bay { padding-block: clamp(4.5rem, 9vw, 8rem); }
.bay .wrap > h2 { max-width: 22ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.bay .wrap > .tag + h2 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.two-col > div > h2 + .checks { margin-top: 2rem; }
.checks li > span { flex: 1; }
.checks strong { color: var(--ink); font-weight: 600; }
.checks.no .i { color: #b4553a; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card-in { height: 100%; padding: clamp(1.6rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .75rem; }
.card-in a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card-in .tag { align-self: flex-start; margin-bottom: .25rem; }
.step-no { font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; color: var(--accent); margin-bottom: .5rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fact .core { height: 100%; padding: 1.5rem 1.5rem 1.6rem; display: grid; align-content: start; gap: .55rem; }
.fact b { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; color: var(--ink); }
.fact span { font-size: .98rem; color: var(--muted); line-height: 1.45; }
.fact-row { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.town-hero .media > .core { aspect-ratio: 5 / 4; }
.stack .when small { max-width: 24ch; line-height: 1.3; }
.situation { scroll-margin-top: 110px; }
.situation + .situation { margin-top: 1.25rem; }
.situation > .core { padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.25rem 3.5rem; }
.situation h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); letter-spacing: -.04em; line-height: 1.1; }
.situation .what { margin-top: .75rem; color: var(--muted); }
.situation .we { margin-top: 1.25rem; padding: 1.1rem 1.2rem; border-radius: 1.1rem; background: var(--accent-soft); color: var(--accent-press); line-height: 1.55; }
.band > .core { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2.5rem; align-items: end; color: #dce7df; }
.band h2 { color: #fff; }
.band .intro, .band .small { color: #cbdbd0; }
.band a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-card > .core { padding: clamp(1.75rem, 4.5vw, 3.75rem); }
.legal { max-width: 760px; }
.legal h3 { margin: 2.25rem 0 .7rem; font-size: 1.3rem; }
.legal h3:first-child { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-photo .core { aspect-ratio: 4 / 5; }
.about-photo img { object-position: 50% 18%; }
.about-name { margin-top: 1rem; padding-inline: .5rem; }
.about-name b { display: block; color: var(--ink); font-weight: 600; }
.about-name span { font-size: .95rem; color: var(--muted); }
.about-text p { max-width: 60ch; }
.about-text p:first-child { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.about-text p + p { margin-top: 1.15rem; }
.js .rv { opacity: 0; transform: translateY(3rem); filter: blur(10px); transition: opacity 1s var(--spring), transform 1.1s var(--spring), filter 1s var(--spring); }
.js .rv.in { opacity: 1; transform: none; filter: blur(0); }
@media (max-width: 900px) {
  .grid-3, .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: span 2; }
  .band > .core { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 767px) {
  .two-col, .grid-3, .grid-2, .situation > .core, .about { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .fact-row, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .fact .core { padding: 1.15rem; }
  .town-hero .media > .core { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; filter: none; }
}
.page .hero h1 { font-size: clamp(2.4rem, 1rem + 3.5vw, 4.3rem); max-width: 17ch; }
.page .hero > .wrap:not(.hero-grid) h1 { max-width: 22ch; }
.page h1 em, .page h2 em { display: block; margin-top: .4em; font-size: .56em; line-height: 1.15; letter-spacing: -.03em; }
.page h2 { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.3rem); }
.page .hero h1 { max-width: 20ch; }
.page .stack .when { flex-direction: column; align-items: flex-start; gap: .6rem; }
.page .stack .when small { font-size: 1rem; max-width: none; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
