@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --ink: #1a1c1f;
    --ink-soft: #343438;
    --sand: #f1f5f9;
    --stone: #e2e8f0;
    --clay: #33967e;
    --moss: #29ab8a;
    --teal: #29ab8a;
    --sun: #29ab8a;
    --clay-soft: rgba(51, 150, 126, 0.12);
    --clay-border: rgba(51, 150, 126, 0.3);
    --clay-shadow: rgba(51, 150, 126, 0.25);
    --teal-shadow: rgba(41, 171, 138, 0.2);
    --teal-strong: rgba(41, 171, 138, 0.8);
    --sky: #e9f3f1;
    --white: #ffffff;
    --shadow: 0 18px 42px rgba(26, 28, 31, 0.14);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-btn: 6px;
    --section-space: clamp(56px, 7vw, 110px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.vm-expose-body,
body.vm-portal-body {
    font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
    font-size: clamp(17px, 1.1vw, 20px);
    font-weight: 300;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--sand);
    min-height: 100vh;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
}

strong {
    font-weight: 600;
}

.expose-shell {
    position: relative;
}

.expose-shell::before,
.expose-shell::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.1;
    z-index: 0;
}

.expose-shell::before {
    background: radial-gradient(circle, var(--sun), transparent 65%);
    top: -120px;
    right: -120px;
}

.expose-shell::after {
    background: radial-gradient(circle, var(--teal), transparent 60%);
    bottom: -160px;
    left: -160px;
}

.expose-container {
    width: min(1240px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.expose-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 4vw;
    backdrop-filter: blur(12px);
    background: rgba(241, 245, 249, 0.95);
    border-bottom: 1px solid rgba(26, 28, 31, 0.08);
    box-shadow: 0 6px 20px rgba(26, 28, 31, 0.06);
}

body.admin-bar .expose-nav {
    top: 32px;
}

.expose-nav__brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.expose-nav__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.expose-nav__logo {
    height: 34px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.expose-nav__brand-text {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink);
}

.expose-nav__brand-tag {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(26, 28, 31, 0.6);
}

.expose-nav__links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--ink);
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.expose-nav__links::-webkit-scrollbar {
    display: none;
}

.expose-nav__links a {
    padding: 6px 2px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.expose-nav__links a:hover {
    color: var(--clay);
}

.expose-nav__links a.is-active {
    border-color: var(--clay);
    color: var(--clay);
}

.expose-nav__cta {
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    background: var(--clay);
    border: 1px solid var(--clay);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expose-nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(26, 28, 31, 0.12);
}

.expose-sidenav {
    display: none;
    position: fixed;
    top: 50%;
    right: clamp(16px, 2vw, 36px);
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 28, 31, 0.12);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 16px 32px rgba(26, 28, 31, 0.12);
    backdrop-filter: blur(10px);
}

.expose-sidenav__title {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.65rem;
    color: var(--clay);
    margin-bottom: 12px;
}

.expose-sidenav__list {
    list-style: none;
    display: grid;
    gap: 12px;
    position: relative;
    padding-left: 12px;
}

.expose-sidenav__list::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(26, 28, 31, 0.12);
}

.expose-sidenav__link {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center;
    color: rgba(26, 28, 31, 0.7);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.expose-sidenav__link:hover {
    color: var(--ink);
}

.expose-sidenav__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(26, 28, 31, 0.24);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95);
}

.expose-sidenav__index {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: rgba(26, 28, 31, 0.48);
}

.expose-sidenav__text {
    font-weight: 500;
}

.expose-sidenav__link.is-active {
    color: var(--ink);
    font-weight: 600;
}

.expose-sidenav__link.is-active .expose-sidenav__dot {
    background: var(--clay);
    border-color: var(--clay);
    box-shadow: 0 0 0 6px var(--clay-shadow);
}

.expose-sidenav__link.is-active .expose-sidenav__index {
    color: rgba(26, 28, 31, 0.7);
}

.expose-sidenav__link.is-past {
    color: var(--teal);
}

.expose-sidenav__link.is-past .expose-sidenav__dot {
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-shadow);
}

.expose-sidenav__link.is-past .expose-sidenav__index {
    color: var(--teal-strong);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(26, 28, 31, 0.82) 20%, rgba(26, 28, 31, 0.15) 70%);
}

.hero__overlay--gradient {
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 55%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.85) 85%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.hero__content {
    position: relative;
    display: grid;
    gap: 32px;
    color: var(--white);
}

