/* =====================================================================
   MGG – Design-System „Flurkarte & Signal“
   Farben & Schriften zentral hier oben ändern (:root).
   Regel: ROT nur für Handlungen (Buttons). Grün = Natur & „frei“.
   ===================================================================== */

/* CI-Hausschrift Aller (Dalton Maag) – Lizenz: assets/fonts/Aller-Lizenz.txt */
@font-face { font-family: "Aller"; src: url("fonts/aller-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aller"; src: url("fonts/aller-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aller"; src: url("fonts/aller-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Aller"; src: url("fonts/aller-bold-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  /* ---- MGG Corporate Identity (aus dem Original-Logo) ---- */
  --red: #da281e;        /* CI-Rot  (Logo „MGG“ + Häkchen) – NUR für Handlungen/Buttons */
  --red-2: #b81f16;
  --green: #54bb6c;      /* CI-Grün (Logo-Fläche) – Natur, Status „frei“, Akzente */
  --green-ink: #2a7d41;  /* dunkleres CI-Grün für Text auf hellem Grund (Lesbarkeit) */
  --green-soft: #dcf1e1;
  --grey: #686d64;       /* CI-Grau (Schriftzug „Magdeburger Grundstücksgesellschaft mbH“) */
  --ink: #1f2120;        /* Anthrazit – aus dem CI-Grau abgeleitet */
  --ink-2: #292c2a;
  --ink-3: #353834;
  --bone: #f5f5f2;       /* heller Grund */
  --bone-2: #eaeae5;
  --white: #ffffff;
  --amber: #e9a23b;      /* nur Status „reserviert“ */
  --muted: #686d64;
  --line: rgba(31, 33, 32, .12);
  --line-light: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .08);

  --display: "Aller", "Segoe UI", system-ui, sans-serif;
  --sans: "Aller", "Segoe UI", system-ui, sans-serif;
  --serif: "Aller", "Segoe UI", system-ui, sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bone); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.01em; font-family: var(--display); font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.serif { font-family: var(--serif); font-weight: inherit; font-style: italic; letter-spacing: -.01em; color: var(--green-ink); }
.on-dark .serif, .hero .serif, .p-hero .serif, .page-hero .serif, .flight .serif, .invest .serif, .footer .serif { color: var(--green); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Bausteine ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-ink); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--green); }
.on-sand .eyebrow { color: var(--green); }
.accent { color: var(--green-ink); }
.on-dark .accent { color: var(--green); }
.on-sand .accent { color: var(--green); }

.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 700; font-size: 15.5px; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-2); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover::after { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(218, 40, 30, .6); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::after { background: currentColor; opacity: .1; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--sm { padding: 12px 20px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(8px); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(84,187,108,.25); }
.pill--planung::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(233,162,59,.25); }
.pill--ausverkauft::before { background: #9aa39d; box-shadow: none; }
.pill--plain::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(84,187,108,.6); } 70% { box-shadow: 0 0 0 10px rgba(84,187,108,0); } 100% { box-shadow: 0 0 0 0 rgba(84,187,108,0); } }

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding-top: 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.section-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 30px 60px; }
.h-xl { font-size: clamp(46px, 7.6vw, 116px); line-height: .92; letter-spacing: -.02em; }
.h-lg { font-size: clamp(36px, 5.2vw, 76px); line-height: .98; letter-spacing: -.02em; }
.h-md { font-size: clamp(25px, 2.8vw, 38px); letter-spacing: -.02em; line-height: 1.08; }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 640px; margin: 0; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.66); }

