/* Innovation Building Kenzingen */

/* Alle Schriften lokal ausgeliefert, lateinischer Zeichensatz (SIL Open Font License, siehe fonts/*-OFL.txt):
   Inter für Text, Manrope für Überschriften, Sora und Hanken Grotesk für die Partnerkarten von RÜCKGRAT und envisia */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/inter-latin.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: 'Manrope';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url('fonts/manrope-latin.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: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/sora-latin.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: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/hanken-grotesk-latin.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;
}

:root {
    --bg: #FAF7F2;          /* Kalkstein */
    --bg-alt: #F1EBE1;      /* Sand */
    --surface: #FFFFFF;
    --line: #E5DCCD;
    --ink: #1D201C;
    --ink-2: #4C4841;
    --ink-3: #6F695F;
    --bronze: #8A6640;      /* Streckmetall-Fassade */
    --bronze-700: #6E5032;
    --bronze-300: #CFAE86;
    --dark: #000000;        /* Anthrazit */
    --dark-2: #283026;
    --sage: #6D7B61;        /* Innenausbau */
    --sage-100: #E2E7D9;

    /* Partner-CI */
    --rg-dark: #474340;     /* RÜCKGRAT: Taupe */
    --rg-cream: #F5ECE7;
    --rg-sand: #E4CCBF;
    --rg-caramel: #A3836C;
    --ev-green: #76B82B;    /* envisia */
    --ev-green-100: #E7F0DF;
    --ev-green-700: #2F5D0C;
    --ev-navy: #003E6B;

    --radius: 16px;
    --radius-lg: 26px;
    --shadow: 0 24px 60px -28px rgba(29, 32, 28, .38);
    --max: 1240px;
    --header-h: 80px;
    --font-head: "Manrope", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 .55em;
}
h1 { font-size: clamp(2.45rem, 5.4vw, 4.7rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.6vw, 3.05rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--bronze); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 132px) 0; }
.section-alt { background: var(--bg-alt); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; }

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    margin: 0 0 1.1rem;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bronze);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-dark .eyebrow, .eyebrow-light { color: var(--bronze-300); }

.lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* Noch fehlende Angaben – bewusst auffällig, damit sie vor dem Livegang ersetzt werden */
mark.todo { background: rgba(255, 208, 0, .28); border-bottom: 1.5px dashed #B89200; border-radius: 3px; padding: 0 .18em; color: inherit; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .95em 1.55em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2; }
.btn-primary { background: var(--bronze); color: #fff; }
.btn-primary:hover { background: var(--bronze-700); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { color: var(--ink); border-color: rgba(29, 32, 28, .35); }
.btn-outline:hover { border-color: var(--ink); background: rgba(29, 32, 28, .04); }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    color: #fff;
    transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-header.is-solid {
    color: var(--ink);
    background: rgba(250, 247, 242, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}
.brand-name span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .46em; opacity: .78; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
    color: inherit;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    opacity: .88;
    transition: opacity .2s;
}
.nav a:not(.btn):hover { opacity: 1; }
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-close { display: block; }
.menu-open .nav-toggle .i-open { display: none; }

/* Hero: Desktop zeigt die Ansicht frei, der Text steht darunter */
.hero { position: relative; padding-top: var(--header-h); color: #fff; background: var(--dark); }
/* Höhe so, dass Claim und Bild zusammen in den ersten Bildschirm passen; nie höher als das 16:9-Bild selbst */
.hero-media { position: relative; height: min(calc(100vh - var(--header-h) - 210px), 56.25vw); min-height: 420px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 20%; background: linear-gradient(0deg, var(--dark), rgba(30, 35, 29, 0)); }
.viz-tag {
    position: absolute;
    right: 20px;
    top: 16px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 20, 16, .45);
    color: rgba(255, 255, 255, .85);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-content { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 64px; align-items: start; padding: 30px 0 150px; }
.hero-content .lead { margin-top: 2.1rem; }
.hero .eyebrow { margin-bottom: .8rem; line-height: 1.45; }
/* Der Claim ist ein Absatz im Stil einer H1; die H1 ist die Zeile darüber mit dem Suchbegriff */
.hero .hero-claim { margin: 0; font-family: var(--font-head); font-size: clamp(2.4rem, 3.8vw, 3.4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.hero .lead { margin: 0 0 24px; color: rgba(255, 255, 255, .86); }

/* Eckdaten */
.facts { position: relative; z-index: 2; margin-top: -92px; }
.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0;
    padding: 30px 8px;
    list-style: none;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.fact { padding: 4px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--ink);
}
.fact > span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.4; color: var(--ink-3); }

/* Mietflächen */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.split-rev { grid-template-columns: 7fr 5fr; }

.checklist { margin: 26px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.5; }
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .1em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F5C45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Belegung: vermietete Etagen schmal und schraffiert, freie als Karten mit grüner Kante */
.floors { display: grid; gap: 8px; margin: 0 0 30px; }
.floors-head { margin: 0 0 2px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.floor { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.floor-level {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 800;
}
.floor h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.floor p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink-3); }
.floor p b { color: var(--ink); font-weight: 600; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body); font-size: .74rem; font-weight: 700; line-height: 1.4; letter-spacing: .01em; white-space: nowrap; }
.status-free { background: var(--sage-100); color: #3E4A35; }
.status-let { margin-left: auto; background: rgba(29, 32, 28, .07); color: var(--ink-3); }
.floor-let { align-items: center; padding: 9px 18px; border-style: dashed; background: repeating-linear-gradient(135deg, #F7F3ED 0 7px, #F0EAE1 7px 14px); }
.floor-let .floor-level { height: 30px; border-radius: 9px; background: #BDB6AA; }
.floor-let h3 { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.floor-free { border-color: rgba(109, 123, 97, .55); box-shadow: inset 4px 0 0 var(--sage); }
.floor-free .floor-level { background: var(--sage); }
.floor-free > div { flex: 1; min-width: 0; }
.floor-free h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
/* Aufteilung des Erdgeschosses, schematisch */
.eg-bar { display: flex; gap: 3px; height: 8px; margin: 12px 0 7px; border-radius: 999px; overflow: hidden; }
.eg-bar .conf { flex: 40; }
.eg-bar .let { flex: 45; }
.eg-bar .free { flex: 15; }
.floor p.eg-legend { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .78rem; }
.eg-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.eg-bar .conf, .eg-legend .conf { background: var(--bronze-300); }
.eg-bar .let, .eg-legend .let { background: #CFC8BC; }
.eg-bar .free, .eg-legend .free { background: var(--sage); }

/* Grundriss 1. OG: Umschalter zwischen leer, komplett und zwei Unterteilungen. Ohne JavaScript bleibt „Komplette Etage“ stehen. */
.floorplan { margin: 0; }
.plan-tabs { display: inline-grid; grid-template-columns: repeat(5, auto); gap: 4px; max-width: 100%; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: var(--bg-alt); }
.plan-tabs button {
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    font: 600 .9rem var(--font-head);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.plan-tabs button:hover { color: var(--ink); }
.plan-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.plan-stage { position: relative; aspect-ratio: 1400 / 773; overflow: hidden; border-radius: var(--radius-lg); background: #E8E7E4; box-shadow: var(--shadow); }
.plan-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.plan-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(29, 32, 28, .72);
    color: #fff;
    font-size: .76rem;
    font-weight: 600;
}
.plan-caption { min-height: 1.6em; margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.plan-info { display: none; flex-wrap: wrap; gap: 6px 22px; }
.plan-info b { color: var(--ink); font-weight: 600; }
.swatch { display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 4px; border: 1px solid rgba(29, 32, 28, .15); }
.swatch.wood { background: #E9B98A; }
.swatch.grey { background: #CFCECB; }
.floorplan[data-mode="leer"] img[data-plan="leer"],
.floorplan[data-mode="komplett"] img[data-plan="komplett"],
.floorplan[data-mode="a"] img[data-plan="a"],
.floorplan[data-mode="b"] img[data-plan="b"],
.floorplan[data-mode="c"] img[data-plan="c"] { opacity: 1; }
.floorplan[data-mode="leer"] .plan-info[data-plan="leer"],
.floorplan[data-mode="komplett"] .plan-info[data-plan="komplett"],
.floorplan[data-mode="a"] .plan-info[data-plan="a"],
.floorplan[data-mode="b"] .plan-info[data-plan="b"],
.floorplan[data-mode="c"] .plan-info[data-plan="c"] { display: flex; }
.figcap { margin-top: 8px; font-size: .86rem; color: var(--ink-3); }

.fitout {
    margin-top: clamp(56px, 7vw, 96px);
    padding: clamp(24px, 3vw, 36px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--bronze);
    border-radius: var(--radius-lg);
}
.fitout .eyebrow { margin-bottom: .6rem; }
.fitout h3 { margin-bottom: 8px; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.fitout p { margin: 0; }
.fitout .fitout-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-3); }
.fitout-note .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--bronze); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px 20px; margin-top: clamp(48px, 6vw, 80px); }
.fitout + .gallery { margin-top: 20px; }
.gallery figure { margin: 0; }
/* versetztes Raster: erste Reihe breit/schmal, zweite Reihe schmal/breit */
.gallery figure:nth-child(4n+1), .gallery figure:nth-child(4n+4) { grid-column: span 7; }
.gallery figure:nth-child(4n+2), .gallery figure:nth-child(4n+3) { grid-column: span 5; }
.gallery img { width: 100%; height: clamp(240px, 30vw, 430px); object-fit: cover; border-radius: var(--radius-lg); }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .9rem; }
.gallery figcaption strong { color: var(--ink); font-family: var(--font-head); }
.gallery figcaption span { color: var(--ink-3); }

/* Dunkle Sektion / Konferenz */
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Perspektive des großen Bereichs oben, darunter der Konferenzbereich, beide über die volle Spaltenbreite */
.conf-media { display: grid; gap: 24px; }
.conf-media img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.conf-cap { margin: -12px 0 0; font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .55); }

.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 14px; }
.room {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.room:hover { border-color: rgba(207, 174, 134, .6); }
.room[aria-pressed="true"] { border-color: var(--bronze-300); background: rgba(207, 174, 134, .14); }
.room small { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze-300); }
.room b { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.room b i { display: block; font-size: .5em; font-style: normal; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .75); }
.room > span { font-size: .84rem; line-height: 1.35; color: rgba(255, 255, 255, .64); }

.room-plan { margin: 0 0 8px; }
.room-plan svg { display: block; width: 100%; height: auto; }
.room-plan .area { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.room-plan[data-mode="klein"] .p-small,
.room-plan[data-mode="gross"] .p-large,
.room-plan[data-mode="beide"] .area { fill: rgba(207, 174, 134, .3); stroke: var(--bronze-300); }
.room-plan .other { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .14); }
.room-plan .wall { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 2; }
.room-plan .door { fill: var(--bronze-300); }
.room-plan .partition { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2; stroke-linejoin: round; transition: opacity .25s; }
.room-plan[data-mode="beide"] .partition { opacity: .25; }
.room-plan text { fill: #fff; font-family: var(--font-head); font-weight: 700; }
.room-plan .sub { fill: rgba(255, 255, 255, .6); font-family: var(--font-body); font-weight: 500; }
.room-plan figcaption { margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .5); }

.icon-list { margin: 26px 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.icon-badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(207, 174, 134, .14);
    color: var(--bronze-300);
}
.icon-badge .icon { width: 22px; height: 22px; }
.icon-list strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 700; }
.icon-list small { font-size: .88rem; color: rgba(255, 255, 255, .62); }

/* Gebäude */
/* neun Kacheln: am PC 3 × 3, bei zwei Spalten nimmt die letzte die ganze Breite */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.feature { padding: 30px 28px 32px; background: var(--surface); }
.feature .icon-badge { margin-bottom: 18px; background: rgba(138, 102, 64, .1); color: var(--bronze); }
.feature h3 { margin-bottom: 6px; font-size: 1.06rem; -webkit-hyphens: auto; hyphens: auto; }
.feature p { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--ink-3); }

.partner-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    margin-top: 28px;
    padding: 22px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.partner-strip p { margin: 0; max-width: 680px; font-size: .95rem; }
.partner-strip p a { color: inherit; text-decoration: underline; text-decoration-color: rgba(138, 102, 64, .45); text-underline-offset: 3px; }
.partner-strip p a:hover { color: var(--bronze); text-decoration-color: currentColor; }
.partner-logo { display: block; flex: none; }
/* so hoch, dass der Schriftzug „Menschen bauen für Menschen“ im Logo noch lesbar ist */
.partner-strip img { display: block; height: 64px; width: auto; }

/* Umfeld */
.campus { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.campus img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; }
.pin { position: absolute; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); pointer-events: none; }
.pin-label {
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}
.pin-label small { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.pin-label.accent { background: var(--bronze); color: #fff; }
.pin-label.accent small { color: rgba(255, 255, 255, .82); }
.pin-label.rg { background: var(--rg-dark); color: var(--rg-cream); }
.pin-label.rg small { color: var(--rg-sand); }
.pin::after { content: ""; width: 2px; height: 26px; background: rgba(255, 255, 255, .95); }

.neighbors { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; margin-top: 24px; }
.ncard { display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); }
.ncard h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.ncard p { margin: 0; }
.ncard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.offers li { display: flex; gap: 10px; align-items: center; font-size: .9rem; line-height: 1.35; }
.offers .icon-badge { width: 38px; height: 38px; }
.benefit { padding: 16px 18px; border: 1px solid; border-radius: 14px; font-size: .96rem; }
.ext-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.ext-link .icon { width: 1em; height: 1em; stroke-width: 2; }

/* RÜCKGRAT-Karte in deren CI (rueckgrat-fitness.de) */
.ncard-rg { background: var(--rg-dark); color: rgba(245, 236, 231, .82); }
.ncard-rg h3 { font-family: "Sora", var(--font-head); font-weight: 600; letter-spacing: -.01em; color: var(--rg-cream); }
.ncard-rg .logo { height: 46px; width: auto; }
.ncard-rg .tag { background: var(--rg-sand); color: var(--rg-dark); }
/* Bilder wachsen mit, wenn die envisia-Karte daneben höher ist */
.ncard-rg .thumbs { flex: 1 1 auto; grid-template-rows: minmax(140px, 1fr); }
.ncard-rg .thumbs img { height: 100%; aspect-ratio: auto; }
.ncard-rg .icon-badge { background: rgba(228, 204, 191, .14); color: var(--rg-sand); }
.ncard-rg .offers li { color: var(--rg-cream); }
.ncard-rg .benefit { border-color: rgba(228, 204, 191, .35); background: rgba(228, 204, 191, .08); color: var(--rg-cream); }
.ncard-rg .benefit strong { color: var(--rg-sand); }
/* Partner-Buttons: gleiche Form wie alle anderen Buttons, nur in der Farbe des Partners */
.btn-rg, .btn-ev { align-self: flex-start; margin-top: auto; }
.btn-rg { background: var(--rg-caramel); color: #fff; }
.btn-rg:hover { background: #8E7059; }
.btn-ev { background: var(--ev-green); color: #fff; }
.btn-ev:hover { background: #65A222; }

/* envisia-Karte in deren CI (envisia.de) */
.ncard-ev { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--ev-green-100); font-family: "Hanken Grotesk", var(--font-body); color: #3A4650; }
.ncard-ev::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ev-green); }
.ncard-ev h3 { font-family: "Hanken Grotesk", var(--font-head); font-weight: 700; letter-spacing: -.01em; color: var(--ev-navy); }
.ncard-ev .tag { background: var(--ev-green-100); color: var(--ev-green-700); }
.ncard-ev .logo { height: 30px; width: auto; }
.ev-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 240px; margin: 0; padding: 18px 14px 0; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #F5FAF0, var(--ev-green-100)); }
.ev-visual::before { content: ""; position: absolute; right: -40px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: rgba(118, 184, 43, .22); }
.ev-visual img { position: relative; width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.ev-ai {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ev-navy);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    box-shadow: 0 8px 22px -10px rgba(0, 62, 107, .6);
}
.ev-ai .icon { width: 16px; height: 16px; color: #A9DD70; }
.ev-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.ev-checks .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--ev-green); stroke-width: 2.4; }
.ncard-ev .benefit { border-color: var(--ev-green-100); background: #F4F9EF; color: #3A4650; }
.ncard-ev .benefit strong { color: var(--ev-navy); }

/* Lage */
.landscape-wrap { position: relative; margin: 0 0 clamp(40px, 5vw, 64px); }
.landscape { position: relative; margin: 0; overflow: hidden; aspect-ratio: 2000 / 770; border-radius: var(--radius-lg); background: #DCE7EA; }
.landscape svg, .landscape img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Kennzeichnung als KI-Visualisierung auf Luftbild und Ensemble-Bild */
.img-note { position: absolute; top: 16px; right: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .76rem; font-weight: 600; }
.landscape-facts { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.landscape-facts li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 700;
}
.landscape-facts .icon { width: 20px; height: 20px; color: var(--bronze); }

.lage-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.dist-title { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dist-title .icon { width: 20px; height: 20px; color: var(--bronze); }
.dist-group + .dist-group { margin-top: 26px; }
.distances { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.distances li { display: grid; grid-template-columns: 1fr auto 10.5em; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.distances span { color: var(--ink); font-weight: 500; }
.distances b { font-family: var(--font-head); color: var(--ink); white-space: nowrap; }
.distances small { color: var(--ink-3); font-size: .88rem; white-space: nowrap; text-align: right; }
.distances small .icon { width: 16px; height: 16px; margin: 0 3px 0 10px; vertical-align: -3px; color: var(--bronze); }
.dist-note { margin: 12px 0 26px; font-size: .8rem; color: var(--ink-3); }
.address { display: flex; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; line-height: 1.5; }
.address .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--bronze); }
.address strong { color: var(--ink); font-family: var(--font-head); }

.map-card { margin: 0; padding: clamp(14px, 2vw, 22px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.map-card svg { display: block; width: 100%; height: auto; }
.map-card figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .8rem; color: var(--ink-3); }

/* Kontakt */
.contact { position: relative; overflow: hidden; color: rgba(255, 255, 255, .82); background: var(--dark); isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 15%, rgba(30, 35, 29, .55)); }
.contact h2 { color: #fff; max-width: 17ch; }
.contact .lead { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .82); }
/* links der Text, rechts die Kontaktkarte mit Ansprechpartner, E-Mail und Telefon */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.contact-card {
    display: grid;
    gap: 6px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.contact-card small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-300); }
.contact-person { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; padding: 4px 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--bronze); color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; letter-spacing: .03em; }
.contact-person strong { display: block; margin-top: 3px; color: #fff; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -.01em; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; color: #fff; text-decoration: none; transition: background-color .2s; }
.contact-line:hover { background: rgba(255, 255, 255, .08); }
.contact-line .icon-badge { width: 46px; height: 46px; }
.contact-line b { display: block; margin-top: 3px; font-family: var(--font-head); font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; transition: color .2s; }
.contact-line b span { white-space: nowrap; }
.contact-line:hover b { color: var(--bronze-300); }

/* Footer */
.site-footer { padding: 64px 0 28px; background: #000000; color: rgba(255, 255, 255, .62); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { margin-bottom: 12px; color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* Mobile Anfrage-Leiste */
.mobile-cta { display: none; }

/* Unterseiten (Impressum, Datenschutz) */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(36px, 5vw, 56px); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li + li { margin-top: .3em; }
.draft-note { margin-bottom: 36px; padding: 16px 20px; border: 1px dashed #B89200; border-radius: 12px; background: rgba(255, 208, 0, .12); font-size: .93rem; }

/* Responsiv */
@media (max-width: 1100px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .facts-grid { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
    .fact:nth-child(4) { border-left: 0; }
}

/* Unter 1200 px passen die fünf Grundriss-Reiter nicht mehr in eine Zeile neben den Text:
   oben „Leer“ und „Komplette Etage“, darunter die drei Unterteilungen */
@media (max-width: 1199px) {
    .plan-tabs { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; border-radius: 16px; }
    .plan-tabs button { grid-column: span 2; border-radius: 12px; }
    .plan-tabs button:nth-child(-n+2) { grid-column: span 3; }
}

@media (max-width: 980px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 32px;
        background: var(--bg);
        color: var(--ink);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
    /* backdrop-filter würde das fixierte Menü auf die Headerhöhe beschneiden */
    .menu-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; opacity: 1; }
    .nav .btn { margin-top: 24px; padding: 1.05em; font-size: 1.05rem; }
    .hero-content { grid-template-columns: 1fr; }
    .split, .split-rev, .lage-grid, .contact-grid { grid-template-columns: 1fr; }
    .split-rev .conf-media { order: 2; }
    .neighbors { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .brand-name { font-size: .84rem; letter-spacing: .1em; }
    .hero { padding-top: 0; }
    .hero-media { height: auto; min-height: 0; aspect-ratio: 4 / 3.3; max-height: 62svh; }
    .hero-media img { object-position: 38% 50%; }
    .hero-media::after {
        inset: 0;
        height: auto;
        background:
            linear-gradient(180deg, rgba(17, 20, 16, .55) 0%, rgba(17, 20, 16, 0) 28%),
            linear-gradient(0deg, var(--dark) 0%, rgba(30, 35, 29, 0) 38%);
    }
    .viz-tag { top: calc(var(--header-h) + 4px); right: 14px; }
    .hero-content { display: block; position: relative; margin-top: -48px; padding: 0 0 92px; }
    .hero .eyebrow { font-size: .72rem; letter-spacing: .12em; }
    .hero .eyebrow::before { display: none; }
    .hero .hero-claim { margin-bottom: 18px; font-size: clamp(2.3rem, 10vw, 2.8rem); }
    .hero .lead { font-size: 1.02rem; }
    .hero .btn-row .btn { flex: 1 1 100%; }
    .facts { margin-top: -56px; }
    .facts-grid { grid-template-columns: 1fr 1fr; padding: 22px 6px; row-gap: 18px; }
    .fact { padding: 2px 16px; }
    .fact:nth-child(odd) { border-left: 0; }
    .fact:nth-child(4) { border-left: 1px solid var(--line); }
    .fact:last-child { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
    .floors { grid-template-columns: 1fr; }
    .plan-tabs button { padding: 9px 4px; font-size: .8rem; }
    .gallery { grid-template-columns: 1fr; }
    .gallery figure:nth-child(n) { grid-column: 1 / -1; }
    .gallery img { height: auto; aspect-ratio: 16 / 10; }
    .gallery figcaption { flex-direction: column; gap: 2px; }
    .rooms { gap: 8px; }
    .room { padding: 12px; }
    .room small { font-size: .64rem; letter-spacing: .06em; }
    .room b { font-size: 1.3rem; white-space: nowrap; }
    .room > span { display: none; }
    .icon-list { grid-template-columns: 1fr; }
    .conf-media { gap: 12px; }
    .conf-cap { margin-top: 0; font-size: .74rem; }
    .campus img { aspect-ratio: 4 / 3; object-position: 55% 30%; }
    .pin { left: var(--mx); top: var(--my); }
    .pin-label { padding: 6px 10px; font-size: .74rem; }
    .pin-label small { font-size: .64rem; }
    .pin::after { height: 16px; }
    .thumbs { gap: 6px; }
    .thumbs img { border-radius: 12px; }
    .ncard-rg .thumbs { grid-template-rows: 96px; }
    .offers { grid-template-columns: 1fr; }
    .landscape { aspect-ratio: 16 / 10; }
    .img-note { left: 12px; right: auto; top: 12px; font-size: .7rem; }
    /* oben links sitzt auf dem Ensemble-Bild die Markierung des Innovation Building */
    .campus .img-note { top: auto; bottom: 12px; }
    .landscape-facts { position: static; margin: 12px 0 0; }
    .landscape-facts li { padding: 8px 14px; font-size: .86rem; border: 1px solid var(--line); box-shadow: none; }
    .distances li { grid-template-columns: 1fr auto; row-gap: 0; }
    .distances small { grid-column: 1 / -1; text-align: left; }
    .distances small .icon:first-child { margin-left: 0; }
    .contact-person { padding: 0 4px 18px; }
    .contact-line { padding: 10px 4px; }
    .contact-line .icon-badge { width: 40px; height: 40px; }
    .contact-line b { font-size: .9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 104px; }
    .mobile-cta {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 40;
        display: flex;
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(250, 247, 242, .96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(0, 0, 0, .08);
        transform: translateY(110%);
        transition: transform .3s;
    }
    .mobile-cta.is-visible { transform: none; }
    .mobile-cta .btn { flex: 1; }
}

@media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    .feature { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 22px 20px; }
    .feature .icon-badge { grid-row: span 2; margin: 0; }
    .ncard-top { flex-wrap: wrap; }
}

/* Sehr schmale Smartphones (320 px): lange Schaltflächen dürfen umbrechen, Kopfzeile und Karten rücken enger */
@media (max-width: 400px) {
    .btn { white-space: normal; text-align: center; }
    .site-header .bar { gap: 12px; }
    .brand-name { letter-spacing: .07em; }
    .ncard { padding: 22px 18px; }
    /* Eckdaten: „Klimatisiert“ passt sonst nicht in die halbe Breite; 6,2 vw entsprechen bei 400 px fast den 1,6 rem darüber */
    .facts-grid { padding: 20px 4px; }
    .fact { padding: 2px 12px; }
    .fact strong { font-size: 6.2vw; }
    .fact > span { font-size: .84rem; }
    /* Belegung: „3. Obergeschoss“ bricht sonst neben der Plakette um */
    .floor-let { gap: 10px; padding: 9px 12px; }
    .floor-let .floor-level { width: 42px; }
    .floor-let h3 { font-size: .9rem; white-space: nowrap; }
    .status { padding: 3px 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