.hero__content--centered {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 0 clamp(20px, 4vw, 40px) clamp(50px, 6vh, 80px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 65vh;
}

.hero h1,
.hero h2,
.hero h3 {
    color: var(--white);
}

.hero-card {
    background: rgba(26, 28, 31, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    max-width: min(620px, 100%);
    overflow-wrap: break-word;
}

.hero__content--centered .hero-card {
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: min(860px, 100%);
    width: min(860px, 100%);
    padding: 0;
}

.hero-card h1 {
    font-weight: 600;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    margin-bottom: 12px;
}

.hero__content--centered .hero-headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subline {
    font-size: clamp(1rem, 1.6vw, 1.38rem);
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 24px;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-tag {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-status {
    --hero-status-color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.hero-status__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hero-status-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.hero-status--bald_verfuegbar,
.hero-status--bald-verfuegbar {
    --hero-status-color: #9ca3af;
}

.hero-status--verfuegbar,
.hero-status--in_vermarktung,
.hero-status--in-vermarktung {
    --hero-status-color: #00a32a;
}

.hero-status--vorgemerkt {
    --hero-status-color: #3b82f6;
}

.hero-status--reserviert {
    --hero-status-color: #ff8c00;
}

.hero-status--verkauft {
    --hero-status-color: #666;
}

.hero-status--unknown {
    --hero-status-color: #94a3b8;
}

/* Ausgegraugte Darstellung für "Bald verfügbar" */
.hero.hero--bald_verfuegbar .hero__overlay {
    background: linear-gradient(110deg, rgba(26, 28, 31, 0.92) 20%, rgba(26, 28, 31, 0.5) 70%);
}

.hero.hero--bald_verfuegbar .hero-card {
    opacity: 0.85;
}

.hero-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.05rem, 1.7vw, 1.26rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.hero-address__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--white);
    flex-shrink: 0;
}

.hero-address__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hero-address__text {
    display: inline-block;
}

.hero-location {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-highlight {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__content--centered .hero-actions {
    justify-content: flex-start;
    gap: 16px;
}

.hero__content--centered .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero__content--centered .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hero-info {
    display: grid;
    gap: 18px;
    max-width: 520px;
}

.hero-info__item {
    background: rgba(26, 28, 31, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 18px;
    overflow-wrap: break-word;
}

.hero-info__item .label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-info__item .value {
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

.hero-info__item ul {
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.section {
    padding: var(--section-space) 0;
    position: relative;
    scroll-margin-top: var(--vm-expose-scroll-offset, 96px);
    background: var(--white);
}

.section--alt {
    background: var(--sand);
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ── Shared tag/label component ─────────────────────────────── */
.vm-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--clay, #33967e);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-btn);
    line-height: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    margin-bottom: 12px;
    color: var(--clay);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 68ch;
}

.two-col {
    display: grid;
    gap: 40px;
    align-items: start;
}

.micro-layout {
    display: grid;
    gap: 28px;
}

.section-header--micro {
    margin-bottom: 0;
}

.two-col > *,
.micro-layout > *,
.economy-layout > *,
.object-layout > *,
.contact-layout > * {
    min-width: 0;
}

.section-copy h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 16px;
}

.section-media img {
    border-radius: var(--radius-md);
    box-shadow: 0 16px 30px rgba(26, 28, 31, 0.12);
    width: 100%;
    height: auto;
}

/* Google Maps: globale img-Regeln zurücksetzen, sonst runden Ecken auf Icons/Controls */
.gm-style img {
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: auto;
    height: auto;
    display: inline;
}

.media-placeholder {
    background: var(--stone);
    border-radius: var(--radius-md);
    padding: 60px 30px;
    text-align: center;
    color: rgba(26, 28, 31, 0.6);
}

.fact-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.fact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    padding: 12px 16px 12px 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    position: relative;
    border: 1px solid var(--stone);
    box-shadow: 0 10px 24px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
}

.fact-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232d5a4a"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') center/contain no-repeat;
}

.fact-label {
    font-weight: 500;
    color: var(--ink);
    flex: 1 1 60%;
    min-width: 180px;
}

.fact-value {
    font-weight: 500;
    color: var(--ink);
}

.distance-label {
    font-weight: 500;
    color: var(--ink);
    flex: 1 1 60%;
    min-width: 180px;
}

.distance-value {
    font-weight: 500;
    color: var(--ink);
}

.card-grid {
    display: grid;
    gap: 18px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.info-card h3 {
    margin-bottom: 10px;
}

.economy-layout {
    display: grid;
    gap: 32px;
}

.employer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.employer-card {
    background: var(--white);
    padding: 16px 18px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    border: 1px solid var(--stone);
    box-shadow: 0 8px 20px rgba(26, 28, 31, 0.06);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.economy-stats {
    display: grid;
    gap: 16px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: rgba(26, 28, 31, 0.6);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--stone);
    box-shadow: 0 16px 30px rgba(26, 28, 31, 0.12);
    height: 320px;
    min-height: 320px;
}

.map-frame--full {
    height: clamp(320px, 44vw, 520px);
    min-height: clamp(320px, 44vw, 520px);
}

.map-frame iframe,
.map-frame__canvas {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    display: block;
}

.map-frame__canvas {
    background: #dbe4ea;
}

.map-frame__canvas.is-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.map-frame__fallback-text {
    margin: 0;
    color: rgba(26, 28, 31, 0.72);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.distance-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.distance-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    background: var(--white);
    padding: 14px 18px 14px 50px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stone);
    box-shadow: 0 10px 24px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
    position: relative;
}

.distance-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--clay);
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.section-copy--micro .lead {
    max-width: none;
}

.object-layout {
    display: grid;
    gap: 32px;
    align-items: start;
}

.vm-slider {
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.vm-slider__viewport {
    position: relative;
    height: var(--slider-height, clamp(240px, 36vw, 380px));
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.vm-slider--single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.vm-slider__slide {
    flex: 0 0 100%;
    height: 100%;
}

.vm-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--stone);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(26, 28, 31, 0.16);
    transition: transform 0.2s ease, background 0.2s ease;
}

.vm-slider__btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.05);
}

.vm-slider__btn--prev {
    left: 12px;
}

.vm-slider__btn--next {
    right: 12px;
}

.vm-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--stone);
    box-shadow: 0 8px 18px rgba(26, 28, 31, 0.12);
}

