/* =====================================================================
   WESTGIEBEL IMMOBILIEN (Konzept-Demo, Website-Leasing.io) · „Das Objekt"  — Immobilien, die sich rechnen.
   Hell · Tinte #13222E · Gold #B08A51 · Nebel #F2F3F1
   ===================================================================== */

@font-face { font-family: 'Instrument Serif'; src: url('../fonts/InstrumentSerif-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/InstrumentSerif-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-var.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/IBMPlexMono-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --weiss: #FFFFFF;
  --nebel: #F2F3F1;
  --nebel-2: #E7E9E6;
  --linie: rgba(19, 34, 46, .12);
  --linie-stark: rgba(19, 34, 46, .22);
  --tinte: #13222E;
  --tinte-2: #1E3140;
  --text: #13222E;
  --text-mittel: #4A5A66;
  --text-leise: #7D8A93;
  --gold: #B08A51;
  --gold-text: #8A6A36;
  --gold-hell: #D8BE8E;
  --gruen-wa: #1FA855;
  --plus: #2E7D5B;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --rand: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--weiss); color: var(--text); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; overflow-x: hidden; font-feature-settings: 'ss01', 'cv11';
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold-hell); color: var(--tinte); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-text); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); display: inline-flex; gap: 10px; align-items: center; }
.kicker::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 16px 26px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn .pfeil { transition: transform .25s ease; }
.btn:hover .pfeil { transform: translateX(4px); }
.btn-tinte { background: var(--tinte); color: var(--weiss); }
.btn-tinte:hover { background: var(--tinte-2); box-shadow: 0 12px 30px rgba(19, 34, 46, .22); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--weiss); }
.btn-gold:hover { background: #9C7843; transform: translateY(-1px); }
.btn-linie { border-color: var(--linie-stark); color: var(--text); background: rgba(255, 255, 255, .6); }
.btn-linie:hover { border-color: var(--tinte); }
.btn-klein { padding: 11px 18px; font-size: 14px; }

/* ---------- Lade-Emblem (≤1,5 s, Failsafe inline im HTML) ---------- */
#lade { position: fixed; inset: 0; z-index: 300; background: var(--weiss); display: flex; align-items: center; justify-content: center; transition: opacity .6s ease, visibility .6s; }
#lade img { width: 64px; height: 64px; animation: atmen 1.4s ease-in-out infinite; }
#lade.weg { opacity: 0; visibility: hidden; }
@keyframes atmen { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.92); opacity: .75; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--rand); transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.fest { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--linie); }
.nav .logo img { height: 22px; width: auto; }
.nav .logo .logo-weiss { display: none; }
/* Abend-Kapitel im Film: Menü wird dunkel */
body:not(.menu-offen) .nav.dunkel .logo .logo-dunkel { display: none; }
body:not(.menu-offen) .nav.dunkel .logo .logo-weiss { display: block; }
body:not(.menu-offen) .nav.dunkel ul a { color: rgba(255, 255, 255, .74); }
body:not(.menu-offen) .nav.dunkel ul a:hover { color: var(--weiss); }
body:not(.menu-offen) .nav.dunkel.fest { background: rgba(40, 50, 64, .78); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
body:not(.menu-offen) .nav.dunkel .btn-tinte { background: var(--gold); }
body:not(.menu-offen) .nav.dunkel .burger { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
body:not(.menu-offen) .nav.dunkel .burger span { background: var(--weiss); }
.nav ul { list-style: none; display: flex; gap: 30px; }
.nav ul a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--text-mittel); transition: color .2s; }
.nav ul a:hover { color: var(--text); }
.nav .rechts { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--linie-stark); border-radius: 50%; background: var(--weiss); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 16px; height: 1.5px; background: var(--tinte); transition: transform .3s ease; }
.menu-offen .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-offen .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobilmenue {
  position: fixed; inset: 0; z-index: 90; background: var(--weiss); padding: 110px var(--rand) 40px;
  display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1), visibility 0s .5s;
  overflow-y: auto; visibility: hidden;   /* auf kleinen Handys ragte sonst der Menü-Button unter dem versteckten Menü hervor */
}
.menu-offen .mobilmenue { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.mobilmenue a { font-family: var(--serif); font-size: 40px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.mobilmenue .btn { margin-top: 28px; font-family: var(--sans); font-size: 16px; justify-content: center; border-bottom: 0; }

/* =====================================================================
   FILM — ein weißes Modellhaus als Bühne (Blender-Bildfolge)
   ===================================================================== */
#film { position: relative; height: 820vh; background: var(--nebel); }
.buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.buehne canvas, .buehne .poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne .poster { object-fit: cover; }
.buehne .ausblende { position: absolute; inset: 0; background: var(--weiss); opacity: 0; pointer-events: none; }

/* Abendszene (Kapitel III): Text hell auf Abendblau */
.buehne .ebene h2, .buehne .ebene p, .buehne .kicker, .kapitelleiste li { transition: color .5s ease; }
.buehne.dunkel .ebene h2 { color: var(--weiss); }
.buehne.dunkel .ebene h2 em { color: var(--gold-hell); }
.buehne.dunkel .ebene > p { color: rgba(255, 255, 255, .78); }
.buehne.dunkel .kicker { color: var(--gold-hell); }
.buehne.dunkel .kapitelleiste li { color: rgba(255, 255, 255, .5); }
.buehne.dunkel .kapitelleiste li.aktiv { color: var(--weiss); }
.buehne.dunkel .kapitelleiste li i { background: rgba(255, 255, 255, .2); }

/* Kapitel-Leiste links */
.kapitelleiste { position: absolute; left: var(--rand); bottom: 34px; z-index: 5; display: flex; gap: 22px; list-style: none; }
.kapitelleiste li { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); display: flex; flex-direction: column; gap: 8px; min-width: 64px; transition: color .3s; }
.kapitelleiste li i { display: block; height: 2px; background: var(--linie); position: relative; overflow: hidden; }
.kapitelleiste li i b { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.kapitelleiste li.aktiv { color: var(--text); }

/* Text-Ebenen im Film */
.ebene { position: absolute; z-index: 4; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.ebene.an { pointer-events: auto; }
.ebene-links { left: var(--rand); top: 50%; transform: translateY(-50%); width: min(560px, 44vw); }
/* Lesbarkeits-Schleier hinter Kapiteltexten (Text muss auf JEDEM Bild lesbar sein) */
.ebene-links::before { content: ''; position: absolute; z-index: -1; inset: -90px -160px -90px -30vw; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 35% 50%, rgba(242, 243, 241, .94) 0%, rgba(242, 243, 241, .78) 45%, rgba(242, 243, 241, 0) 75%); transition: background .5s ease; }
.buehne.dunkel .ebene-links::before { background: radial-gradient(ellipse 70% 60% at 35% 50%, rgba(46, 56, 70, .9) 0%, rgba(62, 74, 90, .7) 45%, rgba(62, 74, 90, 0) 75%); }
.ebene h2 { font-size: clamp(44px, 5.4vw, 84px); }
.ebene p { color: var(--text-mittel); font-size: clamp(16px, 1.25vw, 19px); margin-top: 22px; max-width: 470px; }
.ebene .kicker { margin-bottom: 22px; }

/* Hero */
#held { left: var(--rand); top: 50%; transform: translateY(-46%); width: min(640px, 50vw); opacity: 1; pointer-events: auto; }
#held h1 { font-size: clamp(56px, 7.6vw, 124px); line-height: .94; }
#held h1 .zeile { display: block; overflow: hidden; }
#held h1 .zeile span { display: inline-block; transform: translateY(105%); animation: hoch 1s cubic-bezier(.2, .8, .2, 1) forwards; }
#held h1 .zeile:nth-child(2) span { animation-delay: .12s; }
@keyframes hoch { to { transform: none; } }
#held .unter { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-mittel); margin-top: 26px; max-width: 500px; }
#held .aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
#held .vertrauen { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; list-style: none; }
#held .vertrauen li { font-size: 13.5px; color: var(--text-mittel); display: flex; gap: 8px; align-items: center; }
#held .vertrauen li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.scrollhinweis { position: absolute; right: var(--rand); bottom: 34px; z-index: 5; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mittel); }
.scrollhinweis i { width: 1px; height: 38px; background: var(--linie-stark); position: relative; overflow: hidden; }
.scrollhinweis i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--tinte); animation: rinnen 1.8s ease-in-out infinite; }
@keyframes rinnen { to { top: 100%; } }

