/* ==========================================================
   Ärztehaus Loiching, Landingpage
   Palette aus dem Gemeindewappen (Grün, Rot, Silber),
   dem Gemeinde-Grün der Website (#009933) und dem Isar-Blau des Logos.
   ========================================================== */

:root {
  --paper: #f7f3ea;
  --sand: #efe9db;
  --mist: #e6eff6;
  --ink: #14261c;
  --ink-soft: #3d4f44;
  --forest: #14402b;
  --forest-2: #0f3322;
  --green: #2e8a55;
  --green-soft: #dcebdf;
  --red: #c8341e;
  --red-dark: #a82a17;
  --silver: #d8d8d2;
  --isar: #3c7ba3;
  --line: rgba(20, 38, 28, .12);
  --white: #fff;

  --ff-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(10, 36, 24, .06), 0 14px 40px -12px rgba(10, 36, 24, .22);
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--isar); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; margin-top: clamp(32px, 5vw, 56px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typografie ---------- */
.h2, .h3, .hero__title, .room-card__title, .quiz__q {
  font-family: var(--ff-head);
  font-optical-sizing: auto;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1.1rem; max-width: 22ch; }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: .7rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, .86); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1rem;
}
.eyebrow--light { color: rgba(255, 255, 255, .88); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff7a5f; box-shadow: 0 0 0 0 rgba(255, 122, 95, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 122, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 95, 0); } }

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 0;
  font-weight: 650; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 28px -10px rgba(200, 52, 30, .65); }