/* Flurkarten-Raster (Hintergrundmotiv, bewegt sich leicht mit der Maus) */
.flur { position: relative; isolation: isolate; overflow: clip; }
.flur::before {
  content: ""; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(rgba(31,33,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,33,32,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
  transform: translate(var(--fx, 0), var(--fy, 0)); transition: transform .9s var(--ease);
}
.on-dark.flur::before { background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); }

/* ---------- Einblend-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.header { position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none; transition: transform .5s var(--ease); }
.header.is-hidden { transform: translateY(-130%); }
.header__bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) - 2 * var(--gutter) + 40px); margin: 0 auto; width: calc(100% - 2 * var(--gutter) + 20px);
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(31, 33, 32, .38); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.header.is-solid .header__bar, .header--light .header__bar { background: rgba(245, 245, 242, .86); color: var(--ink); border-color: var(--line); box-shadow: 0 10px 40px -20px rgba(31,33,32,.35); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { height: 32px; width: auto; }
.logo__text { font-size: 12.5px; line-height: 1.15; font-weight: 700; opacity: .85; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav__drop { position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 700; background: none; border: 0; color: inherit; transition: background .3s; }
.nav a:hover, .nav__drop:hover, .nav a.is-active { background: rgba(255,255,255,.14); }
.header.is-solid .nav a:hover, .header--light .nav a:hover, .header.is-solid .nav__drop:hover, .header--light .nav__drop:hover,
.header.is-solid .nav a.is-active, .header--light .nav a.is-active { background: rgba(31,33,32,.07); }
.header__right { display: flex; align-items: center; gap: 6px; }
.header .btn { padding: 13px 20px; font-size: 14.5px; }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 580px; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  background: var(--bone); color: var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 80px -20px rgba(31,33,32,.45); display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; font-size: 14.5px; }
.mega a:hover { background: var(--bone-2) !important; }
.mega img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
.mega small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.mega__title { grid-column: 1 / -1; padding: 8px 10px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: inherit; position: relative; flex: none; }
.header.is-solid .burger, .header--light .burger { background: rgba(31,33,32,.08); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff; padding: 110px var(--gutter) 120px; overflow-y: auto; clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.menu-open, .modal-open { overflow: hidden; }
.mobile-menu a { display: block; text-decoration: none; font-family: var(--display); font-size: clamp(30px, 8vw, 44px); font-weight: 700; letter-spacing: -.02em; padding: 4px 0; }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.mobile-menu .sub a { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0; padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 999px; }
.mobile-menu .meta { margin-top: 30px; color: rgba(255,255,255,.6); font-size: 15px; }
.mobile-menu .meta a { font-family: var(--sans); font-size: 18px; color: #fff; font-weight: 700; }

/* Mobile Aktionsleiste */
.actionbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: none; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(31,33,32,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .5s var(--ease); }
.actionbar.is-visible { transform: none; }
.actionbar a, .actionbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 16px; border: 0; background: rgba(255,255,255,.07); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.actionbar .is-main { background: var(--red); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,33,32,.6) 0%, rgba(31,33,32,.08) 26%, rgba(31,33,32,.3) 52%, rgba(31,33,32,.97) 92%), linear-gradient(90deg, rgba(31,33,32,.6), transparent 65%); }
.hero__inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: 24px; }
.hero__grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(44px, 5.7vw, 104px); line-height: .9; letter-spacing: -.02em; font-weight: 700; }
.hero h1 .price { color: var(--green); }
.hero__sub { max-width: 560px; font-size: clamp(17px, 1.35vw, 19.5px); color: rgba(255,255,255,.8); margin: 26px 0 0; }
.hero__sub b { color: #fff; }
.paths { display: grid; gap: 10px; }
.paths__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.path {
  position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px 16px 16px; border-radius: 22px; text-decoration: none;
  background: var(--glass); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: background .4s, transform .5s var(--ease), border-color .4s; overflow: hidden;
}
.path::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.path:hover { background: rgba(255,255,255,.14); transform: translateX(-6px); border-color: rgba(255,255,255,.3); }
.path:hover::before { opacity: 1; }
.path__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(84,187,108,.22); color: var(--green); }
.path--sell .path__icon { color: #fff; background: rgba(255,255,255,.16); }
.path--invest .path__icon { color: #fff; background: var(--green); }
.path b { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; line-height: 1.15; }
.path small { display: block; color: rgba(255,255,255,.65); font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.path__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease); }
.path:hover .path__go { background: var(--red); transform: rotate(-45deg); }
.ticker { margin-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line-light); padding-top: 16px; display: flex; align-items: center; gap: 22px; font-size: 14px; color: rgba(255,255,255,.75); }
.ticker__live { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; white-space: nowrap; flex: none; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__move { display: flex; gap: 40px; width: max-content; animation: marquee 45s linear infinite; }
.ticker__move:hover { animation-play-state: paused; }
.ticker__move a { white-space: nowrap; text-decoration: none; }
.ticker__move a:hover { color: #fff; }
.ticker__move b { color: #fff; }
.ticker__move em { font-style: normal; color: var(--ink); background: var(--green); border-radius: 6px; padding: 1px 7px; font-weight: 800; font-size: 12px; margin-right: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Vertrauensleiste */
.trust { background: var(--ink); color: #fff; border-top: 1px solid var(--line-light); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 30px 24px; display: grid; gap: 4px; }
.trust__item + .trust__item { border-left: 1px solid var(--line-light); }
.trust__item b { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 58px); letter-spacing: -.02em; line-height: 1; }
.trust__item b sup { font-size: .42em; color: var(--green); vertical-align: top; position: relative; top: .15em; margin-left: 2px; }
.trust__item span { color: rgba(255,255,255,.6); font-size: 14px; }

/* =====================================================================
   GRUNDSTÜCKSFINDER
   ===================================================================== */
.finder { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr auto; gap: 10px; padding: 10px; border-radius: 26px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(31,33,32,.4); margin-bottom: 18px; }
.finder__field { position: relative; display: grid; gap: 4px; padding: 12px 16px; border-radius: 18px; background: var(--bone); }
.finder__field label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.finder__field select { border: 0; background: transparent; font-weight: 700; font-size: 16px; color: var(--ink); appearance: none; padding: 0 22px 0 0; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2120' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.finder__field select:focus { outline: none; }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; accent-color: var(--green-ink); min-width: 0; }
.range output { font-weight: 700; min-width: 92px; text-align: right; white-space: nowrap; }
.toggle { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 18px; background: var(--bone); cursor: pointer; font-weight: 700; font-size: 14.5px; user-select: none; }
.toggle input { position: absolute; opacity: 0; }
.toggle i { width: 42px; height: 24px; border-radius: 999px; background: #cfc8ba; position: relative; transition: background .3s; flex: none; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.toggle input:checked + i { background: var(--green-ink); }
.toggle input:checked + i::after { transform: translateX(18px); }
.toggle input:focus-visible + i { outline: 2px solid var(--green); outline-offset: 2px; }
.finder__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 15px; color: var(--muted); }
.finder__meta b { color: var(--ink); }
.finder__reset { border: 0; background: none; font-weight: 700; color: var(--ink); text-decoration: underline; padding: 0; }
.empty { grid-column: 1 / -1; padding: 50px 30px; border-radius: var(--radius-lg); border: 1.5px dashed rgba(31,33,32,.25); text-align: center; color: var(--muted); }
.empty b { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); margin-bottom: 8px; }

/* Projekt-Karten */
.grid-projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 4; position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card.is-wide { grid-column: span 8; }
.card.is-wide .card__media { aspect-ratio: 16 / 8.6; }
.card.is-full { grid-column: 1 / -1; }
.card.is-full .card__media { aspect-ratio: 21 / 8; }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(31,33,32,.55); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--bone-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,33,32,.6), transparent 45%); }
.card__tags { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; justify-content: space-between; gap: 8px; z-index: 1; }
.card__price { position: absolute; left: 20px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.card__price small { font-family: var(--sans); font-size: 13px; font-weight: 700; opacity: .85; margin-right: 4px; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: clamp(26px, 2.3vw, 34px); letter-spacing: -.02em; }
.card__title .serif { color: var(--green-ink); }
.card__text { color: var(--muted); font-size: 15px; margin: 4px 0 14px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.card__go { width: 44px; height: 44px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); flex: none; }
.card:hover .card__go { background: var(--red); color: #fff; transform: rotate(-45deg); }
.meter { flex: 1; max-width: 190px; }
.meter i { display: block; height: 6px; border-radius: 6px; background: var(--bone-2); overflow: hidden; margin-top: 6px; }
.meter i b { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.card.is-hidden { display: none; }

/* =====================================================================
   KARTE (Standorte)
   ===================================================================== */
.map-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: stretch; }
.map-svg { position: relative; border-radius: var(--radius-lg); background: var(--ink-2); overflow: hidden; border: 1px solid var(--line-light); min-height: 420px; }
.map-svg svg { width: 100%; height: 100%; display: block; }
.map-svg .land { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.12); stroke-width: 1; }
.map-svg .land--hl { fill: rgba(84,187,108,.09); stroke: rgba(84,187,108,.55); stroke-width: 1.4; }
.map-svg .land-label { fill: rgba(255,255,255,.32); font: 700 10px var(--sans); letter-spacing: .25em; }
.map-svg .city { fill: #fff; } .map-svg .city-label { fill: rgba(255,255,255,.8); font: 700 10px var(--sans); }
.pin { cursor: pointer; outline: none; }
.pin .halo { fill: rgba(84,187,108,.3); transform-box: fill-box; transform-origin: center; animation: halo 2.4s infinite; }
.pin .core { fill: var(--green); stroke: var(--ink-2); stroke-width: 2.5; transition: fill .3s; }
.pin.is-planung .core { fill: var(--amber); } .pin.is-planung .halo { fill: rgba(233,162,59,.3); }
.pin:hover .core, .pin.is-active .core, .pin:focus-visible .core { fill: #fff; }
.pin text { fill: #fff; font: 700 10.5px var(--sans); paint-order: stroke; stroke: var(--ink-2); stroke-width: 4px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pin:hover text, .pin.is-active text, .pin:focus-visible text { opacity: 1; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.map-card { border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-light); overflow: hidden; display: flex; flex-direction: column; }
.map-card__img { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--ink-3); }
.map-card__img img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .6s var(--ease); }
.map-card__img .pill { position: absolute; left: 14px; top: 14px; }
.map-card__body { padding: 24px 26px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.map-card__body h3 { font-size: 30px; }
.map-card__body h3 .serif { color: var(--green); }
.map-card__body p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; }
.map-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 6px; }
.map-card__stats div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
.map-card__stats small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.map-card__stats b { font-size: 17px; }
.map-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.map-list button { border: 1px solid var(--line-light); background: transparent; color: rgba(255,255,255,.8); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; transition: all .3s; }
.map-list button.is-active, .map-list button:hover { background: #fff; color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.04); } }

/* =====================================================================
   4 SCHRITTE
   ===================================================================== */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey__line { position: absolute; left: 34px; right: 10%; top: 33px; height: 2px; background: var(--line); }
.journey__line i { position: absolute; inset: 0; background: var(--green-ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.jstep { position: relative; display: grid; gap: 14px; align-content: start; }
.jstep__num { width: 68px; height: 68px; border-radius: 50%; background: var(--bone); border: 2px solid rgba(31,33,32,.18); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 24px; position: relative; z-index: 1; transition: background .5s, border-color .5s, color .5s; }
.jstep.is-on .jstep__num { background: var(--ink); color: var(--green); border-color: var(--ink); }
.jstep h3 { font-size: 25px; }
.jstep p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* =====================================================================
   BENTO
   ===================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(160px, auto); gap: 14px; }
.tile { position: relative; border-radius: var(--radius-lg); padding: 26px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: transform .6s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 23px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.tile--dark { background: var(--ink); color: #fff; }
.tile--dark p { color: rgba(255,255,255,.65); }
.tile--dark .icon { background: rgba(84,187,108,.18); color: var(--green); }
.tile--green { background: var(--green-ink); color: #fff; }
.tile--green p { color: rgba(255,255,255,.82); }
.tile--green .icon { background: rgba(255,255,255,.16); color: #fff; }
.tile--img { padding: 0; color: #fff; justify-content: flex-end; min-height: 300px; }
.tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--img:hover img { transform: scale(1.06); }
.tile--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,33,32,.88), transparent 60%); }
.tile__in { position: relative; z-index: 1; padding: 26px; display: grid; gap: 8px; }
.tile--img p { color: rgba(255,255,255,.82); }
.tile .big { font-family: var(--display); font-weight: 700; font-size: clamp(60px, 6.4vw, 96px); line-height: .9; letter-spacing: -.02em; }
.tile .big sup { font-size: .4em; color: var(--green); vertical-align: top; }
.t-a { grid-column: span 2; grid-row: span 2; }
.t-b { grid-column: span 4; grid-row: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-f, .t-g { grid-column: span 3; }

/* Rechner */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc__in { display: grid; gap: 12px; }
.field-l { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px; }
.calc select, .calc input[type=number] { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bone); font-weight: 700; color: var(--ink); appearance: none; }
.calc select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2120' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.calc select:focus, .calc input:focus { outline: none; border-color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bone); font-weight: 800; font-size: 18px; color: var(--ink); }
.stepper output { min-width: 30px; text-align: center; font-weight: 800; font-size: 18px; }
.calc__out { border-radius: 20px; background: var(--ink); color: #fff; padding: 22px; display: grid; gap: 8px; }
.calc__row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.calc__row b { color: #fff; font-weight: 700; white-space: nowrap; }
.calc__row--minus b { color: var(--green); }
.calc__total { border-top: 1px solid var(--line-light); margin-top: 6px; padding-top: 12px; }
.calc__total small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.calc__total b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.2vw, 44px); letter-spacing: -.02em; line-height: 1.05; }
.calc__note { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.45; margin: 4px 0 0; }
.calc .btn { width: 100%; margin-top: 6px; }

/* =====================================================================
   DROHNENFLUG (Scroll-gesteuert)
   ===================================================================== */
.flight { position: relative; height: 220vh; background: var(--ink); }
.flight__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.flight canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,33,32,.85), rgba(31,33,32,.15) 65%), linear-gradient(0deg, rgba(31,33,32,.75), transparent 45%); }
.flight__text { position: absolute; left: var(--gutter); bottom: clamp(50px, 10vh, 110px); max-width: 680px; padding-right: var(--gutter); }
.flight__text h2 { font-size: clamp(40px, 6.4vw, 96px); line-height: .92; letter-spacing: -.02em; margin: 16px 0 18px; }
.flight__text h2 .serif { color: var(--green); }
.flight__text p { color: rgba(255,255,255,.75); max-width: 520px; font-size: 18px; min-height: 3.3em; transition: opacity .4s; }
.flight__steps { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; }
.flight__step { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; color: rgba(255,255,255,.4); transition: color .5s; }
.flight__step i { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 13px; transition: all .5s; }
.flight__step.is-on { color: #fff; }
.flight__step.is-on i { background: var(--green); border-color: var(--green); color: var(--ink); }
.flight__progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--green); width: calc(var(--p, 0) * 100%); }

/* =====================================================================
   VERKÄUFER-FUNNEL
   ===================================================================== */
.sell-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.sell-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.sell-points li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; color: rgba(255,255,255,.7); font-size: 15.5px; }
.sell-points li b { color: #fff; display: block; font-size: 17px; }
.sell-points i { width: 42px; height: 42px; border-radius: 12px; background: rgba(84,187,108,.16); color: var(--green); display: grid; place-items: center; font-style: normal; }
.funnel { background: var(--bone); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.funnel__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.funnel__count { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.funnel__bar { height: 6px; border-radius: 6px; background: var(--bone-2); overflow: hidden; margin-bottom: 26px; }
.funnel__bar i { display: block; height: 100%; background: var(--green-ink); width: 20%; transition: width .6s var(--ease); border-radius: inherit; }
.fstep { display: none; }
.fstep.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.fstep h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 22px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--white); border: 1.5px solid transparent; cursor: pointer; font-weight: 700; font-size: 15.5px; line-height: 1.3; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.option:hover { border-color: var(--ink); transform: translateY(-2px); }
.option input { position: absolute; opacity: 0; }
.option:has(input:checked) { border-color: var(--green-ink); background: var(--green-soft); }
.option:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.option small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.o-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--bone); display: grid; place-items: center; flex: none; color: var(--green-ink); }
.funnel__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.back { border: 0; background: none; font-weight: 700; color: var(--muted); padding: 10px 0; }
.back:hover { color: var(--ink); }
.funnel .form { padding: 0; background: none; }
.funnel__done { text-align: center; padding: 30px 10px; }
.funnel__done .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin: 0 auto 18px; }
.funnel__done h3 { font-size: 32px; margin-bottom: 10px; }
.funnel__done p { color: var(--muted); }