.vm-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(26, 28, 31, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vm-slider__dot.is-active {
    width: 18px;
    background: var(--clay);
}

.vm-slider__counter {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--stone);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 6px 12px rgba(26, 28, 31, 0.12);
}

.vm-slider__thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px 0 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.vm-slider__thumbnails::-webkit-scrollbar {
    height: 4px;
}

.vm-slider__thumbnails::-webkit-scrollbar-track {
    background: var(--sand);
    border-radius: 2px;
}

.vm-slider__thumbnails::-webkit-scrollbar-thumb {
    background: var(--stone);
    border-radius: 2px;
}

.vm-slider__thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--clay);
}

.vm-slider__thumbnail {
    flex: 0 0 90px;
    height: 68px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vm-slider__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.vm-slider__thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vm-slider__thumbnail:hover img {
    opacity: 1;
}

.vm-slider__thumbnail.is-active {
    border-color: var(--clay);
    box-shadow: 0 4px 16px var(--clay-shadow);
    transform: translateY(-2px);
}

.vm-slider__thumbnail.is-active img {
    opacity: 1;
}

/* Expand button (Lightbox öffnen) */
.vm-slider__expand {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(26, 28, 31, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.vm-slider__expand:hover {
    background: rgba(26, 28, 31, 0.75);
    transform: scale(1.08);
}

.vm-slider--single {
    position: relative;
}

/* Lightbox Modal */
.vm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-lightbox[hidden] {
    display: none;
}

.vm-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(6px);
}

.vm-lightbox__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 16px 48px;
    box-sizing: border-box;
}

.vm-lightbox__img-wrap {
    position: relative;
    max-width: min(92vw, 1200px);
    max-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-drag: none;
}

.vm-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.vm-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.vm-lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.vm-lightbox__btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.vm-lightbox__btn--prev {
    left: 16px;
}

.vm-lightbox__btn--next {
    right: 16px;
}

@media (max-width: 600px) {
    .vm-lightbox__btn--prev { left: 8px; }
    .vm-lightbox__btn--next { right: 8px; }
}

.vm-lightbox__counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    z-index: 2;
}

body.vm-lightbox-open {
    overflow: hidden;
}

.gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.gallery-item {
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.1);
    border: 1px solid var(--stone);
    background: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-placeholder {
    background: var(--stone);
    border-radius: var(--radius-md);
    padding: 60px;
    text-align: center;
    color: rgba(26, 28, 31, 0.6);
}

.fact-grid {
    display: grid;
    gap: 12px;
}

.fact-item {
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stone);
    box-shadow: 0 10px 24px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
}

.object-description {
    margin-top: 20px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 70ch;
}

.object-description--full {
    margin-top: -12px;
    margin-bottom: 24px;
    max-width: none;
}

.modernisierung-layout {
    display: grid;
    gap: 48px;
    align-items: start;
}

/* Kategorien-Container */
.modernisierung-kategorien {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.mod-kategorie {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mod-kategorie-name {
    margin: 0 0 4px;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clay);
}

.modernisierung-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
}

.modernisierung-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    padding-left: 0;
}

/* Versteckte Items / Kategorien (Mehr zeigen) */
.mod-item--hidden {
    display: none;
}
.mod-kategorie--hidden {
    display: none;
}

.modernisierung-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-color: var(--clay);
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* Mehr zeigen Button */
.mod-mehr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
    background: none;
    border: none;
    color: var(--clay);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}

.mod-mehr-btn:hover {
    text-decoration-color: currentColor;
}

.mod-mehr-btn__label-less {
    display: none;
}

.mod-mehr-btn[aria-expanded="true"] .mod-mehr-btn__label-more {
    display: none;
}

.mod-mehr-btn[aria-expanded="true"] .mod-mehr-btn__label-less {
    display: inline;
}

.mod-mehr-btn__icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--clay);
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: transform 0.2s;
}

.mod-mehr-btn[aria-expanded="true"] .mod-mehr-btn__icon {
    transform: rotate(180deg);
}

.floorplan {
    margin-top: 40px;
}

.floorplan-intro {
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: none;
}

.floorplan-label {
    margin-bottom: 12px;
    font-size: 1rem;
}

.floorplan-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.floorplan-images figure {
    margin: 0;
    height: 320px;
    background: var(--sand-light, #f8f6f3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.floorplan-images figure:hover {
    transform: scale(1.03);
}

.floorplan img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 16px;
}

.floorplan figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(26, 28, 31, 0.6);
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.business-conditions {
    margin-bottom: 36px;
}

.business-conditions .eyebrow {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.conditions-grid {
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: grid;
    gap: 0 48px;
    grid-template-columns: repeat(2, 1fr);
    box-shadow: 0 8px 20px rgba(26, 28, 31, 0.06);
}

.condition-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.condition-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.condition-item span {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.65);
    font-weight: 400;
    flex: 0 1 auto;
}

.condition-item strong {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    flex: 0 0 auto;
}

.condition-item--slider {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.condition-item--slider > span {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.65);
}

.condition-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.condition-slider input[type="range"].vm-slider {
    flex: 1 1 auto;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--stone, #e2e8f0);
    border-radius: 4px;
    outline: none;
    margin: 0;
    cursor: pointer;
}

.condition-slider input[type="range"].vm-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--clay, #33967e);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(26, 28, 31, 0.18);
    cursor: pointer;
    transition: transform 0.12s ease;
}

