/* lp.css */
/* ImmoGroup · lp.css · Landingpages für Anzeigen-Traffic
   Gleiche Designsprache wie die Website (DESIGN.md: Tinte, Papier, Champagner; Plus Jakarta Sans + Red Hat Text),
   aber eigenständig und leicht: kein Menü, kein Scroll-Framework, zuerst fürs Handy gebaut (rund 90 % der Besucher).
   Reihenfolge: Tokens, Grundlagen, Bausteine (Button, Anfrage), dann die Abschnitte in Seitenreihenfolge.
   Seit 02.10.2026 folgen die Seiten dem Aufbau der bisherigen Anzeigen-Zielseiten: Bild im ersten Bildschirm,
   die Anfrage öffnet sich über die Buttons. Die erste Fassung liegt in _backup_2026-10-02_lp-v1. */

@font-face { font-family: "Plus Jakarta Sans"; src: url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/fonts/plusjakarta-latin.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/fonts/plusjakarta-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; src: url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/fonts/redhattext-latin.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; src: url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/fonts/redhattext-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0c1a2c;
  --navy-2: #13243a;
  --navy-deep: #07111d;
  --paper: #f6f2eb;
  --paper-2: #efe8dc;
  --stone: #e6dccb;
  --card: #fcfaf6;
  --champ: #c9a96e;
  --champ-hi: #e6d2a8;
  --gold-grad: linear-gradient(172deg, #f3e3bd 0%, #d8bb84 38%, #b8935a 72%, #9c7a45 100%);
  --bronze: #7a5c2c;
  --oxblood: #a3473b;
  --rose: #eab3a7;
  --ok: #2f6b4f;
  --ink-dark: #111e30;
  --ink-dark-soft: #4b5667;
  --ink-light: #f6f2eb;
  --ink-light-soft: #b3bcc9;
  --line-light: rgba(244, 239, 230, 0.14);
  --line-dark: rgba(19, 32, 51, 0.14);
  --shade: rgba(7, 17, 29, 0.6);

  --font-display: "Plus Jakarta Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-text: "Red Hat Text", system-ui, -apple-system, sans-serif;

  --t-h1: clamp(1.72rem, 1.05rem + 3vw, 3.5rem);
  --t-h2: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem);
  --t-h3: clamp(1.12rem, 1.05rem + 0.3vw, 1.3rem);
  --t-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.15rem);
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --gutter: clamp(1.125rem, 4.5vw, 2.75rem);
  --sec: clamp(3.75rem, 2.4rem + 6vw, 7.5rem);
  --radius: 3px;
  --gable: clamp(22px, 3.4vw, 56px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* je Grund umgeschaltet */
  --ink: var(--ink-light);
  --ink-soft: var(--ink-light-soft);
  --accent: var(--champ);
  --line: var(--line-light);
}

/* -------------------------------------------------------------- basics -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 1rem; }
body { margin: 0; overflow-x: clip; background: var(--navy-deep); color: var(--ink-light); font: 400 var(--t-body)/1.6 var(--font-text); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; background: var(--champ); color: var(--navy); border-radius: var(--radius); transform: translateY(-200%); text-decoration: none; font-weight: 600; }
.skip:focus-visible { transform: none; }
:focus-visible { outline: 2px solid var(--champ-hi); outline-offset: 3px; border-radius: var(--radius); }

.display { font: 600 var(--t-h2)/1.12 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
.lede { font-size: clamp(1.1rem, 1.04rem + 0.3vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); }
h3 { font: 600 var(--t-h3)/1.3 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.kicker { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }
.fn { color: var(--accent); text-decoration: none; padding: 0 0.1em; }

/* Abschnitte und Gründe: hell und dunkel wechseln hart, dunkle schieben sich mit Giebelkante über den vorigen */
.sec { position: relative; padding-block: var(--sec); color: var(--ink); }
.g-paper, .g-stone { --ink: var(--ink-dark); --ink-soft: var(--ink-dark-soft); --accent: var(--bronze); --line: var(--line-dark); }
.g-paper { background: var(--paper) url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/img/noise-paper.png); }
.g-stone { background: var(--stone) url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/img/noise-stone.png); }
.g-navy { background-color: var(--navy); background-image: radial-gradient(70% 60% at 12% 0%, rgba(201, 169, 110, 0.10), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(46, 78, 122, 0.28), transparent 70%), linear-gradient(rgba(244, 239, 230, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 239, 230, 0.026) 1px, transparent 1px); background-size: auto, auto, 96px 96px, 96px 96px; }
.g-deep { background-color: var(--navy-deep); background-image: radial-gradient(80% 50% at 50% 0%, rgba(205, 176, 122, 0.07), transparent 70%), radial-gradient(50% 40% at 0% 60%, rgba(40, 70, 110, 0.25), transparent 70%); }
.gable { z-index: 2; padding-top: calc(var(--sec) - var(--gable) * 0.4); }
.gable::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--gable); clip-path: polygon(0 100%, 50% 0, 100% 100%); pointer-events: none; }
.g-navy.gable::before { background: var(--navy); }
.g-deep.gable::before { background: var(--navy-deep); }

/* Einblenden, sobald ein Block ins Bild kommt (nur mit JS, einmalig, ohne Layoutverschiebung) */
.js [data-in] { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease), transform 620ms var(--ease); }
.js [data-in].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 54px; padding: 0.85rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--champ); color: var(--navy); font: 600 1rem/1.2 var(--font-text); text-decoration: none; text-align: center; text-wrap: balance; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px -12px rgba(0, 0, 0, 0.45); transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.btn::after { content: ""; flex: none; width: 0.9em; height: 0.9em; background: currentColor; clip-path: polygon(0 45%, 70% 45%, 45% 18%, 55% 8%, 100% 50%, 55% 92%, 45% 82%, 70% 55%, 0 55%); transition: transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--champ-hi); } .btn:hover::after { transform: translateX(3px); } }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--full { width: 100%; }
.g-paper .btn, .g-stone .btn, .quiz .btn { background: var(--navy); color: var(--paper); box-shadow: 0 10px 24px -14px rgba(13, 27, 46, 0.6); }
@media (hover: hover) and (pointer: fine) { .g-paper .btn:hover, .g-stone .btn:hover, .quiz .btn:hover { background: var(--navy-2); } }
.g-paper :focus-visible, .g-stone :focus-visible, .quiz :focus-visible { outline-color: var(--bronze); }
.textbtn { display: inline-flex; align-items: center; gap: 0.5em; min-height: 48px; padding: 0.3rem 0; background: none; border: 0; cursor: pointer; font: 600 1rem/1.2 var(--font-text); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.textbtn::after { content: ""; width: 0.8em; height: 0.8em; background: currentColor; clip-path: polygon(0 45%, 70% 45%, 45% 18%, 55% 8%, 100% 50%, 55% 92%, 45% 82%, 70% 55%, 0 55%); }
.textbtn:hover { text-decoration-color: currentColor; }
.logo { display: block; width: 150px; height: auto; }
.tp { display: block; width: 84px; height: auto; flex: none; }

/* Listen mit Haken und Kreuz */
.list { display: grid; gap: 0.85rem; }
.list li { position: relative; padding-left: 2rem; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; }
.list li::after { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; background: var(--navy); }
.list--do li::before { background: var(--champ); }
.list--do li::after { clip-path: polygon(24% 52%, 32% 44%, 44% 56%, 68% 32%, 76% 40%, 44% 72%); }
.list--not li::before { background: transparent; box-shadow: inset 0 0 0 1px var(--rose); }
.list--not li::after { background: var(--rose); clip-path: polygon(30% 36%, 36% 30%, 50% 44%, 64% 30%, 70% 36%, 56% 50%, 70% 64%, 64% 70%, 50% 56%, 36% 70%, 30% 64%, 44% 50%); }

/* ---------------------------------------------------- Anfrage (Quiz) -- */
.quiz { --ink: var(--ink-dark); --ink-soft: var(--ink-dark-soft); --accent: var(--bronze); --line: var(--line-dark); position: relative; padding: clamp(1.15rem, 4.5vw, 1.75rem); background: var(--card); color: var(--ink-dark); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.quiz::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold-grad); border-radius: var(--radius) var(--radius) 0 0; }
.quiz__title { font: 650 clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem)/1.2 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.quiz__sub { margin-top: 0.35rem; font-size: var(--t-small); line-height: 1.45; color: var(--ink-dark-soft); }
.quiz__progress { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0 0.9rem; }
.quiz__count { flex: none; font: 600 0.72rem/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
.quiz__bar { flex: 1; height: 3px; background: rgba(19, 32, 51, 0.1); border-radius: 2px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 100%; background: var(--bronze); transform: scaleX(0.25); transform-origin: left; transition: transform 420ms var(--ease); }
.quiz legend { width: 100%; font: 600 1.0625rem/1.35 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.quiz__why { margin-top: 0.3rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-dark-soft); }
.js .quiz__step:not(.is-on) { display: none; }
.js .quiz__step.is-on { animation: stepin 320ms var(--ease) both; }
@keyframes stepin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.opts { display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 52px; padding: 0.7rem 0.95rem; border: 1px solid rgba(19, 32, 51, 0.22); border-radius: var(--radius); background: #fff; font-weight: 600; line-height: 1.25; transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.opt span::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.3); transition: box-shadow 140ms var(--ease), background-color 140ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .opt:hover span { border-color: var(--bronze); background: #fffdf8; } }
.opt:active span { transform: scale(0.99); }
.opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--paper); }
.opt input:checked + span::after { background: var(--champ); box-shadow: inset 0 0 0 4px var(--navy), 0 0 0 1px var(--champ); }
.quiz__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.quiz__row--salut { display: flex; margin-top: 0.8rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-width: 4.5rem; min-height: 44px; padding: 0 1rem; border: 1px solid rgba(19, 32, 51, 0.22); border-radius: var(--radius); background: #fff; font-weight: 600; font-size: var(--t-small); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field { margin-top: 0.6rem; min-width: 0; }
.field label { display: block; margin-bottom: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-dark-soft); }
.field input { display: block; width: 100%; min-height: 50px; padding: 0.6rem 0.8rem; border: 1px solid rgba(19, 32, 51, 0.28); border-radius: var(--radius); background: #fff; color: var(--ink-dark); font: 500 1rem/1.3 var(--font-text); }
.field input:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.field__err { display: none; margin-top: 0.3rem; font-size: 0.8125rem; color: var(--oxblood); }
.field.is-warn input, .field.is-invalid input { border-color: var(--oxblood); }
.field.is-invalid .field__err { display: block; }
.field--salut.is-invalid .chip span { border-color: var(--oxblood); }
.tick { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.9rem; font-size: var(--t-small); line-height: 1.4; cursor: pointer; }
.tick input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.05rem 0 0; accent-color: var(--navy); }
.quiz__send { margin-top: 1rem; }
.quiz__quote { margin: 1rem 0 0; padding: 0.8rem 0.9rem; background: rgba(201, 169, 110, 0.10); border-left: 2px solid var(--champ); border-radius: 0 var(--radius) var(--radius) 0; }
.quiz__quote blockquote { margin: 0; font: 500 0.92rem/1.45 var(--font-display); color: var(--ink-dark); }
.quiz__quote figcaption { margin-top: 0.35rem; font-size: 0.76rem; line-height: 1.4; color: var(--ink-dark-soft); }
.quiz__stars { margin-right: 0.3rem; color: #00b67a; letter-spacing: 0.08em; }
.quiz__legal { margin-top: 0.7rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-dark-soft); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quiz__back, .quiz__next { min-height: 44px; margin-top: 0.5rem; padding: 0.4rem 0; background: none; border: 0; cursor: pointer; font: 600 0.875rem/1 var(--font-text); color: var(--ink-dark-soft); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(19, 32, 51, 0.3); }
.quiz__next { margin-left: auto; color: var(--ink-dark); }
.quiz.is-done .quiz__head, .quiz.is-done .quiz__progress, .quiz.is-done .quiz__nav { display: none; }
.quiz__ok { outline: none; }
.quiz__ok-title { font: 650 1.3rem/1.25 var(--font-display); letter-spacing: -0.015em; }

/* --------------------------------------------------------------- hero -- */
/* Bild füllt den ersten Bildschirm, der Text liegt darauf. Am Handy sitzt das Bild oben und läuft nach unten in Tinte aus. */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; background: var(--navy-deep); overflow: clip; }
.hero__bg { position: absolute; z-index: -1; inset: 0 0 auto 0; height: min(64svh, 30rem); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 17, 29, 0.66) 0%, rgba(7, 17, 29, 0.14) 20%, rgba(7, 17, 29, 0.1) 34%, rgba(7, 17, 29, 0.72) 62%, rgba(7, 17, 29, 0.95) 84%, var(--navy-deep) 100%); }
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(0.8rem + env(safe-area-inset-top)) var(--gutter) 0.8rem; }
.top__logo { display: block; padding: 4px 0; }
.top__tel { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.2rem; font-weight: 600; font-size: var(--t-small); text-decoration: none; text-shadow: 0 1px 12px rgba(7, 17, 29, 0.8); }
.top__tel svg { flex: none; width: 20px; height: 20px; color: var(--champ-hi); }
.top__tel span { white-space: nowrap; }
@media (max-width: 359px) { .logo { width: 126px; } .top__tel { font-size: 0.875rem; gap: 0.35rem; } }
.hero__in { margin-top: auto; padding: clamp(5.5rem, 17svh, 11rem) var(--gutter) clamp(1.5rem, 5vw, 2.75rem); }
.hero__copy { max-width: 40rem; }
.hero__place { display: flex; align-items: center; gap: 0.7rem; font: 600 0.75rem/1.3 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champ-hi); }
.hero__place::before { content: ""; flex: none; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }
.hero__h { margin-top: 0.7rem; font: 650 var(--t-h1)/1.1 var(--font-display); letter-spacing: -0.022em; text-wrap: balance; overflow-wrap: anywhere; text-shadow: 0 2px 28px rgba(7, 17, 29, 0.55); }
.hero__lede { margin-top: 0.8rem; max-width: 36rem; font-size: 1rem; line-height: 1.5; color: rgba(246, 242, 235, 0.88); }
.hero__checks { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light); font-weight: 600; line-height: 1.35; }
.hero__checks li { position: relative; padding-left: 1.9rem; }
.hero__checks li::before { content: ""; position: absolute; left: 0; top: 0.08em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--champ); }
.hero__checks li::after { content: ""; position: absolute; left: 0; top: 0.08em; width: 1.25rem; height: 1.25rem; background: var(--navy); clip-path: polygon(24% 52%, 32% 44%, 44% 56%, 68% 32%, 76% 40%, 44% 72%); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.3rem; }
.hero__cta .btn { flex: 1 1 100%; min-height: 58px; font-size: 1.0625rem; }
.hero__cta .tp { width: 104px; }
.hero__cap { position: absolute; z-index: 2; right: var(--gutter); top: calc(4.4rem + env(safe-area-inset-top)); padding: 0.3rem 0.55rem; background: rgba(7, 17, 29, 0.6); border-radius: var(--radius); font: 600 0.625rem/1 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 242, 235, 0.85); }

