/* Kahnt Immobilien – values measured from immobilien-kahnt.de (getComputedStyle / getBoundingClientRect).
   Breakpoints of the original: ≤768 mobile, ≤992 / ≤1200 grid steps.
   Mobile type: original interpolates linearly between the mobile size at 450px and the desktop size at 768px:
   size = m + (d - m) * (100vw - 450px) / 318  (also below 450px, not clamped). */

/* ---------- fonts (local, DSGVO) ---------- */
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(../fonts/outfit-latin-400-normal.woff2) format("woff2"); 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: Outfit; font-weight: 400; font-display: swap; src: url(../fonts/outfit-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(../fonts/outfit-latin-600-normal.woff2) format("woff2"); 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: Outfit; font-weight: 600; font-display: swap; src: url(../fonts/outfit-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 400; font-display: swap; src: url(../fonts/quicksand-latin-400-normal.woff2) format("woff2"); 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: Quicksand; font-weight: 400; font-display: swap; src: url(../fonts/quicksand-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 500; font-display: swap; src: url(../fonts/quicksand-latin-500-normal.woff2) format("woff2"); 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: Quicksand; font-weight: 500; font-display: swap; src: url(../fonts/quicksand-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 600; font-display: swap; src: url(../fonts/quicksand-latin-600-normal.woff2) format("woff2"); 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: Quicksand; font-weight: 600; font-display: swap; src: url(../fonts/quicksand-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 700; font-display: swap; src: url(../fonts/quicksand-latin-700-normal.woff2) format("woff2"); 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: Quicksand; font-weight: 700; font-display: swap; src: url(../fonts/quicksand-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
	--ink: #121616;
	--ink-90: rgba(18, 22, 22, .9);
	--ink-89: rgba(18, 22, 22, .89);
	--ink-95: rgba(18, 22, 22, .95);
	--ink-54: rgba(18, 22, 22, .54);
	--ink-51: rgba(18, 22, 22, .51);
	--blue: #004aad;
	--gold: #c7a67e;
	--light: #fafafa;
	--card: rgba(242, 242, 242, .83);
	--card-2: rgba(242, 242, 242, .81);
	--grad: linear-gradient(0deg, #5777e2 0%, #00227a 100%);
	--ff-head: Outfit, sans-serif;
	--ff-text: Quicksand, sans-serif;
	/* Content box of the original: window minus 64px, at most 750 / 970 / 1150 / 1250 / 1400px (tiers at 992 / 1200 / 1366 / 1440). */
	--tier: 1400px;
	--pad: max(32px, (100vw - var(--tier)) / 2); /* page gutter desktop */
	--cw: min(100vw - 64px, var(--tier));
	--gap: 24px;
	--ease-menu: cubic-bezier(.12, .65, .49, .9);
}
@media (max-width: 1439.98px) { :root { --tier: 1250px; } }
@media (max-width: 1365.98px) { :root { --tier: 1150px; } }
@media (max-width: 1199.98px) { :root { --tier: 970px; } }
@media (max-width: 991.98px) { :root { --tier: 750px; } }
@media (max-width: 768px) {
	:root { --pad: calc(24px - (100vw - 390px) * 8 / 378); } /* 24px @390 → 16px @768 */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.5 var(--ff-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-wrap: break-word; font-variant-numeric: lining-nums; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--pad); }

.skip-to-content { position: fixed; top: -100%; left: 16px; z-index: 999999; padding: 8px 16px; background: #000; color: #fff; font: 600 14px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; border-radius: 0 0 4px 4px; outline: 2px solid #fff; outline-offset: 2px; transition: top .1s; }
.skip-to-content:focus { top: 0; }

/* ---------- type scale (desktop px → mobile px @450) ---------- */
.h-xl, .h1, .h2, .h3 { font-family: var(--ff-head); font-weight: 600; }
.h1  { --d: 51.8; --m: 32; font-size: 51.8px; line-height: 1.17792; }
.h2  { --d: 33.4; --m: 32; font-size: 33.4px; line-height: 1.2; }
.h3  { --d: 24.2; --m: 24; font-size: 24.2px; line-height: 1.21104; }
.h-xl { --d: 64; --m: 40; font-size: 64px; line-height: 1.1; }
.h-2xl { --d: 70.2; --m: 40; font-family: var(--ff-head); font-weight: 600; font-size: 70.2px; line-height: 1.15583; }
@media (max-width: 768px) {
	.h-xl, .h-2xl, .h1, .h2, .h3 { font-size: calc(var(--m) * 1px + (var(--d) - var(--m)) * (100vw - 450px) / 318); }
}
.eyebrow { font: 400 12.7px/20px var(--ff-text); letter-spacing: .5px; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn { position: relative; display: flex; width: fit-content; align-items: center; justify-content: center; min-height: 56px; padding: 7px 28px; border-radius: 8px; color: #fff;
	font: 600 15px/22.5px var(--ff-text); text-align: center; overflow: hidden; transition: background-color .3s; }
.btn > span:not(.btn__blink) { position: relative; padding: 4px 0; transform: translateY(-.915px); }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .1); opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) { .btn:hover::before { opacity: 1; } }
.btn--blue { background: var(--blue); }
.btn--gold { background: var(--gold); }
.btn--r4 { border-radius: 4px; }
.btn--sm { min-height: 48px; padding: 6px 24px; font-size: 14px; line-height: 21px; }
@media (max-width: 768px) { .btn { line-height: 18px; } .btn--sm { line-height: 16.8px; } }
/* "blink" shimmer (data-kit-infinite-animation="blink") */
.btn__blink { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: 3; pointer-events: none; }
.btn__blink::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 70%) 0 0 / 100% auto; animation: blink-infinite 2.5s ease infinite; opacity: 0; }
@media (hover: hover) { .btn:hover .btn__blink::before { animation: none; } }
@keyframes blink-infinite {
	0%   { transform: translate3d(-100%, 0, 0) scale(2); opacity: 1; }
	50%  { transform: translate3d(100%, 0, 0); opacity: 0; }
	51%  { transform: translate3d(-100%, 0, 0); opacity: 0; }
	100% { transform: translate3d(-100%, 0, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .btn__blink::before { animation: none; } }

/* ---------- small building blocks ---------- */
.circle { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: 100px; }
.circle::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .1); opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) { .circle:hover::before { opacity: 1; } }
.circle--56 { width: 56px; height: 56px; } .circle--56 svg { width: 26px; height: 26px; }
.circle--40 { width: 40px; height: 40px; } .circle--40 svg { width: 19px; height: 19px; }
.circle--gold { background: var(--gold); }
.circle--blue { background: var(--blue); }
.card { border-radius: 8px; background: var(--card); }
.highlight { display: inline-block; max-width: calc(100% + 2px); overflow-wrap: anywhere; padding: 0 .33em; background: var(--blue); color: #fff; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; display: flex; align-items: center; justify-content: space-between; background: #fff; }
/* Header box: fluid below 1200px; the original then uses fixed boxes (1200–1365, 1366–1439) and from 1440 a fluid box up to 1416px. */
.site-header { --hw: calc(100vw - 64px); --hx: calc((100vw - 64px - var(--hw)) / 2); }
@media (min-width: 992px) and (max-width: 1199.98px) { .site-header { --hw: 958px; } }
@media (min-width: 1200px) and (max-width: 1365.98px) { .site-header { --hw: 1136px; } }
@media (min-width: 1366px) and (max-width: 1439.98px) { .site-header { --hw: 1236px; } }
@media (min-width: 1440px) { .site-header { --hw: min(100vw - 64px, 1416px); } }
.site-header__logo { display: block; width: calc(var(--hw) * .1315); margin: 12px 0 12px calc(32px + var(--hx) - var(--hw) * .1315 * .044); }
.site-header__logo img { width: 100%; height: auto; aspect-ratio: 2 / 1; }
.site-nav { width: 770px; margin-right: calc(20px - (1376px - var(--hw)) * .01923 + var(--hx)); }
.site-nav > ul { display: flex; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a, .site-nav > ul > li > button { display: flex; align-items: center; gap: 3px; height: 72px; padding: 0 24px; font: 500 15.92px/23.88px var(--ff-text); color: var(--ink); transition: opacity .3s; }
.site-nav__chev { width: 17px; height: 17px; }
.site-nav > ul > li > button { padding-right: 16px; }
@media (hover: hover) {
	.site-nav > ul:hover > li > a, .site-nav > ul:hover > li > button { opacity: .6; }
	.site-nav > ul:hover > li > a:hover, .site-nav > ul:hover > li > button:hover { opacity: 1; }
}
/* original: while a dropdown is open no item is dimmed */
.site-nav > ul:has(> li.is-open) > li > a, .site-nav > ul:has(> li.is-open) > li > button { opacity: 1 !important; }
.site-nav__sub { position: absolute; top: calc(100% + 22px); left: 24px; z-index: 60; width: 228px; padding: 16px 16px 26px; background: #fff; border-radius: 4px;
	box-shadow: rgba(17, 17, 26, .1) 0 8px 56px 0, rgba(17, 17, 26, .1) 0 32px 140px 0;
	opacity: 0; visibility: hidden; transform: translateY(-8px); transition: transform .3s var(--ease-menu), opacity .3s var(--ease-menu), visibility .3s; }
.has-sub.is-open > .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
.site-nav > ul > li:last-child > .site-nav__sub { left: auto; right: 24px; }
.site-nav__sub a { display: block; padding: 16px; font: 600 15.92px/19.104px var(--ff-head); color: var(--ink); }
.site-header__burger { display: none; }
.mobile-menu { display: none; }

@media (max-width: 991.98px) { /* header + menu: the original shows the burger menu up to 991px */
	.site-nav { display: none; }
	.site-header__logo { width: 130px; margin: 12px 0 12px var(--pad); }
	.site-header__burger { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-right: var(--pad); background: var(--light); border-radius: 4px; transition: background-color .3s; }
	.site-header__burger svg { width: 21px; height: 21px; }
	.mobile-menu { display: block; position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .2); }
	.mobile-menu[hidden] { display: none; }
	/* original: whole menu fades in (.3s), its content glides down from -24px (~.7s); sub menus are separate views */
	.mobile-menu__panel { position: relative; height: 100%; overflow: auto; background: #fff; animation: menu-fade .3s ease-in-out; }
	@keyframes menu-fade { from { opacity: 0; } }
	@keyframes menu-glide { from { transform: translateY(-36px); } }
	@keyframes menu-slide { from { opacity: 0; transform: translateX(16px); } }
	.mobile-menu__top { position: relative; display: flex; align-items: center; height: 65px; margin: 24px var(--pad) 0; }
	.mobile-menu__logo { width: 130px; }
	.mobile-menu__logo img { display: block; width: 100%; height: auto; }
	.mobile-menu__back, .mobile-menu__close { position: absolute; top: 50%; display: flex; width: 20px; height: 20px; margin-top: -10px; color: var(--ink); }
	.mobile-menu__back { left: -8px; }
	.mobile-menu__back svg { transform: scaleX(-1); }
	.mobile-menu__close { right: 4px; }
	.mobile-menu__back svg, .mobile-menu__close svg { width: 20px; height: 20px; }
	.mobile-menu__panel[data-view="main"] .mobile-menu__back, .mobile-menu__panel:not([data-view="main"]) .mobile-menu__logo { display: none; }
	.mobile-menu__list, .mobile-menu__sub { display: none; padding: 24px var(--pad); }
	.mobile-menu__panel[data-view="main"] .mobile-menu__list { display: block; animation: menu-glide .7s cubic-bezier(.25, .8, .25, 1); }
	.mobile-menu__panel[data-view="angebot"] [data-for="angebot"], .mobile-menu__panel[data-view="referenzen"] [data-for="referenzen"] { display: block; padding-top: 32px; animation: menu-slide .3s ease-out; }
	.mobile-menu__list > li > a, .mobile-menu__list > li > button { display: flex; align-items: center; gap: 4px; padding: 24px 0; font: 500 15.92px/23.88px var(--ff-text); }
	.mobile-menu__list > li > button svg { width: 17px; height: 17px; transform: rotate(-90deg); }
	.mobile-menu__sub a { position: relative; isolation: isolate; display: inline-block; margin-left: -16px; padding: 16px; font: 600 15.92px/19.104px var(--ff-head); }
	.mobile-menu__sub a::before { content: ""; position: absolute; inset: 8px 0; z-index: -1; border-radius: 4px; transition: background-color .3s; }
	@media (hover: hover) { .mobile-menu__sub a:hover::before { background: rgba(18, 22, 22, .05); } }
	@media (prefers-reduced-motion: reduce) { .mobile-menu__panel, .mobile-menu__list, .mobile-menu__sub { animation: none !important; } }
	.mobile-menu__list .is-open > button svg { transform: rotate(90deg); }
	.mobile-menu__list ul a { display: block; padding: 12px 0; font: 600 15.92px/19.104px var(--ff-head); }
}

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 279px 0 109px; background: var(--grad); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: -1px 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero__content { position: relative; }
.hero__title { max-width: calc(var(--cw) * .5575); margin-top: 9px; }
.hero .btn { margin-top: 33px; }
@media (max-width: 768px) {
	.hero { padding: 140px 0 64px; }
	.hero__title { max-width: none; }
}

/* ---------- intro (Christina Kahnt) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; padding-top: 64px; padding-bottom: 40px; }
.intro__name { width: 94.7%; }
.intro__p { width: 93%; margin-top: 18px; color: var(--ink-90); }
.intro__p--2 { margin-top: 16px; }
.intro__find { margin-top: 23px; }
.map { position: relative; margin-top: 20px; aspect-ratio: 2 / 1; background: #f6f4ef; overflow: hidden; }
/* original: 61px icon slot (30px icon centred), items overlap by 3px, label box 34px tall */
.intro__contacts { display: flex; gap: 0; margin: 29px 0 0 -15px; padding-bottom: 5px; }
.intro__contacts li + li { margin-left: -3px; }
.intro__contacts a, .intro__item { display: flex; align-items: flex-start; }
.intro__ico { width: 30px; height: 30px; margin: 13px 15.5px 0; flex: none; }
.intro__label { display: block; font: 400 17px/25.5px var(--ff-text); padding: 4px 0; margin-top: -4px; white-space: nowrap; }
.intro__value { display: block; opacity: .7; margin-top: -3px; font: 400 13.6px/20.4px var(--ff-text); letter-spacing: .5px; white-space: nowrap; }
.intro__media { position: relative; border-radius: 8px; overflow: hidden; }
.intro__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 769px) { .intro__media { margin: -1px 0 -2px; } }
@media (max-width: 768px) {
	.intro { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 20px; }
	.intro__name, .intro__p { width: auto; }
	.intro__p--2 { margin-top: 15px; }
	.intro__find { margin-top: 24px; }
	.intro__contacts { flex-direction: column; gap: 20px; margin-top: 32px; }
	.intro__contacts li + li { margin-left: 0; }
	.intro__value { margin-top: -2px; }
	.intro__label { line-height: 20.4px; }
	.intro__media { margin-top: 30px; aspect-ratio: 342 / 304; }
}

/* ---------- services ---------- */
.services-head { padding: 66px 0 30px; }
.services-head__title { width: 1197px; max-width: 100%; margin: 0 auto; } /* original: fixed from 1366px, below: .957 of the content box */
@media (max-width: 1365.98px) { .services-head__title { width: calc(var(--cw) * .957); } }
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 1fr; gap: 24px; padding-top: 16px; padding-bottom: 85px; }
.service { padding: 32px; }
@media (min-width: 1201px) { .services { grid-auto-rows: auto; } .service { padding-bottom: 33px; min-height: 348px; } .service:first-child { padding-bottom: 41px; } } /* original: each row as tall as its content, at least 348px */
.arrow-list { padding-right: 16px; }
.service__title { margin-top: 28px; }
.arrow-list { display: grid; gap: 16px; margin-top: 20px; }
.arrow-list li { display: flex; align-items: center; gap: 7.7px; font: 400 14.08px/21.12px var(--ff-text); color: var(--ink-90); }
.arrow-list svg { flex: none; box-sizing: content-box; width: 17px; height: 17px; padding: 4px 3px 3px 4px; margin-left: -3px; }
.service:first-child .service__title { margin-top: 20px; } /* original quirk: first card title sits 7.5px higher */
@media (max-width: 768px) {
	.services-head { padding: 33px var(--pad) 30px; }
	.services-head__title { width: auto; }
	.services { grid-template-columns: 1fr; grid-auto-rows: auto; padding-top: 7px; padding-bottom: 36px; }
	.service { padding: 24px 24px 30px; }
	.service:nth-child(3) { padding-bottom: 33px; }
}

/* ---------- full-width image banners ---------- */
.banner { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.banner__media, .jungle__media { position: absolute; inset: 0; }
.banner__media img, .jungle__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.banner__content { position: relative; padding-top: 123px; padding-bottom: 116px; }
.banner__title { width: calc(var(--cw) * .83); }
@media (max-width: 768px) {
	.banner__content { padding-top: 60px; padding-bottom: 62px; }
	.banner__title { width: auto; }
}

/* ---------- Ihre Expertinnen (team visual, people stand on the jungle banner below) ---------- */
.experts { padding: 24px var(--pad) 0; }
.experts__inner { position: relative; max-width: 1250px; margin-inline: auto; }
.experts__media img { width: 100%; height: auto; }
.experts__text { position: absolute; z-index: 1; top: 10%; left: 58%; width: 34%; }
.experts__lead { font-size: 17px; line-height: 1.65; color: var(--ink-89, #3a3d3d); }
.experts__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--blue); font: 600 15px/1.4 var(--ff-head); }
.experts__link svg { width: 18px; height: 18px; transition: transform .3s; }
.experts__link svg path { stroke: currentColor; }
@media (hover: hover) { .experts__link:hover svg { transform: translateX(4px); } }
@media (min-width: 1200px) { .experts__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } } /* the visual shows the heading */
@media (max-width: 1199.98px) {
	/* real heading + text on top, visual cropped to the people (drops the built-in heading and the empty margins) */
	.experts__text { position: static; width: auto; max-width: 620px; margin: 0 auto 20px; text-align: center; }
	.experts__title { margin-bottom: 14px; font: 700 clamp(26px, 5vw, 40px)/1.15 var(--ff-head); letter-spacing: .04em; text-transform: uppercase;
		background: linear-gradient(90deg, #b08a5c, #d9bf98 50%, #a07d55); -webkit-background-clip: text; background-clip: text; color: transparent; }
	.experts__lead { font-size: 16px; }
	.experts__media { aspect-ratio: 1555 / 853; overflow: hidden; }
	.experts__media img { width: 123.5%; max-width: none; margin: -14.6% 0 0 -7.4%; }
}

/* ---------- steps ---------- */
.steps { padding-top: 59px; padding-bottom: 57px; }
@media (min-width: 1366px) { .steps { padding-bottom: 59px; } } /* original: 59px gap below the steps at 1440 */
.steps__title { width: calc(var(--cw) * .367); }
.steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.step { padding: 32px; background: var(--card-2); }
.step__title { margin-top: 25px; }
.step__text { margin-top: 20px; color: var(--ink-89); }
.step__title { width: 95.8%; } /* original: title box narrower than the card */
.step:nth-child(4) .step__text { width: 95%; }
@media (max-width: 768px) {
	.steps { padding-top: 30px; padding-bottom: 29px; }
	.steps__title { width: auto; }
	.steps__grid { grid-template-columns: 1fr; }
	.step { padding: 24px; }
}

/* ---------- jungle (parallax) ---------- */
.jungle { position: relative; overflow: hidden; background: #000; color: #fff; text-align: center; }
.jungle__media { top: -40%; bottom: -40%; will-change: transform; }
.jungle__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .53); }
.jungle__content { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 161px; padding-bottom: 135px; }
.jungle__title { --d: 70.2; --m: 40; font-size: 70.2px; line-height: 1.15583; max-width: 854px; } /* original: fixed from 1366px */
.jungle__text { max-width: 756px; margin-top: 12px; font: 700 17.3px/25.95px var(--ff-text); color: var(--light); }
.jungle .btn { margin-top: 40px; }
@media (max-width: 1365.98px) { .jungle__title { max-width: calc(var(--cw) * .6833); } .jungle__text { max-width: calc(var(--cw) * .6833 * .885); } }
@media (max-width: 768px) {
	.jungle__content { padding-top: 80px; padding-bottom: 77px; }
	.jungle__title { max-width: none; font-size: calc(var(--m) * 1px + (var(--d) - var(--m)) * (100vw - 450px) / 318); }
	.jungle__text { max-width: none; }
}

/* ---------- market ---------- */
.market { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; padding-top: 48px; padding-bottom: 61px; }
.market__media { position: relative; border-radius: 8px; overflow: hidden; }
.market__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.market__text { width: calc(83.436% - 9.351px); padding-bottom: 8px; } /* original: title = .75092 × column − 8.416px (measured 1024–1920) */
.market__label { color: #fff; }
.market__title { width: 90%; margin-top: 18px; }
.market__p { width: 81.855%; margin-top: 14px; color: var(--ink-89); }
.market__p--2 { margin-top: 16px; }
.market__list { display: grid; gap: 25px; margin-top: 40px; }
.market__list li { display: flex; gap: 15px; padding-right: 25px; align-items: flex-start; color: var(--ink-95); }
.market__list strong { display: block; font: 600 15.92px/23.88px var(--ff-text); }
.market__list strong + span { display: block; margin-top: 5px; font: 400 14.328px/21.492px var(--ff-text); opacity: .7; }
.market .btn { margin-top: 40px; }
@media (max-width: 768px) {
	.market { grid-template-columns: 1fr; row-gap: 24px; padding-top: 23px; padding-bottom: 29px; }
	.market__media { aspect-ratio: 342 / 301; }
	.market__text, .market__p { width: auto; }
}

/* ---------- valuation (blue) ---------- */
.valuation { background: var(--blue); color: #fff; padding: var(--vf-top, 102px) max(24px + (1440px - 100vw) * .00721, (100vw - var(--tier)) / 2) var(--vf-bottom, 55px); }
.valuation__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: stretch; }
.valuation__form { padding-bottom: 30px; } /* original: contact card = form column + 30px */
.valuation__intro { width: 80.7%; margin-top: 21px; }
.vf { margin-top: 30px; }
.vf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vf-field { position: relative; display: flex; align-items: center; min-height: 56px; border-radius: 6px; background: rgba(255, 255, 255, .07);
	box-shadow: rgba(255, 255, 255, .2) 0 0 0 1px, rgba(255, 255, 255, .2) 0 0 0 .1px inset; transition: border .3s, box-shadow .3s; }
.vf > .vf-field, .vf-row + .vf-field { margin-top: 20px; }
.vf-field--phone { margin-top: 25px !important; }
.vf-field .wpcf7-form-control-wrap { flex: 1; align-self: stretch; display: flex; }
.vf-field input, .vf-field select, .vf-field textarea { flex: 1; width: 100%; min-width: 0; border: 0; background: none; color: #fff; outline: 0; padding: 0 17px;
	font: 400 15px/22.5px var(--ff-text); -webkit-appearance: none; appearance: none; }
.vf-field textarea { padding: 13.25px 17px 14.75px; height: 91px; resize: vertical; }
.vf-field ::placeholder { color: rgba(255, 255, 255, .3); opacity: 1; }
.vf-field select:invalid, .vf-field select.is-placeholder { color: rgba(255, 255, 255, .3); }
.vf-field option { color: #000; }
.vf-ico { flex: none; width: 56px; align-self: stretch; background: #fff; -webkit-mask: var(--ico) center / 21px no-repeat; mask: var(--ico) center / 21px no-repeat; }
.vf-field--email .vf-ico { --ico: url(../icons/mail-field.svg); }
.vf-field--email input { padding-left: 0; }
.vf-field--select .vf-ico { position: absolute; right: 0; top: 0; bottom: 0; pointer-events: none; --ico: url(../icons/select-chevron.svg); }
.vf-field--phone .vf-flag { position: absolute; left: 16px; top: 20px; width: 24px; height: 16px; background: var(--flag, url(../flags/DE.svg)) center / cover; pointer-events: none; }
.vf-field--phone > [data-name=country] { flex: none; width: 56px; }
.vf-field--phone > [data-name=country] select { opacity: 0; cursor: pointer; padding: 0; }
.vf-field--phone label { flex: 1; display: flex; align-self: stretch; }
.vf-field--phone input[type=tel] { padding-left: 0; }
.vf-label { display: block; margin-top: 20px; font: 600 15px/24px var(--ff-text); }
.vf-label + .vf-field { margin-top: 7px !important; }
.vf-field--textarea { margin-top: 8px !important; }
.vf-submit { width: 100%; margin-top: 29px; }
.valuation--big .vf-submit { min-height: 61px; font-size: 17px; line-height: 25.5px; }
.vf-note { margin-top: var(--vf-note-gap, 11px); }
@media (min-width: 769px) { .valuation--note-narrow .vf-note { max-width: 80.7%; } } /* Referenzen pages: note column narrower than the button */
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 13px; color: #fff; }
.wpcf7-response-output { margin: 16px 0 0; font-size: 14px; }
.wpcf7-spinner { display: none; }

.contact-card { padding: 48px 48px 95px; background: var(--light); color: var(--ink); border-radius: 8px; }
.contact-card__list { display: grid; gap: 16px; margin-top: 16px; }
.contact-card__list li { display: flex; gap: 8px; align-items: center; font: 400 15.92px/23.88px var(--ff-text); color: var(--ink-89); }
.contact-card__list svg { flex: none; box-sizing: content-box; width: 17px; height: 17px; padding: 3.5px 3px 3.5px 4px; margin-left: -3px; }
.contact-card__social { display: flex; gap: 16px; margin-top: 21px; }
.contact-card__social svg { width: 18px; height: 18px; }
.contact-card__eyebrow { margin-top: 13px; }
.contact-card__claim { margin-top: 13px; }
.contact-card__media { margin-top: 19px; }
.contact-card__media img { width: 100%; height: auto; aspect-ratio: 572 / 383; object-fit: cover; }
@media (max-width: 768px) {
	.valuation { padding: 52px var(--pad) calc(57px - var(--vf-note-gap, 11px)); } /* original: note gap + bottom padding = 57px on phones */
	.valuation__inner { grid-template-columns: 1fr; row-gap: 24px; }
	.valuation__intro { width: auto; }
	.vf-row { grid-template-columns: 1fr; }
	.contact-card { padding: 24px; }
}

/* ---------- footer ---------- */
.site-footer { padding: 26px var(--pad) 51px; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; }
.site-footer__logo { width: 163px; margin-left: 40px; }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer__nav a { font: 400 14.08px/16.896px var(--ff-head); color: var(--ink); transition: color .3s; }
.site-footer__nav a.is-active { color: var(--blue); }
@media (hover: hover) { .site-footer__nav a:hover { color: var(--blue); } }
.site-footer__rule { height: 1px; margin: 2px 0; border: 0; background: rgba(18, 22, 22, .1); }
.site-footer__top + .site-footer__rule { margin-top: 10px; }
.site-footer__copy { margin-top: 36px; text-align: center; color: var(--ink-51); }
.site-footer__legal { display: flex; justify-content: center; gap: 23px; margin-top: 10px; font: 400 12.24px/14.688px var(--ff-head); color: var(--ink-54); }
/* Membership badges: side by side, small, centred under the legal links (all pages). */
.site-footer__badges { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 24px; }
.site-footer__badge { display: flex; }
.site-footer__badge img { width: auto; height: 64px; }
.site-footer__badge--s24 img { height: 74px; } /* badge image has white margin – optically same size as IVD */
.site-footer__badges + .site-footer__rule { margin-top: 32px; }
@media (max-width: 768px) { .site-footer__badges { gap: 20px; } .site-footer__badge img { height: 56px; } .site-footer__badge--s24 img { height: 65px; } }
@media (min-width: 769px) and (max-width: 1200px) {
	/* original: logo centred in a 29.5% column, nav starts ~8% further right and hangs 18px below the logo */
	.site-footer__top { display: grid; grid-template-columns: 29.5% 1fr; align-items: end; }
	.site-footer__logo { margin: 0 auto; }
	.site-footer__nav { margin: 0 0 -18px calc(var(--cw) * .079 + 12px); }
	.site-footer__top + .site-footer__rule { margin-top: 27px; }
}
/* footer variant of all pages except home + bewertungen: nav block carries a 16px spacer */
@media (min-width: 1201px) { .site-footer--b { padding-top: 18px; } .site-footer--b .site-footer__top + .site-footer__rule { margin-top: 18px; } .site-footer--b .site-footer__logo { position: relative; top: 7px; } }
@media (min-width: 769px) and (max-width: 1200px) { .site-footer--b .site-footer__logo { position: relative; top: 3px; } }
@media (min-width: 769px) and (max-width: 1200px) { .site-footer--b .site-footer__top + .site-footer__rule { margin-top: 43px; } }
@media (max-width: 768px) { .site-footer--b .site-footer__nav { margin-bottom: 16px; } }
@media (min-width: 1035px) and (max-width: 1199.98px) { .site-footer__nav { margin-left: calc(var(--cw) * .079 + 16px); } } /* original: nav 4px further right in the fixed 970px box */
.site-footer__disclaimer { margin-top: 43px; font: 400 12.7px/19.05px var(--ff-text); color: var(--ink-51); }
@media (max-width: 768px) {
	.site-footer { padding: 14px var(--pad) 30px; }
	.site-footer__top { flex-direction: column; align-items: stretch; gap: 24px; }
	.site-footer__logo { margin: 0 auto; }
	.site-footer__nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 24px; }
	.site-footer__top + .site-footer__rule { margin-top: 9px; }
}
.map__marker { display: block; }

/* ---------- page hero (Über uns …) ---------- */
.page-hero { position: relative; padding: 246px 0 72px; color: #fff; overflow: hidden; }
.page-hero__content { position: relative; max-width: calc((var(--cw) + 56px) * 7 / 12 - 56px + 2 * var(--pad)); }
.page-hero__title { max-width: 55.7%; }
.page-hero__text { margin-top: 16px; font-weight: 700; }
@media (max-width: 768px) {
	.page-hero { padding: 123px 0 45px; }
	.page-hero__content { max-width: none; }
	.page-hero__title { max-width: none; }
}
/* Readability: dark green scrim over the jungle photo, text in a comfortable column with gutter at every width. */
.page-hero { display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 0 88px; } /* compact: no empty photo band above the text */
.page-hero .hero__media img { position: absolute; left: 0; bottom: 0; height: 135%; } /* photo cropped at the top, not the bottom */
.page-hero .hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .62) 38%, rgba(var(--scrim), .18) 72%, rgba(var(--scrim), 0) 100%),
		linear-gradient(90deg, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), 0) 70%); }
.page-hero { --scrim: 3, 18, 11; } /* dark green for the jungle photo */
.page-hero .page-hero__content { padding-inline: var(--pad); max-width: calc(var(--pad) + 700px); }
.page-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--gold); font: 700 13px/20px var(--ff-text); letter-spacing: 2px; text-transform: uppercase; }
.page-hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.page-hero .page-hero__title { max-width: 14ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.page-hero .page-hero__text { margin-top: 22px; max-width: 58ch; font-weight: 500; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
/* Immobilienangebot: interior photo, navy scrim, feature points + two buttons */
.page-hero--offers { --scrim: 6, 22, 52; }
.page-hero--offers .page-hero__title { max-width: 16ch; }
.page-hero__points { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 36px; margin-top: 28px; }
.page-hero--offers .hero__media::after { background: linear-gradient(0deg, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), .74) 45%, rgba(var(--scrim), .38) 75%, rgba(var(--scrim), .1) 100%),
	linear-gradient(90deg, rgba(var(--scrim), .6) 0%, rgba(var(--scrim), 0) 75%); } /* bright interior photo needs a stronger scrim */
.page-hero__points li { display: flex; align-items: center; gap: 12px; font: 600 15px/1.3 var(--ff-head); }
.page-hero__points svg [fill]:not([fill=none]) { fill: #fff; } /* pin icon is drawn dark */
.page-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero__btn-ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
@media (max-width: 768px) {
	.page-hero__points { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
	.page-hero__btns { flex-direction: column; margin-top: 26px; }
	.page-hero__btns .btn { width: 100%; }
}
@media (max-width: 768px) {
	.page-hero { padding: 56px 0 48px; }
	.page-hero .hero__media img { height: 115%; }
	.page-hero .page-hero__text { margin-top: 16px; font-size: 15.5px; line-height: 1.65; }
}

/* ---------- team (Über uns) ---------- */
.team { padding: 61px var(--pad) 59px; }
/* content box of the original builder: 1250 / 1150 / 970 / 750 px */
.box, .team__inner, .legal__inner, .offers__grid, .reviews__grid, .soon__marquee { max-width: 1250px; margin-inline: auto; }
@media (max-width: 1365px) { .box, .team__inner, .legal__inner, .offers__grid, .reviews__grid, .soon__marquee { max-width: 1150px; } }
@media (max-width: 1199px) { .box, .team__inner, .legal__inner, .offers__grid, .reviews__grid, .soon__marquee { max-width: 970px; } }
@media (max-width: 991px)  { .box, .team__inner, .legal__inner, .offers__grid, .reviews__grid, .soon__marquee { max-width: 750px; } }
.team__title { max-width: 78.4%; margin: 0 auto; text-align: center; }
.team__lead { max-width: 55.8%; margin: 20px auto 56px; font-size: 17.3px; line-height: 25.95px; text-align: center; }
.team__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.member { grid-column: span 2; display: flex; flex-direction: column; padding: 0 32px 32px; background: #f2f2f2; border-radius: 16px; overflow: hidden; }
.member:nth-child(4) { grid-column: 2 / span 2; } /* second row (2 cards) centred */
.member__media { margin: 0 -32px 30px; aspect-ratio: 1; min-height: 0; overflow: hidden; }
.member__media picture, .member__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member__name { text-align: center; }
.member__bio { white-space: pre-line; }
.member__role { color: rgba(18, 22, 22, .54); text-align: center; }
.member__label { align-self: flex-start; padding: 4px 12px; background: #fff; border-radius: 4px; font-size: 10.4px; line-height: 20px; letter-spacing: .5px; text-transform: uppercase; text-align: center; }
.member__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 27px; }
.member__contacts a { display: flex; align-items: center; }
.member__ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 21px; margin-left: -12px; }
.member__ico svg { width: 25px; height: 25px; flex: none; }
.member__contacts a > span:last-child { display: flex; flex-direction: column; position: relative; top: -2px; }
.member__clabel { padding: 4px 0; font-size: 14px; line-height: 21px; }
.member__cvalue { margin-top: -2px; font-size: 11.2px; line-height: 16.8px; letter-spacing: .5px; opacity: .7; }
.member__social { display: flex; gap: 16px; }
.member__circle { background: #fff; }
.member__circle svg { width: 18px; height: 18px; }
@media (max-width: 991px) {
	.team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.member, .member:nth-child(4) { grid-column: auto; }
}
@media (max-width: 768px) {
	.team { padding: 30px var(--pad) 27px; }
	.team__title, .team__lead { max-width: none; }
	.team__grid { grid-template-columns: minmax(0, 1fr); }
	.member { padding: 0 24px 24px; }
	.member__media { margin: 0 -24px 30px; }
}
@media (max-width: 450px) {
	.member__contacts { flex-direction: column; align-items: flex-start; gap: 8px; }
	.member__contacts a > span:last-child { margin: 4px 0; top: -1px; }
	.member__clabel { line-height: 16.8px; }
}

/* ---------- legal (Impressum) ---------- */
.legal-hero { position: relative; padding: 161px 0 84px; background: #000; color: #fff; text-align: center; overflow: hidden; }
.legal-hero__media { position: absolute; inset: 0; }
.legal-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.legal-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .69); }
.legal-hero__title { position: relative; }
.legal { padding: 45px var(--pad) 125px; text-align: center; }
.legal__title { margin-bottom: 20px; }
.legal__title--2 { margin-top: 40px; }
.legal__text { width: 49.68%; margin: 0 auto; white-space: pre-wrap; }
.legal__text > div { margin-bottom: 16px; }
.legal__text--2 { width: 52.6125%; }
.site-footer__legal a.is-active { color: var(--blue); }
@media (max-width: 768px) {
	.legal-hero { padding: 80px 0 52px; }
	.legal { padding: 22px var(--pad) 63px; }
	.legal__text, .legal__text--2 { width: auto; }
}

/* ---------- coming soon marquee (Objekte) ---------- */
.soon { padding: 62px var(--pad) 61px; text-align: center; }
.soon__title { color: var(--blue); }
.soon__lead { max-width: 78.9%; margin: 20px auto 60px; font-size: 17.3px; line-height: 25.95px; }
.soon__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.soon__track { display: flex; }
.soon__item { flex: none; padding: 0 8px; animation: marquee 21.8s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .soon__item { animation: none; } }
.soon__card { position: relative; display: flex; flex-direction: column; justify-content: center; width: 311px; height: 207px; padding: 32px; border-radius: 16px; overflow: hidden; color: #fff; }
.soon__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon__card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .43); }
.soon__city, .soon__type { position: relative; z-index: 1; }
.soon__city { margin-bottom: 4px; }
.soon__type { font-size: 14px; line-height: 21px; }

/* ---------- property cards ---------- */
.offers { padding: 49px var(--pad) 18px; }
.offers--rent { padding-top: 32px; }
@media (min-width: 769px) and (max-width: 1200px) { .offers--rent ~ .cta { padding-top: 40px; } }
.offers__title { max-width: 78.6%; margin: 0 auto 60px; color: var(--blue); text-align: center; }
.offers__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.obj { grid-column: span 2; display: flex; flex-direction: column; padding: 0 32px 42px; background: #f2f2f2; border-radius: 16px; overflow: hidden; }
@media (min-width: 992px) {
	.obj:nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
	.obj:nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
	.obj:nth-child(4n+1):last-child { grid-column: 4 / span 2; }
}
.obj__gallery { position: relative; margin: 0 -32px 20px; container-type: inline-size; }
.obj__viewport { overflow: hidden; margin: 0 -16px; } /* slides 16px wider on each side → 32px gap while sliding, like the original */
.obj__track { display: flex; transition: transform .6s ease; }
.obj__slide { flex: 0 0 100%; height: calc(50cqw + 16px); padding: 0 16px; } /* original: (width + 2 × 16px) / 2 */
.obj__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.obj__arrow { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 24px; background: none; border: 0; cursor: pointer; }
.obj__arrow svg { width: 28px; height: 28px; margin: 6px; }
.obj__arrow--prev { left: 0; } .obj__arrow--prev svg { transform: scaleX(-1); }
.obj__arrow--next { right: 0; }
.obj__dots { position: absolute; left: 50%; bottom: 11px; display: flex; max-width: 192px; overflow: hidden; transform: translateX(-50%); } /* max. 8 dots visible; JS keeps the active one in view */
.obj__dot { flex: none; }
.obj__dot { width: 24px; height: 24px; padding: 8px; background: none; border: 0; cursor: pointer; }
.obj__dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 100px; background: #fff; opacity: .35; transition: opacity .3s; }
.obj__dot.is-active::before { opacity: 1; }
.obj__title { --d: 19.6; --m: 18; margin-bottom: 9px; font: 600 19.6px/1.21656 var(--ff-head); }
@media (max-width: 768px) { .obj__title { font-size: calc(var(--m) * 1px + (var(--d) - var(--m)) * (100vw - 450px) / 318); } }
.obj__loc { margin-bottom: 30px; color: rgba(18, 22, 22, .49); }
.obj__features { width: fit-content; max-width: 100%; margin: -8px -8px 17px; }
.obj__features li { display: flex; padding: 8px; }
.obj__ico { display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; margin-right: 11.3067px; border-radius: 100px; background: var(--gold); }
.obj__ico svg { width: 11px; height: 11px; }
.obj__features li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.obj__label { font: 600 15.92px/19.104px var(--ff-head); }
.obj__value { margin-top: 5.7312px; font-size: 14.328px; line-height: 21.492px; opacity: .7; }
.obj__btns { display: flex; flex-direction: column; gap: 16px; }
.obj__btns--tour { margin-bottom: 20px; }
.obj__btn { width: 100%; min-height: 56px; padding: 7px 28px; border-radius: 4px; justify-content: center; align-items: center; text-align: center; }
.obj__btn > span { padding: 4px 0; }
.obj__btn--tour { background: #5777e2; color: #fff; }
.obj__btn--tour svg { flex: none; width: 21px; height: 21px; margin: 0 12px 0 -10.27px; }
.obj__btn--expose { background: var(--blue); color: #fff; }
.obj__btn--visit { color: var(--ink); box-shadow: inset 0 0 0 1px #fff; transition: filter .3s; }
.obj__btn--visit::before { display: none; }
@media (hover: hover) { .obj__btn--visit:hover { filter: brightness(1.1); } }
@media (max-width: 991px) {
	.offers__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.obj:nth-child(odd):last-child { grid-column: 2 / span 2; }
}
@media (max-width: 768px) {
	.soon { padding: 29px var(--pad) 50px; }
	.soon__lead { max-width: none; }
	.offers { padding-top: 14px; }
	.offers__title { max-width: none; }
	.offers__grid { grid-template-columns: minmax(0, 1fr); }
	.obj, .obj:nth-child(odd):last-child { grid-column: auto; }
	.obj { padding: 0 24px 34.2px; }
	.obj__gallery { margin: 0 -24px 20px; }
	.obj__slide { height: calc(50cqw + 12px); padding: 0 12px; }
	.obj__viewport { margin: 0 -12px; } /* original: 24px gap while sliding on phones */
}

/* ---------- reviews ---------- */
.reviews { padding: 32px var(--pad) 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review { grid-column: span 2; padding: 32px; border-radius: 16px; background: var(--blue); color: #fff; }
.review:nth-child(odd):last-child { grid-column: 2 / span 2; }
.review__stars { display: flex; gap: 2px; height: 28px; margin-bottom: 10px; }
.review__stars span { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.review__stars svg { width: 14px; height: 14px; }
.review__text { margin: 0; white-space: pre-line; }
.review figcaption { display: flex; flex-direction: column; }
.review__author { font: 600 16px/22.4px var(--ff-text); }
.review__source { font-size: 12.7px; line-height: 19.05px; color: rgba(255, 255, 255, .5); }
@media (max-width: 768px) {
	.reviews__grid { grid-template-columns: minmax(0, 1fr); }
	.reviews { padding-top: 4px; }
	.review, .review:nth-child(odd):last-child { grid-column: auto; padding: 24px; }
	.review figcaption { margin-top: 0; }
}

/* ---------- call to action ---------- */
.cta { padding: 34px var(--pad) 51px; }
.cta__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 100px; max-width: 1250px; margin: 0 auto; padding: 56px; border-radius: 16px; background: var(--light); }
@media (max-width: 1365px) { .cta__card { max-width: 1150px; } }
@media (max-width: 1199px) { .cta__card { max-width: 970px; } }
@media (max-width: 991px)  { .cta__card { max-width: 750px; } }
.cta__text { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; text-align: center; }
.cta__lead { margin: 20px 0 22px; font-size: 17.3px; line-height: 25.95px; }
.cta__btn { min-height: 56px; padding: 7px 28px; border-radius: 8px; background: var(--ink); color: #fff; align-items: center; }
.cta__btn > span { padding: 4px 0; }
.cta__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; border-radius: 0 16px 16px 0; overflow: hidden; }
.cta__media picture, .cta__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
	.cta { padding: 17px var(--pad) 37px; }
	.cta__card { grid-template-columns: minmax(0, 1fr); padding: 24px; }
	.cta__text { min-height: 0; }
	.cta__media { position: static; width: auto; height: 171px; margin: 0 -24px -24px; border-radius: 0 0 16px 16px; }
}
.obj__slide { position: relative; }
.obj__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 32px; color: #fff; text-align: center; }
.obj__overlay p:last-child { margin-top: 4px; font-size: 14px; line-height: 21px; }
.obj--soon .obj__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Referenzen ---------- */
.jungle--hero .jungle__content { padding-top: 69px; padding-bottom: 57px; }
.refcards { padding: 61px var(--pad) 59px; }
.refcards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.refcard { display: flex; flex-direction: column; padding: 32px 32px 0; border-radius: 16px; background: #f2f2f2; overflow: hidden; }
.refcard__title { margin-bottom: 20px; white-space: pre-line; }
.refcard__text { margin-bottom: 30px; white-space: pre-wrap; }
.refcard__media { margin: auto -32px 0; aspect-ratio: 406 / 309; }
.refcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sold { padding: 51px var(--pad) 50px; background: var(--blue); color: #fff; }
.sold__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sold__intro { grid-column: span 2; }
.sold__intro .h1 { max-width: 90%; }
.sold__lead { max-width: 92.4%; margin-top: 20px; font-size: 17.3px; line-height: 25.95px; }
.sold__note { max-width: 86.5%; margin-top: 12px; color: rgba(255, 255, 255, .5); }
.tile { padding: 32px; border-radius: 16px; background: #0570ff; }
.tile > p:not(.h1) { margin-top: 8px; }
.tile--a { padding: 28px; } .tile--a > p:not(.h1) { margin-top: 0; } .tile--a > .h1 + p + .h1 { margin-top: 13px; } .tile--a > p:last-child { margin-top: 7px; }
.tile--b > p:not(.h1) { margin-top: 0; } .tile--b > .h1 + p + .h1 { margin-top: 5px; } .tile--b > p:last-child { margin-top: 3px; }
.sold__strip { margin: 16px 0 36px; height: 220px; overflow: hidden; }
.sold__track { display: flex; width: max-content; }
.sold__group { display: flex; gap: 8px; padding-right: 8px; animation: marquee 12.95s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sold__group { animation: none; } }
.sold__item { position: relative; display: flex; align-items: center; justify-content: center; width: 294px; height: 220px; padding: 24px; border-radius: 8px; overflow: hidden; text-align: center; }
.sold__item--narrow { width: 165px; }
.sold__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sold__mark, .sold__thanks { position: relative; }
.sold__mark { color: rgba(255, 255, 255, .58); }
.sold__thanks { font-size: 14px; line-height: 12.6px; }
.sold__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.ref { position: relative; padding: 61px var(--pad) 65px; }
.ref--curve { padding-bottom: 68px; }
.ref--grey2.ref--curve { padding-bottom: 96px; }
.ref--grey { background: #ededed; } .ref--grey2 { background: #e8e8e8; } .ref--white { background: #fff; padding-bottom: 33px; }
.ref--curve { z-index: 1; clip-path: url(#kahnt-curve); }
.ref__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; max-width: 1250px; margin: 0 auto; }
@media (max-width: 1365px) { .ref__inner { max-width: 1150px; } }
@media (max-width: 1199px) { .ref__inner { max-width: 970px; } }
@media (max-width: 991px)  { .ref__inner { max-width: 750px; } }
.ref--flip .ref__gallery { order: 2; }
.ref__gallery { position: relative; margin-bottom: 20px; container-type: inline-size; }
.ref__viewport { margin: 0 -12px; overflow: hidden; } /* slides are 12px wider on each side → 24px gap while sliding, like the original */
.ref__track { display: flex; transition: transform .6s ease; }
.ref__slide { position: relative; flex: 0 0 100%; display: flex; align-items: center; justify-content: center; height: calc(70cqw + 16.8px); padding: 32px 44px; text-align: center; }
.ref__slide img { position: absolute; top: 0; left: 12px; width: calc(100% - 24px); height: 100%; object-fit: cover; border-radius: 16px; }
.ref__mark { position: relative; color: rgba(250, 250, 250, .59); }
.ref__thumbs { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; }
.ref__thumb { width: 60px; height: 60px; padding: 4px; border: 0; background: none; cursor: pointer; transition: opacity .3s; }
.ref__thumb.is-active { opacity: .3; }
.ref__thumb img { display: block; width: 52px; height: 52px; object-fit: cover; }
.ref__title { max-width: 91%; margin-bottom: 30px; }
.ref__p { margin-bottom: 16px; font-size: 17.3px; line-height: 25.95px; white-space: pre-line; }
.ref__feats { columns: 2; column-gap: 0; margin: 40px 0 14px; }
.ref__feats li { display: flex; align-items: center; gap: 16.656px; padding-right: 16px; margin-bottom: 16px; break-inside: avoid; font: 600 20px/24px var(--ff-head); }
.ref__feats li:nth-child(2n) { margin-bottom: 0; }
.ref__ico { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 100px; background: var(--gold); }
.ref__ico svg { width: 18px; height: 18px; }
.ref--white .ref__title { max-width: 96.2%; } .ref--white .ref__p { max-width: 83.4%; }
.ref-more { padding: 16px var(--pad) 39px; display: flex; justify-content: center; }
.reviews--under-curve { margin-top: -111px; padding-top: 143px; padding-bottom: 59px; }
.reviews--under-curve .review figcaption { margin-top: 0; }
.valuation--under-curve { margin-top: -143px; }
[data-reveal] .ref__gallery, [data-reveal] .ref__text > * { opacity: 0; }
[data-reveal].is-revealed .ref__gallery, [data-reveal].is-revealed .ref__text > * { animation: reveal-zoom .5s ease .1s forwards; }
@keyframes reveal-zoom { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { [data-reveal] .ref__gallery, [data-reveal] .ref__text > * { opacity: 1; animation: none !important; } }
.tile--thanks { display: none; }
@media (max-width: 768px) {
	.jungle--hero .jungle__content { padding-top: 34px; padding-bottom: 37px; }
	.refcards { padding: 30px var(--pad); }
	.refcards__grid { grid-template-columns: minmax(0, 1fr); }
	.refcard { padding: 24px 24px 0; }
	.refcard__media { margin: auto -24px 0; }
	/* sold: text, strip, three tiles + "Vielen Dank!" tile; curved bottom over the next block */
	.sold { position: relative; z-index: 1; padding: 32px var(--pad) 79px; clip-path: url(#kahnt-curve); }
	.sold .box, .sold__top, .sold__tiles { display: flex; flex-direction: column; gap: 16px; }
	.sold .box { gap: 0; }
	.sold__top, .sold__tiles { display: contents; }
	.sold__intro { order: 1; } .sold__intro .h1, .sold__lead { max-width: none; }
	.sold__intro .h1 { --m: 37.08; line-height: 1.15583; }
	.sold__lead { margin-top: 7px; font-size: 15px; line-height: 22.5px; }
	.sold__note, .tile--b, .sold__tiles .tile:nth-child(3), .sold__tiles .tile:nth-child(4) { display: none; }
	.sold__strip { order: 2; margin: 23px calc(-1 * var(--pad)) 16px; }
	.tile--a { order: 3; }
	.sold__tiles .tile:nth-child(1) { order: 4; } .sold__tiles .tile:nth-child(2) { order: 5; }
	.tile--thanks { display: block; order: 6; }
	.tile, .tile--a { padding: 24px; margin-bottom: 16px; }
	.tile > p:not(.h1) { margin-top: 9px; }
	.tile--a > p:not(.h1) { margin-top: 0; } .tile--a > .h1 + p + .h1 { margin-top: 14px; } .tile--a > p:last-child { margin-top: 7px; }
	.tile--thanks > p:not(.h1) { margin-top: 8px; }
	.sold + .ref { margin-top: -201px; padding-top: 213px; padding-bottom: 33px; }
	.reviews--under-curve { padding-top: 127px; padding-bottom: 29px; }
	.valuation--under-curve { padding-top: 136px; padding-bottom: 60px; }
	/* blocks */
	.ref { padding: 30px var(--pad) 33px; }
	.ref--white { padding-bottom: 0; }
	.ref-more { padding: 24px var(--pad) 29px; }
	.ref__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ref--flip .ref__gallery { order: 2; }
	.ref__title, .ref--white .ref__title, .ref--white .ref__p { max-width: none; }
	.ref__feats { columns: auto; display: flex; flex-direction: column; gap: 16px; }
	.ref__feats li { margin: 0; padding: 0; }
	.ref__feats li:nth-child(1) { order: 1; } .ref__feats li:nth-child(2) { order: 3; } .ref__feats li:nth-child(3) { order: 2; } .ref__feats li:nth-child(4) { order: 4; }
	.ref__ico svg { width: 19px; height: 19px; }
}
.refcards--pair .refcards__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.refcards--pair .refcard { grid-column: span 2; }
.refcards--pair .refcard:first-child { grid-column: 2 / span 2; }
.ref-more--gold { padding: 7px var(--pad) 0; }
.ref--top .ref__title { margin-bottom: 18px; }
.reviews--rent { padding-top: 111px; padding-bottom: 59px; }
@media (max-width: 768px) {
	.ref--top { padding-bottom: 15px; }
	.ref-more--gold { padding-top: 3px; }
	.reviews--rent { padding-top: 64px; padding-bottom: 17px; }
	.valuation--big { padding-bottom: 60px; }
	.valuation--big .vf-submit { line-height: 20.4px; padding: 10px 31px 14px; }
}
.reviews--rent .review figcaption { margin-top: 0; }
@media (max-width: 768px) {
	.refcards--pair .refcards__grid { grid-template-columns: minmax(0, 1fr); }
	.refcards--pair .refcard, .refcards--pair .refcard:first-child { grid-column: auto; }
}

/* ---------- re-open button of the cookie banner (Real Cookie Banner link #consent-change) ---------- */
.consent-lock { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 54px; background: rgba(255, 255, 255, .7); box-shadow: rgba(0, 0, 0, .2) 0 20px 140px 20px; }
.consent-lock svg { width: 20px; height: 24px; }
body:has(dialog.rcb-align[open]) .consent-lock { display: none; }

/* ---------- 769–991px (tablet) ----------
   The original keeps the desktop spacing and type sizes here but stacks the columns, inside a centred box:
   full-width blocks min(100vw - 8px, 806px), header min(100vw, 798px). */
@media (min-width: 768.02px) and (max-width: 991.98px) {
	:root { --tb: min(100vw - 8px, 806px); --tx: calc((100vw - var(--tb)) / 2); }
	.site-header__logo { margin-left: max(0px, (100vw - 798px) / 2); }
	.site-header__burger { margin-right: max(0px, (100vw - 798px) / 2); }
	/* full-width blocks: 806px box */
	.hero__content, .intro, .banner__content, .market, .page-hero__content { padding-inline: var(--tx); }
	.valuation { padding-left: var(--tx); padding-right: var(--tx); }
	.intro { grid-template-columns: minmax(0, 1fr); }
	.intro__text { padding-bottom: 28px; }
	.intro__media { aspect-ratio: 806 / 717; }
	.intro { padding-bottom: 44px; }
	.services { padding-bottom: 83px; grid-auto-rows: auto; }
	.service { padding-bottom: 32px; } .service:first-child { padding-bottom: 39px; } /* first title sits higher, card keeps its height */
	.steps { padding-bottom: 59px; }
	.step__title { width: auto; }
	.jungle__title { max-width: calc(var(--cw) * .698); } .jungle__text { max-width: calc(var(--cw) * .698 * .885); }
	.services-head__title { width: auto; margin-inline: calc(var(--pad) - 8px); }
	.steps__title { width: 485px; max-width: var(--tb); margin-left: calc(var(--tx) - var(--pad)); }
	.steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.market { grid-template-columns: minmax(0, 1fr); }
	.market__media { aspect-ratio: 806 / 709; }
	.market__text { width: auto; }
	.market { row-gap: 30px; padding-bottom: 58px; }
	.valuation__inner { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	.site-footer__top { display: flex; flex-direction: column; align-items: stretch; }
	.site-footer__logo { margin: -26px auto 0; }
	.site-footer__nav { justify-content: flex-end; margin: 30px calc(var(--tx) - var(--pad)) 0 0; }
	.site-footer__top + .site-footer__rule { margin-top: 8px; }
	.site-footer--b .site-footer__top + .site-footer__rule { margin-top: 24px; }
	.site-footer__disclaimer { margin-inline: calc(var(--tx) - var(--pad)); }
	.page-hero__content { max-width: none; }
	.page-hero__title { max-width: calc(var(--tb) * .5575); }
	.team__title { max-width: none; margin-inline: -24px; }
	.team__lead { max-width: calc((100% + 48px) * .7118); }
	.legal__text { width: calc((100% + 48px) * .4968); }
	.legal__text--2 { width: calc((100% + 48px) * .526125); }
	.legal { padding-bottom: 150px; }
}
@media (min-width: 768.02px) and (max-width: 991.98px) {
	/* Referenzen: cards in two columns; "Erfolgreich verkauft" as a 4-column grid with the phone's tile selection; blocks stacked, 806px wide */
	.refcards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sold .box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.sold__top, .sold__tiles { display: contents; }
	.sold__intro { grid-column: 1 / span 2; grid-row: 1; }
	.tile--a { grid-column: 3; grid-row: 1; }
	.sold__tiles .tile:nth-child(1) { grid-column: 4; grid-row: 1; }
	.sold__strip { grid-column: 1 / -1; grid-row: 2; margin: 0; }
	.sold__tiles .tile:nth-child(2) { grid-column: 1; grid-row: 3; }
	.tile--thanks { display: block; grid-column: 2; grid-row: 3; }
	.sold__note, .tile--b, .sold__tiles .tile:nth-child(3), .sold__tiles .tile:nth-child(4) { display: none; }
	.ref__inner { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--tb) - 24px); margin-inline: calc(var(--tx) - var(--pad) + 12px); }
	.sold__intro .h1 { font-size: 70.2px; line-height: 81.14px; }
	.sold__lead { margin-top: 7px; font-size: 15px; line-height: 22.5px; }
	/* blue section ends in a 38px deep parabolic curve (fixed height, stretched to the width) */
	.sold { position: relative; z-index: 1; padding-top: 68px; padding-bottom: 116px; }
	.sold::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 38px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 38%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 0H100Q50 76 0 0Z%27 fill=%27%23004aad%27/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
	.sold + .ref { padding-top: 104px; }
	.ref__inner { gap: 16px; }
	.refcards--pair .refcards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.refcards--pair .refcard, .refcards--pair .refcard:first-child { grid-column: auto; }
	.soon__lead { max-width: none; margin-inline: -8px; }
	.offers__title { max-width: none; margin-inline: -16px; }
	.cta__card { grid-template-columns: minmax(0, 1fr); padding: 56px 56px 0; overflow: hidden; }
	.cta__text { min-height: 0; margin-inline: -50px; padding-bottom: 50px; }
	.cta__media { position: static; width: auto; height: 425px; margin: 0 -56px; border-radius: 0 0 16px 16px; }
}