.condition-slider input[type="range"].vm-slider::-webkit-slider-thumb:hover {
    transform: scale(1.08);
}

.condition-slider input[type="range"].vm-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--clay, #33967e);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(26, 28, 31, 0.18);
    cursor: pointer;
}

.condition-slider strong {
    flex: 0 0 auto;
    min-width: 64px;
    text-align: right;
}

.condition-slider__hint {
    font-size: 0.72rem;
    color: rgba(26, 28, 31, 0.45);
    font-weight: 400;
    margin-top: 2px;
}

.condition-slider__actions {
    margin-top: 14px;
    text-align: right;
}

.condition-slider__reset {
    background: transparent;
    border: 1px solid rgba(26, 28, 31, 0.15);
    color: rgba(26, 28, 31, 0.65);
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.condition-slider__reset:hover {
    border-color: var(--clay, #33967e);
    color: var(--clay, #33967e);
}

.metric-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
}

.metric-card--highlight {
    background: #f0fdf4;
    border: 2px solid #86efac;
}

.metric-card--highlight .metric-value {
    color: #16a34a;
    font-weight: 700;
}

.metric-card--highlight.metric-card--negative .metric-value {
    color: var(--ink);
}

.metric-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(26, 28, 31, 0.6);
    min-height: 2.6rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
}

.metric-label__emoji {
    font-size: 1.2rem;
    line-height: 1;
    margin-right: 0.35rem;
    display: inline-flex;
}

.metric-label__text {
    display: inline;
}

.metric-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 8px 0 4px;
    color: var(--ink);
    line-height: 1.2;
}

.metric-note {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
    margin-top: auto;
}

.chart-grid {
    display: grid;
    gap: 20px;
    margin-top: 28px;
    align-items: start;
}

.chart-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
    display: grid;
    gap: 18px;
}

.chart-card h3 {
    margin-bottom: 0;
}

.chart-canvas {
    position: relative;
    width: 100%;
    min-height: 240px;
}

.chart-canvas canvas {
    width: 100% !important;
    height: 100% !important;
}

.wealth-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wealth-graphic {
    width: 100%;
}

.wealth-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    font-family: inherit;
    font-size: 14px;
}

.wealth-svg .line {
    stroke: rgba(26, 28, 31, 0.65);
    stroke-width: 2;
    stroke-linecap: round;
}

.wealth-svg .line-center {
    stroke: rgba(26, 28, 31, 0.25);
    stroke-width: 1;
    stroke-dasharray: 5 5;
}

.wealth-svg .arrow-line {
    stroke: var(--clay);
    stroke-width: 2;
    marker-end: url(#vm-wealth-arrow-end);
    marker-start: url(#vm-wealth-arrow-start);
}

.wealth-svg .arrowhead {
    fill: var(--clay);
}

.wealth-svg .text-label {
    font-weight: 600;
    fill: var(--ink);
}

.wealth-svg .text-small {
    font-size: 12px;
    fill: rgba(26, 28, 31, 0.65);
    font-weight: 500;
}

.wealth-svg .text-green {
    fill: var(--clay);
    font-weight: 700;
    font-size: 18px;
}

.wealth-svg .text-value-main {
    font-size: 18px;
    font-weight: 600;
    fill: var(--ink);
}

.wealth-svg .wealth-value-bg {
    fill: var(--white);
}

.chart-placeholder {
    border: 2px dashed var(--stone);
    padding: 40px;
    border-radius: var(--radius-sm);
    text-align: center;
    color: rgba(26, 28, 31, 0.6);
}

.cashflow-details {
    display: grid;
    gap: 16px;
}

.cashflow-list {
    display: grid;
    gap: 10px;
}

.cashflow-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stone);
    background: rgba(241, 245, 249, 0.6);
    font-size: 0.95rem;
}

.cashflow-row strong {
    font-weight: 600;
    color: var(--ink);
}

.cashflow-operator {
    display: inline-block;
    min-width: 1.8em;
    font-weight: 600;
    color: var(--ink-muted);
}

.cashflow-row--intermediate {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--clay-border);
    margin-top: 2px;
}

.cashflow-row--intermediate span {
    font-weight: 500;
}

.cashflow-row--intermediate strong {
    font-weight: 600;
}

.cashflow-row--final {
    background: linear-gradient(135deg, rgba(51, 150, 126, 0.08) 0%, rgba(51, 150, 126, 0.05) 100%);
    border: 1.5px solid var(--clay-border);
    padding: 14px 16px;
    margin-top: 4px;
}

.cashflow-row--final span {
    font-weight: 600;
}

.cashflow-row--final strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.cashflow-row--final.cashflow-row--positive strong {
    color: #16a34a;
}

.tax-refund-card {
    border-radius: var(--radius-md);
    background: var(--clay-soft);
    border: 1px solid var(--clay-border);
    padding: 16px 18px;
    display: grid;
    gap: 8px;
    color: var(--ink);
}

.tax-refund-card strong {
    font-size: 1.2rem;
    color: var(--clay);
}

.tax-refund-card small {
    color: rgba(26, 28, 31, 0.6);
}

.contact-layout {
    display: grid;
    gap: 32px;
}

.timeline {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 12px 28px rgba(26, 28, 31, 0.08);
    overflow-wrap: break-word;
}

.timeline .step {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--clay);
}

.contact-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stone);
    box-shadow: 0 16px 34px rgba(26, 28, 31, 0.12);
    height: fit-content;
    overflow-wrap: break-word;
    display: grid;
    gap: 16px;
}