@media (min-width: 700px) {
  .hero { min-height: min(100svh, 58rem); }
  .hero__bg { inset: 0; height: 100%; }
  .hero__bg img { object-position: 60% 50%; }
  .hero__bg::after { background: linear-gradient(90deg, rgba(7, 17, 29, 0.94) 0%, rgba(7, 17, 29, 0.84) 34%, rgba(7, 17, 29, 0.36) 62%, rgba(7, 17, 29, 0.08) 100%), linear-gradient(180deg, rgba(7, 17, 29, 0.6) 0%, transparent 22%, transparent 70%, rgba(7, 17, 29, 0.55) 100%); }
  .top { width: 100%; max-width: 78rem; margin-inline: auto; padding-top: 1.4rem; }
  .logo { width: 172px; }
  .top__tel { font-size: 1rem; }
  .hero__in { width: 100%; max-width: 78rem; margin-block: auto; margin-inline: auto; padding-block: clamp(2rem, 6svh, 4rem) clamp(3.5rem, 10svh, 6.5rem); }
  .hero__lede { margin-top: 1.3rem; font-size: 1.2rem; }
  .hero__place { font-size: 0.8125rem; }
  .hero__h { margin-top: 1rem; }
  .hero__lede { margin-top: 1.3rem; font-size: 1.2rem; }
  .hero__checks { margin-top: 1.75rem; padding-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; gap: 0.7rem; }
  .hero__cta { margin-top: 2.25rem; }
  .hero__cta .btn { flex: none; padding-inline: 2rem; }
  .hero__cta .tp { width: 118px; }
  .hero__cap { top: auto; bottom: 1.25rem; }
}

/* ---------------------------------------------------------------- film -- */
/* Objektfilm direkt unter dem ersten Bildschirm: Standbild mit Startknopf, der Film läuft an Ort und Stelle */
.film { position: relative; background: var(--navy-deep); padding-block: clamp(1.75rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); color: var(--ink-light); border-top: 1px solid var(--line-light); }
.film__in { max-width: 70rem; }
.film__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1rem; }
.film__head .kicker { margin-bottom: 0; }
.film__len { font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--ink-light-soft); }
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #050a13; box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.45), 0 40px 90px -40px #000; }
.film__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050a13; }
.film__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: linear-gradient(0deg, rgba(7, 17, 29, 0.5), rgba(7, 17, 29, 0.08) 55%); cursor: pointer; color: var(--ink-light); }
.film__play span { display: grid; place-items: center; width: clamp(64px, 12vw, 96px); height: clamp(64px, 12vw, 96px); border-radius: 50%; background: var(--champ); box-shadow: 0 0 0 10px rgba(201, 169, 110, 0.22), 0 18px 40px -12px rgba(0, 0, 0, 0.7); transition: transform 200ms var(--ease), background-color 160ms var(--ease); }
.film__play span::before { content: ""; width: 26%; height: 30%; margin-left: 6%; background: var(--navy); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (hover: hover) and (pointer: fine) { .film__play:hover span { transform: scale(1.06); background: var(--champ-hi); } }
.film__frame.is-playing .film__play { display: none; }
.film__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-top: 1.25rem; }
.film__cta .btn { flex: 1 1 100%; }
.film__cta p { font-size: var(--t-small); color: var(--ink-light-soft); }
@media (min-width: 700px) { .film__cta .btn { flex: none; padding-inline: 2rem; } }

/* --------------------------------------------------------------- suits -- */
.suits__grid { display: grid; gap: 1.75rem; }
.suits__list { display: grid; border-top: 1px solid var(--ink-dark); }
.suits__list li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); font: 600 clamp(1.0625rem, 1rem + 0.35vw, 1.25rem)/1.35 var(--font-display); letter-spacing: -0.01em; }
.suits__list svg { width: 2.75rem; height: 2.75rem; padding: 0.6rem; border-radius: 50%; background: var(--navy); fill: none; stroke: var(--champ-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 980px) {
  .suits__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .suits__grid > h2 { position: sticky; top: 5.5rem; }
  .suits__list li { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.4rem; padding: 1.5rem 0; }
  .suits__list svg { width: 3.25rem; height: 3.25rem; padding: 0.75rem; }
}

/* -------------------------------------------------------------- visit -- */
.visit__grid { display: grid; gap: 1.75rem; }
.visit__photo { position: relative; max-width: 26rem; overflow: hidden; border-radius: 2px; }
.visit__photo img { width: 100%; aspect-ratio: 9 / 8; object-fit: cover; object-position: 50% 12%; }
.visit__photo figcaption { position: absolute; left: 0; bottom: 0; padding: 0.4rem 0.7rem; background: rgba(7, 17, 29, 0.78); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-light); }
.visit__quote { display: grid; gap: 1rem; }
.visit__quote p { color: rgba(246, 242, 235, 0.82); }
.visit__quote .visit__lead { margin-bottom: 0.3rem; font: 600 clamp(1.45rem, 1.15rem + 1.5vw, 2.3rem)/1.18 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; color: var(--ink-light); }
.visit__by { margin-top: 1.5rem; padding-left: 1.1rem; border-left: 2px solid var(--champ); max-width: 30rem; font-size: var(--t-small); line-height: 1.45; color: var(--ink-light-soft); }
.visit__by strong { display: block; margin-bottom: 0.15rem; font: 600 1.125rem/1.3 var(--font-display); color: var(--ink-light); }
.visit__text .btn { width: 100%; margin-top: 1.75rem; }
@media (min-width: 980px) {
  .visit__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .visit__photo { max-width: none; }
  .visit__photo img { aspect-ratio: 4 / 4.4; }
  .visit__photo { position: sticky; top: 5.5rem; align-self: start; }
  .visit__grid { align-items: start; }
  .visit__text .btn { width: auto; }
}

/* -------------------------------------------------------------- house -- */
.house__grid { display: grid; gap: 2.25rem; }
.house__text p { margin-top: 1.1rem; color: var(--ink-soft); }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; }
.mosaic figure { overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-column: 1 / -1; aspect-ratio: 36 / 24; }
.mosaic__b, .mosaic__c { grid-column: span 3; aspect-ratio: 3 / 2; }
.mosaic__d, .mosaic__e { grid-column: span 3; aspect-ratio: 5 / 4; }
.mosaic__cap { grid-column: 1 / -1; margin-top: 0.25rem; font-size: var(--t-micro); line-height: 1.45; color: var(--ink-soft); }
@media (min-width: 980px) {
  .house__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .house__text { position: sticky; top: 5.5rem; }
  .mosaic { gap: 0.75rem; }
  .mosaic__a { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: auto; }
  .mosaic__b { grid-column: 5 / 7; grid-row: 1; aspect-ratio: 1; }
  .mosaic__c { grid-column: 5 / 7; grid-row: 2; aspect-ratio: 1; }
  .mosaic__d { grid-column: 1 / 4; }
  .mosaic__e { grid-column: 4 / 7; }
}