.btn--red:hover { background: var(--red-dark); }
.btn[disabled] { opacity: .4; pointer-events: none; box-shadow: none; }
.btn--big { padding: 1.05rem 1.7rem; font-size: 1.08rem; }
.btn--small { padding: .6rem 1.1rem; font-size: .95rem; }
.btn--light { background: var(--white); color: var(--forest); margin-top: auto; align-self: flex-start; }
.btn--light:hover { background: #f1f6f2; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.link-light { color: var(--white); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link-light:hover { text-decoration-color: #ff9e8a; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(rgba(8, 28, 18, .55), rgba(8, 28, 18, 0)); pointer-events: none; transition: opacity .3s; }
.site-header.is-solid { background: rgba(15, 51, 34, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .4); }
.site-header.is-solid::before { opacity: 0; }
.header__in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 550; font-size: .95rem; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: #ff7a5f; transition: right .25s ease; }
.nav a:hover::after { right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: var(--white); isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; z-index: -2; animation: zoom 26s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(8, 32, 21, .92) 0%, rgba(8, 32, 21, .72) 36%, rgba(8, 32, 21, .18) 68%, rgba(8, 32, 21, 0) 100%),
    linear-gradient(to top, rgba(8, 32, 21, .7), rgba(8, 32, 21, 0) 42%);
}
.hero__in { position: relative; width: min(1180px, 100% - 2 * var(--gutter)); padding-block: calc(var(--header-h) + 40px) clamp(64px, 9vh, 104px); }
.hero__copy { max-width: 40rem; }
.hero__title { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 580; margin-bottom: 1.3rem; letter-spacing: -.02em; }
.hero__title em { font-style: italic; color: #ffb4a3; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .9); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.hero__meta { display: flex; align-items: center; gap: .5rem; margin-top: 1.3rem; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.hero__caption { position: absolute; right: 0; bottom: clamp(64px, 9vh, 104px); display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; translate: -50% 0; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: #fff; border-radius: 2px; translate: -50% 0; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.seg { display: inline-flex; align-items: center; gap: 4px; padding: 5px; margin-bottom: 1.6rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.seg__label { padding: 0 .6rem 0 .9rem; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.seg__btn { border: 0; background: transparent; color: #fff; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background-color .25s, color .25s; }
.seg__btn[aria-pressed="true"] { background: #fff; color: var(--forest); }
.seg__btn:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .16); }
.swap { animation: swap .5s ease both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Fakten ---------- */
.facts { background: var(--forest); color: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: clamp(28px, 4vw, 44px) clamp(14px, 2vw, 30px); border-left: 1px solid rgba(255, 255, 255, .14); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font-family: var(--ff-head); font-size: clamp(2.2rem, 3.9vw, 3.4rem); line-height: 1; font-weight: 560; letter-spacing: -.02em; margin-bottom: .6rem; }
.fact--hot .fact__num { color: #ffb4a3; }
.fact__txt { font-size: .98rem; color: rgba(255, 255, 255, .82); line-height: 1.45; max-width: 22ch; }
.fact__txt small { display: block; margin-top: .3rem; font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ---------- Bedarf ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.split__text > p { max-width: 56ch; margin-bottom: 1.1rem; }
.quote-card { margin-top: 1.8rem; padding: 1.6rem 1.8rem; background: var(--white); border-radius: var(--r); border-left: 5px solid var(--red); box-shadow: var(--shadow); }
.quote-card p { font-family: var(--ff-head); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; font-weight: 520; font-style: italic; }
.quote-card footer { margin-top: .8rem; font-size: .9rem; color: var(--ink-soft); }
.quote-card a { text-underline-offset: 3px; }

.route { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.route__col { padding: 1.5rem 1.3rem; border-radius: var(--r-lg); }
.route__col--now { background: var(--sand); }
.route__col--next { background: var(--forest); color: var(--white); box-shadow: var(--shadow); }
.route__tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--ink-soft); }
.route__col--next .route__tag { color: #9fd7b4; }
.route ol { position: relative; display: grid; gap: 1.2rem; }
.route ol::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(to bottom, currentColor 0 4px, transparent 4px 9px); opacity: .25; }
.route li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.route__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); position: relative; z-index: 1; }
.route__col--next .route__ic { background: rgba(255, 255, 255, .14); color: #fff; }
.route li strong { display: block; font-size: .98rem; line-height: 1.3; margin-bottom: .15rem; }
.route li span:not(.route__ic) { display: block; font-size: .86rem; line-height: 1.4; opacity: .75; }
.route li.is-pain .route__ic { background: #f3d3cb; color: var(--red-dark); }
.route li.is-gain .route__ic { background: #fff; color: var(--green); }

/* ---------- Haus ---------- */
.house { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.house__plan { background: var(--white); border-radius: var(--r-lg); padding: clamp(14px, 2vw, 24px); box-shadow: var(--shadow); }
.floors { display: inline-flex; padding: 4px; margin-bottom: 14px; background: var(--paper); border-radius: 999px; }
.floors__btn { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .94rem; transition: background-color .2s, color .2s; }
.floors__btn.is-on { background: var(--forest); color: #fff; }
.plan { position: relative; }
.plan > svg { width: 100%; height: auto; }
.plan__shell { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.room rect { fill: #e9efe8; stroke: var(--ink); stroke-width: 1.5; transition: fill .2s ease; }
.room { cursor: pointer; outline: none; }
.room:hover rect { fill: #d6e6d9; }
.room.is-on rect { fill: var(--green); stroke: var(--forest); stroke-width: 2.5; }
.room:focus-visible rect { stroke: var(--isar); stroke-width: 4; }
.room__t { font-family: var(--ff-head); font-size: 20px; font-weight: 600; fill: var(--ink); pointer-events: none; }
.room__s { font-family: var(--ff-body); font-size: 12.5px; fill: var(--ink-soft); pointer-events: none; }
.room__s--in { font-weight: 700; fill: var(--forest); }
.room.is-on .room__t, .room.is-on .room__s { fill: #fff; }
.door { fill: none; stroke: var(--red); stroke-width: 3; }
.floor[hidden] { display: none; }
.floor:not([hidden]) { animation: swap .4s ease both; }
.plan__hint { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .86rem; color: var(--ink-soft); }

.house__side { display: grid; gap: 18px; }
.room-card { background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); min-height: 17rem; }
.room-card.swap { animation: swap .35s ease both; }
.room-card__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fd7b4; margin-bottom: .5rem; }
.room-card__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .6rem; }
.room-card__area { display: flex; align-items: center; gap: .5rem; font-weight: 650; margin-bottom: .9rem; color: #ffd9d0; }
.room-card__text { color: rgba(255, 255, 255, .86); font-size: 1rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .13); font-size: .86rem; }


/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.card { display: flex; flex-direction: column; gap: 0; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card--green { background: linear-gradient(160deg, #1e6b43, var(--forest) 70%); }
.card--blue { background: linear-gradient(160deg, #2f6a90, #1d4766 70%); }
.card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.card__top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.card__icon .ic { width: 28px; height: 28px; }
.card__tag { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.card > p { color: rgba(255, 255, 255, .9); margin-bottom: 1.2rem; }
.ticks { display: grid; gap: .8rem; margin-bottom: 1.8rem; }
.ticks li { position: relative; padding-left: 2rem; color: rgba(255, 255, 255, .92); font-size: 1rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(255, 255, 255, .16) 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' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- Ort ---------- */
.place { position: relative; color: #fff; isolation: isolate; padding-block: clamp(80px, 11vw, 150px); background: var(--forest-2); overflow: hidden; }
.place__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -2; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 36, 24, .93), rgba(10, 36, 24, .84) 55%, rgba(10, 36, 24, .95)); }
.place__head { margin-bottom: clamp(32px, 5vw, 56px); }
.place .h2 { max-width: 24ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.tile { padding: 1.5rem 1.4rem; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .25s, transform .25s; }
.tile:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }
.tile .ic { width: 30px; height: 30px; color: #9fd7b4; margin-bottom: .9rem; }
.tile h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: .35rem; font-family: var(--ff-body); }
.tile p { font-size: .96rem; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.mayor { max-width: 52rem; padding-left: clamp(18px, 3vw, 32px); border-left: 4px solid #ff7a5f; }
.mayor blockquote { font-family: var(--ff-head); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; font-weight: 480; }
.mayor figcaption { margin-top: 1rem; font-size: .95rem; color: rgba(255, 255, 255, .75); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); counter-reset: s; position: relative; }
.step { position: relative; padding: 1.6rem 1.4rem 1.5rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--ff-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.step h3 { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 580; margin-bottom: .5rem; }
.step p { font-size: .98rem; color: var(--ink-soft); line-height: 1.55; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; left: calc(1.4rem + 54px); right: -28px; height: 2px; background: repeating-linear-gradient(to right, var(--silver) 0 6px, transparent 6px 12px); z-index: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head p:not(.eyebrow) { color: var(--ink-soft); max-width: 40ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-weight: 650; font-size: 1.1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .25s ease, background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red); }
.faq details > div { padding: 0 2.6rem 1.4rem 0; color: var(--ink-soft); }
.faq details[open] > div { animation: swap .35s ease both; }

/* ---------- Quiz ---------- */
.quiz-sec { position: relative; background: var(--forest); color: #fff; padding-block: clamp(72px, 10vw, 130px); overflow: hidden; }
.quiz-sec::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 138, 85, .45), transparent); pointer-events: none; }
.quiz-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.quiz-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.quiz-intro__crest { width: 84px; height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.trust { display: grid; gap: .7rem; margin-top: 1.6rem; }
.trust li { display: flex; align-items: center; gap: .7rem; color: rgba(255, 255, 255, .9); }
.trust .ic { color: #9fd7b4; }

.quiz { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55); min-height: 30rem; overflow: hidden; }
.quiz__bar { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--sand); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #5bb982); border-radius: 0 6px 6px 0; transition: width .5s cubic-bezier(.3, .8, .3, 1); }
.quiz__head { display: flex; align-items: center; justify-content: space-between; min-height: 2rem; margin-bottom: 1.2rem; }
.quiz__step { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.quiz__back { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: transparent; color: var(--ink-soft); font-weight: 600; font-size: .95rem; padding: .3rem .6rem; border-radius: 999px; }
.quiz__back:hover { background: var(--sand); }
.quiz__q { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .5rem; }
.quiz__hint { color: var(--ink-soft); margin-bottom: 1.4rem; font-size: 1rem; }
.quiz__panel { animation: swap .4s ease both; }
.quiz__nojs { padding: 1rem; background: #fff3cc; border-radius: var(--r); }

.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt label {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; min-height: 64px;
  background: var(--white); border: 2px solid transparent; border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(10, 36, 24, .08), 0 8px 20px -14px rgba(10, 36, 24, .3);
  font-weight: 600; line-height: 1.3; transition: border-color .2s, background-color .2s, transform .15s;
}
.opt label:hover { border-color: rgba(46, 138, 85, .4); transform: translateY(-1px); }
.opt input:checked + label { border-color: var(--green); background: var(--green-soft); }
.opt input:focus-visible + label { outline: 3px solid var(--isar); outline-offset: 2px; }
.opt__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--forest); }
.opt input:checked + label .opt__ic { background: var(--green); color: #fff; }
.opt__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--silver); display: grid; place-items: center; color: transparent; transition: .2s; }
.opt input:checked + label .opt__box { background: var(--green); border-color: var(--green); color: #fff; }
.opt__box .ic { width: 16px; height: 16px; stroke-width: 3; }

.echo { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; padding: .9rem 1.1rem; background: var(--green-soft); border-radius: var(--r); color: var(--forest); font-size: .98rem; line-height: 1.5; animation: swap .35s ease both; }
.echo .ic { margin-top: .15em; color: var(--green); }
.quiz__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .field legend { font-weight: 650; font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 2px solid var(--silver); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 138, 85, .18); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__err { color: var(--red-dark); font-size: .88rem; min-height: 1.1em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--silver); background: #fff; font-weight: 600; font-size: .94rem; transition: .2s; }
.pill input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--isar); outline-offset: 2px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; margin: .4rem 0 1rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.consent a { text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recap { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.3rem; }
.recap li { padding: .25rem .7rem; border-radius: 999px; background: var(--green-soft); color: var(--forest); font-size: .84rem; font-weight: 600; }

.done { text-align: left; }
.done__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 1.2rem; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.done__badge .ic { width: 34px; height: 34px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h3 { font-family: var(--ff-head); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 560; line-height: 1.15; margin-bottom: .8rem; }
.done p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }
.done__next { display: grid; gap: .7rem; margin: 1.4rem 0; }
.done__next li { display: flex; gap: .8rem; align-items: flex-start; }
.done__next .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: #fff; font-size: .85rem; font-weight: 700; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding-block: 44px; font-size: .95rem; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; align-items: start; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 52px; height: auto; }
.footer a { text-underline-offset: 3px; }
.footer p + p { margin-top: .2rem; }

/* ---------- Mobile CTA / Entwurfsschalter ---------- */
.mcta { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40; display: none; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.2rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .35s ease; }
.mcta.is-on { transform: none; }

.ph-toggle { position: fixed; right: 14px; bottom: 14px; z-index: 45; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .15); background: #fff8d6; font-size: .8rem; font-weight: 650; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.ph-toggle__dot { width: 10px; height: 10px; border-radius: 50%; background: #f1b900; }
.ph-toggle[aria-pressed="false"] { background: #fff; }
.ph-toggle[aria-pressed="false"] .ph-toggle__dot { background: var(--silver); }
body.is-live .ph-toggle { display: none; }

/* Platzhalter-Markierung */
.ph { border-radius: 4px; }
html.show-ph .ph { background: rgba(255, 214, 10, .38); box-shadow: 0 0 0 3px rgba(255, 214, 10, .38); text-decoration: underline dashed rgba(120, 90, 0, .7); text-underline-offset: 3px; cursor: help; color: inherit; }
html.show-ph .card .ph, html.show-ph .room-card .ph { background: rgba(255, 214, 10, .3); box-shadow: 0 0 0 3px rgba(255, 214, 10, .3); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header__in { justify-content: space-between; }
  .split, .house, .faq-wrap, .quiz-grid { grid-template-columns: 1fr; }
  .route, .faq-head, .quiz-intro { position: static; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .hero { min-height: 100svh; }
  .hero__img { object-position: 36% 50%; }
  .hero::before { background: linear-gradient(to top, rgba(8, 32, 21, .94) 18%, rgba(8, 32, 21, .55) 62%, rgba(8, 32, 21, .35)); }
  .hero__in { padding-bottom: 96px; }
  .hero__caption, .hero__scroll { display: none; }
  .seg { display: flex; width: 100%; }
  .seg__label { display: none; }
  .seg__btn { flex: 1; padding-inline: .4rem; }
  .cards, .route { grid-template-columns: 1fr; }
  .steps, .tiles { grid-template-columns: 1fr; }
  .opts--2, .field-row { grid-template-columns: 1fr; }
  .quiz { padding-bottom: 28px; }
  .mcta { display: flex; }
  .ph-toggle { bottom: 84px; right: 10px; padding: .55rem; }
  .ph-toggle span[data-ph-label] { display: none; }
  .footer__in { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding-inline: 12px; }
  .fact__txt { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Visualisierung ---------- */
.viz { position: relative; margin: 0 0 clamp(20px, 3vw, 36px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.viz img { width: 100%; height: auto; aspect-ratio: 21 / 10; object-fit: cover; object-position: 50% 62%; }
.viz__badge { position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); max-width: min(30rem, calc(100% - 24px)); display: grid; gap: .15rem; padding: .7rem 1rem; border-radius: 14px; background: rgba(15, 51, 34, .86); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .86rem; line-height: 1.4; }
.viz__badge strong { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #9fd7b4; }
.viz__badge span { color: rgba(255, 255, 255, .88); }
.house__note { display: flex; gap: .6rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: rgba(255, 255, 255, .7); font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.house__note .ic { margin-top: .15em; color: var(--green); }

/* ---------- Flächen auf einen Blick ---------- */
.specs { margin-top: clamp(40px, 6vw, 72px); }
.specs__head { max-width: 46rem; margin-bottom: 1.6rem; }
.specs__head p { color: var(--ink-soft); }
.specs__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.spec { display: flex; flex-direction: column; padding: 1.2rem 1.1rem 1.1rem; background: var(--white); border-radius: var(--r); box-shadow: 0 1px 2px rgba(10, 36, 24, .06), 0 10px 26px -16px rgba(10, 36, 24, .3); }
.spec__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--forest); margin-bottom: .9rem; }
.spec__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.spec__val { font-family: var(--ff-head); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 580; line-height: 1.15; margin-bottom: .45rem; overflow-wrap: anywhere; }
.spec__note { font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 1180px) { .specs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .viz img { aspect-ratio: 4 / 3; object-position: 40% 60%; }
  .viz__badge { position: static; max-width: none; border-radius: 0; }
}
@media (max-width: 420px) { .specs__grid { grid-template-columns: 1fr; } }

/* ---------- Herkunftshinweis Clementine Media ---------- */
.footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer__credit p { margin: 0; }
.footer__agency { display: inline-flex; line-height: 0; transition: transform .2s ease, opacity .2s ease; }
.footer__agency img { height: 36px; width: auto; }
.footer__agency:hover { transform: translateY(-2px); }
.footer__agency-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.footer__agency-link:hover { color: #ffb27a; }
.footer__agency-link .ic { width: 1em; height: 1em; transition: transform .2s; }
.footer__agency-link:hover .ic { transform: translateX(3px); }
@media (max-width: 720px) { .footer__credit { flex-direction: column; align-items: flex-start; } .footer { padding-bottom: 96px; } }

/* ---------- Rechtliche Seiten ---------- */
.legal-page { background: var(--paper); }
.legal { max-width: 820px; padding-block: calc(var(--header-h) + 56px) 80px; }
.legal__title { font-family: var(--ff-head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 580; line-height: 1.1; margin-bottom: 1.4rem; }
.legal section { margin-top: 2.4rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 { font-family: var(--ff-head); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 580; line-height: 1.2; margin-bottom: .8rem; }
.legal h3 { font-size: 1.1rem; font-weight: 700; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .35rem; }
.legal a { color: var(--forest); text-underline-offset: 3px; }
.legal code { background: var(--sand); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
.legal__draft { display: none; margin-bottom: 1.6rem; padding: 1rem 1.2rem; border-radius: var(--r); background: #fff3c4; border: 1px solid rgba(120, 90, 0, .25); font-size: .95rem; }
html.show-ph .legal__draft { display: block; }
.legal__toc { margin: 1.6rem 0 .4rem; padding: 1.2rem 1.4rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.legal__toc ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: .3rem; }
.legal__stand { margin-top: 2.6rem; color: var(--ink-soft); font-size: .92rem; }
.footer__in--legal { grid-template-columns: 1.3fr 1fr; }
.footer a[aria-current="page"] { text-decoration-thickness: 2px; }
.linklike { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: #ffb27a; }
@media (max-width: 720px) { .footer__in--legal { grid-template-columns: 1fr; } .legal { padding-top: calc(var(--header-h) + 36px); } .legal-page .footer { padding-bottom: 44px; } .legal-page .nav { display: none; } }

/* ---------- Einwilligungs-Hinweis (nur aktiv, wenn Tracking konfiguriert ist) ---------- */
.cmp { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(480px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 1.3rem 1.4rem 1.1rem; background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 24px 70px -16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(20, 38, 28, .08); animation: swap .4s ease both; }
.cmp__title { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 580; margin: 0 0 .5rem; }
.cmp__text { font-size: .94rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 1rem; }
.cmp__text a { color: var(--forest); text-underline-offset: 3px; }
.cmp__settings { display: grid; gap: .6rem; margin: 0 0 1rem; }
.cmp__opt { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .9rem; border-radius: 12px; background: var(--paper); font-size: .9rem; line-height: 1.45; cursor: pointer; }
.cmp__opt input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.cmp__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Ablehnen und Akzeptieren sind bewusst gleich gestaltet */
.cmp__btn { padding: .8rem 1rem; border-radius: 999px; border: 2px solid var(--forest); background: var(--forest); color: #fff; font-weight: 650; font-size: .98rem; cursor: pointer; transition: background-color .2s, transform .15s; }
.cmp__btn:hover { background: var(--forest-2); }
.cmp__btn:active { transform: scale(.98); }
.cmp__btn--wide { grid-column: 1 / -1; background: var(--white); color: var(--forest); }
.cmp__btn--wide:hover { background: var(--green-soft); }
.cmp__more { margin: .8rem 0 0; font-size: .86rem; color: var(--ink-soft); text-align: center; }
.cmp__more a, .cmp__more .linklike { color: var(--ink-soft); }
body.has-consent-banner .mcta { display: none; }
@media (max-width: 720px) { .cmp { left: 10px; right: 10px; bottom: 10px; width: auto; } body.has-consent-banner .ph-toggle { display: none; } }

/* ==========================================================
   Echter Grundriss (Entwurf Erdgeschoss), Kennzahlen, Apotheken-Hinweis
   ========================================================== */
.keyfig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(20px, 3vw, 32px); }
.keyfig li { padding: 1.1rem 1.3rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.keyfig strong { display: block; font-family: var(--ff-head); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 600; line-height: 1.05; color: var(--forest); }
.keyfig span { display: block; margin-top: .35rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }

.plan2 { background: var(--white); border-radius: var(--r-lg); padding: clamp(14px, 2vw, 26px); box-shadow: var(--shadow); margin-bottom: clamp(18px, 2.4vw, 28px); }
.plan2__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: 12px; }
.plan2__title { font-family: var(--ff-head); font-size: 1.35rem; font-weight: 600; }
.plan2__title span { margin-left: .5rem; padding: .15rem .6rem; border-radius: 999px; background: var(--green-soft); color: var(--forest); font-family: var(--ff-body); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: .18em; }
.plan2__hint { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--ink-soft); }
.plan2__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); }
.plan2__stage { position: relative; min-width: 760px; line-height: 0; }
.plan2__stage img { width: 100%; height: auto; display: block; }
.plan2__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan2__foot { margin-top: 10px; font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }
.plan2__foot a { text-decoration: underline; text-underline-offset: 3px; }

.hs { cursor: pointer; outline: none; }
.hs polygon, .hs > rect { fill: rgba(46, 138, 85, .06); stroke: rgba(20, 64, 43, .55); stroke-width: 4; stroke-dasharray: 14 10; transition: fill .2s ease, stroke .2s ease; }
.hs:hover polygon, .hs:hover > rect { fill: rgba(46, 138, 85, .2); }
.hs.is-on polygon, .hs.is-on > rect { fill: rgba(46, 138, 85, .3); stroke: var(--forest); stroke-width: 7; stroke-dasharray: none; }
.hs:focus-visible polygon, .hs:focus-visible > rect { stroke: var(--isar); stroke-width: 9; stroke-dasharray: none; }
.hs__tag rect { fill: rgba(255, 255, 255, .94); stroke: var(--forest); stroke-width: 4; transition: fill .2s ease; }
.hs__tag text { font-family: var(--ff-body); font-size: 38px; font-weight: 700; fill: var(--forest); pointer-events: none; }
.hs__tag--s text { font-size: 33px; }
.hs.is-on .hs__tag rect { fill: var(--forest); }
.hs.is-on .hs__tag text { fill: #fff; }

.house2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
.house2__side { display: grid; gap: 16px; }
.room-card__note { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .86); font-size: .94rem; line-height: 1.5; }
.rooms-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.rooms-card__title { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 600; margin-bottom: .6rem; }
.rooms > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.rooms > div:last-child { border-bottom: 0; }
.rooms dt { color: var(--ink-soft); }
.rooms dd { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.tech { background: rgba(255, 255, 255, .7); border-radius: var(--r); padding: .9rem 1.2rem; }
.tech summary { cursor: pointer; font-weight: 650; }
.tech__list { margin-top: .7rem; }
.tech__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.tech__list > div:last-child { border-bottom: 0; }
.tech__list dt { color: var(--ink-soft); }
.tech__list dd { text-align: right; font-variant-numeric: tabular-nums; }

.apo { display: flex; gap: clamp(16px, 2.4vw, 28px); align-items: flex-start; margin-top: clamp(18px, 2.4vw, 28px); padding: clamp(22px, 3vw, 36px); background: var(--white); border-radius: var(--r-lg); border-left: 6px solid var(--red); box-shadow: var(--shadow); }
.apo__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); color: var(--forest); }
.apo__ic .ic { width: 26px; height: 26px; }
.apo h3 { margin-bottom: .5rem; }
.apo p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 60rem; }

@media (max-width: 1020px) {
  .keyfig { grid-template-columns: 1fr 1fr; }
  .house2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .keyfig { grid-template-columns: 1fr 1fr; gap: 10px; }
  .keyfig li { padding: .9rem 1rem; }
  .apo { flex-direction: column; }
}

/* ---------- Varianten des Erdgeschosses ---------- */
#haus[data-variant="a"] [data-v]:not([data-v~="a"]), #haus[data-variant="b"] [data-v]:not([data-v~="b"]), #haus[data-variant="c"] [data-v]:not([data-v~="c"]) { display: none !important; }
.var { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--green-soft); border-radius: 999px; }
.var__btn { border: 0; background: transparent; color: var(--forest); padding: .5rem 1.05rem; border-radius: 999px; font-weight: 650; font-size: .93rem; transition: background-color .25s, color .25s; }
.var__btn[aria-pressed="true"] { background: var(--forest); color: #fff; }
.var__btn:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .7); }
.var__btn:focus-visible { outline: 3px solid var(--isar); outline-offset: 2px; }
.plan2__hint { margin-bottom: 12px; }
.free-cover polygon { fill: url(#hatch); fill-opacity: .96; stroke: none; }
.hs__sub { font-size: 31px !important; font-weight: 600 !important; }
@media (max-width: 560px) { .var { display: flex; width: 100%; } .var__btn { flex: 1; padding-inline: .6rem; } }