/* =====================================================================
   KAPITALANLEGER
   ===================================================================== */
.invest { background: var(--ink); color: #fff; overflow: hidden; }
.invest::after { content: ""; position: absolute; right: -15%; top: -25%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(84,187,108,.16), transparent 60%); pointer-events: none; }
.invest .lead { color: rgba(255,255,255,.66); }
.invest-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; position: relative; z-index: 1; }
.facts-sand { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 30px 0; }
.facts-sand div { padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(84,187,108,.25); background: rgba(84,187,108,.06); }
.facts-sand b { display: block; font-family: var(--display); font-weight: 700; font-size: 27px; color: var(--green); letter-spacing: -.02em; line-height: 1.1; }
.facts-sand span { font-size: 13.5px; color: rgba(255,255,255,.6); }
.icalc { border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(84,187,108,.28); padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(10px); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; color: rgba(255,255,255,.7); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: all .3s; }
.tabs button.is-active { background: var(--green); color: var(--ink); }
.slider { display: grid; gap: 6px; margin-bottom: 16px; }
.slider div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.slider label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.slider output { font-weight: 800; font-size: 17px; white-space: nowrap; }
.slider input[type=range] { width: 100%; accent-color: var(--green); }
.icalc .calc__out { background: rgba(84,187,108,.1); border: 1px solid rgba(84,187,108,.3); }
.icalc .calc__total small { color: var(--green); }
.ipanel { display: none; } .ipanel.is-active { display: block; animation: stepIn .5s var(--ease); }