/* ---------------------------------------------------------------- data -- */
.data__grid { display: grid; gap: 1.75rem; }
.data__note { margin-top: 1rem; font-size: var(--t-micro); line-height: 1.5; color: var(--ink-soft); }
.data__btn { width: 100%; margin-top: 1.5rem; }
.dossier { border-top: 1px solid rgba(201, 169, 110, 0.6); }
.dossier div { display: grid; gap: 0.2rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.dossier dt { font: 600 0.72rem/1.4 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.dossier dd { font: 600 1.0625rem/1.35 var(--font-display); letter-spacing: -0.005em; }
@media (max-width: 979px) { .data__head { display: contents; } .data__head > h2 { order: -1; } .data__btn { margin-top: 0.25rem; } .data__note { margin-top: 0; } .dossier { order: -1; } }
@media (min-width: 980px) {
  .data__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .data__head { position: sticky; top: 5.5rem; }
  .data__btn { width: auto; }
  .dossier div { grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; align-items: baseline; }
  .dossier dd { font-size: 1.125rem; }
}

/* --------------------------------------------------------------- place -- */
.place__grid { display: grid; gap: 2rem; }
.place__photo { position: relative; overflow: hidden; border-radius: 2px; }
.place__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.place__photo figcaption { position: absolute; left: 0; bottom: 0; padding: 0.4rem 0.7rem; background: rgba(7, 17, 29, 0.78); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-light); }
.place__text article { padding-top: 1.25rem; border-top: 1px solid var(--ink-dark); }
.place__text article + article { margin-top: 2rem; }
.place__h { font: 600 clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -0.018em; }
.place__text p { margin-top: 0.75rem; color: var(--ink-soft); }
.place__text .btn { width: 100%; margin-top: 2rem; }
@media (min-width: 980px) {
  .place__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .place__photo { position: sticky; top: 5.5rem; }
  .place__photo img { aspect-ratio: 4 / 3.6; }
  .place__text .btn { width: auto; }
}

/* --------------------------------------------------------------- path -- */
.path__steps { display: grid; gap: 0; margin-top: 2rem; }
.path__steps li { position: relative; padding: 0 0 1.75rem 3.25rem; }
.path__steps li::before { content: ""; position: absolute; left: 1.05rem; top: 2.3rem; bottom: 0.2rem; width: 1px; background: rgba(201, 169, 110, 0.4); }
.path__steps li:last-child { padding-bottom: 0; }
.path__steps li:last-child::before { display: none; }
.path__n { position: absolute; left: 0; top: -0.55rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--champ); font: 700 0.95rem/1 var(--font-display); color: var(--champ-hi); }
.path__head { max-width: 50rem; }
.path__steps h3 { margin-bottom: 0.4rem; font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--champ); }
.path__steps p { color: rgba(246, 242, 235, 0.86); font-size: 1.0625rem; line-height: 1.55; }
.path__cta { margin-top: 2.25rem; }
.path__cta .btn { width: 100%; }
@media (min-width: 980px) {
  .path__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 3.25rem; }
  .path__steps li { padding: 3.4rem 0 0; }
  .path__steps li::before { left: 3rem; right: -1.6rem; top: 1.1rem; bottom: auto; width: auto; height: 1px; }
  .path__n { top: 0; }
  .path__cta { margin-top: 3.25rem; }
  .path__cta .btn { width: auto; }
}

/* ------------------------------------------------------------- voices -- */
.voices__grid { display: grid; gap: 1.75rem; margin-top: 1.75rem; }
.voice__media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: var(--navy); cursor: pointer; }
.voice__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 500ms var(--ease); }
.voice__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 29, 0.5), transparent 55%); }
.voice__play { position: absolute; z-index: 2; left: 0.9rem; bottom: 0.9rem; width: 46px; height: 46px; border-radius: 50%; background: var(--champ); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6); display: grid; place-items: center; }
.voice__play::before { content: ""; width: 12px; height: 14px; margin-left: 3px; background: var(--navy); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (hover: hover) and (pointer: fine) { .voice__media:hover img { transform: scale(1.03); } }
.voices__head { max-width: 46rem; }
.voice__by { margin-top: 0.85rem; padding-left: 0.9rem; border-left: 2px solid var(--bronze); font-size: var(--t-small); color: var(--ink-dark-soft); }
.voice__by strong { display: block; font: 600 1.125rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--ink-dark); }
.voices__note { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); font-size: var(--t-micro); color: var(--ink-dark-soft); }
@media (min-width: 760px) { .voices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin-top: 2.75rem; } }

/* ---------------------------------------------------------------- faq -- */
/* Fragen und Anfrage teilen sich das letzte Kapitel: am Desktop nebeneinander, die Anfrage bleibt beim Lesen stehen */
.faq { overflow: clip; padding-bottom: calc(var(--sec) + 1rem); }
.close__mark { position: absolute; right: -6%; bottom: -12%; width: min(60vw, 520px); opacity: 0.05; color: var(--ink-light); pointer-events: none; }
.close__mark .mark { width: 100%; height: auto; display: block; }
.faq__grid { position: relative; display: grid; gap: 2.5rem; }
.faq__list { margin-top: 1.75rem; border-top: 1px solid rgba(201, 169, 110, 0.6); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 1.05rem 2.5rem 1.05rem 0; cursor: pointer; list-style: none; font: 600 var(--t-h3)/1.35 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.35rem; top: 50%; width: 14px; height: 1.5px; background: var(--accent); transition: transform 220ms var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 2rem 1.3rem 0; color: var(--ink-soft); max-width: 44rem; }
.faq__card { scroll-margin-top: 1rem; }
.faq__tel { margin-top: 1rem; font-size: var(--t-small); color: var(--ink-light-soft); text-align: center; }
.faq__tel a { color: var(--champ-hi); font-weight: 600; white-space: nowrap; text-underline-offset: 0.25em; }
@media (min-width: 980px) {
  .faq__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .faq__list { margin-top: 2.5rem; }
  .faq__card { position: sticky; top: 5.5rem; }
}

/* --------------------------------------------------------------- foot -- */
.foot { background: var(--navy-deep); color: var(--ink-light-soft); padding: 2.5rem 0 calc(6.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; color: var(--ink-light); }
.foot__contact { font-size: var(--t-small); }
.foot__tel { display: block; font: 600 1.2rem/1.3 var(--font-display); text-decoration: none; color: var(--ink-light); }
.foot address { font-style: normal; color: var(--ink-light-soft); }
.foot__legal { display: grid; gap: 0.8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: var(--t-micro); line-height: 1.55; max-width: 64rem; }
.foot__legal strong { color: var(--ink-light); font-weight: 600; }
.foot__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.foot__copy a { text-underline-offset: 0.25em; padding: 0.6rem 0; white-space: nowrap; }
@media (min-width: 980px) { .foot { padding-bottom: 3rem; } }

/* --------------------------------------------------------------- dock -- */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(7, 17, 29, 0.96); border-top: 1px solid rgba(201, 169, 110, 0.35); transform: translateY(110%); transition: transform 360ms var(--ease); }
.dock.is-on { transform: none; }
.dock__in { display: flex; align-items: stretch; gap: 0.5rem; max-width: 78rem; margin-inline: auto; }
.dock__what { display: none; }
.dock__btn { flex: 1; min-width: 0; min-height: 52px; padding-inline: 0.75rem; font-size: clamp(0.875rem, 4vw, 1rem); white-space: nowrap; background: var(--champ); color: var(--navy); }
.dock__long { display: none; }
@media (max-width: 349px) { .dock__btn::after { display: none; } }
.dock__tel { flex: none; display: grid; place-items: center; width: 52px; border: 1px solid rgba(244, 239, 230, 0.3); border-radius: var(--radius); color: var(--ink-light); text-decoration: none; }
.dock__tel svg { width: 22px; height: 22px; }
.dock__tel span { display: none; }
@media (min-width: 980px) {
  .dock { top: 0; bottom: auto; padding: 0.55rem var(--gutter); border-top: 0; border-bottom: 1px solid rgba(201, 169, 110, 0.3); transform: translateY(-110%); }
  .dock__in { align-items: center; gap: 1.5rem; }
  .dock__what { display: flex; align-items: baseline; gap: 0.9rem; margin-right: auto; font-size: var(--t-small); color: var(--ink-light-soft); }
  .dock__what strong { font: 600 1rem/1.2 var(--font-display); color: var(--ink-light); }
  .dock__tel { width: auto; display: inline-flex; gap: 0.5rem; padding: 0 0.3rem; border: 0; font-weight: 600; font-size: var(--t-small); }
  .dock__tel svg { width: 18px; height: 18px; color: var(--champ-hi); }
  .dock__tel span { display: inline; }
  .dock__btn { flex: none; min-height: 44px; font-size: 0.9375rem; padding-inline: 1.1rem; }
  .dock__long { display: inline; }
  .dock__short { display: none; }
}

/* ------------------------------------------------------------- dialog -- */
dialog { border: 0; padding: 0; color: inherit; background: none; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(4, 10, 18, 0.78); }
.js dialog[open] { animation: sheetin 300ms var(--ease) both; }
@keyframes sheetin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- vmodal -- */
.vmodal { width: min(100% - 1.5rem, 60rem); margin: auto; overflow: visible; }
.vmodal__frame { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -30px #000; }
.vmodal__video { width: 100%; max-height: 78vh; background: #000; }
.vmodal__cap { padding: 0.7rem 1rem; background: var(--navy-deep); font-size: var(--t-small); color: var(--ink-light-soft); }
.vmodal__close { display: block; min-height: 48px; margin: 0.6rem auto 0; padding: 0.5rem 1.2rem; background: none; border: 1px solid rgba(244, 239, 230, 0.35); border-radius: var(--radius); color: var(--ink-light); font-weight: 600; cursor: pointer; }

/* ------------------------------------------------------ weniger Bewegung -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-in] { opacity: 1; transform: none; }
}

/* Link „Cookie-Einstellungen“ im Fuß: öffnet den HubSpot-Cookie-Banner erneut */
.cookie-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* web.css */
/* ImmoGroup · web.css · Website-Seiten mit Menü (Nachbau der Onepage-Seiten für HubSpot, seit 27.10.2026).
   Baut auf lp.css auf (Tokens, Schriften, .wrap, .btn, Gründe). Eigene Klassen beginnen mit w-, damit nichts mit den
   Landingpages kollidiert. Inhalt kommt 1:1 aus Onepage (_research/onepage/pages/*.json), gebaut von _src/site/build_site.py.
   Reihenfolge: Kopf und Menü, erster Bildschirm, Fließtext (Artikel), Bausteine, Abschluss, Fuß. */

body.w { background: var(--paper) url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/img/noise-paper.png); color: var(--ink-dark); }
.w a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------ Kopf -- */
.w-top { position: absolute; z-index: 30; inset: 0 0 auto 0; color: var(--ink-light); }
.w-top__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; border-bottom: 1px solid var(--line-light); }
.w-top__logo { display: block; width: 148px; color: inherit; }
.w-top__logo svg { display: block; width: 100%; height: auto; }
.w-nav { display: flex; align-items: center; gap: 0.25rem; }
.w-nav a, .w-nav summary { display: flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.85rem; border-radius: var(--radius); font: 500 0.98rem/1 var(--font-text); text-decoration: none; color: inherit; cursor: pointer; list-style: none; opacity: 0.86; transition: opacity 160ms var(--ease); }
.w-nav summary::-webkit-details-marker { display: none; }
.w-nav a:hover, .w-nav summary:hover, .w-nav [open] > summary { opacity: 1; }
.w-nav summary::after { content: ""; width: 0.42rem; height: 0.42rem; margin-top: -0.2rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform 200ms var(--ease); }
.w-nav [open] > summary::after { transform: translateY(0.2rem) rotate(-135deg); }
.w-nav details { position: relative; }
.w-nav__sub { position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 17rem; padding: 0.5rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark), 0 24px 48px -24px rgba(7, 17, 29, 0.45); color: var(--ink-dark); }
.w-nav__sub a { display: block; min-height: 0; padding: 0.75rem 0.85rem; line-height: 1.3; opacity: 1; }
.w-nav__sub a:hover { background: var(--paper); }
.w-nav__sub small { display: block; margin-top: 0.15rem; font-size: var(--t-micro); color: var(--ink-dark-soft); }
.w-burger { display: none; }