.contact-person {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: center;
}

.contact-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clay);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-role {
    margin-top: 4px;
    font-size: 0.9rem;
    color: rgba(26, 28, 31, 0.6);
}

.contact-details {
    display: grid;
    gap: 6px;
}

.contact-details a {
    color: var(--clay);
    font-weight: 500;
    word-break: break-word;
}

.contact-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clay);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-social__link:hover {
    opacity: 0.7;
}

.contact-note {
    margin-top: 16px;
    color: rgba(26, 28, 31, 0.6);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--clay);
    color: var(--white);
    border-color: var(--clay);
    box-shadow: 0 10px 22px var(--clay-shadow);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.section .btn-ghost {
    border-color: var(--clay);
    color: var(--clay);
    background: transparent;
}

.btn:focus-visible {
    outline: 2px dashed var(--teal);
    outline-offset: 4px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(26, 28, 31, 0.14);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portal-shell {
    position: relative;
    padding: 0 0 80px;
    overflow-x: clip;
}

.portal-shell::before,
.portal-shell::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.08;
    z-index: 0;
}

.portal-shell::before {
    background: radial-gradient(circle, var(--sun), transparent 65%);
    top: -160px;
    right: -120px;
}

.portal-shell::after {
    background: radial-gradient(circle, var(--teal), transparent 60%);
    bottom: -180px;
    left: -140px;
}

.portal-header {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.portal-header h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 8px;
}

.portal-kicker {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: rgba(26, 28, 31, 0.5);
    margin-bottom: 6px;
}

.portal-content {
    width: min(1120px, 92vw);
    margin: 0 auto;
    display: grid;
    gap: 24px;
    justify-items: stretch;
    position: relative;
    z-index: 1;
}

.vm-portal-body h2 {
    font-size: clamp(1.05rem, 1.2vw, 1.32rem);
}

.portal-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    box-shadow: 0 16px 34px rgba(26, 28, 31, 0.12);
    text-align: left;
}

.portal-card--center {
    text-align: center;
}

.portal-nav {
    position: static;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 4vw;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(26, 28, 31, 0.08);
    box-shadow: 0 6px 20px rgba(26, 28, 31, 0.06);
}

body.admin-bar .portal-nav {
    top: auto;
}

.portal-nav__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.portal-nav__brand-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.portal-nav__logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.portal-nav__brand-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.portal-nav__brand-sub {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(26, 28, 31, 0.5);
}

.portal-nav__links {
    display: flex;
    gap: 14px;
    flex: 1 1 auto;
    align-items: center;
}

.portal-nav__link {
    font-size: 0.9rem;
    color: var(--ink);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.portal-nav__link.is-active {
    color: var(--clay);
    border-color: var(--clay);
}

.portal-nav__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--clay-soft);
    color: var(--clay);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.portal-user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
}

.portal-nav__logout {
    font-size: 0.85rem;
    color: var(--clay);
    font-weight: 500;
}

.portal-hero {
    padding: 24px;
    width: 100%;
    justify-self: stretch;
}

.portal-hero--full {
    grid-column: 1 / -1;
}

.portal-hero__content {
    display: grid;
    gap: 14px;
}