/* =====================================================================
   WARTELISTE
   ===================================================================== */
.waitlist { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px 50px; align-items: center; padding: clamp(28px, 4.4vw, 60px); border-radius: var(--radius-lg); background: var(--green-ink); color: #fff; position: relative; overflow: hidden; }
.waitlist::before { content: ""; position: absolute; right: -80px; bottom: -140px; width: 380px; height: 380px; border-radius: 22%; transform: rotate(45deg); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04); pointer-events: none; }
.waitlist .eyebrow { color: #fff; }
.waitlist p { color: rgba(255,255,255,.85); }
.wl-form { position: relative; display: grid; gap: 10px; }
.wl-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; }
.wl-row input { border: 0; padding: 0 18px; font-size: 16px; min-width: 0; background: transparent; color: var(--ink); }
.wl-row input:focus { outline: none; }
.wl-form select { padding: 14px 18px; border-radius: 999px; border: 0; font-weight: 700; color: var(--ink); appearance: none; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2120' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.wl-form .check { color: rgba(255,255,255,.85); }
.wl-form .form__msg.ok { background: #fff; }

/* =====================================================================
   KONTAKT / FORMULARE
   ===================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 80px); }
.contact__info { display: grid; gap: 12px; align-content: start; }
.info-card { padding: 22px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-light); display: grid; gap: 4px; text-decoration: none; color: #fff; text-align: left; transition: background .4s, transform .5s var(--ease); }
a.info-card:hover, button.info-card:hover { background: var(--ink-3); transform: translateX(6px); }
.info-card small { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.info-card b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.info-card span { color: rgba(255,255,255,.6); font-size: 15px; }
.info-card--cta { background: var(--red); border-color: var(--red); }
.info-card--cta small, .info-card--cta span { color: rgba(255,255,255,.88); }
button.info-card--cta:hover { background: var(--red-2); }

.form { background: var(--bone); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 46px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form h3 { grid-column: 1 / -1; font-size: 28px; margin-bottom: 4px; }
.form .form__intro { grid-column: 1 / -1; color: var(--muted); margin: -4px 0 6px; font-size: 15px; }
.field { position: relative; display: grid; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid transparent; border-radius: 16px; padding: 24px 16px 9px; transition: border-color .3s, box-shadow .3s; appearance: none; min-height: 58px; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15.5px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31,33,32,.07); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label, .field input[type=date] + label { top: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green-ink); flex: none; margin-top: 1px; }
.check a { color: inherit; font-weight: 700; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; font-weight: 700; display: none; font-size: 15px; }
.form__msg.ok { display: block; background: var(--green-soft); color: var(--ink); }
.form__msg.err { display: block; background: #fbe1de; color: var(--red-2); }
.form__msg a { color: inherit; }
.hp { position: absolute !important; left: -9999px !important; }
.seg { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { border-color: var(--green-ink); background: var(--green-soft); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--green); }

/* Modal (Termin) */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(8,14,10,.72); backdrop-filter: blur(6px); }
.modal.is-open { display: flex; animation: fade .3s; }
.modal__box { position: relative; width: 100%; max-width: 660px; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: var(--radius-lg); animation: rise .5s var(--ease); overscroll-behavior: contain; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); font-size: 22px; line-height: 1; color: var(--ink); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(70px, 9vw, 120px) 0 30px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer__claim { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); color: #fff; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin-bottom: 24px; }
.footer__claim .serif { color: var(--green); }
/* ---- Footer-Marke: CI-Logo fliegt von rechts ein ---- */
.footer__brand { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; padding: 10px 0 56px; margin-bottom: 56px; --lx: 0; --ly: 0; }
.footer__brand::before { content: ""; position: absolute; z-index: -1; left: -6%; top: -30%; width: 70%; height: 150%; pointer-events: none;
  background: radial-gradient(closest-side at 30% 50%, rgba(84,187,108,.28), transparent 70%), radial-gradient(closest-side at 70% 55%, rgba(218,40,30,.22), transparent 70%);
  filter: blur(30px); opacity: 0; transition: opacity 1.6s ease .6s; animation: glow 9s ease-in-out infinite alternate; }
.footer__brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--red)); transform: scaleX(0); transform-origin: right; transition: transform 1.4s var(--ease) 1s; }
.footer__brand.is-in::before { opacity: 1; }
.footer__brand.is-in::after { transform: scaleX(1); }
@keyframes glow { to { transform: translate(6%, -4%) scale(1.08); } }
.footer__logo { display: block; max-width: 860px; }
.flogo { display: block; width: 100%; height: auto; overflow: visible; opacity: 0; transform: translateX(65vw) skewX(-14deg); filter: blur(10px);
  transition: transform 1.5s cubic-bezier(.16, 1, .3, 1), opacity .7s ease, filter 1.1s ease; }
.is-in .flogo { opacity: 1; transform: none; filter: none; }
.flogo__mark { transform: translate(calc(var(--lx) * 14px), calc(var(--ly) * 10px)); transition: transform .5s var(--ease); }
.flogo__green, .flogo__red { transform-box: fill-box; transform-origin: 50% 50%; }
.flogo__green { opacity: 0; transform: translate(-26px, -26px) rotate(-30deg); transition: opacity .6s ease .95s, transform 1s cubic-bezier(.16, 1, .3, 1) .95s; }
.flogo__red { opacity: 0; transform: scale(0) rotate(20deg); transition: opacity .3s ease 1.25s, transform .8s cubic-bezier(.34, 1.7, .5, 1) 1.25s; }
.is-in .flogo__green, .is-in .flogo__red { opacity: 1; transform: none; }
.flogo__claim { opacity: 0; transform: translateY(10px); transition: opacity .8s ease 1.5s, transform .8s var(--ease) 1.5s; fill-opacity: .82; }
.is-in .flogo__claim { opacity: 1; transform: none; }
.flogo__shine { transform: translateX(-140px); }
.is-in .flogo__shine { animation: shine 7s ease-in-out 1.9s infinite; }
@keyframes shine { 0% { transform: translateX(-140px); } 16%, 100% { transform: translateX(340px); } }
.footer__logo:hover .flogo__red { animation: nod .7s ease; }
@keyframes nod { 30% { transform: translateY(-5px) rotate(-6deg); } 60% { transform: translateY(2px) rotate(3deg); } }
.footer__tag { margin: 0 0 6px; text-align: right; color: #fff; font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.04; letter-spacing: -.01em;
  opacity: 0; transform: translateX(40px); transition: opacity .8s ease 1.6s, transform 1s var(--ease) 1.6s; }