@media (max-width: 1400px) {
  .w-burger { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -0.6rem; border: 0; background: none; cursor: pointer; }
  .w-burger span, .w-burger span::before, .w-burger span::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease), opacity 160ms; }
  .w-burger span { position: relative; }
  .w-burger span::before, .w-burger span::after { content: ""; position: absolute; left: 0; }
  .w-burger span::before { top: -7px; }
  .w-burger span::after { top: 7px; }
  .w-menu-open .w-burger span { background: transparent; }
  .w-menu-open .w-burger span::before { transform: translateY(7px) rotate(45deg); }
  .w-menu-open .w-burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .w-nav { position: fixed; z-index: -1; inset: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 92px var(--gutter) 2rem; overflow-y: auto; background: var(--navy-deep); }
  .w-menu-open .w-nav { display: flex; }
  .w-menu-open .w-top { position: fixed; }
  .w-nav > a, .w-nav summary { min-height: 56px; padding: 0; border-bottom: 1px solid var(--line-light); font-size: 1.15rem; opacity: 1; }
  .w-nav summary { justify-content: space-between; }
  .w-nav__sub { position: static; min-width: 0; padding: 0.25rem 0 0.75rem 0.75rem; background: none; box-shadow: none; color: var(--ink-light); }
  .w-nav__sub a { padding: 0.65rem 0; }
  .w-nav__sub a:hover { background: none; }
  .w-nav__sub small { color: var(--ink-light-soft); }
}

/* ------------------------------------------------------ Erster Bildschirm -- */
.w-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(76px + clamp(3.5rem, 2rem + 6vw, 7rem)) 0 clamp(3.5rem, 2.5rem + 5vw, 6.5rem); background: var(--navy); color: var(--ink-light); }
.w-hero__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.w-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(7, 17, 29, 0.94) 0%, rgba(12, 26, 44, 0.78) 55%, rgba(12, 26, 44, 0.45) 100%); }
.w-hero__in { max-width: 52rem; }
.w-crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; font-size: var(--t-micro); letter-spacing: 0.02em; color: var(--ink-light-soft); }
.w-crumbs a { color: inherit; text-decoration: none; }
.w-crumbs a:hover { color: var(--ink-light); text-decoration: underline; }
.w-crumbs span[aria-hidden] { opacity: 0.6; }
.w-hero h1 { font: 650 var(--t-h1)/1.1 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: anywhere; }
.w-hero__lede { margin-top: 1.1rem; max-width: 40rem; font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--ink-light-soft); }
.w-hero__lede + .w-hero__lede { margin-top: 0.6rem; }
.w-hero .w-btns { margin-top: 1.75rem; }

/* ------------------------------------------------------ Fließtext -- */
.w-main { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.w-cols { display: grid; gap: 3rem; }
@media (min-width: 1100px) { .w-cols--toc { grid-template-columns: minmax(0, 46rem) minmax(15rem, 19rem); justify-content: space-between; align-items: start; } }
.w-prose { max-width: 46rem; font-size: var(--t-body); line-height: 1.7; color: var(--ink-dark); }
.w-prose > * + * { margin-top: 1.1rem; }
.w-prose h2 { margin-top: clamp(2.75rem, 2rem + 2vw, 3.75rem); font: 650 clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem)/1.2 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; color: var(--navy); scroll-margin-top: 1.5rem; }
.w-prose h3 { margin-top: 2rem; font: 650 clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem)/1.3 var(--font-display); color: var(--navy); }
.w-prose h2 + *, .w-prose h3 + * { margin-top: 0.85rem; }
.w-prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--champ); }
.w-prose a:hover { text-decoration-thickness: 2px; }
.w-prose strong { font-weight: 650; color: var(--ink-dark); }
.w-prose ul:not([class]), .w-prose ol:not([class]) { display: grid; gap: 0.55rem; padding-left: 1.35rem; }
.w-prose ul:not([class]) { list-style: none; padding-left: 0; }
.w-prose ul:not([class]) > li { position: relative; padding-left: 1.5rem; }
.w-prose ul:not([class]) > li::before { content: ""; position: absolute; left: 0.2rem; top: 0.72em; width: 0.45rem; height: 0.45rem; background: var(--champ); transform: rotate(45deg); }
.w-prose ol:not([class]) { list-style: decimal; }
.w-prose ol:not([class]) > li::marker { color: var(--bronze); font-weight: 650; }
.w-figure { margin-block: 2rem; }
.w-figure img { width: 100%; max-height: 32rem; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 50px -36px rgba(12, 26, 44, 0.55); }
.w-figure img[src$=".svg"] { max-height: 5rem; width: auto; object-fit: contain; box-shadow: none; }

/* Punkte mit Titel (Onepage-Liste) */
.w-points { display: grid; gap: 0.75rem; }
.w-points li { position: relative; padding: 1rem 1.15rem 1rem 3.1rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); line-height: 1.6; }
.w-points li::before { content: ""; position: absolute; left: 1.1rem; top: 1.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d2a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.72rem no-repeat; }
.w-points li > strong:first-child { display: block; margin-bottom: 0.15rem; font-family: var(--font-display); }
.w-points li p + p { margin-top: 0.5rem; }
.w-points a { text-decoration: none; }
.w-points img { width: 3rem; height: 3rem; object-fit: contain; float: right; margin-left: 0.75rem; }

/* Inhaltsverzeichnis: am Desktop rechts mitlaufend */
.w-toc { padding: 1.4rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); }
.w-toc__t { font: 650 1rem/1.3 var(--font-display); color: var(--navy); }
.w-toc ol { display: grid; gap: 0.15rem; margin-top: 0.85rem; counter-reset: toc; }
.w-toc li { counter-increment: toc; }
.w-toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: 0.4rem 0; font-size: var(--t-small); line-height: 1.4; color: var(--ink-dark-soft); text-decoration: none; }
.w-toc a::before { content: counter(toc) "."; color: var(--bronze); font-weight: 650; }
.w-toc a:hover { color: var(--navy); }
/* Desktop: rechts mitlaufend. Handy/Tablet: aufklappbar nach der Einleitung (wie bei Onepage) */
.w-toc--inline summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.w-toc--inline summary::-webkit-details-marker { display: none; }
.w-toc--inline summary::after { content: "+"; font: 400 1.4rem/1 var(--font-text); color: var(--bronze); transition: transform 200ms var(--ease); }
.w-toc--inline[open] summary::after { transform: rotate(45deg); }
@media (min-width: 1100px) { .w-toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; } .w-toc--inline { display: none; } }
@media (max-width: 1099px) { .w-cols--toc > .w-toc { display: none; } }

/* Dunkle Kästen (Onepage: „Das Wichtigste in Kürze“, Zwischenrufe) */
.w-box { position: relative; isolation: isolate; overflow: hidden; margin-block: 2.5rem; padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem); border-radius: var(--radius); background: var(--navy); color: var(--ink-light); box-shadow: 0 34px 60px -40px rgba(12, 26, 44, 0.7); }
.w-box::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 80% at 0% 0%, rgba(201, 169, 110, 0.16), transparent 70%); }
.w-box > * + * { margin-top: 0.9rem; }
.w-box h2, .w-box h3 { margin-top: 0; color: var(--ink-light); }
.w-prose .w-box h2 + *, .w-prose .w-box h3 + * { margin-top: 0.9rem; }
.w-box strong, .w-box a { color: var(--champ-hi); }
.w-box .w-points li { background: rgba(244, 239, 230, 0.06); box-shadow: 0 0 0 1px var(--line-light); }
.w-box .w-points li > strong:first-child { color: var(--ink-light); }
.w-box ul:not([class]) > li::before { background: var(--champ-hi); }
.w-box .w-figure { display: none; }

/* Tabellen */
.w-table { margin-block: 1.75rem; overflow-x: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); background: #fff; }
.w-table table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.5; }
.w-table th, .w-table td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.w-table tr:first-child > * { background: var(--navy); color: var(--ink-light); font: 600 0.92rem/1.35 var(--font-display); border-bottom: 0; }
.w-table tr:last-child > * { border-bottom: 0; }
.w-table td:first-child { font-weight: 600; }
.w-table ul { padding: 0; }
@media (max-width: 699px) { .w-table table { min-width: 34rem; } }

/* Fragen */
.w-faq { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.w-faq details { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); }
.w-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 1.2rem; font: 600 1.02rem/1.4 var(--font-display); color: var(--navy); cursor: pointer; list-style: none; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--paper); font: 400 1.35rem/1 var(--font-text); color: var(--bronze); transition: transform 220ms var(--ease); }
.w-faq [open] summary::after { transform: rotate(45deg); }
.w-faq__a { padding: 0 1.2rem 1.25rem; color: var(--ink-dark-soft); }
.w-faq__a > * + * { margin-top: 0.75rem; }
.w-prose .w-faq__a a { color: var(--navy); }

/* Zitat, Kennzahlen, Buttons */
.w-quote { padding: 0.25rem 0 0.25rem 1.4rem; border-left: 3px solid var(--champ); font: 600 clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem)/1.45 var(--font-display); color: var(--navy); }
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; }
.w-stats li { padding: 1rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); font: 650 1.05rem/1.35 var(--font-display); color: var(--navy); }
.w-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.w .btn { text-decoration: none; }

/* Karten (Ratgeber-Übersicht) */
.w-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.w-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark), 0 24px 40px -34px rgba(12, 26, 44, 0.5); color: inherit; text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.w-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--champ), 0 30px 50px -34px rgba(12, 26, 44, 0.6); }
.w-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.w-card__b { display: flex; flex: 1; flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.3rem 1.4rem; }
.w-card h2, .w-card h3 { font: 650 1.12rem/1.35 var(--font-display); color: var(--navy); text-wrap: balance; }
.w-card p { font-size: var(--t-small); line-height: 1.55; color: var(--ink-dark-soft); }
.w-card__more { margin-top: auto; padding-top: 0.4rem; font: 600 var(--t-small)/1 var(--font-text); color: var(--bronze); }
.w-card__more::after { content: " →"; }

/* Kundenstimmen */
.w-voices { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); margin-top: 1.5rem; }
.w-voice { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark), 0 24px 40px -34px rgba(12, 26, 44, 0.5); }
.w-voice__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy); cursor: pointer; }
.w-voice__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.w-voice__media span { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem 0.55rem 0.7rem; border-radius: 999px; background: rgba(7, 17, 29, 0.78); color: var(--ink-light); font: 600 var(--t-small)/1 var(--font-text); }
.w-voice__media span::before { content: ""; border-left: 0.6rem solid var(--champ-hi); border-block: 0.38rem solid transparent; }
.w-voice blockquote { padding: 1.2rem 1.25rem 0.5rem; font: 600 1.05rem/1.45 var(--font-display); color: var(--navy); }
.w-voice figcaption { margin-top: auto; padding: 0.5rem 1.25rem 1.25rem; font-size: var(--t-small); color: var(--ink-dark-soft); }
.w-voice figcaption strong { display: block; color: var(--ink-dark); }