/* Beschriftungen, die an Blender-Ankern hängen */
.marke-anker { position: absolute; z-index: 4; opacity: 0; transform: translate(0, -50%); pointer-events: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.marke-anker .strich { width: 46px; height: 1px; background: var(--tinte); }
.marke-anker .punkt { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--tinte); background: var(--weiss); }
.marke-anker .etikett { background: rgba(255, 255, 255, .92); border: 1px solid var(--linie); border-radius: var(--radius); padding: 9px 13px 10px; box-shadow: 0 8px 24px rgba(19, 34, 46, .08); }
.marke-anker .etikett b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.marke-anker .etikett span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-top: 2px; }
/* Punkt sitzt genau auf dem Anker (Kugelkopf), Etikett darüber */
.pin-anker { transform: translate(-50%, calc(-100% + 4.5px)); flex-direction: column; gap: 26px; }

/* Rendite-Karte im Film */
.rechenkarte { margin-top: 30px; background: rgba(255, 255, 255, .94); border: 1px solid var(--linie); border-radius: 6px; padding: 22px 24px; max-width: 420px; box-shadow: 0 20px 50px rgba(19, 34, 46, .14); }
.rechenkarte .zeile { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.rechenkarte .zeile:last-of-type { border-bottom: 0; }
.rechenkarte .zeile span { color: var(--text-mittel); }
.rechenkarte .zeile b { font-variant-numeric: tabular-nums; font-weight: 600; }
.rechenkarte .zeile.gold b { color: var(--gold-text); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.rechenkarte .fuss { margin-top: 12px; font-size: 12px; color: var(--text-leise); }
.rechenkarte a { display: inline-flex; margin-top: 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.nur-klein { display: none; }

/* =====================================================================
   INHALT (hell, lebendig)
   ===================================================================== */
.sektion { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.sektion.nebel { background: var(--nebel); }
.kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.kopf h2 { font-size: clamp(46px, 5.6vw, 88px); max-width: 780px; margin-top: 18px; }
.kopf p { color: var(--text-mittel); max-width: 420px; font-size: 17px; }

/* Reveal (scroll-basiert, ohne JS sichtbar) */
.zeig { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.zeig.da { opacity: 1; transform: none; }
.kein-js .zeig { opacity: 1; transform: none; }

/* ---------- Portfolio ---------- */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter button {
  border: 1px solid var(--linie-stark); background: var(--weiss); color: var(--text-mittel);
  padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s ease;
}
.filter button:hover { border-color: var(--tinte); color: var(--text); }
.filter button.aktiv { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.filter button sup { font-family: var(--mono); font-size: 10px; margin-left: 4px; opacity: .7; }
.objekte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.objekt { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.objekt:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(19, 34, 46, .12); }
.objekt .bild { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--nebel); }
.objekt .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.objekt:hover .bild img { transform: scale(1.05); }
.objekt .status { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--weiss); color: var(--text); padding: 6px 10px; border-radius: 100px; display: flex; gap: 7px; align-items: center; }
.objekt .status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3C9A6B; }
.objekt .status.reserviert::before { background: var(--gold); }
.objekt .status.verkauft::before { background: var(--text-leise); }
.objekt.ist-verkauft .bild img { filter: grayscale(.7) contrast(.9); }
.ki-hinweis { position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--weiss); background: rgba(19, 34, 46, .62); padding: 4px 8px; border-radius: 3px; }
.objekt .innen { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.objekt .kennung { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); }
.objekt .kennung b { color: var(--gold-text); font-weight: 500; }
.objekt h3 { font-size: 30px; margin-top: 12px; }
.objekt .text { color: var(--text-mittel); font-size: 14.5px; margin-top: 10px; flex: 1; }
.objekt .werte { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin-top: 20px; }
.objekt .werte div { padding: 12px 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.objekt .werte div + div { border-left: 1px solid var(--linie); padding-left: 14px; }
.objekt .werte span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); font-weight: 400; }
.objekt .fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.objekt .preis { font-family: var(--serif); font-size: 28px; }
.objekt .preis small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); }
.portfolio-fuss { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--linie); flex-wrap: wrap; }
.portfolio-fuss p { font-family: var(--serif); font-size: 28px; }
.portfolio-fuss p em { color: var(--gold-text); }
.beispiel-hinweis { font-size: 12.5px; color: var(--text-leise); margin-top: 14px; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 8px; overflow: hidden; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 30px 80px rgba(19, 34, 46, .08); }
.rechner .eingaben { padding: clamp(28px, 4vw, 52px); }
.regler { margin-bottom: 26px; }
.regler label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--text-mittel); margin-bottom: 12px; }
.regler output { font-family: var(--mono); font-size: 15px; color: var(--text); font-weight: 500; }
.regler input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --f: 50%; }
.regler input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--tinte) var(--f), var(--linie-stark) var(--f)); }
.regler input[type=range]::-moz-range-track { height: 2px; background: var(--linie-stark); }
.regler input[type=range]::-moz-range-progress { height: 2px; background: var(--tinte); }
.regler input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--tinte); margin-top: -9px; box-shadow: 0 2px 8px rgba(19, 34, 46, .2); }
.regler input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--tinte); }
.rechner .ergebnis { background: var(--tinte); color: var(--weiss); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.rechner .ergebnis .mono { color: var(--gold-hell); }
.rechner .gross { font-family: var(--serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.rechner .gross.plus { color: #9FD8B8; }
.rechner .erkl { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 10px; min-height: 48px; }
.balken { margin: 30px 0 8px; display: grid; gap: 12px; }
.balken div { display: grid; grid-template-columns: 110px 1fr 90px; gap: 12px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.balken i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.balken i b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; transition: width .4s ease; }
.balken .miete b { background: var(--gold); }
.balken .rate b { background: rgba(255, 255, 255, .72); }
.balken em { font-style: normal; font-family: var(--mono); text-align: right; color: var(--weiss); }
.rechner .liste { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.rechner .liste div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.rechner .liste b { color: var(--weiss); font-family: var(--mono); font-weight: 500; }
.rechner .ergebnis .btn { margin-top: auto; align-self: flex-start; }
.rechner .ergebnis .aktion { margin-top: 30px; }
.rechner-hinweis { font-size: 12.5px; color: var(--text-leise); margin-top: 18px; max-width: 860px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person { position: relative; border-radius: 8px; overflow: hidden; background: var(--nebel); min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; }
.person .foto { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.person .foto img { height: 94%; width: auto; max-width: none; object-fit: contain; object-position: bottom; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.person:hover .foto img { transform: scale(1.03); }
.person .platzhalter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: linear-gradient(160deg, #EEF0EE, #E3E6E3); }
.person .platzhalter .mono { color: var(--text-leise); }
.person .platzhalter .init { font-family: var(--serif); font-size: 120px; color: var(--gold); line-height: 1; }
.person .karte { position: relative; margin: 18px; background: rgba(255, 255, 255, .93); border-radius: 6px; padding: 22px 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--linie); }
.person .karte h3 { font-size: 36px; }
.person .karte .rolle { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.person .karte p { color: var(--text-mittel); font-size: 15px; margin-top: 12px; }
.team-zitat { margin-top: 56px; display: grid; grid-template-columns: 90px 1fr; gap: 30px; align-items: start; border-top: 1px solid var(--linie); padding-top: 44px; }
.team-zitat img { width: 60px; }
.team-zitat blockquote { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; }
.team-zitat blockquote em { color: var(--gold-text); }
.team-zitat cite { display: block; font-style: normal; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); }
.netzwerk { display: flex; gap: 22px; align-items: center; margin-top: 44px; padding: 22px 26px; border: 1px solid var(--linie); border-radius: 6px; background: var(--weiss); flex-wrap: wrap; }
.netzwerk b { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.netzwerk p { color: var(--text-mittel); font-size: 15px; flex: 1; min-width: 260px; }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--linie-stark); counter-reset: s; }
.schritte li { padding: 30px 26px 0 0; position: relative; }
.schritte li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.schritte .nr { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--gold-text); }
.schritte h3 { font-size: 34px; margin-top: 12px; }
.schritte p { color: var(--text-mittel); font-size: 15px; margin-top: 10px; }
.schritte .dauer { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); border: 1px solid var(--linie); border-radius: 100px; padding: 5px 10px; }

/* ---------- Versprechen ---------- */
.versprechen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.versprechen div { border-top: 1px solid var(--tinte); padding-top: 26px; }
.versprechen .zahl { font-family: var(--serif); font-size: 76px; line-height: 1; }
.versprechen .zahl em { color: var(--gold-text); }
.versprechen h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin-top: 14px; }
.versprechen p { color: var(--text-mittel); font-size: 15px; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; }
.frage { border-bottom: 1px solid var(--linie-stark); }
.frage button { width: 100%; display: flex; justify-content: space-between; gap: 24px; align-items: center; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: var(--text); }
.frage button i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--linie-stark); position: relative; transition: transform .35s ease, background .35s; }
.frage button i::before, .frage button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--tinte); transform: translate(-50%, -50%); }
.frage button i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s ease; }
.frage.offen button i { background: var(--tinte); }
.frage.offen button i::before, .frage.offen button i::after { background: var(--weiss); }
.frage.offen button i::after { transform: translate(-50%, -50%) rotate(0); }
.frage .antwort { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.frage.offen .antwort { grid-template-rows: 1fr; }
.frage .antwort > div { overflow: hidden; }
.frage .antwort p { color: var(--text-mittel); padding: 0 60px 28px 0; font-size: 16px; }

/* ---------- Erstgespräch (Schritt-Formular) ---------- */
#erstgespraech { background: var(--nebel); }
.anfrage { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.anfrage .links h2 { font-size: clamp(46px, 5.4vw, 84px); margin-top: 18px; }
.anfrage .links p { color: var(--text-mittel); margin-top: 22px; font-size: 17px; max-width: 460px; }
.ansprech { display: flex; gap: 16px; align-items: center; margin-top: 36px; }
.ansprech img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--weiss); border: 1px solid var(--linie); }
.ansprech b { display: block; font-size: 16px; }
.ansprech span { font-size: 14px; color: var(--text-mittel); }
.kontaktwege { list-style: none; margin-top: 30px; display: grid; gap: 10px; }
.kontaktwege a { text-decoration: none; display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.kontaktwege a span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); width: 80px; }
.formular { background: var(--weiss); border-radius: 8px; border: 1px solid var(--linie); padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 30px 80px rgba(19, 34, 46, .08); }
.fortschritt { display: flex; gap: 6px; margin-bottom: 30px; }
.fortschritt i { flex: 1; height: 3px; border-radius: 2px; background: var(--nebel-2); transition: background .3s; }
.fortschritt i.an { background: var(--tinte); }
.schritt { display: none; }
.schritt.aktiv { display: block; animation: rein .5s ease; }
@keyframes rein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.schritt legend, .schritt .frage-titel { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; margin-bottom: 22px; }
.schritt .zaehler { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); display: block; margin-bottom: 10px; }
fieldset { border: 0; }
.optionen { display: grid; gap: 10px; }
.optionen label { display: flex; gap: 14px; align-items: center; border: 1px solid var(--linie-stark); border-radius: 6px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s; font-weight: 500; }
.optionen label:hover { border-color: var(--tinte); }
.optionen input { accent-color: var(--tinte); width: 18px; height: 18px; }
.optionen label:has(input:checked) { border-color: var(--tinte); background: var(--nebel); }
.optionen small { display: block; font-weight: 400; color: var(--text-leise); font-size: 13px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.felder .breit { grid-column: 1 / -1; }
.feld label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.feld input, .feld textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border: 1px solid var(--linie-stark); border-radius: 6px; background: var(--weiss); color: var(--text); transition: border-color .2s; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); }
.feld textarea { min-height: 110px; resize: vertical; }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-mittel); margin-top: 6px; }
.einwilligung input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--tinte); flex-shrink: 0; }
.einwilligung a { color: var(--text); }
.schritt-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.zurueck { background: none; border: 0; cursor: pointer; color: var(--text-mittel); font-weight: 500; }
.zurueck[hidden] { display: none; }
.formular .fehler { color: #A5402D; font-size: 13.5px; margin-top: 12px; min-height: 18px; }
.danke { text-align: center; padding: 30px 10px; }
.danke img { width: 56px; margin: 0 auto 18px; }
.danke h3 { font-size: 40px; }
.danke p { color: var(--text-mittel); margin-top: 10px; }
.bezug { background: var(--nebel); border-radius: 6px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; display: none; }
.bezug.da { display: block; }

/* ---------- Footer ---------- */
footer { background: var(--tinte); color: rgba(255, 255, 255, .72); padding: 90px 0 36px; }
footer .oben { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer .logo img { height: 24px; width: auto; }
footer .claim { font-family: var(--serif); font-size: 34px; color: var(--weiss); margin-top: 26px; line-height: 1.1; max-width: 360px; }
footer .claim em { color: var(--gold-hell); }
footer h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a { text-decoration: none; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
footer a:hover { color: var(--weiss); }
footer .unten { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
footer .unten a { font-size: 13px; color: rgba(255, 255, 255, .62); }

/* ---------- Schwebende Kontaktknöpfe ---------- */
.schwebend { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; gap: 10px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.schwebend.da { opacity: 1; transform: none; pointer-events: auto; }
.schwebend .btn { box-shadow: 0 14px 34px rgba(19, 34, 46, .22); }
.wa-knopf { display: none; background: var(--gruen-wa); color: #fff; }
.wa-knopf svg { width: 20px; height: 20px; fill: #fff; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .objekte { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  footer .oben { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav ul, .nav .rechts .btn { display: none; }
  .burger { display: flex; }
  #film { height: 760vh; }
  #held { top: 96px; transform: none; width: auto; right: var(--rand); }
  #held h1 { font-size: clamp(46px, 12.5vw, 72px); }
  #held .unter { font-size: 16px; margin-top: 16px; }
  #held .aktionen { margin-top: 20px; gap: 8px; flex-wrap: nowrap; }
  #held .aktionen .btn { padding: 13px 17px; font-size: 14.5px; white-space: nowrap; }
  #held .aktionen .pfeil { display: none; }
  #held .unter { max-width: 34ch; }
  .nur-gross { display: none; }
  .nur-klein { display: inline; }
  #held .vertrauen { display: none; }
  .ebene-links { top: 92px; transform: none; width: auto; right: var(--rand); }
  .ebene h2 { font-size: clamp(38px, 10vw, 56px); }
  .ebene p { font-size: 15.5px; margin-top: 12px; }
  /* Handy: Link und Beispiel-Hinweis teilen sich eine Zeile → Karte flacher, Haus bleibt frei */
  .rechenkarte { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 8px 16px 12px; margin-top: 12px; }
  .rechenkarte .zeile { grid-column: 1 / -1; padding: 4px 0; font-size: 13.5px; }
  .rechenkarte .zeile.gold b { font-size: 22px; }
  .rechenkarte a { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 8px; font-size: 13.5px; }
  .rechenkarte .fuss { grid-column: 2; grid-row: 4; align-self: center; margin-top: 8px; font-size: 11px; text-align: right; }
  .marke-anker { gap: 6px; }
  .pin-anker { gap: 16px; }
  .marke-anker .strich { width: 12px; }
  .marke-anker .etikett { padding: 5px 8px 6px; }
  .marke-anker .etikett b { font-size: 12px; }
  .marke-anker .etikett span { display: none; }
  .kapitelleiste { gap: 10px; bottom: 22px; right: var(--rand); }
  .kapitelleiste li { min-width: 0; flex: 1; font-size: 9.5px; }
  .scrollhinweis { display: none; }
  .rechner { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .person { min-height: 540px; }
  .versprechen { grid-template-columns: 1fr; }
  .anfrage { grid-template-columns: 1fr; }
  .team-zitat { grid-template-columns: 1fr; gap: 16px; }
  .schwebend { left: 16px; right: 16px; justify-content: center; }
}
@media (max-width: 620px) {
  .objekte { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; }
  .felder { grid-template-columns: 1fr; }
  footer .oben { grid-template-columns: 1fr; }
  .balken div { grid-template-columns: 84px 1fr 76px; }
  .kopf { margin-bottom: 36px; }
}

/* Kleine Handys (z. B. iPhone SE mit Safari-Leisten): kompaktere Film-Texte, damit das Haus frei bleibt */
@media (max-width: 860px) and (max-height: 620px) {
  #held, .ebene-links { top: 80px; }
  #held h1 { font-size: 40px; }
  #held .unter { font-size: 14.5px; margin-top: 10px; }
  #held .aktionen { margin-top: 14px; }
  .ebene h2 { font-size: 32px; }
  .ebene p { font-size: 14px; margin-top: 8px; }
  #k-substanz p { display: none; }   /* die Geschoss-Beschriftungen erzählen dasselbe */
  .mobilmenue { padding-top: 84px; }
  .mobilmenue a { font-size: 30px; }
}

/* Ohne JS / reduzierte Bewegung: alles lesbar, Film als Standbild */
.kein-js #film { height: auto; }
.kein-js .buehne { position: relative; height: 100vh; }
.kein-js .ebene:not(#held), .kein-js .marke-anker { display: none; }
.kein-js #lade { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .zeig { opacity: 1; transform: none; }
  #held h1 .zeile span { transform: none; }
}

/* Sprungziele unter der festen Navigation */
main section[id] { scroll-margin-top: 64px; }

/* ---------- Rechtsseiten ---------- */
.recht { max-width: 820px; margin: 0 auto; padding: 140px var(--rand) 100px; }
.recht .zurueck-link { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-mittel); margin-bottom: 36px; }
.recht h1 { font-size: clamp(48px, 6vw, 80px); margin-bottom: 30px; }
.recht h2 { font-size: 30px; margin: 44px 0 12px; }
.recht h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.recht p, .recht li { color: var(--text-mittel); font-size: 15.5px; margin-bottom: 10px; }
.recht ul { padding-left: 20px; }
.recht mark { background: #FBEFD7; color: var(--text); padding: 0 4px; border-radius: 3px; }
.recht .entwurf { border: 1px solid var(--gold); background: #FBF6EC; border-radius: 6px; padding: 16px 20px; font-size: 14px; color: var(--text); margin-bottom: 30px; }
.recht .formularbox { border: 1px solid var(--linie-stark); border-radius: 6px; padding: 22px 24px; margin-top: 14px; }

/* ===== Konzept-Demo (Website-Leasing.io) ===== */
.konzept-hinweis { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.62); }
.konzept-hinweis strong { color: #fff; font-weight: 600; }
.konzept-hinweis a { color: var(--gold-hell); text-decoration: underline; text-underline-offset: 3px; }
.konzept-pille { position: fixed; left: 18px; bottom: 22px; z-index: 79; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(19,34,46,.9); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 28px rgba(19,34,46,.2); }
.konzept-pille span { color: var(--gold-hell); }
@media (max-width: 760px) { .konzept-pille { display: none; } }
/* Die feste Pille sitzt unten links – Kapitelleiste und Scroll-Hinweis rücken darüber, damit nichts überlappt (14.10.2026) */
@media (min-width: 761px) { .kapitelleiste, .scrollhinweis { bottom: 80px; } }
/* Zwischen Tablet und großem Desktop reicht der Platz rechts vom Haus nicht für die Zweitzeile der Etiketten → kompakt wie am Handy */
@media (min-width: 861px) and (max-width: 1279px) {
  .marke-anker { gap: 6px; }
  .marke-anker .strich { width: 18px; }
  .marke-anker .etikett { padding: 6px 10px 7px; }
  .marke-anker .etikett b { font-size: 13px; }
  .marke-anker .etikett span { display: none; }
}

@media (min-width: 761px) { footer { padding-bottom: 96px; } }

/* ---------- Konzept-Banner oben (v73, wie auf den anderen Konzeptseiten) ---------- */
.concept-banner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 24px; background: #0B0B0C; color: rgba(255, 255, 255, .72); font-family: var(--sans); font-size: 13.5px; line-height: 1.45; text-align: center; }
.concept-banner strong { color: #fff; font-weight: 600; }
.concept-banner-sep { color: rgba(255, 255, 255, .18); }
.concept-banner-back { display: inline-flex; align-items: center; gap: 6px; color: #D9F75A; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease, gap .2s ease; }
.concept-banner-back:hover { border-color: #D9F75A; gap: 9px; }
@media (max-width: 1000px) {
  .concept-banner { flex-direction: column; gap: 4px; padding: 12px 16px; font-size: 12.5px; }
  .concept-banner-sep { display: none; }
}
.menu-offen .nav { top: 0 !important; }            /* offenes Menü deckt das Banner ab */
.kein-js .nav { position: relative; top: 0 !important; }   /* ohne JS: Menü unter dem Banner im Fluss */