.portal-hero__actions {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.portal-hero__actions .btn {
    width: 100%;
    justify-content: center;
}

.portal-ghost {
    border-color: var(--clay);
    color: var(--clay);
    background: transparent;
}

.portal-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.portal-section {
    display: grid;
    gap: 14px;
}

/* Mobile order: hero → reservations → dokumentenstatus → zugeordnete objekte */
.portal-hero--full        { order: 1; }
.portal-sidebar           { order: 2; }
.portal-section--wide     { order: 3; }
.portal-reservations-card { order: 1; }
.portal-progress-card     { order: 2; }

.portal-sidebar {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.portal-sidebar .info-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.portal-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.portal-section__hint {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-dealcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portal-dealcase-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-dealcase-card__header > div {
    min-width: 0;
    flex: 1 1 180px;
}

.portal-dealcase-card__header .portal-pill {
    align-self: flex-start;
    margin-top: 6px;
}

.portal-dealcase-card h3 {
    margin-bottom: 4px;
}

.portal-card-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(26, 28, 31, 0.5);
    margin-bottom: 6px;
}

.portal-address {
    margin: 12px 0;
    color: rgba(26, 28, 31, 0.7);
}

.portal-dealcase-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
    margin-bottom: 10px;
}

.portal-dealcase-card__financing {
    margin: 16px 0;
    padding: 16px;
    background: rgba(26, 28, 31, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(26, 28, 31, 0.08);
}

.portal-financing-badge {
    margin-bottom: 12px;
}

.portal-ek-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.portal-ek-badge--mit {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.portal-ek-badge--ohne {
    background: rgba(59, 130, 246, 0.12);
    color: #1e40af;
}

.portal-financing-details {
    display: grid;
    gap: 8px;
}

.portal-financing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 4px 0;
}

.portal-financing-row--sum {
    padding-top: 8px;
    margin-top: 4px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-top: 1px solid rgba(26, 28, 31, 0.15);
    border-bottom: 1px solid rgba(26, 28, 31, 0.15);
    font-weight: 600;
}

.portal-financing-row--ek {
    margin-top: 8px;
}

.portal-financing-row--highlight {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 2px solid rgba(26, 28, 31, 0.2);
    font-weight: 600;
}

.portal-financing-row--monthly {
    padding-top: 8px;
    margin-top: 8px;
    background: rgba(34, 197, 94, 0.06);
    padding: 8px 12px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 4px;
}

.portal-financing-label {
    color: rgba(26, 28, 31, 0.65);
}

.portal-financing-value {
    color: var(--ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.portal-financing-row--highlight .portal-financing-value {
    color: var(--accent);
}

.portal-financing-row--monthly .portal-financing-label,
.portal-financing-row--monthly .portal-financing-value {
    font-weight: 600;
}

.portal-dealcase-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Portal Dealcase Card – Object-Card-Style */
.portal-dc-card {
    padding: 0;
    overflow: hidden;
}

.portal-dc-card__image {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: #f0f4f8;
}

.portal-dc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-dc-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.portal-dc-card__image-placeholder svg {
    width: 64px;
    height: 64px;
    color: #93c5fd;
}

.portal-dc-card__status {
    position: absolute;
    top: 10px;
    left: 10px;
}

.portal-dc-card__body {
    padding: 16px;
}

.portal-dc-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-dc-card__id {
    font-size: 0.75rem;
    color: rgba(26, 28, 31, 0.4);
    margin-top: 2px;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.portal-dc-card__sub {
    font-size: 0.825rem;
    color: rgba(26, 28, 31, 0.55);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-dc-card__ek {
    margin-bottom: 12px;
}

.portal-dc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.portal-dc-stat {
    background: rgba(26, 28, 31, 0.04);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.portal-dc-stat dt {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(26, 28, 31, 0.45);
    margin-bottom: 3px;
}

.portal-dc-stat dd {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* Icon Boxes (wie in Screenshots) */
.icon-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-box__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--clay-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box__icon i {
    font-size: 32px;
    color: var(--clay);
}

.icon-box__content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.icon-box__content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.leben-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 600;
    margin: 40px 0 0;
    color: var(--ink);
}

/* Icon Grid Layout */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .icon-box__icon {
        width: 48px;
        height: 48px;
    }

    .icon-box__icon i {
        font-size: 24px;
    }
}

/* Fact Items with Icons */
.fact-grid-with-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px 16px;
}

.fact-item-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--clay-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-item-icon i {
    font-size: 22px;
    color: var(--clay);
}

.fact-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fact-item-content .fact-label {
    font-size: 0.8rem;
    color: rgba(26, 28, 31, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fact-item-content .fact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

@media (max-width: 768px) {
    .fact-grid-with-icons {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fact-item-icon {
        width: 40px;
        height: 40px;
    }

    .fact-item-icon i {
        font-size: 20px;
    }
}

.portal-note {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-progress-card {
    display: grid;
    gap: 12px;
}

.portal-progress-card--wide {
    margin-bottom: 10px;
}

.portal-progress-card .btn {
    width: 100%;
    justify-content: center;
}

.portal-progress__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-progress__bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: var(--stone);
    overflow: hidden;
}

.portal-progress__fill {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, var(--clay), var(--teal));
    transition: width 0.3s ease;
}

.portal-progress__hint {
    font-size: 0.9rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-missing-list {
    list-style: none;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
}

.portal-missing-list__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
}

.portal-missing-list__icon {
    flex-shrink: 0;
    color: #dc2626;
}

.portal-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.portal-list__item {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--sand);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.portal-list__item > div {
    display: grid;
    gap: 8px;
}

.portal-list__item .portal-pill {
    justify-self: start;
}

.portal-list__title {
    font-weight: 600;
    color: var(--ink);
}

.portal-list__meta {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--clay-soft);
    color: var(--clay);
    white-space: nowrap;
    flex-shrink: 0;
}

.portal-pill--reservierung_vorgemerkt,
.portal-pill--vorgemerkt {
    background: var(--clay-soft);
    color: var(--clay);
}

.portal-pill--reserviert,
.portal-pill--notar_bereit {
    background: rgba(255, 165, 0, 0.15);
    color: #b26a00;
}

.portal-pill--verkauft {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.portal-pill--open {
    background: rgba(26, 28, 31, 0.08);
    color: var(--ink);
}

.portal-empty,
.portal-empty-card {
    color: rgba(26, 28, 31, 0.6);
}

.portal-form {
    display: grid;
    gap: 22px;
}

.portal-form.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.portal-form-section__header h2 {
    font-size: 1.2rem;
}

.portal-form-grid {
    display: grid;
    gap: 16px;
}

.portal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.portal-field__label {
    font-weight: 500;
    color: var(--ink);
}

.portal-required {
    color: #b32d2e;
    margin-left: 4px;
}

.portal-input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--stone);
    background: var(--white);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-input:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px var(--clay-soft);
}

.portal-field.is-error .portal-input {
    border-color: #d14343;
    box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.15);
}

.portal-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.portal-form-status {
    font-size: 0.9rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-form-status.is-success {
    color: var(--clay);
}

.portal-form-status.is-error {
    color: #b32d2e;
}

.portal-documents {
    display: grid;
    gap: 18px;
}

.portal-doc-row {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(26, 28, 31, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-doc-row.is-dragover {
    border-color: var(--clay);
    box-shadow: 0 0 0 3px var(--clay-soft);
}

.portal-doc-meta h3 {
    margin-bottom: 6px;
}

.portal-doc-status {
    font-weight: 600;
}

.portal-doc-status.is-complete {
    color: var(--clay);
}

.portal-doc-status.is-missing {
    color: #b32d2e;
}

.portal-doc-note {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-doc-body {
    display: grid;
    gap: 14px;
}

.portal-file-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.portal-file-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--sand);
}

.portal-file-item a {
    font-weight: 500;
}

.portal-file-remove {
    border: none;
    background: transparent;
    color: #b32d2e;
    font-weight: 500;
    cursor: pointer;
}

.portal-doc-actions {
    display: grid;
    gap: 10px;
}

.portal-dropzone {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 14px;
    border: 1px dashed rgba(26, 28, 31, 0.2);
    background: rgba(255, 255, 255, 0.6);
}

.portal-file-input {
    display: none;
}

.portal-dropzone-hint {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-upload-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-upload-bar {
    flex: 1 1 auto;
    height: 8px;
    border-radius: 999px;
    background: var(--stone);
    overflow: hidden;
}

.portal-upload-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--clay);
    transition: width 0.2s ease;
}

.portal-upload-text {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-doc-feedback {
    font-size: 0.85rem;
    color: rgba(26, 28, 31, 0.6);
}

.portal-doc-feedback.is-success {
    color: var(--clay);
}

.portal-doc-feedback.is-error {
    color: #b32d2e;
}

.portal-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 4vw;
}

.portal-login__shell {
    width: min(960px, 92vw);
    display: grid;
    gap: 24px;
}

.portal-login__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.portal-login__logo {
    width: 204px;
    height: auto;
    object-fit: contain;
}

.portal-login__eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: rgba(26, 28, 31, 0.5);
    display: inline-block;
    margin-bottom: 6px;
}

.portal-login__card {
    padding: 28px;
}

.portal-login__card h2 {
    margin-bottom: 12px;
}

.portal-login__error {
    color: #b32d2e;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.portal-login__notice {
    color: var(--clay);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.portal-login__card form {
    display: grid;
    gap: 14px;
}

.portal-login__card label {
    font-weight: 500;
    color: var(--ink);
    display: block;
    margin-bottom: 6px;
}

.portal-login__card input[type="text"],
.portal-login__card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--stone);
    background: var(--white);
    font-size: 0.95rem;
    color: var(--ink);
}

.portal-login__card input[type="text"]:focus,
.portal-login__card input[type="password"]:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px var(--clay-soft);
}

.portal-login__card .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin: 0;
}

.portal-login__card .login-submit input {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    background: var(--clay);
    color: var(--white);
    border: 1px solid var(--clay);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 22px var(--clay-shadow);
}

.portal-login__submit {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    background: var(--clay);
    color: var(--white);
    border: 1px solid var(--clay);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 22px var(--clay-shadow);
}

.portal-login__link {
    display: inline-block;
    margin-top: 10px;
    color: var(--clay);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero__content {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .two-col {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .economy-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: start;
    }

    .object-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .portal-hero__content {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        align-items: center;
    }

    .portal-hero__actions {
        justify-items: end;
    }

    .portal-hero__actions .btn {
        min-width: 190px;
        width: auto;
    }

    .portal-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-doc-row {
        grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
        align-items: center;
    }
}

@media (min-width: 900px) {
    .portal-login__shell {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .expose-nav {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .expose-nav__links {
        justify-content: center;
        overflow-x: visible;
        padding: 0;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid.portal-dealcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .portal-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
        align-items: start;
    }

    .portal-hero--full,
    .portal-sidebar,
    .portal-section--wide,
    .portal-reservations-card,
    .portal-progress-card {
        order: 0;
    }

    .economy-stats {
        grid-template-columns: 1fr;
    }

    .chart-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

@media (min-width: 1200px) {
    .metric-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .expose-container {
        padding-right: 160px;
    }

    .expose-sidenav {
        display: block;
    }
}

@media (min-width: 1280px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-grid.portal-dealcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 767px) {
    body.vm-expose-body {
        padding-top: var(--vm-expose-nav-offset, 0px);
    }

    .expose-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        padding: 10px 4vw;
        gap: 8px 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
        background: rgba(241, 245, 249, 0.98);
    }

    .expose-nav__brand {
        order: 1;
    }

    .expose-nav__brand-link {
        gap: 8px;
    }

    .expose-nav__logo {
        height: 26px;
        max-width: 140px;
    }

    .expose-nav__brand-text {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .expose-nav__brand-tag {
        font-size: 0.6rem;
        letter-spacing: 0.14em;
    }

    .expose-nav__cta {
        order: 2;
        margin-left: auto;
    }

    .expose-nav__links {
        order: 3;
        flex: 1 0 100%;
        font-size: 0.78rem;
        gap: 12px;
        padding: 2px 0 0;
    }

    .expose-nav__links a {
        padding: 4px 0;
    }

    .expose-nav__cta {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .wealth-svg {
        font-size: 12px;
    }

    .wealth-graphic {
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
    }

    .portal-nav {
        flex-wrap: wrap;
        gap: 10px 12px;
        justify-content: space-between;
    }

    .portal-nav__brand {
        order: 1;
    }

    .portal-nav__user {
        order: 2;
    }

    .portal-nav__links {
        order: 3;
        flex: 1 0 100%;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .portal-nav__user {
        width: 100%;
        justify-content: space-between;
    }

    .portal-user-name {
        display: none;
    }
}

@media (max-width: 782px) {
    body.admin-bar .expose-nav {
        top: 46px;
    }

    body.admin-bar .portal-nav {
        top: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        transition: none;
    }
}

/* ========================================
   Responsive Optimierungen für Hero
   ======================================== */

@media (max-width: 768px) {
    .hero__content--centered {
        min-height: 70vh;
        padding-bottom: clamp(40px, 10vw, 60px);
    }

    .hero__content--centered .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 16px;
    }

    .hero-subline {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .hero-address {
        font-size: 1rem;
    }

    .hero-status {
        padding: 6px 16px;
        font-size: 0.78rem;
    }

    .hero-location {
        margin-bottom: 22px;
    }

    .hero__content--centered .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__content--centered .hero-actions {
        gap: 12px;
    }

    .hero__content--centered .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }

    .hero__content--centered {
        min-height: 75vh;
        padding: 0 16px clamp(30px, 8vh, 50px);
    }

    .hero__content--centered .hero-headline {
        font-size: clamp(1.6rem, 9vw, 2.5rem);
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        padding: 20px 22px;
        gap: 0;
    }

    .condition-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    }

    .condition-item:last-child {
        border-bottom: none;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-label {
        font-size: 0.82rem;
        min-height: 2.4rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }
}

/* ── 09 Dokumente section ───────────────────────────────────── */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.documents-type-group {
    background: var(--sand, #f5f4f1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, .06);
}

.documents-type-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--slate, #6b7280);
    margin: 0 0 1rem;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.documents-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0.875rem;
    background: var(--white, #fff);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.documents-item__name {
    font-size: 0.875rem;
    color: var(--ink, #1a1a2e);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.documents-item__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.documents-item__btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.documents-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.documents-zip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.documents-zip-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .documents-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .documents-item__btn {
        align-self: flex-end;
    }
}

/* ── Presseberichte section ─────────────────────────────────── */

.presse-subheading {
    margin-top: 8px;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 300;
    color: var(--ink-soft);
}

.presseberichte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pressebericht-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(26, 28, 31, 0.1);
    border: 1px solid var(--stone);
    display: flex;
    flex-direction: column;
}

.pressebericht-screenshot {
    flex: 1;
    overflow: hidden;
}

.pressebericht-screenshot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.3s ease;
}

.pressebericht-card:hover .pressebericht-screenshot img {
    transform: scale(1.03);
}

.pressebericht-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clay);
    border-top: 1px solid var(--stone);
    background: var(--white);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.pressebericht-link:hover {
    background: var(--clay-soft);
}

.pressebericht-link svg {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .presseberichte-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Sorglospaket section ───────────────────────────────────── */

/* Sorglospaket default: sits after business (white) → sand fits the alternation.
   Sibling selectors above override this when modernisierung is also present. */
.sorglos-badge {
    position: absolute;
    top: 0;
    right: clamp(56px, 10vw, 170px);
    transform: translateY(-52%);
    inline-size: clamp(150px, 17vw, 188px);
    block-size: clamp(96px, 10.5vw, 122px);
    border-radius: 50%;
    background: #c1a36f;
    box-shadow: 0 12px 24px rgba(94, 70, 31, 0.22);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 18px;
    font-size: var(--sorglos-badge-font-size, clamp(0.76rem, 0.22vw + 0.72rem, 0.9rem));
    line-height: 1.25;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

.sorglos-badge strong {
    display: block;
    font-weight: 700;
}

.sorglos-subheadline {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.sorglos-beschreibung {
    color: var(--ink-soft);
    max-width: 68ch;
    line-height: 1.65;
    margin-bottom: 20px;
}

.sorglos-tag {
    margin-bottom: 28px;
}

.sorglos-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.sorglos-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sorglos-feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--clay-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clay);
    font-size: 22px;
}

.sorglos-feature__icon--empty {
    background: transparent;
}

.sorglos-feature__text {
    line-height: 1.4;
    font-size: 0.9em;
    color: var(--ink-soft);
    font-weight: 300;
}

.sorglos-feature__text strong {
    font-weight: 600;
    color: var(--ink);
}

@media (max-width: 600px) {
    .sorglos-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sorglos-badge {
        top: -85px;
        right: 0;
        transform: none;
        inline-size: clamp(138px, 48vw, 168px);
        block-size: 92px;
        padding: 12px 14px;
        font-size: var(--sorglos-badge-font-size, 0.74rem);
    }
}

/* Portal: Aktionen-Dropdown (Unterlagen ansehen) */
.portal-dc-card { overflow: visible; }
.portal-dc-card__image { overflow: hidden; border-top-left-radius: inherit; border-top-right-radius: inherit; }

.portal-dealcase-card__actions > .btn,
.portal-dealcase-card__actions > .portal-actions-dropdown {
    flex: 1 1 0;
    min-width: 0;
}
.portal-dealcase-card__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 8px 14px;
    box-sizing: border-box;
    min-height: 44px;
    border-width: 1px;
}

.portal-actions-dropdown { position: relative; display: inline-flex; }
.portal-actions-dropdown__toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.portal-actions-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 6px 0;
    z-index: 50;
}
.portal-actions-dropdown__menu[hidden] { display: none; }
.portal-actions-dropdown__item {
    display: block;
    padding: 8px 14px;
    font-size: 0.95rem;
    color: #1a3d5c;
    text-decoration: none;
    cursor: pointer;
}
.portal-actions-dropdown__item:hover { background: #f3f4f6; }