/* Personen (Team) */
.w-people { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.w-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.w-person p { margin-top: 0.75rem; }

/* Abschnitte außerhalb des Fließtexts (Seiten ohne Artikelaufbau) */
.w-sec { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.w-sec + .w-sec:not(.g-navy) { padding-top: 0; }
.w-sec.g-navy { color: var(--ink-light); }
.w-sec.g-navy + .w-sec { padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.w-sec.g-navy .w-prose { color: var(--ink-light); }
.w-sec.g-navy .w-prose h2, .w-sec.g-navy .w-prose h3, .w-sec.g-navy .w-prose strong { color: var(--ink-light); }
.w-sec.g-navy .w-prose a { color: var(--champ-hi); }
.w-sec .w-prose { max-width: 52rem; }
.w-sec--wide .w-prose { max-width: none; }

/* ------------------------------------------------------ Abschluss -- */
.w-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); background: var(--navy); color: var(--ink-light); text-align: center; }
.w-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(201, 169, 110, 0.18), transparent 70%); }
.w-cta h2 { max-width: 40rem; margin-inline: auto; font: 650 var(--t-h2)/1.12 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.w-cta p { max-width: 38rem; margin: 1rem auto 0; color: var(--ink-light-soft); }
.w-cta .w-btns { justify-content: center; margin-top: 1.75rem; }
.w-cta__tp { display: flex; justify-content: center; align-items: center; gap: 0.6rem; margin-top: 1.5rem; font-size: var(--t-small); color: var(--ink-light-soft); }
.w-cta__tp img { width: 100px; height: auto; }

/* ------------------------------------------------------------ Fuß -- */
.w-foot { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; background: var(--navy-deep); color: var(--ink-light-soft); font-size: var(--t-small); }
.w-foot__grid { display: grid; gap: 2.25rem; }
@media (min-width: 800px) { .w-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.w-foot .logo { width: 150px; height: auto; color: var(--ink-light); }
.w-foot h2 { margin-bottom: 0.85rem; font: 600 0.78rem/1.2 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champ); }
.w-foot ul { display: grid; gap: 0.5rem; }
.w-foot a { color: var(--ink-light-soft); text-decoration: none; }
.w-foot a:hover { color: var(--ink-light); text-decoration: underline; }
.w-foot address { font-style: normal; }
.w-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.w-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-light); }
.w-social svg { width: 18px; height: 18px; fill: currentColor; }
.w-foot__copy { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); font-size: var(--t-micro); }

/* Video-Fenster für Kundenstimmen */
.w-vmodal { width: min(100vw - 2rem, 960px); padding: 0; border: 0; background: #000; }
.w-vmodal::backdrop { background: rgba(7, 17, 29, 0.85); }
.w-vmodal video { display: block; width: 100%; max-height: 80vh; }
.w-vmodal button { position: absolute; top: 0.5rem; right: 0.5rem; min-height: 40px; padding: 0 0.9rem; border: 0; border-radius: var(--radius); background: rgba(7, 17, 29, 0.8); color: #fff; cursor: pointer; }

/* ------------------------------------------------- Sonderseiten -- */
/* Punkte im dunklen ersten Bildschirm (Über uns) */
.w-hero .w-points { margin-top: 1.5rem; max-width: 34rem; }
.w-hero .w-points li { padding-block: 0.8rem; background: rgba(244, 239, 230, 0.06); box-shadow: 0 0 0 1px var(--line-light); color: var(--ink-light); }
.w-hero .w-points li::before { top: 1.05rem; background-color: var(--champ); }
.w-hero .w-points li > strong:first-child { margin: 0; font-weight: 600; }

/* Kennzahlen (Über uns) */
.w-kpis { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: var(--radius); background: var(--line-dark); box-shadow: 0 0 0 1px var(--line-dark); }
.w-kpis li { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem 1.4rem; background: #fff; }
.w-kpis strong { font: 650 clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem)/1 var(--font-display); letter-spacing: -0.02em; color: var(--navy); }
.w-kpis span { font-size: var(--t-small); color: var(--ink-dark-soft); }
@media (min-width: 800px) { .w-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Team (Über uns) */
.w-team { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.w-member { display: grid; gap: 1.5rem; align-items: start; }
.w-member img { width: 100%; max-width: 22rem; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 50px -36px rgba(12, 26, 44, 0.55); }
.w-member .kicker { margin-bottom: 0.5rem; }
.w-member h2 { margin: 0 0 1rem; font: 650 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.15 var(--font-display); color: var(--navy); }
.w-member p + p { margin-top: 0.9rem; }
@media (min-width: 800px) { .w-member { grid-template-columns: minmax(14rem, 20rem) 1fr; gap: 2.5rem; } .w-member:nth-child(even) { grid-template-columns: 1fr minmax(14rem, 20rem); } .w-member:nth-child(even) img { order: 2; } }

/* Schritte (Ablauf) */
.w-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: step; }
.w-steps li { position: relative; padding: 1.5rem 1.4rem 1.6rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-dark); counter-increment: step; }
.w-steps li::after { content: counter(step); position: absolute; top: 1.2rem; right: 1.3rem; font: 650 2rem/1 var(--font-display); color: var(--stone); }
.w-steps__ico { width: 3.25rem; height: 3.25rem; object-fit: contain; margin-bottom: 1rem; }
.w-prose .w-steps h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.w-steps p { font-size: var(--t-small); color: var(--ink-dark-soft); }

/* Potenzialrechner */
.w-calcwrap > * + * { margin-top: 1.25rem; }
.w-calc { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.4), 0 34px 60px -40px rgba(12, 26, 44, 0.5); }
.w-calc__in { display: grid; gap: 1rem; }
.w-calc label { display: grid; gap: 0.4rem; font: 600 1rem/1.3 var(--font-display); color: var(--navy); }
.w-calc input { min-height: 56px; padding: 0 1rem; border: 1px solid rgba(19, 32, 51, 0.2); border-radius: var(--radius); background: var(--card); font: 600 1.25rem/1 var(--font-text); color: var(--ink-dark); font-variant-numeric: tabular-nums; }
.w-calc input:focus { outline: 2px solid var(--champ); outline-offset: 1px; }
.w-calc__out { display: grid; gap: 0.75rem; }
.w-calc__out div { display: grid; gap: 0.35rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--navy); color: var(--ink-light-soft); font-size: var(--t-small); }
.w-calc__out strong { font: 700 clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--font-display); color: var(--champ-hi); letter-spacing: -0.01em; }
.w-calc__note { font-size: var(--t-micro); color: var(--ink-dark-soft); }
@media (min-width: 760px) { .w-calc__in { grid-template-columns: 1fr 1fr; } .w-calc__out { grid-template-columns: repeat(3, 1fr); } }

/* Startseite (allgemeine LP mit Menü): Platz für den Kopf statt der LP-Kopfzeile */
.w-top-space { height: 76px; }
.w-home .w-foot { border-top: 1px solid var(--line-light); }

/* =====================================================================
   1:1-Nachbau der Onepage-Gliederung (seit 28.10.2026, build_web.py)
   Abschnitt .o-s > Container .o-cont > Zeile .o-row > Raster .o-grid (24 Spalten) > Spalte .o-col > Baustein .o-mol > Element .o-a
   Flächen: .o-on-light (Papier), .o-on-soft (Stein), .o-on-dark (Navy); Kästen .o-box
   ===================================================================== */
.o { background: var(--paper); }
.o-on-light, .o-on-soft { --ink: var(--ink-dark); --ink-soft: var(--ink-dark-soft); --head: var(--navy); --accent: var(--bronze); --line: var(--line-dark); --hl: var(--oxblood); color: var(--ink-dark); }
.o-on-dark { --ink: var(--ink-light); --ink-soft: var(--ink-light-soft); --head: var(--ink-light); --accent: var(--champ); --line: var(--line-light); --hl: var(--rose); color: var(--ink-light); }
.o-s { position: relative; isolation: isolate; padding: clamp(28px, calc(var(--pt) * 0.75), var(--pt)) var(--gutter) clamp(28px, calc(var(--pb) * 0.75), var(--pb)); }
.o-s.o-on-light { background: var(--paper) url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/img/noise-paper.png); }
.o-s.o-on-soft { background: var(--paper-2) url(https://26761261.fs1.hubspotusercontent-eu1.net/hubfs/26761261/immogroup-lp/img/noise-paper.png); }
.o-s.o-on-dark { background-color: var(--navy); background-image: radial-gradient(70% 60% at 12% 0%, rgba(201, 169, 110, 0.10), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(46, 78, 122, 0.28), transparent 70%); }
.o-s--first { padding-top: calc(76px + clamp(28px, calc(var(--pt) * 0.75), var(--pt))); }
.o-in { width: 100%; max-width: 86rem; margin-inline: auto; }
.o-has-bg { position: relative; isolation: isolate; overflow: hidden; }
.o-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-bg__veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 29, 0.78) 0%, rgba(7, 17, 29, 0.5) 45%, rgba(7, 17, 29, 0.12) 100%), linear-gradient(0deg, rgba(7, 17, 29, 0.35), transparent 40%); }
.o-bg__veil--light { background: linear-gradient(90deg, rgba(246, 242, 235, 0.92) 0%, rgba(246, 242, 235, 0.6) 50%, rgba(246, 242, 235, 0.1) 100%); }
.o-s.o-has-bg.o-on-dark { background: var(--navy); }

/* Container, Zeilen, Raster */
.o-cont { width: 100%; max-width: var(--w, 100%); margin-inline: auto; }
.o-cont + .o-cont, .o-row + .o-row { margin-top: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem); }
.o-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: clamp(1rem, 0.5rem + 1.6vw, 2.25rem); row-gap: 1.5rem; }
.o-col { grid-column: span 24; min-width: 0; display: flex; flex-direction: column; }
.o-va-c > .o-col { justify-content: center; }
.o-va-e > .o-col { justify-content: flex-end; }
@media (min-width: 800px) {
  .o-col { grid-column: span var(--m); }
  .o-grid { width: calc(100% * var(--lg) / 24); }
  .o-grid.o-al-c { margin-inline: auto; }
  .o-grid.o-al-e { margin-left: auto; }
  .o-grid > .o-col:only-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) { .o-col { grid-column: span var(--c); } }