.is-in .footer__tag { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .footer__brand { grid-template-columns: 1fr; gap: 18px; padding-bottom: 40px; }
  .footer__tag { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .flogo, .flogo__green, .flogo__red, .flogo__claim, .footer__tag { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- Statischer Inhalt für Suchmaschinen (wird per JavaScript durch die interaktive Seite ersetzt) ---- */
.seo-static { padding-top: 140px; padding-bottom: 60px; max-width: 900px; }
.seo-static h1 { font-size: clamp(34px, 5vw, 60px); margin: 18px 0 14px; }
.seo-static h2 { font-size: 24px; margin: 34px 0 12px; }
.seo-static h3 { font-size: 18px; margin: 18px 0 6px; }
.seo-static dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.seo-static dt { font-weight: 700; }
.seo-static dd { margin: 0; }
.seo-static table { width: 100%; border-collapse: collapse; font-size: 15px; }
.seo-static th, .seo-static td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.seo-static .crumbs { color: var(--muted); }

/* ---- WhatsApp-Kontakt auf den Baugebietsseiten ---- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.wa > * { pointer-events: auto; }
.wa__card { position: relative; width: 320px; max-width: calc(100vw - 40px); background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(31,33,32,.45), 0 0 0 1px var(--line);
  transform-origin: 100% 100%; transform: translateY(16px) scale(.92); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .35s, visibility .35s; }
.wa.is-open .wa__card { transform: none; opacity: 1; visibility: visible; }
.wa__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.wa__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); }
.wa__head b { display: block; font-size: 16px; line-height: 1.2; }
.wa__head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.wa__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.wa__bubble { background: var(--bone); border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 15px; line-height: 1.45; margin-bottom: 12px; }
.wa__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wa__quick a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .3s, background .3s; }
.wa__quick a:hover { border-color: var(--green-ink); background: var(--green-soft); }
.wa__card .btn { width: 100%; }
.wa__card .btn svg { flex: none; }
.wa__close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bone); font-size: 18px; line-height: 1; color: var(--ink); }
.wa__note { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.4; }
.wa__fab { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; background: #25d366; box-shadow: 0 16px 34px -10px rgba(37,211,102,.7); display: grid; place-items: center; color: #fff;
  transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.wa.is-ready .wa__fab { transform: scale(1); }
.wa__fab img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #25d366; }
.wa__fab i { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; background: #25d366; display: grid; place-items: center; border: 3px solid #fff; }
.wa__fab::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25d366; animation: halo 2.4s infinite; }
.wa__badge { position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.wa.is-open .wa__badge { display: none; }
.box--wa { background: #fff; border: 1.5px solid rgba(37,211,102,.35); }
.box--wa .wa__head { margin-bottom: 10px; }
@media (max-width: 900px) { .wa { bottom: 92px; right: 12px; } .wa__fab { width: 56px; height: 56px; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.footer__bottom nav { display: flex; gap: 22px; }

/* =====================================================================
   UNTERSEITEN
   ===================================================================== */
.page-hero { position: relative; padding: 190px 0 clamp(60px, 8vw, 110px); background: var(--ink); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: 60px; top: 110px; border-radius: 18%; transform: rotate(45deg); border: 1px solid rgba(84,187,108,.3); box-shadow: 0 0 0 50px rgba(84,187,108,.03), 0 0 0 100px rgba(84,187,108,.02); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(46px, 8vw, 124px); line-height: .92; letter-spacing: -.02em; margin: 20px 0 24px; max-width: 14ch; }
.page-hero h1 .serif { color: var(--green); }
.page-hero .lead { color: rgba(255,255,255,.7); }

/* Projekt-Detail */
.p-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 20s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,33,32,.96) 5%, rgba(31,33,32,.2) 60%, rgba(31,33,32,.45) 100%); }
.p-hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(36px, 5vw, 64px); }
.p-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }
.p-hero h1 { font-size: clamp(54px, 10vw, 164px); line-height: .88; letter-spacing: -.02em; }
.p-hero h1 .serif { display: block; color: var(--green); font-size: .5em; letter-spacing: -.01em; margin-top: .14em; }
.p-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.p-hero__meta .tag { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-size: 13.5px; font-weight: 700; }
.p-hero__price { text-align: right; }
.p-hero__price small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.p-hero__price b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; }
.p-hero__price .btn { margin-top: 18px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.fact { background: var(--white); padding: 24px 22px; display: grid; gap: 6px; align-content: start; }
.fact small { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact b { font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.fact--hl { background: var(--ink); color: #fff; }
.fact--hl small { color: var(--green); }
.fact--hl b { font-family: var(--display); font-weight: 700; font-size: 24px; }
.drive { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 14px; }
.drive div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--white); }
.drive i { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.drive b { display: block; font-size: 17px; line-height: 1.2; }
.drive span { font-size: 13.5px; color: var(--muted); }

.p-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.p-body__text > p:first-of-type { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink); }
.p-body__text p { color: var(--muted); }
.more { border-top: 1px solid var(--line); margin-top: 10px; }
.more summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 20px; transition: transform .4s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.p-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.box { background: var(--white); border-radius: var(--radius); padding: 24px; }
.box h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; color: var(--green-ink); }
.box--dark { background: var(--ink); color: #fff; }
.box--dark h3 { color: var(--green); }
.box--dark p { color: rgba(255,255,255,.7); font-size: 15px; }
.box .btn { width: 100%; }
.box .btn + .btn { margin-top: 8px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 14px; background: var(--bone); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: background .3s, transform .4s var(--ease); }
.doc:hover { background: var(--bone-2); transform: translateX(4px); }
.doc i { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; flex: none; }
.doc + .doc { margin-top: 8px; }

/* Interaktiver Parzellenplan */
.plan-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.plan { position: relative; border-radius: var(--radius-lg); background: var(--white); padding: 14px; }
.plan__img { position: relative; }
.plan__img img { width: 100%; height: auto; border-radius: 18px; }
.hot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; background: var(--green); color: var(--ink); font-weight: 800; font-size: 12px; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(31,33,32,.55); transition: transform .3s var(--ease), background .3s, color .3s; padding: 0; font-family: var(--sans); }
.hot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: halo2 2.4s infinite; pointer-events: none; }
.hot.reserviert { background: var(--amber); } .hot.reserviert::after { display: none; }
.hot.verkauft { background: #b9b3a6; color: #fff; } .hot.verkauft::after { display: none; }
.hot:hover, .hot.is-active, .hot:focus-visible { transform: translate(-50%, -50%) scale(1.25); background: var(--ink); color: #fff; z-index: 2; }
@keyframes halo2 { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.plan__tip { position: absolute; z-index: 5; min-width: 210px; transform: translate(-50%, calc(-100% - 26px)); background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; font-size: 14px; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); }
.plan__tip.is-on { opacity: 1; }
.plan__tip b { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; }
.plan__tip span { color: rgba(255,255,255,.7); display: block; }
.plan__tip em { font-style: normal; font-weight: 700; color: var(--green); display: block; margin-top: 4px; }
.plan__hint { font-size: 13.5px; color: var(--muted); padding: 12px 6px 2px; display: flex; gap: 8px; align-items: center; }
.plan-side { display: grid; gap: 12px; position: sticky; top: 110px; }
.sel { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: 26px; display: grid; gap: 12px; }
.sel h3 { font-size: 32px; }
.sel p { color: rgba(255,255,255,.65); margin: 0; font-size: 15px; }
.sel .calc__out { padding: 0; background: none; }
.sel .btn { width: 100%; }

.lots-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--green); }
.legend .r::before { background: var(--amber); } .legend .v::before { background: #c9c3b6; }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lot { position: relative; padding: 16px 16px 16px 20px; border-radius: 18px; background: var(--white); border: 1.5px solid transparent; display: grid; gap: 2px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; overflow: hidden; text-align: left; color: var(--ink); }
.lot::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); }
.lot small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lot b { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.lot span { font-size: 14px; color: var(--muted); }
.lot em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--green-ink); margin-top: 6px; }
button.lot { cursor: pointer; font: inherit; }
button.lot:hover, .lot.is-active { transform: translateY(-4px); border-color: var(--green-ink); box-shadow: 0 20px 40px -24px rgba(31,33,32,.4); }
.lot.reserviert::after { background: var(--amber); } .lot.reserviert em { color: #a86c12; }
.lot.verkauft { background: transparent; border-color: var(--line); }
.lot.verkauft::after { background: #c9c3b6; }
.lot.verkauft b, .lot.verkauft span { opacity: .45; } .lot.verkauft em { color: var(--muted); }
.notice { padding: 24px 28px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; display: flex; gap: 16px; align-items: center; }
.notice::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(233,162,59,.25); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; }
/* Vorher-Nachher-Regler */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; user-select: none; background: var(--ink); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.ba input { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; margin: 0; }
.ba .pill { position: absolute; top: 16px; z-index: 1; pointer-events: none; } .ba .l { left: 16px; } .ba .r { right: 16px; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--ink-2); color: #fff; display: grid; place-items: center; text-align: center; }
.map::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 46px 46px; }
.map__inner { position: relative; max-width: 520px; padding: 30px; display: grid; gap: 16px; justify-items: center; }
.map__inner p { color: rgba(255,255,255,.65); font-size: 14.5px; margin: 0; }
.map__pin { width: 60px; height: 60px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); display: grid; place-items: center; }
.map__pin::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8,14,10,.94); display: none; place-items: center; padding: 30px; }
.lightbox.is-open { display: grid; animation: fade .3s; }
.lightbox img { max-height: 88vh; border-radius: 14px; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; }

