/* ============ FIND Rebuild — Tokens ============ */
:root {
  --ink: #151717;
  --ink-80: rgba(21,23,23,.8);
  --grey: #b3b3b3;
  --paper: #ffffff;
  --panel: #f1f1f1;
  --dark: #151717;
  --darker: #0d0e0e;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --serif: "Lora", Georgia, serif;
  --maxw: 1360px;
}

* { box-sizing: border-box; }
/* [hidden] muss display-Autorenregeln schlagen (sonst zeigen .fn-q etc. trotz hidden) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  /* clip statt hidden: verhindert iOS-Seitwaerts-Pannen OHNE Scroll-Container
     (hidden auf html/body kann position:sticky der Hero-Buehne brechen) */
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
/* Anchor-Jumps nicht unter der fixed Nav landen lassen */
section[id], footer[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; text-decoration: none; }
h1,h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
section { position: relative; }
.lbl { font-size: 15px; font-weight: 600; }
.lbl.light { color: #fff; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.fade { color: var(--grey); }
.giant { font-size: clamp(3rem, 7.2vw, 6.6rem); }
.center { text-align: center; }

/* Logo mit gespiegeltem I */
.logo { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.logo .flip { display: inline-block; transform: scaleX(-1); }

/* ============ Pills ============ */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 16px;
  transition: transform .2s, background .2s, gap .2s;
}
.pill i { font-style: normal; transition: transform .2s; }
.pill:hover i { transform: translateX(4px); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #000; }
.pill-light { background: #fff; color: var(--ink); }
.pill-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(0,0,0,.15); }
.pill-lg { padding: 17px 32px; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(21,23,23,.08); }
.nav-links { display: flex; gap: 34px; font-weight: 500; font-size: 16.5px; }
.nav-links i { font-style: normal; font-size: 12px; opacity: .7; }
.nav-links a { opacity: .92; }
.nav-links a:hover { opacity: 1; }
.nav .pill { padding: 12px 26px; }

/* ============ HERO (gepinnte Scrub-Sequenz) ============ */
.hero { height: 460vh; text-align: center; }
.hero-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sky {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #a8c4e2 0%, #c3d7ec 34%, #dfeaf4 58%, #eef2f6 78%, #f3ece2 100%);
  transform-origin: 50% 78%; /* Zoom zielt aufs Haus */
  will-change: transform;
}
/* SCHRITT 5: Das Haus ist jetzt ein ALPHA-FREISTELLER auf eigener Ebene
   (wie das Original: back=Himmel, house=Freisteller). Kein eingebackenes Foto mehr im Himmel. */
.house-cut {
  position: absolute; left: 50%; bottom: -27vh; z-index: 4;
  width: min(64vw, 980px); transform: translateX(-50%);
  transform-origin: bottom center; pointer-events: none;
  will-change: transform, opacity;
}
.house-cut img { width: 100%; display: block; }
/* Headline muss auf dem Himmel sitzen — leichte Aufhellung oben */
.sky::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.12) 34%, transparent 55%); }
.clouds {
  opacity: 0; position: absolute; z-index: -1; width: 140%; height: 40vh; left: -20%;
  background:
    radial-gradient(38% 70% at 25% 60%, rgba(255,255,255,.95) 0%, transparent 65%),
    radial-gradient(30% 60% at 55% 40%, rgba(255,255,255,.8) 0%, transparent 60%),
    radial-gradient(34% 66% at 82% 62%, rgba(255,255,255,.9) 0%, transparent 62%);
  filter: blur(14px);
}
.c1 { top: 12%; }
.c2 { top: 40%; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

.hero-inner { position: relative; z-index: 2; max-width: 1840px; margin: 0 auto; padding: 120px 24px 0; will-change: opacity, transform; }

/* Outline-Wordmark (erscheint mitten im Zoom) */
/* Outline-Wordmark: SVG-Pfade, die sich beim Scrollen ZEICHNEN (vanilla,
   vanilla via stroke-dashoffset). Liegt UEBER dem Haus (z6). */
.outline-word {
  position: absolute; inset: 0; z-index: 6; display: grid; place-content: center;
  opacity: 0; pointer-events: none; will-change: opacity;
}
.outline-word svg { width: min(76vw, 1060px); height: auto; overflow: visible; }
.outline-word svg path { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 2.5; }

/* Licht-Bloom: das Haus wird von Licht überstrahlt und löst sich in Weiß auf,
   BEVOR blauer Himmel + RUDI kommen. Warmer Kern (Sonnenlicht) -> Weiß.
   z-index 4 = wie .skyfade, steht aber davor im DOM -> skyfade malt drüber (Blau aus dem Licht). */
.cloudveil {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: radial-gradient(95% 88% at 50% 44%,
    #ffffff 0%, #fffdf6 30%,
    rgba(255,253,246,.98) 52%,
    rgba(252,251,250,.78) 74%,
    rgba(252,251,250,.28) 92%);
  will-change: opacity;
}

/* Blauer Himmel, der das gezoomte Haus ablöst (Bühne fürs gefüllte Wordmark) */
.skyfade {
  position: absolute; inset: 0; z-index: 6;
  background:
    radial-gradient(60% 34% at 18% 82%, rgba(255,255,255,.9) 0%, transparent 70%),
    radial-gradient(55% 30% at 85% 76%, rgba(255,255,255,.8) 0%, transparent 68%),
    radial-gradient(40% 22% at 55% 95%, rgba(255,255,255,.95) 0%, transparent 75%),
    linear-gradient(180deg, #8fb4d9 0%, #a7c5e2 34%, #ccdcee 62%, #eef3f8 86%, #ffffff 100%);
  opacity: 0; pointer-events: none; will-change: opacity;
}

/* Vordergrund-Wolken: fotografische Plates, per screen-Blend eingeblendet */
.fcloud {
  position: absolute; z-index: 7; width: 150vw; height: 125vh;
  background: url("assets/clouds1.webp") center / cover no-repeat;
  mix-blend-mode: screen;
  /* durchgehender Falloff ohne Plateau: kein Plate liest je als einzelner Klecks */
  -webkit-mask-image: radial-gradient(96% 88% at 50% 48%, #000 0%, rgba(0,0,0,.68) 28%, rgba(0,0,0,.2) 52%, transparent 72%);
  mask-image: radial-gradient(96% 88% at 50% 48%, #000 0%, rgba(0,0,0,.68) 28%, rgba(0,0,0,.2) 52%, transparent 72%);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.fc1 { left: -25%; top: -12%; }
.fc2 { right: -25%; top: -6%; width: 155vw; background-image: url("assets/clouds2.webp"); }
.fc3 { left: -30%; top: 14%; width: 150vw; height: 120vh; background-image: url("assets/clouds2.webp"); z-index: 9; }
.fc4 { right: -28%; top: -8%; width: 145vw; height: 118vh; z-index: 9; }

/* Gefülltes Wordmark: Buchstaben zeigen das Haus-Foto (background-clip: text) */
/* Gefuellte Wortmarke = Original-Composite-Trick: eine 1:1-KOPIE des Hauses,
   maskiert durch die Logo-SVG-Maske. Die Maske steht fest, das Haus zoomt DARIN
   weiter -> die Fuellung "lebt" (und kein background-clip:text-Geflacker mehr). */
.filled-word {
  position: absolute; inset: 0; z-index: 8;
  -webkit-mask-image: url("assets/wordmark.svg?v=1"); mask-image: url("assets/wordmark.svg?v=1");
  -webkit-mask-size: min(76vw, 1060px) auto; mask-size: min(76vw, 1060px) auto;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: 0; pointer-events: none; will-change: opacity;
}
.fw-house {
  position: absolute; left: 50%; bottom: -27vh;
  width: min(64vw, 980px); transform: translateX(-50%);
  transform-origin: bottom center; will-change: transform;
}

.filled-word small { font-size: .32em; font-weight: 600; letter-spacing: .02em;
  -webkit-text-fill-color: #26333f; color: #26333f; /* solide statt Foto-Füllung -> lesbar */
  text-shadow: 0 1px 12px rgba(255,255,255,.6); }
.filled-word .flip {
  display: inline-block; transform: scaleX(-1);
  /* transformierte Kinder erben background-clip:text nicht — eigenes Bild */
  background: url("assets/hero.webp") 50% var(--fwy, 68%) / 900% auto no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Weiß-Blende ganz am Ende -> nahtlos in die weiße Why-Sektion */
.whiteover { position: absolute; inset: 0; z-index: 10; background: #fff; opacity: 0; pointer-events: none; will-change: opacity; }
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 1.1; color: var(--ink); white-space: normal; overflow-wrap: break-word;
}
@media (max-width: 760px) { .hero h1 { white-space: normal; } }
/* Schmale Handys: H1 verkleinern, damit "Immobilienmakler" ohne Wortumbruch in eine Zeile passt */
@media (max-width: 480px) { .hero h1 { font-size: clamp(1.8rem, 10.1vw, 3rem); overflow-wrap: normal; } }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.7rem); margin: 26px 0 36px; color: var(--grey); font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,.24), 0 1px 16px rgba(0,0,0,.12); }
.hero-sub b:first-child { color: var(--ink-80); }
.hero-sub b:nth-child(2) { color: var(--ink); }
.hero-sub span { color: var(--ink-80); }

/* Haus steckt jetzt im Hero-Foto — CSS-Silhouette aus */
.house { display: none; }
.house-off { position: relative; margin: 60px auto 0; max-width: 760px; height: 300px; z-index: 1; }
.h-roof { position: absolute; left: 4%; right: 4%; top: 0; height: 56px;
  background: linear-gradient(180deg, #b9967e, #a5836c); border-radius: 3px;
  box-shadow: 0 30px 80px rgba(90,60,30,.25); }
.h-body { position: absolute; left: 4%; right: 4%; top: 56px; bottom: 0;
  background: linear-gradient(180deg, #cbb39d, #b89f88); }
.h-glass { position: absolute; right: 10%; top: 86px; width: 34%; height: 150px;
  background:
    linear-gradient(90deg, #2e3944 0 31%, #9db4c4 31% 33%, #3a4954 33% 64%, #9db4c4 64% 66%, #2e3944 66% 100%);
  border: 5px solid #212a31; }
.h-hedge { position: absolute; left: 0; bottom: -8px; width: 30%; height: 120px; border-radius: 60% 55% 0 0 / 90% 80% 0 0;
  background: radial-gradient(circle at 40% 20%, #7d9662, #46603a 70%); filter: blur(1px); }
.h-hedge.h2r { left: auto; right: -2%; width: 22%; height: 90px; }
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 26vh; z-index: 5;
  background: linear-gradient(to top, rgba(255,255,255,.9), rgba(255,255,255,.45) 40%, transparent); filter: blur(2px); }
.clouds { z-index: 1; }

/* ============ WHY / VIDEO ============ */
.why { padding: 170px 0 0; }
.why-head { margin: 0 0 100px; padding: 0 60px; display: grid; grid-template-columns: 1fr minmax(0, 980px); gap: 40px; align-items: start; }
.why-statement {
  font-size: clamp(2rem, 3.3vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.16; margin: 0;
}
.why-statement .w, .statement .w { color: var(--grey); transition: color .3s; }
.why-statement .w.on, .statement .w.on { color: var(--ink); }
/* Video-Frame: startet eingerückt, expandiert beim Scrollen auf volle Breite */
.cityframe { position: relative; height: 96vh; margin-left: auto; margin-right: 0; width: var(--cfw, 78%); overflow: hidden; }
.city-sky { position: absolute; inset: -6%;
  background: url("assets/city.webp") center / cover no-repeat, linear-gradient(180deg, #c9d4dc 0%, #e6dfd4 70%, #d9c9b8 100%);
  animation: kenburns 26s ease-in-out infinite alternate; }
.city { display: none; }
.sk1 { height: 62%;
  background-image: linear-gradient(180deg, #7a848c, #5c666e);
  clip-path: polygon(0 40%, 3% 40%, 3% 22%, 6% 22%, 6% 48%, 10% 48%, 10% 12%, 12% 12%, 12% 8%, 14% 12%, 14% 44%, 19% 44%, 19% 28%, 23% 28%, 23% 52%, 28% 52%, 28% 18%, 31% 18%, 31% 40%, 36% 40%, 36% 30%, 40% 30%, 40% 55%, 45% 55%, 45% 20%, 48% 20%, 48% 6%, 50% 10%, 50% 42%, 55% 42%, 55% 26%, 60% 26%, 60% 50%, 65% 50%, 65% 15%, 68% 15%, 68% 38%, 73% 38%, 73% 24%, 78% 24%, 78% 48%, 83% 48%, 83% 10%, 86% 10%, 86% 36%, 91% 36%, 91% 28%, 96% 28%, 96% 44%, 100% 44%, 100% 100%, 0 100%);
  opacity: .55; }
.sk2 { height: 46%;
  background-image: linear-gradient(180deg, #4a545c, #333b42);
  clip-path: polygon(0 55%, 4% 55%, 4% 30%, 8% 30%, 8% 60%, 13% 60%, 13% 20%, 16% 20%, 16% 52%, 22% 52%, 22% 38%, 27% 38%, 27% 62%, 33% 62%, 33% 26%, 37% 26%, 37% 55%, 43% 55%, 43% 34%, 48% 34%, 48% 64%, 54% 64%, 54% 22%, 58% 22%, 58% 48%, 64% 48%, 64% 36%, 70% 36%, 70% 58%, 76% 58%, 76% 28%, 80% 28%, 80% 50%, 86% 50%, 86% 40%, 92% 40%, 92% 60%, 100% 60%, 100% 100%, 0 100%);
  animation-duration: 32s; }
.sk3 { height: 30%; background-image: linear-gradient(180deg, #232a30, #171c21);
  clip-path: polygon(0 45%, 5% 45%, 5% 25%, 9% 25%, 9% 55%, 15% 55%, 15% 35%, 21% 35%, 21% 60%, 28% 60%, 28% 30%, 34% 30%, 34% 50%, 41% 50%, 41% 20%, 45% 20%, 45% 58%, 52% 58%, 52% 40%, 58% 40%, 58% 62%, 66% 62%, 66% 32%, 72% 32%, 72% 55%, 80% 55%, 80% 42%, 88% 42%, 88% 58%, 100% 58%, 100% 100%, 0 100%);
  animation-duration: 40s; }
@keyframes kenburns { from { transform: translateX(0) scale(1.02); } to { transform: translateX(-6%) scale(1.08); } }

/* ============ IDENTITY (Statement + Chevron-Fotos) ============ */
.identity { max-width: 1600px; margin: 0 auto; padding: 200px 40px 160px; text-align: center; }
.statement { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
.chevrons { display: flex; justify-content: center; margin-top: 100px; }
.chev {
  width: clamp(160px, 19vw, 340px); height: clamp(220px, 26vw, 460px);
  margin-left: calc(clamp(160px, 19vw, 340px) * -0.14);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%, 30% 50%);
  background: center / cover no-repeat;
}
.chev:first-child { margin-left: 0; }
.cv1 { background-image: url("assets/svc1.webp"); }
.cv2 { background-image: url("assets/svc2.webp"); }
.cv3 { background-image: url("assets/svc3.webp"); }
.cv4 { background-image: url("assets/city.webp"); }

/* ============ REWIRED + STEPS ============ */
.rewired { max-width: var(--maxw); margin: 0 auto; padding: 60px 40px 160px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.rw-head h2 { font-size: clamp(2.8rem, 5.6vw, 5rem); margin-bottom: 40px; }
.steps { border-top: 1px solid rgba(21,23,23,.12); }
.steps-lbl { display: block; padding: 18px 0 6px; color: var(--grey); font-size: 15px; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid rgba(21,23,23,.12); }
.step .num { color: var(--grey); font-size: 15px; padding-top: 8px; }
.step p { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.step p span { color: var(--grey); transition: color .4s; }
.step.active p span { color: #7a7f7f; }

/* ============ AGENTS ============ */
.agents { max-width: var(--maxw); margin: 0 auto; padding: 120px 40px 55px; }
.agents .side { display: block; margin-bottom: 60px; }
.agents .giant { text-align: right; max-width: 100%; }
.agents-media { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: end; margin: 80px 0 110px; }
.agent-photo { height: 300px; background: url("assets/svc1.webp") center / cover no-repeat; }
.aerial { position: relative; height: 460px; overflow: hidden; }
.forest { position: absolute; inset: 0; background: url("assets/forest.webp") center / cover no-repeat; }
.agents-sub { max-width: 560px; font-size: 18px; color: var(--grey); margin: 0 0 30px; line-height: 1.5; }
.agents-sub b { color: var(--ink); }

/* ============ TESTIMONIALS (großes Serif-Zitat + Foto) ============ */
.testi { background: var(--panel); padding: 140px 40px; }
.t-slide { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.t-photo { height: 480px; background: url("assets/svc2.webp") center / cover no-repeat; }
.t-quote { margin: 0; }
.t-quote blockquote {
  margin: 0 0 40px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.35; color: var(--ink);
}
.t-quote figcaption { display: flex; align-items: center; gap: 14px; }
.t-name { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.t-sep { color: var(--grey); }
.t-stars { letter-spacing: .15em; font-size: 15px; }

/* ============ SERVICES (dark) ============ */
.services { background: var(--dark); color: #fff; padding: 140px 40px; }
.services > .lbl, .services > .giant { max-width: var(--maxw); margin-left: auto; margin-right: auto; display: block; }
.services .giant { margin-top: 14px; margin-bottom: 40px; }
.svc-row {
  max-width: var(--maxw); margin: 0 auto; padding: 70px 0;
  display: grid; grid-template-columns: 60px 1fr 1.2fr 1fr; gap: 40px; align-items: center;
  border-top: 1px solid rgba(255,255,255,.14);
}
.circ { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.svc-copy { margin: 0; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 40ch; }
.svc-word { font-size: clamp(4rem, 10vw, 9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; width: fit-content; position: relative; }
/* Unterstreichung des grossen Worts waechst beim Hover */
.svc-word::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 3px; background: #fff;
  transform: scaleX(0); transform-origin: left center; transition: transform 1s cubic-bezier(.16,1,.3,1); }
.svc-row:hover .svc-word::after { transform: scaleX(1); }
.svc-photo { position: relative; height: 300px; border-radius: 6px; overflow: hidden; display: grid; place-items: end start; padding: 22px; }
.ph1 { background: url("assets/svc1.webp") center / cover no-repeat; }
.ph2 { background: url("assets/svc2.webp") center / cover no-repeat; }
.ph3 { background: url("assets/svc3.webp") center / cover no-repeat; }
.ph4 { background: url("assets/verwalten.webp") center / cover no-repeat; }
.svc-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.45)); }
.svc-photo .pill { position: relative; z-index: 2; }
/* Hover-Reveal: Foto startet verdeckt, waechst per clip-path von unten auf,
   Zoom setzt sich traege ueber 4s fort — nur auf Hover-faehigen Geraeten */
@media (hover: hover) {
  .svc-photo { opacity: 0; transform: scale(1.05); clip-path: inset(100% 0 0 0);
    transition: clip-path 1s cubic-bezier(.16,1,.3,1), opacity .6s ease, transform 4s cubic-bezier(.16,1,.3,1); }
  .svc-row:hover .svc-photo { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); }
}

/* ============ CERTIFIED STATEMENT ============ */
.certified { max-width: 1100px; margin: 0 auto; padding: 170px 40px; }
.certified .statement { text-align: left; font-size: clamp(1.9rem, 3.4vw, 3.2rem); margin-bottom: 44px; }

/* ============ SUPPORT ============ */
.support { max-width: 900px; margin: 0 auto; padding: 160px 40px; text-align: center; }
.support h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin: 16px 0 26px; }
.support p { font-size: 19px; color: var(--ink-80); max-width: 54ch; margin: 0 auto; }

/* ============ BLOG ============ */
.blog { background: var(--panel); padding: 140px 40px 120px; }
.blog-head { max-width: var(--maxw); margin: 0 auto 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.blog-right p { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; max-width: 24ch; line-height: 1.3; margin: 0 0 34px; }
.posts { max-width: var(--maxw); margin: 0 auto; }
.post { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-top: 1px solid rgba(21,23,23,.12); }
.post time { color: var(--ink-80); font-size: 15px; }
.post h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 16px; }
.post p { color: var(--ink-80); font-size: 15.5px; max-width: 52ch; margin: 0 0 28px; }
.pill-sm { padding: 11px 22px; font-size: 15px; }
.post-img { height: 320px; background: url("assets/city.webp") center / cover no-repeat; }
.post-img.pi2 { background-image: url("assets/svc3.webp"); }

/* ============ NEWSLETTER / FOOTER ============ */
.cta { background: var(--darker); color: #fff; padding: 110px 40px 40px; }
.foot-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 60px; align-items: start; }
.news h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 26px; }
.news-form { max-width: 430px; margin-bottom: 60px; }
.news-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 10px; }
.news-ds { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.7); cursor: pointer; }
.news-form .news-ds input { flex: 0 0 auto; width: auto; margin-top: 3px; }
.news-ds a { color: #fff; text-decoration: underline; }
.news-ds.fn-err { color: #f5a3a5; }
.news-form input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 16px; }
.news-form input::placeholder { color: rgba(255,255,255,.55); }
.news-form button { background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.contact { display: grid; grid-template-columns: repeat(4, auto); gap: 40px; }
.c-lbl { font-size: 13px; color: rgba(255,255,255,.55); }
.contact p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; }
.foot-links, .foot-social { display: grid; gap: 16px; align-content: start; }
.foot-links a { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.foot-social a { font-size: 15.5px; opacity: .85; }
.foot-wordmark {
  max-width: var(--maxw); margin: 90px auto 0; font-weight: 700; line-height: .78;
  font-size: clamp(8rem, 24vw, 22rem); letter-spacing: -0.02em; color: #e8e8e8; opacity: .92;
}
.foot-wordmark .flip { display: inline-block; transform: scaleX(-1); }
.foot-legal { max-width: var(--maxw); margin: 50px auto 0; display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; opacity: .6; }
.demo-note { margin-left: auto; opacity: .7; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .rewired, .blog-head, .t-slide, .post, .foot-top { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 46px 1fr; }
  .svc-word { grid-column: 2; }
  .svc-photo { grid-column: 1 / -1; }
  .why-head { grid-template-columns: 1fr; }
  .agents-media { grid-template-columns: 1fr; }
  /* Karte zeigt jetzt Schlüsselübergabe (kein Porträt-Duplikat mehr) →
     mobil wieder einblenden, Querformat volle Breite über dem Luftbild */
  .agent-photo { display: block; height: auto; aspect-ratio: 3 / 2; max-width: 100%; }
  .agents .giant { text-align: left; }
}

/* ============ RUDI-Overrides (Kommunikations-Transfer) ============ */
/* Wordmark: "Unternehmensgruppe" ist lang -> kleinere Zweitzeile */
.outline-word small, .filled-word small { font-size: .155em; letter-spacing: .06em; }

/* Foto-Zuordnung auf generierte Region-/Service-Bilder */
.city-sky { background-image: url("assets/papenburg.webp"); }
.ph1 { background-image: url("assets/kaufen.webp"); }
.ph2 { background-image: url("assets/papenburg-luft.webp?v=1"); }
.ph3 { background-image: url("assets/mieten2.webp?v=1"); }
.ph4 { background-image: url("assets/verwalten.webp"); background: url("assets/verwalten.webp") center / cover no-repeat; }
.cv1 { background-image: url("assets/kaufen.webp"); }
.cv2 { background-image: url("assets/papenburg-luft.webp?v=1"); }
.cv3 { background-image: url("assets/papenburg-abend.webp?v=1"); }
.cv4 { background-image: url("assets/verwalten.webp"); }
.agent-photo { background-image: url("assets/schluesseluebergabe.webp?v=1"); background-position: center; }
.forest { background-image: url("assets/papenburg-luft.webp?v=1"); }
.t-photo { background-image: url("assets/papenburg-abend.webp?v=1"); }
.post-img.pi1 { background-image: url("assets/kaufen.webp"); }
.post-img.pi2 { background-image: url("assets/verwalten.webp"); }

/* ============ Logo (Bild) — Nav + Footer ============ */
.logo img { height: 44px; width: auto; display: block; }
.foot-brand { max-width: var(--maxw); margin: 80px auto 0; text-align: center; }
.foot-brand img { height: clamp(120px, 17vw, 200px); width: auto; display: inline-block; }
@media (max-width: 980px) {
  .logo img { height: 38px; }
  .foot-brand img { height: 120px; }
}

/* ============ MOBILE ============
   WICHTIG: Block steht am DATEIENDE — die Base-Rules (.hero-inner padding: 140px…,
   .filled-word mask-size…) kommen sonst spaeter und gewinnen bei gleicher Spezifitaet. */
@media (max-width: 760px) {
  /* — Nav: nur Logo + Kontakt-Pill — */
  .nav { padding: 14px 16px; }
  .nav-links { display: none; }
  .nav .pill { padding: 10px 20px; font-size: 15px; }

  /* — Hero (verifizierte Scroll-Buehne) — */
  /* Kuerzere Scrub-Strecke am Handy: gleiche Sequenz, ~36% weniger
     Wischen (Scrollweg 2.8 -> 1.8 Bildschirmhoehen). Desktop bleibt 460vh. */
  .hero { height: 280vh; }
  .house-cut, .fw-house { width: 124vw; bottom: -5vh; }
  .outline-word svg { width: 88vw; }
  .filled-word { -webkit-mask-size: 88vw auto; mask-size: 88vw auto; }
  /* Textblock mittig in der freien Zone zwischen Nav und Villa-Oberkante:
     Zone ~57px..(105vh-69.5vw), Blockhoehe ~304px -> 22vh trifft 375er & 430er iPhones */
  .hero-inner { padding-top: 22vh; }
  .hero-stage::after { height: 20vh; }
  /* nur eine Wolken-Plate pro Paar -> halbiert die mix-blend-Layer (Mobile-GPU) */
  .fc2, .fc4 { display: none; }

  /* — Warum RUDI — */
  .why { padding-top: 90px; }
  .why-head { padding: 0 24px; margin: 0 0 56px; }
  .why-statement { font-size: clamp(1.5rem, 6.4vw, 3.5rem); line-height: 1.28; }
  /* Papenburg-Panorama KOMPLETT zeigen: Rahmen = Bildformat (1376x768),
     Ken-Burns aus (wuerde 8% wegzoomen), inset 0 statt -6% */
  .cityframe { width: 100%; height: auto; aspect-ratio: 1376 / 768; }
  .city-sky { inset: 0; animation: none; }

  /* — Statements + Chevrons (4er-Reihe = ~82vw statt 573px-Zwangsschrumpfung) — */
  .identity { padding: 90px 20px 70px; }
  .statement { font-size: clamp(1.6rem, 7vw, 4.2rem); line-height: 1.2; }
  .chevrons { margin-top: 48px; }
  .chev { width: 22vw; height: 30vw; margin-left: calc(22vw * -0.14); }

  /* — Persoenlich + Schritte — */
  .rewired { padding: 40px 24px 90px; gap: 40px; }
  .rw-head h2 { font-size: clamp(2.4rem, 10.5vw, 5rem); margin-bottom: 24px; }
  .step { grid-template-columns: 34px 1fr; gap: 14px; padding: 24px 0; }

  /* — Fuer Eigentuemer — */
  .agents { padding: 80px 24px 28px; }
  .agents .side { margin-bottom: 32px; }
  .agents-media { margin: 40px 0 56px; gap: 16px; }
  .aerial { height: 240px; }
  .giant { font-size: clamp(2.5rem, 11.5vw, 6.6rem); }

  /* — Testimonial — */
  .testi { padding: 80px 20px; }
  .t-slide { gap: 32px; }
  .t-photo { height: 300px; }
  .t-quote blockquote { margin-bottom: 24px; }

  /* — Leistungen: Nummer+Wort oben, Copy, Foto (kein Grid-Blowout durch 64px-Wort) — */
  .services { padding: 80px 20px; }
  .svc-row {
    grid-template-columns: 40px 1fr; gap: 18px 16px; padding: 48px 0;
    grid-template-areas: "num word" "copy copy" "photo photo";
  }
  .circ { grid-area: num; width: 38px; height: 38px; }
  .svc-word { grid-area: word; font-size: clamp(2.4rem, 12vw, 4rem); }
  .svc-copy { grid-area: copy; }
  .svc-photo { grid-area: photo; height: 240px; }

  /* — Team / Service / Angebote — */
  .certified { padding: 90px 24px; }
  .support { padding: 90px 24px; }
  .support h2 { font-size: clamp(2rem, 9.5vw, 4.6rem); }
  .blog { padding: 80px 20px 70px; }
  .blog-head { margin-bottom: 48px; gap: 24px; }
  .post { gap: 24px; padding: 40px 0; }
  .post-img { height: 230px; order: -1; }

  /* — Footer: Kontakt einspaltig (3-auto-Grid war die Haupt-Overflow-Quelle) — */
  .cta { padding: 70px 20px 28px; }
  .foot-top { gap: 40px; }
  .news-form { margin-bottom: 40px; }
  .news-form button { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
  .contact { grid-template-columns: 1fr; gap: 22px; }
  .contact p { overflow-wrap: anywhere; }
  .foot-social a, .foot-legal a { display: inline-block; padding: 8px 0; }
  .foot-brand { margin-top: 48px; }
  .foot-brand img { height: 96px; }
  .foot-legal { margin-top: 32px; }
}

/* ============ SUBPAGES (z. B. /verwaltung/) ============ */
.subpage { background: var(--paper); }
/* Nav auf Unterseiten immer als weisser Balken (Klasse .scrolled fest im HTML) */

.sub-hero { max-width: var(--maxw); margin: 0 auto; padding: 150px 40px 0; }
.sub-crumb { font-size: 14px; color: var(--grey); margin: 0 0 26px; }
.sub-crumb a { color: var(--ink-80); }
.sub-crumb a:hover { color: var(--ink); }
.sub-crumb i { font-style: normal; margin: 0 6px; opacity: .6; }
.sub-crumb span { color: var(--ink); font-weight: 500; }
.sub-title { font-size: clamp(3.4rem, 9vw, 8.5rem); letter-spacing: -0.035em; line-height: .95; margin: 0 0 28px; }
.sub-lede { max-width: 58ch; font-size: clamp(1.1rem, 1.6vw, 1.45rem); color: var(--grey); font-weight: 500; margin: 0 0 34px; line-height: 1.5; }
.sub-lede b { color: var(--ink); }
.sub-hero-img { margin-top: 70px; height: 56vh; background: center / cover no-repeat; border-radius: 6px; }

.sub-statement { padding: 140px 40px 120px; }

.sub-services { max-width: var(--maxw); margin: 0 auto; padding: 0 40px 140px; }
.sub-services > .lbl { display: block; margin-bottom: 44px; }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sub-card { background: var(--panel); border-radius: 6px; padding: 38px 34px 34px; }
.sub-card .circ.dark { border-color: rgba(21,23,23,.35); color: var(--ink); margin-bottom: 22px; }
.sub-card h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); letter-spacing: -0.02em; margin: 0 0 14px; }
.sub-card p { color: var(--ink-80); font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.sub-card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(21,23,23,.12); }
.sub-card li { padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(21,23,23,.12); font-size: 15.5px; position: relative; }
.sub-card li::before { content: "→"; position: absolute; left: 0; opacity: .55; }

.sub-steps { padding-top: 40px; }

@media (max-width: 980px) {
  .sub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sub-hero { padding: 120px 24px 0; }
  .sub-hero-img { height: 34vh; margin-top: 44px; }
  .sub-statement { padding: 90px 20px 80px; }
  .sub-services { padding: 0 20px 90px; }
  .sub-card { padding: 30px 24px 26px; }
}

/* ============ Hero-Doppel-CTA ============ */
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill-frame { border: 1.5px solid rgba(21,23,23,.55); color: var(--ink); background: rgba(255,255,255,.4); }
.pill-frame:hover { background: rgba(255,255,255,.75); }

/* ============ Leistungen: langes Wort "Kapitalanlage" ============ */
.svc-word-sm { font-size: clamp(2.4rem, 5.5vw, 5.5rem); }
.ph5 { background: url("assets/kapitalanlage.webp?v=1") center / cover no-repeat; }

/* ============ ÜBER UNS ============ */
/* Abstands-Rhythmus: Bilder->Inhalt 70px == Inhalt->Foto 35+35px */
.about { background: var(--paper); padding: 55px 40px 110px; }
.about-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }
.about-photo-m { display: none; }
.about-txt h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); margin: 14px 0 10px; }
.about-role { color: var(--grey); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 26px; }
.about-copy { color: var(--ink-80); font-size: 17.5px; line-height: 1.6; max-width: 56ch; margin: 0 0 18px; }
.about-txt .pill { margin-top: 14px; }
.about-logo { height: 92px; width: auto; display: block; margin-top: 36px; opacity: .92; }

/* ============ Testimonial-Slider (Auto-Rotation + Swipe) ============ */
.t-rotor { position: relative; touch-action: pan-y; }
.t-rotor .t-quote { margin: 0; }
.t-rotor .t-quote:not(.is-on) { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateX(24px); }
.t-rotor .t-quote { transition: opacity .55s ease, transform .55s ease; }
.t-rotor .t-quote.is-on { position: relative; opacity: 1; transform: none; }
.t-dots { display: flex; gap: 10px; margin-top: 34px; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(21,23,23,.22); transition: background .3s, transform .3s; }
.t-dots button.on { background: var(--ink); transform: scale(1.25); }

/* ============ Finanzierung-Band (Kapitalanlage-Unterseite) ============ */
.fin-band { background: var(--dark); color: #fff; padding: 110px 40px; }
.fin-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.fin-inner h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); margin: 14px 0 22px; }
.fin-inner p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.6; max-width: 54ch; margin: 0; }
.fin-cta { display: grid; gap: 16px; justify-items: start; }
.fin-note { font-size: 14px; color: rgba(255,255,255,.55); }

@media (max-width: 980px) {
  .about-grid, .fin-inner { grid-template-columns: 1fr; }
  /* Einspaltig: Desktop-Porträt (Grid-Spalte) aus, stattdessen Mobile-Instanz
     DIREKT unter der Rollen-Zeile "Geschäftsführerin · ..." */
  .about-photo { display: none; }
  .about-photo-m { display: block; max-width: 440px; margin: 4px 0 12px; }
  .about-photo-m img { width: 100%; height: auto; display: block; border-radius: 6px; }
}
@media (max-width: 760px) {
  .about { padding: 28px 24px 64px; }
  .about-grid { gap: 36px; }
  .about-logo { height: 72px; margin-top: 28px; }
  .fin-band { padding: 80px 20px; }
  /* Doppel-CTA im Hero: untereinander, Textblock etwas hoeher ansetzen */
  .hero-ctas { flex-direction: column; align-items: center; gap: 12px; }
  .hero-inner { padding-top: 19vh; }
}

/* ============ Rewired: linker Text klebt, Schritte fahren vorbei ============ */
.rewired .rw-head { position: sticky; top: 120px; align-self: start; }
.step { will-change: transform, opacity; }
@media (max-width: 980px) {
  /* einspaltig: Sticky-Head wuerde ueber den Schritten kleben -> aus */
  .rewired .rw-head { position: static; }
}

/* ============ Bewertungs-Widget (Demo, Bottimmo-Stil) — Fuer-Eigentuemer-Sektion ============ */
/* align-items: start — beide Spalten starten auf gleicher Hoehe, gleicher Abstand
   zur Bilder-Reihe darueber (center liess die hoehere Karte oben rausragen) */
.agents-bottom { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: start; margin-top: 10px; }
.bewert {
  background: var(--panel); border-radius: 10px; padding: 38px 36px 30px;
  box-shadow: 0 24px 70px rgba(21,23,23,.10); max-width: 560px; justify-self: center; width: 100%;
  position: relative;
}
.bw-head h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.02em; margin: 10px 0 6px; }
.bw-head p { margin: 0 0 24px; color: var(--ink-80); font-size: 15.5px; }
.bw-step { display: none; }
.bw-step.is-on { display: block; }
.bw-q { display: block; font-weight: 600; font-size: 16px; margin: 14px 0 12px; }
.bw-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bw-opt {
  background: #fff; border: 1.5px solid rgba(21,23,23,.14); border-radius: 8px;
  padding: 18px 10px 14px; font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer;
  display: grid; gap: 6px; justify-items: center; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.bw-opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,23,23,.10); }
.bw-input {
  width: 100%; background: #fff; border: 1.5px solid rgba(21,23,23,.14); border-radius: 8px;
  padding: 14px 16px; font: inherit; font-size: 16px; outline: none; margin-bottom: 6px;
}
.bw-input:focus { border-color: var(--ink); }
.bw-go { margin-top: 14px; border: 0; cursor: pointer; font: inherit; }
.bw-note { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-80); opacity: .75; }
.bw-dots { display: flex; gap: 8px; margin-top: 24px; }
.bw-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(21,23,23,.2); transition: background .3s; }
.bw-dots span.on { background: var(--ink); }

/* Bewertung als eigene Sektion direkt unterm Statement;
   .agents-bottom haelt seitdem nur noch Text+CTA in einer Spalte */
.bewertung { padding: 0 40px 150px; scroll-margin-top: 90px; }
.bewertung .bewert { margin: 0 auto; }

@media (max-width: 980px) {
  .agents-bottom { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .bewert { padding: 28px 20px 24px; }
  .bewertung { padding: 0 20px 70px; }
}

/* ============ Verkaufen-Unterseite: Wertermittlungs-Sektion ============ */
.sub-wert-h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin: 14px 0 22px; }

/* ============ Testimonial: Text links, Bild rechts ============ */
@media (min-width: 981px) {
  .t-slide { grid-template-columns: 1.1fr 1fr; }
  .t-slide .t-rotor { order: 1; }
  .t-slide .t-photo { order: 2; }
}

/* ============ Immobilien-Raster (/kaufen/ + /mieten/, onOffice-Feed) ============ */
.estate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: var(--maxw); margin: 0 auto; }
.estate-card {
  background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 6px 26px rgba(21,23,23,.07); transition: transform .25s, box-shadow .25s;
}
.estate-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(21,23,23,.13); }
.ec-img { position: relative; aspect-ratio: 4 / 3; background: #e7e7e7 center / cover no-repeat; }
.ec-badge {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.ec-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ec-ort { font-size: 13.5px; color: var(--ink-80); opacity: .75; }
.ec-titel { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec-fakten { font-size: 14.5px; color: var(--ink-80); }
.ec-preis { margin-top: auto; padding-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 980px) { .estate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .estate-grid { grid-template-columns: 1fr; } }

/* ============ Objekt-Detailseite (/objekt/?id=N) ============ */
.obj { max-width: var(--maxw); margin: 0 auto; padding: 140px 40px 90px; }
.obj-head h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.08; margin: 10px 0 8px; }
.obj-ort { color: var(--ink-80); font-size: 15.5px; }
.obj-gallery { display: grid; grid-template-columns: 2.2fr 1fr; gap: 14px; margin: 34px 0 40px; }
.obj-main { aspect-ratio: 3 / 2; border-radius: 8px; background: #e7e7e7 center / cover no-repeat; cursor: pointer; }
.obj-thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.obj-thumb { border-radius: 8px; background: #e7e7e7 center / cover no-repeat; cursor: pointer; opacity: .85; transition: opacity .2s; min-height: 0; }
.obj-thumb:hover, .obj-thumb.on { opacity: 1; outline: 2px solid var(--ink); }
.obj-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.obj-fakten { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.obj-fakt { background: var(--panel); border-radius: 100px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; }
.obj-txt h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 34px 0 12px; }
.obj-txt p { color: var(--ink-80); line-height: 1.65; white-space: pre-line; margin: 0; }
.obj-aside { position: sticky; top: 110px; background: var(--panel); border-radius: 10px; padding: 30px 28px; }
.obj-preis { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
.obj-preis-sub { color: var(--ink-80); font-size: 14px; margin: 4px 0 22px; }
.obj-aside .pill { width: 100%; justify-content: center; margin-bottom: 10px; }
.obj-aside .fin-note { color: var(--ink-80); font-size: 13px; display: block; text-align: center; }
.obj-zurueck { display: inline-block; margin-bottom: 6px; font-size: 14.5px; color: var(--ink-80); }
.obj-zurueck:hover { color: var(--ink); }
.obj-loading { text-align: center; color: var(--grey); padding: 120px 0; font-size: 18px; }
@media (max-width: 980px) {
  .obj { padding: 120px 24px 70px; }
  .obj-gallery { grid-template-columns: 1fr; }
  .obj-thumbs { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .obj-thumb { aspect-ratio: 4 / 3; }
  .obj-cols { grid-template-columns: 1fr; gap: 36px; }
  .obj-aside { position: static; }
}

/* ============ Rechtsseiten (/impressum/, /datenschutz/) ============ */
.legal { max-width: 860px; margin: 0 auto; padding: 150px 24px 90px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 34px; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-80); line-height: 1.65; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ Kapitalanlage-Check: Klick-Funnel (/kapitalanlage/) ============ */
.funnel { padding: 0 40px 130px; scroll-margin-top: 90px; background: var(--paper); }
.fn-box { background: var(--panel); border-radius: 10px; box-shadow: 0 24px 70px rgba(21,23,23,.10);
  max-width: 720px; margin: 0 auto; padding: 44px 42px 34px; }
.fn-q { display: block; font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); margin: 8px 0 18px; }
.fn-step { display: none; }
.fn-step.is-on { display: block; }
.fn-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fn-opt { display: grid; gap: 10px; justify-items: center; align-content: center; min-height: 118px;
  background: #fff; border: 1.5px solid rgba(21,23,23,.14); border-radius: 10px; padding: 18px 14px;
  font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s; }
.fn-opt i { font-style: normal; font-size: 34px; line-height: 1; }
.fn-opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,23,23,.10); }
.fn-win { background: #e8f7ee; border: 1px solid #bfe8cf; color: #14532d; border-radius: 10px;
  padding: 16px 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.45; }
.fn-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fn-form .bw-input { margin-bottom: 0; }
.fn-ds { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-80);
  margin: 16px 0 2px; line-height: 1.5; cursor: pointer; }
.fn-ds input { margin-top: 3px; flex: none; }
.fn-ds a { text-decoration: underline; text-underline-offset: 3px; }
.fn-ds.fn-err { color: #b3261e; }
.bw-input.fn-err { border-color: #b3261e; }
.fn-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.fn-foot .bw-dots { margin-top: 0; }
.fn-back { background: none; border: 1px solid rgba(21,23,23,.25); border-radius: 999px; padding: 8px 18px;
  font: inherit; font-size: 14px; cursor: pointer; color: var(--ink-80); transition: border-color .25s, color .25s; }
.fn-back:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 760px) {
  .funnel { padding: 0 20px 80px; }
  .fn-box { padding: 28px 20px 24px; }
  .fn-form { grid-template-columns: 1fr; }
  .fn-opt { min-height: 102px; font-size: 15px; padding: 14px 10px; }
  .fn-opt i { font-size: 30px; }
}

/* ============ Formular-Direktversand (site-form-Relay) ============ */
.obj-form { display: grid; gap: 10px; margin: 6px 0 4px; }
.fn-send-err { color: #b3261e !important; opacity: 1 !important; font-weight: 600; }
.news-ok { color: rgba(255,255,255,.92); font-weight: 600; margin: 10px 0 26px; }
.news-form input.fn-err { outline: 2px solid #e5484d; }

/* Funnel-Weiche: "aktuell nicht geeignet" (on-brand, freundlich statt Ampel-rot) */
.fn-no { background: var(--panel); border: 1px solid rgba(21,23,23,.16); color: var(--ink);
  border-radius: 10px; padding: 16px 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.5; }

/* Bottimmo-Bewertung (Klick-zum-Laden) */
/* Gate-Inhalt zentrieren */
.btm-gate { text-align: center; }
.btm-gate .bw-head p, .btm-gate .bw-note { margin-left: auto; margin-right: auto; max-width: 46ch; }
.btm-gate [data-btm-start] { margin: 10px auto 12px; }
/* Geladenes Bottimmo-Widget bringt eigenes Layout mit → nicht mit-zentrieren */
.btm-gate btm-widget { display: block; width: 100%; margin-top: 6px; text-align: left; }

/* ============ Kundenstimmen — echte Google-Rezensionen ============ */
.reviews { text-align: center; }
.reviews-inner { max-width: var(--maxw); margin: 0 auto; }
.reviews .lbl { display: block; }
.reviews h2 { margin: 12px 0 34px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; }
.reviews-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 46px;
  padding: 11px 22px; background: var(--paper); border-radius: 999px; text-decoration: none;
  color: var(--ink); box-shadow: 0 2px 14px rgba(0,0,0,.07); transition: box-shadow .2s, transform .2s; }
.reviews-badge:hover { box-shadow: 0 5px 22px rgba(0,0,0,.13); transform: translateY(-1px); }
.rb-score { font-size: 23px; font-weight: 700; line-height: 1; }
.rb-stars { color: #e6a817; letter-spacing: 1px; font-size: 17px; }
.rb-meta { color: var(--ink-80); font-size: 14.5px; font-weight: 500; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.review-card { background: var(--paper); border-radius: 8px; padding: 34px 32px; text-align: left;
  box-shadow: 0 2px 14px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.rc-stars { color: #e6a817; letter-spacing: 3px; font-size: 18px; margin-bottom: 16px; }
.review-card blockquote { margin: 0 0 22px; font-size: 16.5px; line-height: 1.62; color: var(--ink); }
.review-card figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.rc-name { font-weight: 600; font-size: 15.5px; }
.rc-src { color: var(--ink-80); font-size: 13px; }
.reviews-note { color: var(--ink-80); font-size: 13.5px; margin-top: 30px; }
@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
  .review-card { padding: 26px 24px; }
}

/* ============ Käuferprovision am Objekt (PAngV, aus onOffice) ============ */
.ec-provision { display: block; font-size: 12.5px; color: var(--ink-80); margin-top: 3px; }
.post-provision { font-size: 14px; color: var(--ink-80); margin: -6px 0 16px; }
.obj-provision { font-size: 13.5px; color: var(--ink-80); margin: 6px 0 2px; padding-top: 8px;
  border-top: 1px solid rgba(21,23,23,.1); }

/* ============ Pre-Launch: Ladezustand, Regions-Text, Objektbilder ============ */
.posts-loading { grid-column: 1 / -1; color: var(--ink-80); font-size: 1.05rem; padding: 24px 0; }
.region-copy { max-width: 780px; margin: 40px auto 8px; padding: 0 24px; }
.region-copy h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.18; margin: 0 0 20px; text-align: center; }
.region-copy p { color: var(--ink-80); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.75; margin: 0 0 16px; }
.post-img img, .ec-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ec-img img { position: absolute; inset: 0; }

/* Schmale Handys: Hero kompakter, damit die CTA-Buttons über der Dachkante des Haus-Bildes bleiben
   (Haus etwas kleiner/tiefer, weniger Kopfabstand) — house-cut & fw-house synchron => Animation intakt */
@media (max-width: 480px) {
  .house-cut, .fw-house { width: 104vw; bottom: -9vh; }
  .hero-inner { padding-top: 9vh; }
  .hero-sub { margin: 16px 0 22px; }
}