.o-grid--list { width: auto !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); }
@media (min-width: 1100px) { .o-grid--list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
.o-grid--list > .o-mol { min-width: 0; }
.o-grid--timeline { display: grid; gap: 1rem; width: auto !important; grid-template-columns: 1fr; }
.o-grid--bento { width: auto !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.o-glist { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
@media (min-width: 1100px) { .o-glist { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
.o-gi { min-width: 0; display: flex; }
.o-gi > * { flex: 1; }
.o-tl { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.o-tl__n { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: var(--champ-hi); font: 700 1rem/1 var(--font-display); }
.o-on-dark .o-tl__n { background: var(--champ); color: var(--navy); }

/* Bausteine und Kästen */
.o-mol { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.o-mol > .o-a + .o-a { margin-top: 1rem; }
.o-mol > .o-a--header + .o-a--text, .o-mol > .o-a--header + .o-a--header { margin-top: 0.75rem; }
.o-mol > .o-a--buttons { margin-top: 1.5rem; }
.o-mol > .o-a--icon + .o-a, .o-mol > .o-a--image + .o-a--header { margin-top: 1rem; }
.o-c { text-align: center; }
.o-r { text-align: right; }
.o-box { border-radius: 6px; padding: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem); }
.o-box.o-on-light { background: var(--card); box-shadow: 0 0 0 1px var(--line-dark), 0 24px 48px -36px rgba(12, 26, 44, 0.45); }
.o-box.o-on-soft { background: var(--stone); }
.o-box.o-on-dark { background-color: var(--navy); background-image: radial-gradient(80% 90% at 0% 0%, rgba(201, 169, 110, 0.16), transparent 70%); box-shadow: 0 34px 60px -40px rgba(12, 26, 44, 0.7); }
.o-on-dark > .o-in .o-box.o-on-dark, .o-box.o-on-dark .o-box.o-on-dark { background-color: var(--navy-2); }
.o-box--line { background: var(--card); box-shadow: 0 0 0 1px var(--line-dark), 0 24px 48px -38px rgba(12, 26, 44, 0.4); }
.o-on-dark .o-box--line { background: rgba(244, 239, 230, 0.05); box-shadow: 0 0 0 1px var(--line-light); }
.o-row.o-box > .o-grid, .o-row.o-box > .o-grid--list { width: 100%; }
.o-row.o-has-bg { min-height: 18rem; display: flex; flex-direction: column; justify-content: center; }
.o-mol.o-has-bg { min-height: 16rem; }

/* Text */
.o-h { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; color: inherit; scroll-margin-top: 96px; }
.o-h { color: var(--head); }
.o mark { background: none; color: var(--hl); }
.o-t-xl.o-h { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.025em; }
.o-t-l.o-h { font-size: var(--t-h2); }
.o-t-m.o-h { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.22; }
.o-t-s.o-h { font-size: clamp(1.1rem, 1.04rem + 0.35vw, 1.3rem); line-height: 1.3; letter-spacing: -0.01em; }
.o-t-xs.o-h { font-size: 1rem; line-height: 1.35; letter-spacing: 0; }
.o-sub { font-family: var(--font-text); font-weight: 600; }
.o-h strong { font-weight: inherit; }
.o-a--text { color: var(--ink-soft); line-height: 1.7; }
.o-a--text p + p, .o-a--text p + .o-list, .o-a--text .o-list + p { margin-top: 0.9rem; }
.o-p.o-t-m { font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem); }
.o-p.o-t-l, .o-p.o-t-xl { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); color: var(--ink); }
.o-a--text strong, .o-a--header strong { color: var(--ink); font-weight: 650; }
.o-a a:not(.btn):not(.o-mi):not(.o-li):not(.o-tp) { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 0.18em; }
.o-on-dark .o-a a:not(.btn):not(.o-mi):not(.o-li):not(.o-tp) { color: var(--champ-hi); }
.o-list { display: grid; gap: 0.55rem; }
.o-a--text .o-list, .o-code ul { margin-top: 0.4rem; }
ul.o-list > li { position: relative; padding-left: 1.5rem; }
ul.o-list > li::before { content: ""; position: absolute; left: 0.2rem; top: 0.68em; width: 0.42rem; height: 0.42rem; background: var(--accent); transform: rotate(45deg); }
ol.o-list { padding-left: 1.4rem; list-style: decimal; }
ol.o-list > li::marker { color: var(--accent); font-weight: 650; }
.o-c ul.o-list, .o-c .o-btns { justify-content: center; }
.o-c .o-btns { justify-content: center; }
.o-r .o-btns { justify-content: flex-end; }

/* Inhaltsverzeichnis (Onepage: Kasten mit Links) */
.o-toc { display: inline-block; padding: 0.18rem 0; color: var(--ink-dark) !important; font-weight: 500 !important; text-decoration: underline; text-decoration-color: rgba(122, 92, 44, 0.45) !important; }
.o-toc--3 { margin-left: 1.25rem; }
.o-toc--4 { margin-left: 2.5rem; }
.o-a--text p:has(.o-toc) { display: flex; flex-direction: column; align-items: flex-start; }

/* Bilder, Symbole, Linien */
.o-img { width: 100%; height: auto; object-fit: cover; border-radius: 6px; }
.o-a--image { display: flex; flex-direction: column; }
.o-a--image.o-c { align-items: center; }
.o-a--image.o-r { align-items: flex-end; }
.o-img-sm .o-img { width: auto; max-width: 100%; border-radius: 0; object-fit: contain; }
.o-img[src$=".svg"] { object-fit: contain; border-radius: 0; }
.o-mol.o-box > .o-a--image:first-child .o-img { border-radius: 4px; }
.o-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 6px; background: var(--navy); color: var(--champ-hi); }
.o-on-dark .o-icon { background: rgba(201, 169, 110, 0.14); color: var(--champ-hi); box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.35); }
.o-icon svg { width: 1.35rem; height: 1.35rem; }
.o-a--icon.o-c { display: flex; justify-content: center; }
.o-line { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0.5rem 0; }
.o-spacer { height: 0.25rem; }
.o-logo { max-width: 180px; height: auto; }
.o-tp { display: inline-flex; padding: 0.35rem 0; }
.o-tp img { width: 120px; height: auto; }
.o-on-light .o-tp img, .o-on-soft .o-tp img { filter: brightness(0.15); }

/* Buttons */
.o-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.o-on-light .btn, .o-on-soft .btn, .o-box.o-on-light .btn { background: var(--navy); color: var(--paper); box-shadow: 0 10px 24px -14px rgba(13, 27, 46, 0.6); }
.o-on-dark .btn { background: var(--champ); color: var(--navy); }
.btn--ghost { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 1px currentColor !important; }

/* Listen (Onepage-Liste mit Symbol/Bild, Titel, Text) */
.o-lis { display: grid; gap: 1rem 1.5rem; }
@media (min-width: 800px) { .o-lis { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
.o-li { display: flex; gap: 1rem; align-items: flex-start; color: inherit; text-decoration: none; }
a.o-li:hover .o-li__t { text-decoration: underline; }
.o-li__ic { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--champ-hi); }
.o-on-dark .o-li__ic { background: rgba(201, 169, 110, 0.16); }
.o-li__ic svg { width: 1.1rem; height: 1.1rem; }
.o-li__img { flex: none; width: 3.25rem; height: 3.25rem; object-fit: contain; }
.o-li__num { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--champ-hi); font: 700 0.95rem/1 var(--font-display); }
.o-li__b { min-width: 0; }
.o-li__t { font: 650 1.05rem/1.4 var(--font-display); color: var(--ink); }
.o-li__b .o-a--text, .o-li__b p { color: var(--ink-soft); }
.o-li__t + p, .o-li__t + .o-list { margin-top: 0.3rem; }

/* Aufklappbare Punkte (Onepage-Akkordeon) */
.o-accs { display: grid; gap: 0.6rem; }
.o-acc { background: var(--card); border-radius: 6px; box-shadow: 0 0 0 1px var(--line-dark); color: var(--ink-dark); }
.o-on-dark .o-acc { background: rgba(244, 239, 230, 0.05); box-shadow: 0 0 0 1px var(--line-light); color: var(--ink-light); }
.o-acc summary { display: flex; align-items: center; gap: 0.85rem; min-height: 58px; padding: 0.9rem 1.15rem; font: 600 1.02rem/1.4 var(--font-display); cursor: pointer; list-style: none; }
.o-acc summary::-webkit-details-marker { display: none; }
.o-acc summary > span:last-child { flex: 1; }
.o-acc summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--paper-2); font: 400 1.35rem/1 var(--font-text); color: var(--bronze); transition: transform 220ms var(--ease); }
.o-on-dark .o-acc summary::after { background: rgba(244, 239, 230, 0.08); color: var(--champ-hi); }
.o-acc[open] summary::after { transform: rotate(45deg); }
.o-acc__ic { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; color: var(--bronze); }
.o-acc__ic svg { width: 1.1rem; height: 1.1rem; }
.o-acc__a { padding: 0 1.15rem 1.2rem; color: var(--ink-soft); line-height: 1.65; }
.o-acc__a > * + * { margin-top: 0.7rem; }

/* Menü als Inhalt (Onepage menu-v2) */
.o-menu { display: grid; gap: 0.5rem; }
.o-mi { display: flex; align-items: center; gap: 0.85rem; color: inherit; text-decoration: none; }
.o-mi__img { width: 2.75rem; height: 2.75rem; object-fit: contain; border-radius: 4px; }
.o-mi__t { display: block; font: 600 1rem/1.35 var(--font-display); }
.o-mi__s { display: block; font-size: var(--t-small); color: var(--ink-soft); }

/* Eigene HTML-Bausteine: Tabellen, Checklisten, Karten */
.o-code { color: var(--ink-soft); line-height: 1.65; }
.o-code > * + *, .o-code div + div { margin-top: 0.75rem; }
.o-code h3, .o-code h4, .o-code h5, .o-code h6 { font: 650 1.05rem/1.35 var(--font-display); color: var(--ink); }
.o-code strong, .o-code b { color: var(--ink); font-weight: 650; }
.o-code ul { display: grid; gap: 0.7rem; }
.o-code li { position: relative; }
.o-code li.o-chk { padding-left: 2.1rem; }
.o-code li.o-chk > .o-ic { position: absolute; left: 0; top: 0.1rem; margin: 0; }
.o-code li.o-chk b:first-child, .o-code li.o-chk strong:first-child { color: var(--ink); }
.o-code ul:not(:has(.o-ic)) > li { padding-left: 1.5rem; }
.o-code ul:not(:has(.o-ic)) > li::before { content: ""; position: absolute; left: 0.2rem; top: 0.68em; width: 0.42rem; height: 0.42rem; background: var(--accent); transform: rotate(45deg); }
.o-ic { flex: none; display: inline-block; width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; border-radius: 50%; background: var(--navy) center / 0.8rem no-repeat; }
.o-ic--check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d2a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.o-ic--x { background-color: var(--oxblood); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.o-ic--arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d2a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.o-on-dark .o-ic { background-color: var(--champ); }
.o-on-dark .o-ic--check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1a2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.o-tablewrap { overflow-x: auto; margin-block: 0.5rem; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-dark); }
.o-code--wide .o-tablewrap { width: min(100vw - 2 * var(--gutter), 76rem); position: relative; left: 50%; transform: translateX(-50%); }
.o-tablewrap table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.5; color: var(--ink-dark); }
.o-tablewrap th, .o-tablewrap td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.o-tablewrap thead th, .o-tablewrap tr:first-child > th { background: var(--navy); color: var(--ink-light); font: 600 0.92rem/1.35 var(--font-display); border-bottom: 0; }
.o-tablewrap thead th *, .o-tablewrap tr:first-child > th * { color: inherit; font: inherit; }
.o-tablewrap tr:last-child > * { border-bottom: 0; }
.o-tablewrap table:not(.o-tcards) td:first-child, .o-tlab td:first-child { font-weight: 600; color: var(--navy); }
.o-tablewrap td ul { gap: 0.35rem; margin: 0; }
.o-tablewrap td li { display: block; padding-left: 1rem; }
.o-tablewrap td li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.32rem; height: 0.32rem; background: var(--bronze); transform: rotate(45deg); }
.o-kv th { width: 45%; font: 500 var(--t-small)/1.5 var(--font-text) !important; background: none !important; color: var(--ink-dark-soft) !important; border-bottom: 1px solid var(--line-dark) !important; }
.o-kv td { font-weight: 600; color: var(--navy); }

/* Personen, Kennzahlen, Galerie */
.o-person { display: flex; align-items: center; gap: 0.75rem; line-height: 1.35; font-size: var(--t-small); color: var(--ink-soft); }
.o-person strong { color: var(--ink); font: 650 1rem/1.3 var(--font-display); }
.o-person__img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.o-num .o-h { color: var(--ink); }
.o-on-dark .o-num .o-h:first-child { color: var(--champ-hi); }
.o-gal { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }

/* Videos: Vorschaubild mit Abspielknopf, öffnet ein Fenster */
.o-video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--navy); cursor: pointer; }
.o-video__img { width: 100%; height: auto; transition: transform 400ms var(--ease); }
.o-video:hover .o-video__img { transform: scale(1.02); }
.o-video__ph { display: block; aspect-ratio: 16 / 9; }
.o-video__play { position: absolute; right: 1rem; bottom: 1rem; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--champ); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.o-video__play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.5rem 0 0.5rem 0.8rem; border-color: transparent transparent transparent var(--navy); }
.w-vmodal__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* Kopf: über dunklem ersten Bildschirm durchsichtig, sonst hell */
.w-top--solid { position: absolute; color: var(--ink-dark); }
.w-top--solid .w-top__in { border-bottom-color: var(--line-dark); }
.w-nav__sub--obj { min-width: 21rem; }
.w-nav__sub--obj a { display: flex; align-items: center; gap: 0.8rem; }
.w-nav__thumb { flex: none; width: 3.5rem; height: 2.6rem; object-fit: cover; border-radius: 3px; }
@media (max-width: 1400px) { .w-top--solid.w-top .w-nav { color: var(--ink-light); } .w-menu-open .w-top--solid { color: var(--ink-light); } }

/* Handy */
@media (max-width: 799px) {
  .o-s { padding-inline: var(--gutter); }
  .o-r, .o-r .o-btns { text-align: left; justify-content: flex-start; }
  .o-a--image.o-r { align-items: flex-start; }
  .o-row.o-box { padding: 1.25rem; }
}
.o-icon svg [fill="none"], .o-li__ic svg [fill="none"], .o-acc__ic svg [fill="none"] { stroke: currentColor; }
.o-icon svg :not([fill]), .o-li__ic svg :not([fill]), .o-acc__ic svg :not([fill]) { fill: currentColor; }
.o-count { font: 700 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1.05 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.o-on-dark .o-count { color: var(--champ-hi); }
.o-flow { display: flex; align-items: flex-start; gap: 1rem; }
.o-flow > .o-a { margin: 0 !important; }
.o-flow > .o-a:last-child { flex: 1; min-width: 0; }
.o-mol > .o-flow + .o-a, .o-mol > .o-a + .o-flow { margin-top: 1rem; }
.o-code .o-a--text p, .o-a--text.o-c p:has(.o-toc) { text-align: inherit; }
.o-avatars { width: auto; max-height: 3rem; }
.o-a--avatars.o-c { display: flex; justify-content: center; }
.o-mi__ic { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; color: var(--accent); }
.o-mi__ic svg { width: 1.1rem; height: 1.1rem; }
.o-mi__ic svg [fill="none"] { stroke: currentColor; }
.o-mi__ic svg :not([fill]) { fill: currentColor; }
.o-menu:has(.o-mi__ic) .o-mi__t { font-family: var(--font-text); font-weight: 500; }
.o-c .o-menu { justify-content: center; }
/* Potenzialrechner in einer Spalte: Ergebnisse untereinander wie bei Onepage */
.o-col .w-calc__in, .o-col .w-calc__out { grid-template-columns: 1fr; }
.o-col .w-calc__out strong { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
/* Beispielrechnung (Steuern sparen) */
.o-steps { display: grid; gap: 0.35rem; }
.o-step { display: grid; gap: 0.15rem; padding: 0.9rem 1.1rem; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-dark); text-align: left; }
.o-step__l { font: 600 0.78rem/1.3 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dark-soft); }
.o-step__v { font: 700 1.6rem/1.15 var(--font-display); color: var(--navy); }
.o-step__s { font-size: var(--t-small); color: var(--ink-dark-soft); }
.o-step--end { background: var(--navy); box-shadow: none; }
.o-step--end .o-step__l, .o-step--end .o-step__s { color: var(--ink-light-soft); }
.o-step--end .o-step__v { color: var(--champ-hi); }
.o-step__op { justify-self: center; font: 600 1.1rem/1 var(--font-display); color: var(--bronze); }
.o-step__note { margin-top: 0.75rem; font-size: var(--t-micro); color: var(--ink-dark-soft); }
/* Handy: Spalten untereinander (24 Spaltenabstände passen nicht in schmale Kästen) */
@media (max-width: 799px) {
  .o-grid:not(.o-grid--list):not(.o-grid--bento):not(.o-grid--timeline) { display: flex; flex-direction: column; gap: 1.25rem; }
}
.o-tp .o-tp--dark { display: none; }
.o-on-light .o-tp .o-tp--light, .o-on-soft .o-tp .o-tp--light { display: none; }
.o-on-light .o-tp .o-tp--dark, .o-on-soft .o-tp .o-tp--dark { display: block; }
.o-on-dark .o-tp .o-tp--light { display: block; }
.o-on-dark .o-tp .o-tp--dark { display: none; }
.o-on-light .o-tp img, .o-on-soft .o-tp img { filter: none; }
@media (min-width: 800px) { .o-mob { display: none !important; } }
.o-avatars { max-height: 3.25rem; width: auto; height: auto; object-fit: contain; border-radius: 0; }

/* ---- Runde 2 (Prüfung alt/neu, 28.10.) ---- */
/* Fließtext etwas kräftiger, Text auf Fotos hell */
.o-on-light, .o-on-soft { --ink-soft: #3f4a5b; }
.o-has-bg.o-on-dark, .o-has-bg .o-on-dark, .o-s.o-has-bg { --ink-soft: rgba(246, 242, 235, 0.92); }
.o-has-bg .o-a--text, .o-has-bg .o-p { text-shadow: 0 1px 12px rgba(7, 17, 29, 0.35); }
/* Zwischenzeile (Onepage „lead“) */
.o-lead { font: 650 clamp(1.08rem, 1.02rem + 0.3vw, 1.22rem)/1.4 var(--font-display); color: var(--head); }
.o-a--text .o-lead + p, .o-a--text p + .o-lead { margin-top: 0.75rem; }
.o-a--text .o-lead:not(:first-child) { margin-top: 1.4rem; }
/* Inhaltsverzeichnis */
.o-tocl { display: grid; gap: 0.15rem; margin-top: 0.6rem; }
.o-tocl li { line-height: 1.45; color: var(--ink-dark); }
.o-tocl--3 { padding-left: 1.25rem; }
.o-tocl--4 { padding-left: 2.5rem; }
.o-tocl .o-toc { display: inline; padding: 0; margin: 0; font-weight: 500 !important; color: var(--ink-dark) !important; text-decoration: underline; text-decoration-color: rgba(122, 92, 44, 0.45) !important; text-underline-offset: 0.18em; }
.o-tocl .o-toc--x { text-decoration: none; }
/* Pfeil-Hinweiszeile */
.o-arrowline { display: flex !important; align-items: flex-start; gap: 0.6rem; }
.o-ic--arrow { background-color: transparent !important; border-radius: 0; background-size: 1.1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c2c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") !important; }
.o-on-dark .o-ic--arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d2a8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") !important; }
/* Kartenraster aus eigenen Bausteinen */
.o-kgrid { display: grid !important; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin: 0.5rem 0 1.25rem; }
.o-kcard { display: grid; gap: 0.25rem; align-content: start; margin: 0 !important; padding: 1rem 1.1rem; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-dark); }
.o-k1 { font: 650 1rem/1.35 var(--font-display); color: var(--navy); }
.o-k2 { font-size: var(--t-small); color: var(--ink-dark-soft); }
.o-kh { margin-top: 1.25rem !important; font: 650 1.1rem/1.3 var(--font-display); color: var(--head); }
.o-kdark { padding: 1.25rem; border-radius: 6px; background: var(--navy); color: var(--ink-light); }
.o-kdark .o-kcard { background: rgba(244, 239, 230, 0.06); box-shadow: 0 0 0 1px var(--line-light); }
.o-kdark .o-k1 { color: var(--champ-hi); }
.o-kdark .o-k2, .o-kdark .o-kh, .o-kdark > div > div:first-child { color: var(--ink-light); }
.o-hgrid { display: grid !important; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.o-hcard { margin: 0 !important; padding: 1.1rem 1.2rem; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-dark); }
.o-hcard > * + * { margin-top: 0.6rem; }
.o-hcard h4 { font-size: 0.82rem !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze) !important; }
/* Vergleichstabelle mit ImmoGroup-Spalte */
.o-code .tb-compare th:last-child, .o-code .tb-compare td:last-child { background: var(--navy); color: var(--ink-light); }
.o-code .tb-compare td:last-child * { color: inherit; }
.o-code .tb-compare thead th:first-child { background: var(--paper-2); color: var(--navy); }
.o-tlogo { display: inline-block; width: 150px; color: var(--ink-light); }
.o-tlogo svg { display: block; width: 100%; height: auto; }
.o-code .tb-compare td:last-child .o-ic--check { background-color: var(--champ); }
/* Bilder und Symbole in Tabellen klein halten */
.o-tablewrap img { width: 1.25rem; height: auto; display: inline-block; vertical-align: -0.2em; border-radius: 0; }
.o-tablewrap li:has(.o-ic, img) { display: flex; gap: 0.5rem; align-items: flex-start; padding-left: 0 !important; }
.o-tablewrap li:has(.o-ic, img)::before { display: none; }
.o-tablewrap li > div:has(.o-ic) { flex: none; }
/* Fuß: Symbole */
.w-foot__ic { display: inline-flex !important; align-items: flex-start; gap: 0.5rem; }
.w-foot__ic svg { flex: none; width: 15px; height: 15px; margin-top: 0.2em; fill: currentColor; }
/* erster Bildschirm: Höhe wie Onepage */
.o-s--first { min-height: min(var(--mh, 0px), 92vh); display: flex; flex-direction: column; justify-content: flex-end; }
.o-s--first > .o-in { width: 100%; }
@media (max-width: 799px) { .o-s--first { min-height: 0; } }
/* Spalten mit gerahmten Bausteinen nebeneinander = Tabelle (Onepage baut Vergleiche so) */
@media (min-width: 800px) {
  .o-grid--joined { column-gap: 0; }
  .o-grid--joined > .o-col > .o-mol.o-box { border-radius: 0; box-shadow: 0 0 0 1px var(--line-dark); padding: 1rem 1.1rem; }
  .o-grid--joined > .o-col:first-child > .o-mol { border-radius: 6px 0 0 6px; }
  .o-grid--joined > .o-col:last-child > .o-mol { border-radius: 0 6px 6px 0; }
}
.o-h { overflow-wrap: break-word; hyphens: auto; }
.o-avatars { display: inline-flex; max-height: none; }
.o-avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--navy); }
.o-avatar + .o-avatar { margin-left: -0.55rem; }