/* Leistungen */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.on-dark .acc { border-color: var(--line-light); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 90px 1fr 44px; gap: 20px; align-items: center; padding: 24px 0; transition: padding .4s var(--ease); }
.acc summary:hover { padding-left: 10px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1; color: var(--green); }
.acc summary h3 { font-size: clamp(21px, 2.2vw, 30px); }
.acc summary::after { content: "+"; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 22px; transition: transform .4s var(--ease); opacity: .7; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 64px 28px 110px; margin: 0; color: rgba(255,255,255,.68); max-width: 960px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.checklist li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7d41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.on-dark .checklist li::before, .tile--dark .checklist li::before { background-color: rgba(84,187,108,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354bb6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles .tile p { font-weight: 700; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.big-card { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); background: var(--white); }
.dark-card { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); background: var(--ink-2); border: 1px solid var(--line-light); display: grid; gap: 22px; }
.phase { padding: 20px 0; border-top: 1px solid var(--line); }
.phase h4 { font-family: var(--sans); font-size: 16px; font-weight: 800; margin-bottom: 10px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.person { background: var(--white); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 4px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s; }
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(31,33,32,.45); }
.person img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; box-shadow: 0 0 0 4px var(--bone), 0 0 0 6px var(--green); }
.person h3 { font-size: 22px; }
.person p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.person a { font-size: 14.5px; font-weight: 700; text-decoration: none; display: block; word-break: break-word; }
.person a:hover { color: var(--green-ink); }

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(20px, 2vw, 26px); margin: 46px 0 14px; }
.legal p, .legal li { color: #34423a; font-size: 16px; }

/* =====================================================================
   VOM ACKER ZUM SCHLÜSSEL (Scroll-Story)
   ===================================================================== */
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.story__sticky { position: sticky; top: 110px; display: grid; gap: 20px; }
.build { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(31,33,32,.18)); }
.build .st { opacity: 0; transform: translateY(-24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.build[data-s="1"] .st1,
.build[data-s="2"] .st1, .build[data-s="2"] .st2,
.build[data-s="3"] .st1, .build[data-s="3"] .st2, .build[data-s="3"] .st3,
.build[data-s="4"] .st1, .build[data-s="4"] .st2, .build[data-s="4"] .st3, .build[data-s="4"] .st4,
.build[data-s="5"] .st1, .build[data-s="5"] .st3, .build[data-s="5"] .st4, .build[data-s="5"] .st5 { opacity: 1; transform: none; }
.build[data-s="3"] .st1, .build[data-s="4"] .st1, .build[data-s="5"] .st1 { opacity: .25; }   /* Acker tritt zurück */
.build[data-s="4"] .st2 { opacity: .5; }
.build .house { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.build[data-s="5"] .house { transform: none; }
.build[data-s="5"] .win { fill: #ffd98a; transition: fill .6s .8s; }
.build .tree { transform: scale(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease) .5s; }
.build[data-s="5"] .tree { transform: none; }
.build .key { opacity: 0; transform: translateY(16px); transition: opacity .6s .9s, transform .8s var(--ease) .9s; }
.build[data-s="5"] .key { opacity: 1; transform: none; animation: keyfloat 3s ease-in-out 1.8s infinite; }
@keyframes keyfloat { 50% { transform: translateY(-8px) rotate(-6deg); } }
.story__legend { justify-self: start; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.story__legend::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 10px; vertical-align: middle; }
.story__bar { height: 4px; border-radius: 4px; background: var(--bone-2); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--red)); transform: scaleX(0); transform-origin: left; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .28; transition: opacity .6s var(--ease); border-left: 2px solid var(--line); padding-left: 32px; position: relative; }
.step::before { content: ""; position: absolute; left: -2px; top: 50%; height: 0; width: 2px; background: var(--green); transition: height .6s var(--ease), top .6s var(--ease); }
.step.is-on { opacity: 1; }
.step.is-on::before { height: 120px; top: calc(50% - 60px); }
.step__no { font-weight: 700; color: var(--green-ink); letter-spacing: .1em; }
.step h3 { font-size: clamp(30px, 3.4vw, 50px); }
.step p { color: var(--muted); max-width: 44ch; margin: 0; font-size: 18px; }
.step:last-child h3 { color: var(--ink); }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__stage { position: sticky; top: 0; z-index: 2; background: linear-gradient(var(--bone) 94%, rgba(245,245,242,0)); padding: 84px 0 28px; }
  .story__sticky { position: static; gap: 10px; }
  .build { max-height: 32vh; }
  .step { min-height: 52vh; justify-content: flex-end; padding-bottom: 10vh; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .card, .card.is-wide { grid-column: span 6; }
  .card.is-wide .card__media { aspect-ratio: 4 / 3.4; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .finder { grid-template-columns: 1fr 1fr 1fr; }
  .finder__field--wide { grid-column: span 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-c, .t-d, .t-e { grid-column: span 1; grid-row: auto; }
  .t-b, .t-f, .t-g { grid-column: 1 / -1; grid-row: auto; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .logo__text { display: none; }
  .hero__grid, .section-head--split, .map-wrap, .contact, .p-body, .split, .sell-wrap, .invest-grid, .waitlist, .plan-wrap, .calc { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 120px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .journey__line { display: none; }
  .p-aside, .plan-side { position: static; }
  .form { grid-template-columns: 1fr; }
  .page-hero::after { display: none; }
  .flight { height: 200vh; }
  .flight__steps { display: none; }
  .actionbar { display: flex; }
  .header .btn--termin { display: none; }
  .p-hero__price { text-align: left; }
  .acc summary { grid-template-columns: 56px 1fr 40px; }
  .acc summary .n { font-size: 36px; }
  .acc p { padding: 0 0 26px 76px; }
  .footer { padding-bottom: 110px; }
  .map-svg { min-height: 0; aspect-ratio: 1.3; }
}
@media (max-width: 620px) {
  .card, .card.is-wide, .card.is-full { grid-column: 1 / -1; }
  .card.is-full .card__media { aspect-ratio: 4 / 3.4; }
  .footer__grid, .tiles, .bento, .finder { grid-template-columns: 1fr; }
  .finder__field--wide { grid-column: auto; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .header__bar { padding-left: 14px; }
  .lots { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .ticker__live { display: none; }
  .path { grid-template-columns: 44px 1fr auto; padding: 12px 14px 12px 12px; gap: 12px; }
  .path__icon { width: 44px; height: 44px; }
  .path b { font-size: 18px; }
  .hot { width: 26px; height: 26px; font-size: 10px; border-width: 2px; }
  .acc p { padding-left: 0; }
  .facts-sand b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
}
.lead + p, p + .lead { margin-top: 1em; }
.waitlist .serif, .tile--green .serif { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: .12em; }
/* FAQ auf hellem Grund */
.faq-light .acc summary .n { color: var(--green-ink); }
.faq-light .acc p { color: var(--muted); }
.faq-light .acc summary h3 { font-size: clamp(19px, 1.8vw, 24px); }
.footer address { font-style: normal; }
/* „Vom Acker ins Haus“ – dunkle Variante */
.story.on-dark .build { filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.story.on-dark .story__legend { background: rgba(255,255,255,.1); border: 1px solid var(--line-light); }
.story.on-dark .story__bar { background: rgba(255,255,255,.1); }
.story.on-dark .step { border-left-color: var(--line-light); opacity: .3; }
.story.on-dark .step.is-on { opacity: 1; }
.story.on-dark .step__no { color: var(--green); }
.story.on-dark .step h3, .story.on-dark .step:last-child h3 { color: #fff; }
.story.on-dark .step p { color: rgba(255,255,255,.68); }
@media (max-width: 900px) {
  .story.on-dark .story__stage { background: linear-gradient(var(--ink) 94%, rgba(31,33,32,0)); }
}

/* =====================================================================
   GRUNDSTÜCKE ALS SLIDER (kompakter)
   ===================================================================== */
.grid-projects { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 24px; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.grid-projects::-webkit-scrollbar { display: none; }
.grid-projects > .card, .grid-projects > .card.is-wide, .grid-projects > .card.is-full { flex: 0 0 clamp(272px, 27vw, 360px); grid-column: auto; scroll-snap-align: start; }
.grid-projects > .card .card__media { aspect-ratio: 4 / 3; }
.grid-projects .card__title { font-size: clamp(23px, 1.9vw, 28px); }
.grid-projects .card__text { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-projects .card.is-hidden { display: none; }
.grid-projects .empty { flex: 0 0 calc(100% - 2 * var(--gutter)); }
.slider-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 18px; color: var(--ink); transition: background .3s, color .3s, opacity .3s; }
.slider-btn:hover { background: var(--ink); color: #fff; }
.slider-btn[disabled] { opacity: .25; pointer-events: none; }
.slider-bar { width: 120px; height: 3px; border-radius: 3px; background: var(--bone-2); overflow: hidden; }
.slider-bar i { display: block; height: 100%; background: var(--green-ink); transform-origin: left; transform: scaleX(.1); transition: transform .3s; }
@media (max-width: 620px) { .slider-bar { width: 60px; } .slider-btn { width: 40px; height: 40px; } }

/* =====================================================================
   FÜR KAPITALANLEGER – fixierter Bereich, Tafeln gleiten seitlich
   ===================================================================== */
.invest-pin { position: relative; background: var(--ink); color: #fff; }
.invest-pin__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.invest-pin__sticky::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(84,187,108,.14), transparent 62%); pointer-events: none; }
.invest-pin__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 104px; position: relative; z-index: 1; }
.invest-pin__steps { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; font-weight: 700; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.35); }
.invest-pin__steps li { display: flex; align-items: center; gap: 8px; transition: color .4s; }
.invest-pin__steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.invest-pin__steps li.is-on { color: #fff; }
.invest-pin__steps li.is-on::before { background: var(--green); }
.invest-pin__track { flex: 1; display: flex; width: max-content; will-change: transform; }
.ip { flex: 0 0 100vw; width: 100vw; display: flex; align-items: center; }
.ip__in { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); opacity: .2; transform: scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ip.is-active .ip__in { opacity: 1; transform: none; }
.ip__title { font-size: clamp(48px, 7.4vw, 120px); line-height: .92; letter-spacing: -.02em; }
.ip__lead { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; max-width: 780px; color: rgba(255,255,255,.75); margin: 26px 0 34px; }
.ip__lead b { color: #fff; }
.ip__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 920px; }
.ip__pillars div { padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line-light); background: rgba(255,255,255,.04); display: grid; gap: 4px; }
.ip__pillars i { font-style: normal; color: var(--green); font-weight: 700; }
.ip__pillars b { font-size: 20px; }
.ip__pillars span { color: rgba(255,255,255,.6); font-size: 14px; }
.ip__hint { margin-top: 34px; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.ip__hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.ip__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ip__num { display: block; font-size: clamp(80px, 9vw, 140px); font-weight: 700; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(84,187,108,.65); margin-bottom: 16px; }
.ip__h { font-size: clamp(28px, 3.2vw, 50px); line-height: 1.04; margin: 14px 0 18px; max-width: 20ch; }
.ip p { color: rgba(255,255,255,.72); max-width: 58ch; }
.ip__stat { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 18px 22px; border-radius: 18px; background: rgba(84,187,108,.12); border: 1px solid rgba(84,187,108,.35); max-width: 540px; }
.ip__stat b { font-size: 56px; line-height: 1; color: var(--green); }
.ip__stat span { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.4; }
.ip__sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 58vh; overflow: auto; }
.ip__sites a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.ip__sites a:hover { background: rgba(255,255,255,.1); transform: translateX(-4px); }
.ip__sites b { font-size: 18px; }
.ip__sites span { grid-row: 2; color: rgba(255,255,255,.6); font-size: 13.5px; }
.ip__sites em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 700; color: var(--green); white-space: nowrap; }
.ip__concepts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 20px; }
.concept { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 20px; align-items: center; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); transition: transform .5s var(--ease), border-color .4s; }
.concept:hover { transform: translateY(-4px); border-color: rgba(84,187,108,.5); }
.concept svg { width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(0,0,0,.45)); }
.concept b { display: block; font-size: 23px; }
.concept em { display: block; font-style: normal; font-weight: 700; color: var(--green); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.concept p { margin: 8px 0 0; font-size: 15px; }
.ip__note { font-size: 15px; }
.ip__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ip__cta .btn--ghost { color: #fff; }
.ip__person { justify-self: end; max-width: 420px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); display: grid; gap: 4px; }
.ip__person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--green); }
.ip__person b { font-size: 22px; }
.ip__person > span { color: var(--green); font-weight: 700; font-size: 14px; }
.ip__person p { font-size: 15px; margin: 8px 0 0; }
.ip__person small { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; margin-top: 10px; }
.invest-pin__progress { height: 3px; background: rgba(255,255,255,.08); position: relative; z-index: 1; }
.invest-pin__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--red)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1180px) and (min-width: 901px) { .ip__concepts { grid-template-columns: 1fr; } .concept { grid-template-columns: 160px 1fr; } }
@media (max-width: 900px) {
  .invest-pin { height: auto !important; padding: 20px 0 70px; }
  .invest-pin__sticky { position: static; height: auto; overflow: visible; }
  .invest-pin__head { padding-top: 70px; }
  .invest-pin__steps, .invest-pin__progress, .ip__hint { display: none; }
  .invest-pin__track { flex-direction: column; width: auto; transform: none !important; }
  .ip { width: auto; flex: none; padding: 34px 0; }
  .ip__in { opacity: 1; transform: none; }
  .ip__split, .ip__pillars, .ip__concepts { grid-template-columns: 1fr; }
  .concept { grid-template-columns: 1fr; }
  .concept svg { max-width: 240px; }
  .ip__person { justify-self: stretch; }
  .ip__sites { max-height: none; }
}

/* =====================================================================
   FINANZIERUNGSRECHNER (finanzierung.html)
   ===================================================================== */
.fin-mode { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-light); margin-top: 30px; }
.fin-mode button { border: 0; background: transparent; color: rgba(255,255,255,.75); padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .3s, color .3s; }
.fin-mode button.is-active { background: var(--green); color: var(--ink); }
.fin-section { padding-top: clamp(40px, 6vw, 80px); }
.fin { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
.fin__in { display: grid; gap: 14px; }
.fin__out { position: sticky; top: 100px; display: grid; gap: 14px; }
.fin-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); }
.fin-card h2, .fin-card h3 { font-size: 21px; margin-bottom: 18px; }
.fin-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.fin-more summary::-webkit-details-marker { display: none; }
.fin-more summary h2 { margin: 0; }
.fin-more summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; font-size: 20px; transition: transform .4s var(--ease); }
.fin-more[open] summary { margin-bottom: 18px; }
.fin-more[open] summary::after { transform: rotate(45deg); }
.fin-field { display: grid; gap: 8px; margin-bottom: 18px; }
.fin-field:last-child { margin-bottom: 0; }
.fin-field__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fin-field label, .fin-l { font-weight: 700; font-size: 15px; display: block; }
.fin-field label small, .seg small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.fin-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bone); padding: 0 12px; min-width: 150px; transition: border-color .3s; }
.fin-input:focus-within { border-color: var(--ink); }
.fin-input input { border: 0; background: transparent; width: 100%; padding: 10px 6px 10px 0; font-weight: 700; font-size: 16px; text-align: right; color: var(--ink); }
.fin-input input:focus { outline: none; }
.fin-input span { color: var(--muted); font-weight: 700; }
.fin-field input[type=range] { width: 100%; accent-color: var(--green-ink); }
.fin-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.fin-select { width: 100%; padding: 12px 36px 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2120' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 700; color: var(--ink); }
.fin-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.fin-check { margin: 4px 0 14px; }
.fin-result { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 4px; position: relative; overflow: hidden; }
.fin-result::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(84,187,108,.3), transparent 65%); }
.fin-result > small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); position: relative; }
.fin-result > b { font-size: clamp(46px, 5.4vw, 72px); line-height: 1; letter-spacing: -.02em; position: relative; }
.fin-result > span { color: rgba(255,255,255,.6); font-size: 14px; position: relative; }
.fin-kpis, .fin-cash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; position: relative; }
.fin-cash { grid-template-columns: 1fr 1fr; }
.fin-kpis div, .fin-cash div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.fin-cash div { background: rgba(84,187,108,.14); border: 1px solid rgba(84,187,108,.35); }
.fin-kpis small, .fin-cash small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.3; }
.fin-kpis b { font-size: 18px; }
.fin-cash b { font-size: 24px; }
.fin-cash b.pos { color: var(--green); }
.fin-cash b.neg { color: #ff8a80; }
.fin-table dl { margin: 0; display: grid; }
.fin-table dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fin-table dt { color: var(--muted); }
.fin-table dd { margin: 0; font-weight: 700; white-space: nowrap; }
.fin-table .sum { border-bottom: 2px solid var(--ink); }
.fin-table .sum dt { color: var(--ink); font-weight: 700; }
.fin-warn p { margin: 0 0 8px; padding: 12px 16px; border-radius: 14px; background: #fff4e0; color: #7a4f0f; font-size: 14px; border-left: 4px solid var(--amber); }
.fin-chart svg { width: 100%; height: auto; display: block; }
.fin-contact__p { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.fin-contact__p img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--green); }
.fin-contact__p small { display: block; color: var(--muted); font-size: 12.5px; }
.fin-contact__p b { font-size: 20px; }
.fin-contact p { font-size: 15px; color: var(--muted); }
.fin-contact__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-legal { font-size: 12px !important; margin: 14px 0 0; }
.fin-disclaimer { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 6px 0 0; max-width: 1000px; }
.tiles .tile .icon { font-weight: 700; font-size: 20px; }
@media (max-width: 1000px) { .fin { grid-template-columns: 1fr; } .fin__out { position: static; } }
@media (max-width: 620px) { .fin-kpis { grid-template-columns: 1fr; } .fin-field__top { flex-direction: column; align-items: stretch; } .fin-input { min-width: 0; } }
[hidden] { display: none !important; }