/* Runde 3 (27.10.): Trustpilot-TrustBox wie Onepage, Kopfbereich mittig */
.o-tpw { width: 100%; }
.o-tpw iframe { display: block; }
.o-r .o-tpw:not(.o-tpw--big) { width: 300px; max-width: 100%; margin-left: auto; }
.o-tpw--big { min-height: 240px; margin-top: 1rem; }
.o-tpw--big > .o-tp { display: flex; justify-content: center; }
.o-s--mid { justify-content: center; }
.o-s--mid .o-h.o-c { max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.o-s--mid p.o-c:not(.o-h) { max-width: 46rem; margin-inline: auto; }

/* Runde 4 (27.10.2026 abends) */
.o-a--logo.o-r { align-items: flex-end; }
.o-a--logo.o-c { align-items: center; text-align: center; }
@media (max-width: 799px) { .o-a--logo.o-r { align-items: flex-start; } }
/* Symbol in Tabellenzellen vor dem Text */
.o-tablewrap td > .o-ic:first-child { width: 1.15rem; height: 1.15rem; margin: 0 0.45rem 0 0; vertical-align: -0.28em; background-size: 0.7rem; }
/* lange Wörter und Adressen (z. B. Datenschutz) brechen auf dem Handy um statt über den Rand zu laufen */
.o-s p, .o-s li, .o-s td { overflow-wrap: break-word; }
/* Tabellen auf dem Handy: je Zeile eine Karte, die Spaltenüberschrift steht über jedem Wert */
@media (max-width: 640px) {
  .o-tablewrap:has(> .o-tcards) { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .o-code--wide .o-tablewrap:has(> .o-tcards) { width: auto; left: auto; transform: none; }
  .o-tcards, .o-tcards tbody, .o-tcards tr, .o-tcards td, .o-tcards th { display: block; width: 100%; }
  .o-tcards thead, .o-tcards tr:first-child:has(> th) { display: none; }
  .o-tcards tr { margin-bottom: 0.75rem; background: var(--card); border-radius: 6px; box-shadow: 0 0 0 1px var(--line-dark); overflow: hidden; }
  .o-tlab tr > *:first-child { background: var(--navy); color: var(--ink-light); font: 600 0.98rem/1.35 var(--font-display); }
  .o-tlab tr > *:first-child * { color: inherit; }
  .o-tcards td, .o-tcards th { padding: 0.65rem 0.95rem; border-bottom: 1px solid var(--line-dark); }
  .o-tcards tr > *:last-child { border-bottom: 0; }
  .o-tcards td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font: 600 0.72rem/1.3 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze); }
}
.o-tablewrap th > :is(h1, h2, h3, h4, h5, h6, p) { margin: 0; }
/* Handy: Schrift nimmt die ganze Breite ein -> gleichmäßiger Schleier statt Verlauf von links, damit Text auf Fotos lesbar bleibt */
@media (max-width: 799px) {
  .o-bg__veil { background: linear-gradient(180deg, rgba(7, 17, 29, 0.6) 0%, rgba(7, 17, 29, 0.72) 100%); }
  .o-bg__veil--light { background: rgba(246, 242, 235, 0.86); }
}
@media (max-width: 420px) {
  .o-btns .btn { padding-inline: 1.1rem; font-size: 0.95rem; }
}
/* Titelbild mit Foto: dunkler Verlauf oben, damit das Menü auch über hellen Bildern (Bäume, Himmel, Fenster) lesbar bleibt */
.o-s--first.o-has-bg.o-on-dark::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 190px; background: linear-gradient(180deg, rgba(7, 17, 29, 0.6) 0%, rgba(7, 17, 29, 0) 100%); pointer-events: none; }
/* Silbentrennung in Überschriften nur bei langen Wörtern und mit längeren Teilstücken (statt „Pfle-geimmobilien“, „Immo-bilien“) */
.o-h { hyphenate-limit-chars: 14 7 6; -webkit-hyphenate-limit-before: 7; -webkit-hyphenate-limit-after: 6; }
/* Aufzählungen in Tabellenzellen mit Raute wie im Fließtext */
.o-tablewrap td li { position: relative; padding-left: 1.1rem; }
.o-tablewrap td ul:not(:has(.o-ic)) > li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.38rem; height: 0.38rem; background: var(--accent); transform: rotate(45deg); }
.o-tablewrap td li + li { margin-top: 0.5rem; }
/* Titel über Foto: schmaler wie bei Onepage, damit er links neben der Person bleibt (z. B. Jonas rechts im Bild) */
@media (min-width: 800px) { .o-s--first.o-has-bg .o-h:not(.o-c) { max-width: 14em; } }
/* vier Karten wie bei Onepage als 2 × 2 statt 3 + 1 */
@media (min-width: 640px) { .o-hgrid:has(> .o-hcard:nth-child(4):last-child), .o-kgrid:has(> .o-kcard:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
/* Symbol als Bild (Onepage-Eigenbau, Navy-Fläche im Bild enthalten) */
.o-icon--img { overflow: hidden; padding: 0 !important; background: var(--navy); }
.o-icon--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Potenzialrechner: Logo-Bild auf dem Handy flacher (sonst ~330 px fast leere Fläche über dem Rechner) */
@media (max-width: 799px) { img[src*="potenzialrechner-logo-2026"] { aspect-ratio: 5 / 4 !important; } }
/* Ratgeber-Artikel auf dem Handy wie bei Onepage: Navy-Kopf mit Überschrift, darunter das Titelfoto als ganzes Bild (keine angeschnittenen Personen) */
@media (max-width: 799px) {
  .o-s--art { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); }
  .o-s--art { padding-top: calc(76px + 2.5rem); padding-bottom: 2.5rem; }
  .o-s--art > .o-bg { position: relative; z-index: auto; inset: auto; order: 2; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; margin-top: 1.5rem; border-radius: 6px; }
  .o-s--art > .o-bg__veil, .o-s--art::before { display: none; }
}

/* ---- 28.10.2026: Menü und Fuß der Image-Website (Startseite www.immogroup.de) auf allen nachgebauten Seiten ---- */
/* Sieben Punkte plus Button: Burger schon unter 1400 px (der Kopf ist hier schmaler als auf der Image-Website) */
.w-top__logo { flex: none; }
.w-nav { gap: 0; }
.w-nav a { padding: 0 0.6rem; white-space: nowrap; }
.w-nav .w-nav__cta { margin-left: 0.75rem; padding: 0 1.15rem; background: var(--champ); color: var(--navy); font-weight: 600; opacity: 1; }
.w-nav .w-nav__cta:hover { background: var(--champ-hi); }
@media (max-width: 1400px) { .w-nav .w-nav__cta { justify-content: center; margin: 1.5rem 0 0; border-bottom: 0; color: var(--navy); } }
.w-foot__claim { max-width: 22rem; margin-top: 1rem; line-height: 1.5; }

/* Datenschutzerklärung (_src/site/datenschutz_neu.html): Lesetext statt Onepage-Raster */
.legal { padding: clamp(7rem, 5rem + 6vw, 10rem) 1.25rem clamp(3rem, 2rem + 4vw, 6rem); }
.legal h1 { margin-bottom: 1rem; }
.legal h2 { margin-top: 2.75rem; scroll-margin-top: 6rem; }
.legal h3 { margin-top: 1.75rem; }
.legal h2 + p, .legal h3 + p, .legal p + p, .legal p + ul, .legal ul + p { margin-top: 0.8rem; }
.legal p, .legal li { line-height: 1.6; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal li + li { margin-top: 0.35rem; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.legal__lead { font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem); }
.legal__toc { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(19, 32, 51, 0.12); border-radius: 4px; }
.legal__toc ol { columns: 2 16rem; column-gap: 2rem; }
.legal__toc a { text-decoration: none; }

/* Link „Cookie-Einstellungen“ im Fuß: öffnet den HubSpot-Cookie-Banner erneut */
.cookie-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ------------------------------------------------ Inhaltsverzeichnis zum Aufklappen (05.11.2026) -- */
.o-box:has(> .o-row .o-tocd) { padding: 0; overflow: hidden; }
.o-box:has(> .o-row .o-tocd)::before { content: ""; display: block; height: 3px; background: var(--gold-grad); }
.o-tocd { color: var(--ink-dark); }
.o-tocd > summary { display: flex; align-items: center; gap: 1rem; min-height: 76px; padding: 1rem clamp(1.15rem, 0.8rem + 1.4vw, 2rem); list-style: none; cursor: pointer; transition: background-color 160ms var(--ease); }
.o-tocd > summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .o-tocd > summary:hover { background: rgba(201, 169, 110, 0.08); } }
.o-tocd > summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: -4px; }
.o-tocd__ic { display: grid; align-content: center; gap: 4px; flex: none; width: 44px; height: 44px; padding: 0 12px; border-radius: 50%; background: var(--navy); }
.o-tocd__ic i { display: block; height: 1.5px; background: var(--champ); border-radius: 1px; }
.o-tocd__ic i:nth-child(2) { width: 70%; }
.o-tocd__ic i:nth-child(3) { width: 85%; }
.o-tocd__txt { display: grid; gap: 0.15rem; flex: 1; min-width: 0; }
.o-tocd__t { font: 650 clamp(1.05rem, 1rem + 0.3vw, 1.2rem)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--navy); }
.o-tocd__n { font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
.o-tocd__chev { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-dark); transition: transform 240ms var(--ease), background-color 160ms var(--ease); }
.o-tocd__chev::before { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid var(--navy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.o-tocd[open] .o-tocd__chev { transform: rotate(180deg); background: var(--paper); }
.o-tocd__nav { padding: 0.25rem clamp(1.15rem, 0.8rem + 1.4vw, 2rem) clamp(1.15rem, 0.8rem + 1.4vw, 1.75rem); border-top: 1px solid var(--line-dark); }
.o-tocd[open] .o-tocd__nav { animation: o-tocd-in 260ms var(--ease); }
@keyframes o-tocd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.o-tocd .o-tocl { display: block; margin: 0; padding: 0; list-style: none; columns: 2 22rem; column-gap: 2.5rem; }
.o-tocd .o-tocl li { break-inside: avoid; margin: 0; padding: 0; line-height: 1.4; }
.o-tocd .o-tocl .o-toc { display: block; padding: 0.55rem 0 0.55rem 1rem; position: relative; text-decoration: none !important; font-weight: 500 !important; color: var(--ink-dark) !important; transition: color 160ms var(--ease); }
.o-tocd .o-tocl--2 .o-toc { margin-top: 0.35rem; font-weight: 600 !important; }
.o-tocd .o-tocl--2 .o-toc::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 6px; height: 1.5px; background: var(--champ); }
.o-tocd .o-tocl--3 { padding-left: 1rem; }
.o-tocd .o-tocl--4 { padding-left: 2rem; }
.o-tocd .o-tocl--3 .o-toc, .o-tocd .o-tocl--4 .o-toc { padding-top: 0.3rem; padding-bottom: 0.3rem; font-size: 0.95em; color: var(--ink-dark-soft) !important; border-left: 1px solid var(--line-dark); }
@media (hover: hover) and (pointer: fine) { .o-tocd .o-tocl .o-toc:hover { color: var(--bronze) !important; } }
@media (max-width: 640px) { .o-tocd .o-tocl { columns: 1; } .o-tocd > summary { min-height: 68px; gap: 0.85rem; } .o-tocd__ic { width: 40px; height: 40px; padding: 0 11px; } }
@media (prefers-reduced-motion: reduce) { .o-tocd[open] .o-tocd__nav { animation: none; } .o-tocd__chev { transition: none; } }
.o-tocd .o-tocd__g { break-inside: avoid; }
.o-tocd .o-tocd__g > ul { margin: 0; padding: 0; list-style: none; }

/* Potenzialrechner: Logo-Fläche links in Navy, so hoch wie der Rechner (05.11.2026) */
.o-box:has(> .o-a--image img[src*="potenzialrechner-logo"]) { padding: 0; overflow: hidden; background: var(--navy-deep); box-shadow: 0 34px 60px -40px rgba(12, 26, 44, 0.7); }
.o-box > .o-a--image:has(img[src*="potenzialrechner-logo"]) { height: 100%; }
.o-box img[src*="potenzialrechner-logo"] { display: block; width: 100%; height: 100%; min-height: 420px; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; }
@media (max-width: 767px) { .o-box img[src*="potenzialrechner-logo"] { height: auto; min-height: 0; aspect-ratio: 4 / 3 !important; } }
