/* Poppins 400/500/600/700, latin + latin-ext (polnische Zeichen), selbst gehostet statt Google Fonts (RODO, kein Render-Blocking) */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../../fonts/poppins-400-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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../../fonts/poppins-500-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../../fonts/poppins-600-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../../fonts/poppins-700-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; }

/* ═══════════════════════════════════════════════════════════════
   ODRZAŃSKIE BULVARY — Startseite (One-Pager), Stand 16.10.2026
   Ersetzt style.css / responsive.css / transitions.css fuer index.tpl.
   Die alten Dateien bleiben als __*-sav16102026.* erhalten.

   Farbwelt: Anthrazit (Dach) · Putzweiss · Ziegelrot (Fassade) · Brand-Orange (CTA, wie LP 23/16)
   Schrift:  Poppins fuer alles (Text, UI, Ueberschriften, Hero) – wie die bisherige Seite; keine zweite Schriftfamilie
   ═══════════════════════════════════════════════════════════════ */

:root {
    --ob-ink: #141210;
    --ob-ink-2: #1f1b19;
    --ob-paper: #f5f3ef;
    --ob-white: #ffffff;
    --ob-brick: #9c3b2a;
    --ob-accent: #e8641e;
    --ob-accent-hover: #f0752f;
    --ob-text: #1b1917;
    --ob-text-dim: rgba(27, 25, 23, .68);
    --ob-text-faint: rgba(27, 25, 23, .64);
    --ob-light: #f5f2ed;
    --ob-light-dim: rgba(245, 242, 237, .66);
    --ob-light-faint: rgba(245, 242, 237, .58);
    --ob-line: rgba(27, 25, 23, .14);
    --ob-line-dark: rgba(245, 242, 237, .16);
    --ob-ok: #1f6b43;

    --font-head: 'Poppins', Helvetica, Arial, sans-serif;            /* alle Ueberschriften inkl. Hero: Poppins fett */
    --font-body: 'Poppins', Helvetica, Arial, sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --radius: 14px;
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);        /* Sektion: Innenabstand oben/unten */
    --sp-block: clamp(3rem, 6vw, 5rem);           /* zwischen grossen Bloecken einer Sektion */
    --sp-head: clamp(2rem, 4vw, 3.5rem);          /* Sektionskopf -> erster Block */
    --sp-head-2: clamp(1.6rem, 2.8vw, 2.5rem);    /* Blockkopf mit Titel+Lead -> Inhalt */
    --sp-sub: clamp(1.25rem, 2vw, 1.75rem);       /* einzelne Zwischenueberschrift -> Inhalt */
    --max: 1240px;
    --header-h: 76px;
}

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

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

body {
    margin: 0;
    background: var(--ob-paper);
    color: var(--ob-text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
table { border-collapse: collapse; }
::selection { background: var(--ob-accent); color: #140a05; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    padding: .7rem 1rem; background: var(--ob-accent); color: #140a05;
    font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ob-accent); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(1400px, 100% - 2 * var(--gutter)); }

/* Sektionen und ihre Flaechen */
.sec { position: relative; padding-block: var(--section-y); }
.sec--paper { background: var(--ob-paper); }
.sec--ink { background: var(--ob-ink); color: var(--ob-light); }
.sec--line { border-top: 1px solid var(--ob-line); }
.sec--line-dark { border-top: 1px solid var(--ob-line-dark); }
.sec--flush { padding-bottom: 0; }
.sec--clip { overflow: hidden; overflow: clip; }

.sec__head { margin-bottom: var(--sp-head); }
.wrap > .sub { margin-bottom: var(--sp-sub); }

.eyebrow {
    display: flex; align-items: center; gap: .8rem;
    margin: 0 0 1rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--ob-brick);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: 0 0 auto; }
.sec--ink .eyebrow, .eyebrow--light { color: var(--ob-accent); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 36px; height: 1px; background: currentColor; flex: 0 0 auto; }

.sec__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    max-width: 24ch;
    margin: 0 0 1rem;
}
.sec__title em { font-style: normal; font-weight: 700; color: var(--ob-brick); }
.sec--ink .sec__title em { color: var(--ob-accent); }

.sec__lead { max-width: 62ch; font-size: 1.05rem; color: var(--ob-text-dim); margin: 0; }
.sec--ink .sec__lead { color: var(--ob-light-dim); }

.sub {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 .6rem;
}

.note { font-size: .8rem; line-height: 1.6; color: var(--ob-text-faint); max-width: 80ch; margin: 0; }
.sec--ink .note { color: var(--ob-light-faint); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 50px; padding: .75rem 1.7rem;
    border-radius: 999px; border: 1px solid transparent;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
    transition: background .3s var(--ease), color .3s var(--ease),
                border-color .3s var(--ease), transform .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ob-accent); color: #140a05; }
.btn--primary:hover { background: var(--ob-accent-hover); color: #140a05; }
.btn--ghost { border-color: rgba(245, 242, 237, .4); color: var(--ob-light); background: rgba(8, 7, 6, .22); }
.btn--ghost:hover { border-color: var(--ob-accent); color: var(--ob-accent-hover); }
.btn--dark { background: var(--ob-ink); color: var(--ob-light); }
.btn--dark:hover { background: #2c2724; color: var(--ob-light); }
.btn--ghost-dark { border-color: rgba(27, 25, 23, .3); color: var(--ob-text); }
.btn--ghost-dark:hover { border-color: var(--ob-ink); }
.btn--sm { min-height: 42px; padding: .55rem 1.2rem; font-size: .7rem; }
@media (max-width: 600px) { .btn { white-space: normal; line-height: 1.3; max-width: 100%; } }
.btn[hidden] { display: none; }

.link {
    font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    color: var(--ob-brick); text-decoration: underline; text-underline-offset: 4px;
}
.link:hover { color: var(--ob-ink); }

/* ── Header / Navigation ──────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    background: linear-gradient(to bottom, rgba(8, 7, 6, .55), rgba(8, 7, 6, 0));
    transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid,
body.menu-open .site-header {
    background: rgba(20, 18, 16, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(245, 242, 237, .08);
}
/* Logo links, Navigation exakt mittig, rechts Telefon + CTA (+ Burger) */
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 1.2vw, 1.1rem); }
/* Zwischen 1100 und 1320 px reicht der Platz rechts nicht fuer Telefon + CTA, ohne die Navigation aus der Mitte zu schieben */
@media (max-width: 1320px) { .site-header .header-phone { display: none; } }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; }

.site-nav { display: flex; gap: clamp(1rem, 1.8vw, 1.7rem); justify-self: center; }
.site-nav a {
    display: block; padding: .45rem 0;
    font-size: .78rem; font-weight: 600; letter-spacing: .05em;
    color: var(--ob-light-dim); text-decoration: none; white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color .3s var(--ease), border-color .3s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ob-light); border-bottom-color: var(--ob-accent); }

.header-phone {
    display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
    color: var(--ob-light); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.header-phone small { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-light-dim); }
.header-phone:hover { color: var(--ob-accent-hover); }
.site-nav + .header-phone { margin-left: 0; }

.nav-toggle {
    display: none; position: relative; width: 44px; height: 44px; margin-left: auto;
    border-radius: 50%; flex: 0 0 auto;
}
.nav-toggle span {
    position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ob-light);
    transition: transform .3s var(--ease), opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: center; gap: 2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--ob-ink); color: var(--ob-light);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu li + li { margin-top: .4rem; }
.mobile-menu .mm-link {
    display: block; padding: .35rem 0;
    font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.15; letter-spacing: -.01em;
    text-decoration: none;
}
.mobile-menu .mm-link.is-active, .mobile-menu .mm-link:hover { color: var(--ob-accent-hover); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--ob-line-dark); }
.mobile-menu__foot .header-phone { align-items: flex-start; font-size: 1.2rem; }

@media (max-width: 1099px) {
    .site-nav { display: none; }
    .nav-toggle { display: block; }
    .site-header .wrap { grid-template-columns: 1fr auto; }
    .site-header .header-cta { margin-left: 0; }
}
@media (max-width: 819px) {
    .site-header .header-phone, .site-header .header-cta { display: none; }
}
@media (min-width: 1100px) {
    .mobile-menu { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
/* ── Hero (Vorbild: zentrierte Headline, darunter Medienblock ueber die volle Breite) ─────────────── */
/* Schwarzer Hero: zentrierte Headline, darunter der Medienblock; hinter der Bildkante steigt ein oranges Licht auf
   (zwei weich gezeichnete Ellipsen, die sich langsam gegeneinander bewegen, plus eine helle Horizontlinie) */
.hero { position: relative; background: var(--ob-ink); color: var(--ob-light); overflow: hidden; }
.hero__intro { position: relative; padding: calc(var(--header-h) + clamp(2.6rem, 7vh, 5.5rem)) 0 clamp(2.4rem, 5vw, 4rem); text-align: center; }
.hero__glow {
    position: absolute; left: 50%; bottom: -42vw; z-index: 0; pointer-events: none;
    width: 190vw; height: 82vw; max-width: 2800px; max-height: 1150px;
    translate: -50% 0; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(232, 100, 30, .78) 0%, rgba(232, 100, 30, .44) 22%, rgba(156, 59, 42, .2) 44%, rgba(20, 18, 16, 0) 68%);
    filter: blur(16px); will-change: transform, opacity;
    animation: ob-glow-a 11s ease-in-out infinite;
}
.hero__glow--2 {
    width: 120vw; height: 52vw; bottom: -26vw; max-width: 1800px; max-height: 760px;
    background: radial-gradient(ellipse at center, rgba(255, 170, 96, .72) 0%, rgba(232, 100, 30, .36) 30%, rgba(20, 18, 16, 0) 64%);
    animation: ob-glow-b 8s ease-in-out infinite;
}
.hero__horizon {
    position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, rgba(232, 100, 30, 0) 0%, rgba(232, 100, 30, .55) 30%, rgba(255, 186, 130, .95) 50%, rgba(232, 100, 30, .55) 70%, rgba(232, 100, 30, 0) 100%);
    box-shadow: 0 0 28px rgba(255, 150, 80, .75), 0 0 64px rgba(232, 100, 30, .45);
}
@keyframes ob-glow-a { 0%, 100% { transform: translateX(-4%) scale(1); opacity: .85; } 50% { transform: translateX(4%) scale(1.06); opacity: 1; } }
@keyframes ob-glow-b { 0%, 100% { transform: translateX(6%) scale(.96); opacity: .7; } 50% { transform: translateX(-6%) scale(1.1); opacity: 1; } }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__kicker { margin-bottom: 0; }
.hero__light { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Masken: Eyebrow taucht nach oben, Sub und Buttons nach unten hinter der Headline hervor; nach dem Intro wieder offen (Hover-Lift der Buttons) */
.rise-mask { overflow: hidden; }
.rise-mask--up { margin-bottom: 1.4rem; }
.rise-mask--sub { margin-bottom: 1.8rem; }
.rise-mask--ctas { margin-bottom: .2rem; padding-bottom: 4px; margin-top: -4px; }
.hero.is-done .rise-mask { overflow: visible; }
.hero__title {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(2.4rem, 5.6vw, 5.2rem);
    line-height: 1.02; letter-spacing: -.03em;
    max-width: 16ch; margin: 0 0 1.4rem; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--ob-accent); }
.line-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line { display: block; }
.hero__sub {
    max-width: 58ch; margin: 0 auto;
    font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--ob-light-dim);
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 1.4rem; margin: 0; padding-top: 4px; }
.hero__phone { display: flex; flex-direction: column; line-height: 1.15; color: var(--ob-light); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.hero__phone small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-light-dim); }
.hero__phone:hover { color: var(--ob-accent-hover); }
/* Medienblock: Seitenverhaeltnis per Padding, Foto (oder Video) deckend, leichter Scroll-Parallax ueber --plx */
.hero__media { position: relative; z-index: 1; height: 0; padding-bottom: 47%; overflow: hidden; background: #e9e5df; }
.hero__media picture, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero__media.plx img { transform: translate3d(0, var(--plx, 0%), 0) scale(1.08); }
@media (max-width: 760px) { .hero__media { padding-bottom: 72%; } }

.statband { position: relative; z-index: 2; background: var(--ob-ink-2); color: var(--ob-light); border-top: 1px solid rgba(245, 242, 237, .08); }
.statband__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; padding: 1.35rem 0; list-style: none; }
.stat { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 1px solid rgba(245, 242, 237, .14); }
.stat__v { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__v svg { width: 22px; height: 22px; color: var(--ob-accent); }
.stat__l { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-light-dim); line-height: 1.3; }

/* Hero-Einblendung: ohne JS sofort sichtbar, mit JS animiert (Klasse .js am <html>) */
/* Intro-Choreografie (docs/hero-intro-brief.md): Startzustaende ohne .is-in, Ablauf ab .is-in (home.js setzt die Klasse
   nach 60 ms, .is-done nach 2,7 s). Nur transform/opacity, starkes Ease-out, keine Bounces.
   1  0,00 s  Headline-Zeilen steigen aus der Maske (0,7 s, Zeile 2 +80 ms)
   2  0,55 s  Eyebrow nach oben, Sub und Buttons nach unten hinter der Headline hervor (je 0,6 s, gestaffelt)
   3  1,05 s  Medienblock faehrt von +72 px ein und rastet ein (0,8 s), Stat-Leiste folgt (1,25 s)
   4  1,75 s  Licht steigt von der Horizontlinie auf (0,7 s), Horizontlinie zeichnet sich aus der Mitte (1,8 s) */
.js .hero .line { transform: translateY(112%); }
.js .hero .rise-mask--up > * { transform: translateY(115%); opacity: 0; }
.js .hero .rise-mask--down > * { transform: translateY(-115%); opacity: 0; }
.js .hero .hero__media { opacity: 0; transform: translateY(72px); }
.js .hero .statband { opacity: 0; transform: translateY(24px); }
.js .hero .hero__light { opacity: 0; transform: scale(.85); transform-origin: 50% 100%; }
.js .hero .hero__horizon { transform: scaleX(0); transform-origin: 50% 50%; }
.js .hero.is-in .line { animation: lineUp .7s var(--ease) both; }
.js .hero.is-in .line-mask:nth-child(2) .line { animation-delay: .08s; }
.js .hero.is-in .rise-mask--up > * { animation: riseUp .6s var(--ease) .55s both; }
.js .hero.is-in .rise-mask--sub > * { animation: riseDown .6s var(--ease) .62s both; }
.js .hero.is-in .rise-mask--ctas > * { animation: riseDown .6s var(--ease) .72s both; }
.js .hero.is-in .hero__media { animation: mediaIn .8s var(--ease) 1.05s both; }
.js .hero.is-in .hero__media picture, .js .hero.is-in .hero__media video { animation: heroZoom 1.6s var(--ease) 1.05s both; }
.js .hero.is-in .statband { animation: fadeUp .6s var(--ease) 1.25s both; }
.js .hero.is-in .hero__light { animation: lightIn .7s var(--ease) 1.75s both; }
.js .hero.is-in .hero__horizon { animation: horizonIn .7s var(--ease) 1.8s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(112%); } to { transform: none; } }
@keyframes riseUp { from { transform: translateY(115%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes riseDown { from { transform: translateY(-115%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mediaIn { from { opacity: 0; transform: translateY(72px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: none; } }
@keyframes lightIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes horizonIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Intro uebersprungen (Anker-Einstieg weiter unten oder Konstante in home.js): Endzustand sofort */
.js .hero.is-skip .line, .js .hero.is-skip .rise-mask > *, .js .hero.is-skip .hero__media, .js .hero.is-skip .statband,
.js .hero.is-skip .hero__light, .js .hero.is-skip .hero__horizon { animation: none !important; transform: none; opacity: 1; }

@media (max-width: 900px) { .statband__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
    .hero__ctas { flex-direction: column; align-items: stretch; }
    .hero__ctas .btn { width: 100%; }
    .hero__phone { align-items: center; }
}
@media (max-width: 560px) { .statband__list { grid-template-columns: repeat(2, 1fr); } }

/* ── Scroll-Reveal ────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Sektion 2: Mieszkania i ceny ─────────────────────────────── */
.types-block { margin-bottom: var(--sp-block); }
.types-head { margin-bottom: var(--sp-head-2); }
.types-block > .note { margin-top: var(--sp-sub); }
.types-note { margin: 0; font-size: .9rem; color: var(--ob-text-dim); }

/* Drei Kacheln (je Wohnungstyp): Tytuł → zdjęcie/slider → rzut → fakty.
   3D-Tilt steuert home.js (nur hover + fine pointer), die Kachel kippt als eine Flaeche;
   Schatten als eigene Ebene (opacity). */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.tile-wrap { position: relative; perspective: 1100px; }
.tile {
    position: relative; display: flex; flex-direction: column; gap: clamp(.9rem, 1.2vw, 1.1rem); height: 100%;
    padding: clamp(1.1rem, 1.5vw, 1.4rem);
    background: var(--ob-white); border: 1px solid rgba(27, 25, 23, .1); border-radius: 22px;
    box-shadow: 0 1px 2px rgba(27, 25, 23, .05), 0 10px 30px -18px rgba(27, 25, 23, .18);
}
.tile.is-tilting { will-change: transform; }
.tile::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 34px 70px -28px rgba(27, 25, 23, .35), 0 16px 32px -16px rgba(27, 25, 23, .18);
    opacity: 0; transition: opacity .35s var(--ease);
}
.tile.is-tilting::after { opacity: 1; }
.tile__head { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: start; padding-top: .1rem; }
.tile__head .eyebrow { margin-bottom: .5rem; }
.tile__num {
    font-family: var(--font-head); font-weight: 700; font-style: normal;
    font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: .9; letter-spacing: -.04em; color: var(--ob-brick);
}
.tile__num small { font-size: .42em; font-style: normal; vertical-align: top; margin-left: .04em; }
.tile__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.35vw, 1.25rem); line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.tile__desc { grid-column: 1 / -1; margin: .45rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--ob-text-dim); }
/* <picture> ist ein Inline-Element ohne eigene Hoehe: in allen Bildrahmen auf volle Hoehe strecken, sonst bleibt unter
   dem Bild ein Streifen (Regel war beim Hero-Umbau verloren gegangen) */
.ba picture, .tile__plan picture, .std-stage__img picture, .std-step__media picture, .gallery__item picture { display: block; height: 100%; }
/* Seitenverhaeltnis ueber padding-bottom statt aspect-ratio: Safari bemisst aspect-ratio-Boxen in Subgrid-Zeilen falsch */
.tile__media { position: relative; height: 0; padding-bottom: 75%; border-radius: 14px; overflow: hidden; background: #e9e5df; }
.tile__media > .ba { position: absolute; inset: 0; }
.tile__plan { position: relative; margin: 0; height: 0; padding-bottom: 80%; border-radius: 14px; overflow: hidden; background: #cccacf; border: 1px solid var(--ob-line); }
/* Rzuty sind per tools/build-plans.sh auf 5:4 mit 6 % Rand gebracht: kein Zoom, nur leichte Tiefe/Parallax */
.tile__plan.plx--soft img { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--plx, 0%)), 0); }
.tile__plan > picture { position: absolute; inset: 0; }
.tile__plan img { width: 100%; height: 100%; object-fit: cover; }
.tile__plan figcaption {
    position: absolute; left: .7rem; bottom: .7rem; z-index: 2; padding: .3rem .62rem; border-radius: 999px;
    font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(20, 18, 16, .8); color: #fff; pointer-events: none;
}
.tile__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; padding: .1rem 0; }
.fact { display: flex; flex-direction: column; gap: .3rem; padding-left: .85rem; border-left: 1px solid var(--ob-line); }
.fact dt { order: 2; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-text-faint); line-height: 1.3; }
.fact dd { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact--accent dd { color: var(--ob-brick); }
.tile__actions { margin-top: auto; display: flex; flex-direction: column; gap: .55rem; padding-top: .2rem; }
.tile__actions .btn { width: 100%; min-height: 44px; padding: .6rem 1rem; }

/* Parallax: --plx (Scroll, Prozent der Bildhoehe) und --px/--py (Tiefe hinter dem kippenden Rahmen, px)
   setzt home.js je Rahmen – das Bild bleibt wie eine Szene hinter Glas leicht zurueck */
.plx { overflow: hidden; }
.plx img { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--plx, 0%)), 0) scale(1.16); will-change: transform; }
.plx--soft img { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--plx, 0%)), 0) scale(1.1); }

/* Drei Kacheln nebeneinander: Kopf, Foto, Rzut, Fakten und Buttons teilen sich per Subgrid die Zeilenhoehen,
   damit alle Inhalte ueber die Kacheln hinweg auf gleicher Hoehe liegen (Fallback ohne Subgrid: Flex-Spalte) */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 1001px) {
        .tiles { grid-template-rows: auto auto auto auto auto; row-gap: clamp(.9rem, 1.2vw, 1.1rem); }
        .tile-wrap { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
        .tile { display: grid; grid-template-rows: subgrid; grid-row: span 5; height: auto; }
        .tile__head { grid-row: 1; align-self: start; }
        .tile__media { grid-row: 2; }
        .tile__plan { grid-row: 3; }
        .tile__facts { grid-row: 4; }
        .tile__actions { grid-row: 5; margin-top: 0; }
    }
}
@media (max-width: 1000px) {
    .tiles { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .tile__media { padding-bottom: 66.667%; }
}

/* Vorher/Nachher-Schieber */
.ba { position: relative; width: 100%; height: 100%; --pos: 50%; user-select: none; -webkit-user-select: none; }
.ba__before, .ba__after { position: absolute; inset: 0; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__range {
    position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.ba__handle {
    position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px;
    background: #fff; transform: translateX(-50%); pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.ba__handle::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;
    border-radius: 50%; background: #fff; transform: translate(-50%, -50%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 20px;
}
.ba__range:focus-visible ~ .ba__handle { box-shadow: 0 0 0 3px var(--ob-accent); }

.chip {
    position: absolute; top: .7rem; z-index: 2; padding: .3rem .62rem; border-radius: 999px;
    font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
    white-space: nowrap;
}
.chip--photo { left: .7rem; background: rgba(20, 18, 16, .8); color: #fff; }
.chip--viz { right: .7rem; background: rgba(232, 100, 30, .94); color: #140a05; }
.chip--viz.chip--left { left: .7rem; right: auto; }

/* Planer 3D (iframe unveraendert, siehe header.tpl) */
/* Planer 3D als Vollbild-Sektion: volle Breite, Viewport-Hoehe minus Header (Hoehe steht inline in header.tpl);
   ein Aktivierungs-Overlay faengt Scroll/Wisch-Gesten ab, bis der Nutzer klickt (sonst Scroll-Falle im iframe) */
.planner--full { position: relative; margin: 0 0 var(--sp-block); scroll-margin-top: var(--header-h); background: #e9ebee; border-top: 1px solid var(--ob-line); border-bottom: 1px solid var(--ob-line); }
.planner__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: var(--sp-sub); }
.planner__guard {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center;
    padding: 0 1rem clamp(1.2rem, 3vh, 2rem); background: transparent; border: 0; cursor: pointer;
    transition: opacity .3s var(--ease);
}
.planner__guard-pill {
    display: inline-flex; align-items: center; gap: .6rem; padding: .72rem 1.15rem; border-radius: 999px;
    background: rgba(20, 18, 16, .86); color: var(--ob-light); font-size: .78rem; font-weight: 600; letter-spacing: .02em;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.planner__guard-pill svg { color: var(--ob-accent); flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) { .planner__guard:hover .planner__guard-pill { transform: translateY(-2px); background: rgba(20, 18, 16, .96); } }
.planner__guard:active .planner__guard-pill { transform: scale(.97); }
.planner.is-active .planner__guard { opacity: 0; pointer-events: none; }
/* Auf dem Handy liegt unten die feste Anruf-Leiste: Pille darueber setzen */
@media (max-width: 819px) { .planner__guard { padding-bottom: calc(1rem + 86px); } }
.steps { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; list-style: none; counter-reset: step; }
.steps li { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 600; color: var(--ob-text-dim); }
.steps li::before {
    counter-increment: step; content: counter(step);
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--ob-ink); color: var(--ob-light); font-size: .7rem; font-weight: 700;
}
.steps li:not(:last-child)::after { content: "→"; margin-left: .6rem; color: var(--ob-text-faint); }
#flats-model { position: relative; display: block; background: #e9ebee; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
#flats-model iframe { display: block; }

/* Dla inwestorów */
.invest {
    display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: center;
    padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius);
    background: var(--ob-ink); color: var(--ob-light);
    background-image: radial-gradient(80% 90% at 100% 0%, rgba(232, 100, 30, .12), transparent 60%);
}
.invest h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 1rem; }
.invest h3 em { font-style: normal; font-weight: 700; color: var(--ob-accent); }
.checks { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin: 0 0 1.2rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.checks li::before {
    content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%;
    background: var(--ob-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M7.5 12.5l3.2 3.2 5.8-6.7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M7.5 12.5l3.2 3.2 5.8-6.7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footnote { font-size: .76rem; line-height: 1.55; color: var(--ob-light-dim); margin: 0 0 1.4rem; max-width: 60ch; }
.invest__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-left: 2rem; border-left: 1px solid rgba(245, 242, 237, .18); }
.invest__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.6rem, 7.5vw, 6rem); line-height: .95; letter-spacing: -.04em; }
.invest__big small { font-size: .42em; color: var(--ob-accent); margin-left: .08em; }
.invest__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ob-light-dim); margin-top: .6rem; }

@media (max-width: 1000px) { .types { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 900px) {
    .invest { grid-template-columns: 1fr; }
    .invest__figure { border-left: 0; border-top: 1px solid rgba(245, 242, 237, .18); padding: 1.4rem 0 0; }
    .switch { margin-left: 0; width: 100%; }
}

/* ── Sektion 3: Standardy – Box-Story: eine weisse Karte haftet mittig im Viewport; links Foto mit Ueberblendung,
   rechts laufen die drei Stufen INNERHALB der Karte durch (scroll-gekoppelt, home.js). Die Textspalte ist oben/unten
   weich maskiert, damit auslaufender Text nie mit Ueberschrift oder Karte kollidiert. ───────────────────────────── */
.std-story { position: relative; margin: 0; }
.std-story__pin { position: sticky; top: calc(var(--header-h) + 1.5rem); z-index: 2; }
.std-box {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch;
    padding: clamp(1rem, 1.5vw, 1.4rem);
    background: var(--ob-white); border: 1px solid var(--ob-line); border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 40px 90px -48px rgba(27, 25, 23, .45), 0 28px 60px -30px rgba(0, 0, 0, .55);
}
.std-box__media { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.std-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #e9e5df; }
.std-stage__img {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(1.04); filter: blur(3px);
    transition: opacity .5s var(--ease), transform .8s var(--ease), filter .5s var(--ease);
}
.std-stage__img.is-active { opacity: 1; transform: none; filter: none; }
.std-stage__img img { width: 100%; height: 100%; object-fit: cover; }
.std-stage__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; margin: 0;
    font-size: .72rem; line-height: 1.4; color: rgba(245, 242, 237, .9);
    background: linear-gradient(to top, rgba(8, 7, 6, .72), transparent);
}
/* Scroll-Fortschritt unter dem Foto: lineare Fuellung = Position innerhalb der Story (home.js), Klick springt */
.std-progress { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 0 .15rem; }
.std-progress__track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(27, 25, 23, .12); overflow: hidden; cursor: pointer; }
.std-progress__track:hover { background: rgba(27, 25, 23, .2); }
.std-progress__fill { position: absolute; inset: 0; border-radius: 2px; background: var(--ob-brick); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.std-progress__label { margin: 0; flex: 0 0 auto; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-text-faint); font-variant-numeric: tabular-nums; }

/* Textspalte = Fenster: alle Stufen liegen uebereinander (grid-area 1/1), home.js verschiebt sie per transform */
.std-box__text {
    position: relative; min-width: 0; overflow: hidden; display: flex;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
}
.std-steps { list-style: none; display: grid; width: 100%; margin: 0; padding: 0; }
.std-step {
    grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center;
    padding: 1.5rem clamp(.6rem, 2vw, 2rem) 1.5rem 0;
    will-change: transform; backface-visibility: hidden;
}
.std-step .eyebrow { margin-bottom: .6rem; }
.std-step h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5rem; }
.std-step__lead { font-weight: 600; margin: 0 0 .6rem; }
.std-step p { color: var(--ob-text-dim); max-width: 48ch; }
.std-step__scope { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.std-step__scope li {
    display: inline-flex; align-items: center; gap: .35rem; padding: .34rem .75rem; border-radius: 999px;
    background: var(--ob-paper); border: 1px solid var(--ob-line); font-size: .76rem; font-weight: 600; color: var(--ob-text);
}
.std-step__scope li::before { content: "✓"; color: var(--ob-ok); font-weight: 700; }
.std-step__scope li.is-new { background: var(--ob-ink); border-color: var(--ob-ink); color: var(--ob-light); }
.std-step__scope li.is-new::before { content: "+"; color: var(--ob-accent); }
.std-step__media { display: none; }

@media (max-width: 1000px) {
    /* Gestapelt: jede Stufe mit eigenem Foto, keine haftende Karte (home.js setzt dann keine Inline-Styles) */
    .std-story { height: auto !important; margin: 0 0 var(--sp-block); }
    .std-story__pin { position: static; top: auto !important; }
    .std-box { display: block; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
    .std-box__media { display: none; }
    .std-box__text { display: block; overflow: visible; -webkit-mask-image: none; mask-image: none; }
    .std-steps { display: block; }
    .std-step { display: block; padding: clamp(1.8rem, 4vh, 3rem) 0; border-top: 1px solid var(--ob-line); transform: none !important; opacity: 1 !important; will-change: auto; }
    .std-step:first-child { border-top: 0; padding-top: 0; }
    .std-step__scope li { background: var(--ob-white); }
    .std-step__media { display: block; position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; margin: 0 0 1.2rem; background: #e9e5df; }
    .std-step__media img { width: 100%; height: 100%; object-fit: cover; }
}

/* Podsumowanie: dunkles Band ueber die volle Breite – ab hier geht die Seite in den dunklen Teil ueber. Die weisse
   Karte liegt opak und mit Schatten auf der Flaeche (Ueberlappung --std-overlap). Auf Desktop rollt home.js das Band
   per clip-path hinter der Karte aus und laesst Kopf, Tabelle und Fussnote gestaffelt einsteigen. */
.std-summary {
    --std-overlap: 56px;
    position: relative; z-index: 1;
    margin-top: calc(-1 * var(--std-overlap));
    padding: calc(var(--std-overlap) + var(--section-y)) 0 var(--section-y);
    color: var(--ob-light);
    background: linear-gradient(to bottom, #24201c 0, #1a1715 260px, var(--ob-ink) 640px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
    border-bottom: 1px solid var(--ob-line-dark);
}
.std-summary__head, .std-summary__table, .std-summary__foot { will-change: transform, opacity; }
.std-summary__head {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(1.5rem, 4vw, 4.5rem); row-gap: 0;
    grid-template-areas: "eyebrow eyebrow" "title text" "claim text"; align-items: start;
    margin-bottom: var(--sp-head-2);
}
.std-summary__head .eyebrow { grid-area: eyebrow; margin-bottom: 1rem; }
.std-summary .sub { grid-area: title; margin: 0 0 .9rem; font-size: clamp(1.55rem, 2.4vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; }
.std-summary__claim { grid-area: claim; margin: 0; max-width: 36ch; font-size: 1.02rem; line-height: 1.55; color: var(--ob-light); font-weight: 500; }
.std-summary__text { grid-area: text; margin: 0; color: var(--ob-light-dim); font-size: .95rem; max-width: 62ch; }
.std-summary__table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.std-summary__foot { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; margin-top: 1rem; }
.std-summary__foot .note { color: var(--ob-light-faint); }
.std-summary__foot .link { color: var(--ob-light); }
.std-summary__foot .link:hover { color: var(--ob-accent-hover); }

/* Vergleichstabelle: Marktspalte gedimmt (nur Vergleich), Komfort als meistgewaehlte Spalte hervorgehoben */
.std-compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .9rem; background: rgba(245, 242, 237, .035); border: 1px solid var(--ob-line-dark); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
.std-compare th, .std-compare td { padding: .78rem .7rem; border-bottom: 1px solid var(--ob-line-dark); text-align: center; vertical-align: middle; }
.std-compare th:first-child, .std-compare td:first-child { text-align: left; width: 26%; }
.std-compare tbody th { font-weight: 500; color: var(--ob-light); }
.std-compare thead th { padding: 1rem .7rem .95rem; background: rgba(245, 242, 237, .06); vertical-align: bottom; }
.std-compare__zakres { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ob-light-dim); }
.std-compare__name { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ob-light); line-height: 1.3; }
.std-compare__tag {
    display: inline-block; margin-top: .5rem; padding: .24rem .6rem; border-radius: 999px;
    font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
    background: rgba(245, 242, 237, .12); color: var(--ob-light);
}
.std-compare .yes { color: var(--ob-accent); font-weight: 700; }
.std-compare .no { color: var(--ob-light-faint); }
.std-compare .col--market .std-compare__name { color: var(--ob-light-dim); }
.std-compare .col--market .std-compare__tag { background: transparent; border: 1px solid var(--ob-line-dark); color: var(--ob-light-faint); }
.std-compare .col--market .yes { color: var(--ob-light-dim); font-weight: 600; }
.std-compare .col--market .no { color: rgba(245, 242, 237, .28); }
.std-compare .col--hot { background: rgba(232, 100, 30, .09); }
.std-compare thead .col--hot { background: rgba(232, 100, 30, .16); box-shadow: inset 0 2px 0 var(--ob-accent); }
.std-compare .col--hot .std-compare__tag { background: var(--ob-accent); color: #140a05; }
.std-compare tfoot td { border-bottom: 0; padding: 1rem .5rem 1.1rem; }
.std-compare tfoot .btn { width: 100%; max-width: 200px; min-height: 40px; padding: .5rem .7rem; font-size: .62rem; letter-spacing: .1em; }
.std-compare tfoot .btn--ghost { background: rgba(245, 242, 237, .04); }
.std-compare__only { font-size: .66rem; letter-spacing: .04em; color: var(--ob-light-faint); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
@media (max-width: 1200px) {
    .std-compare__tag { white-space: normal; }
}
@media (max-width: 1000px) {
    .std-summary { --std-overlap: 0px; margin-top: 0; }
    .std-summary__head, .std-summary__table, .std-summary__foot { transform: none !important; opacity: 1 !important; will-change: auto; }
}
@media (max-width: 1000px) {
    .std-summary__head { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "claim" "text"; }
    .std-summary__claim { margin-bottom: 1rem; }
    /* Horizontal scrollbar: Rundung wandert auf den Wrapper, damit die erste Spalte sticky bleiben kann (overflow auf der Tabelle wuerde sticky brechen) */
    .std-summary__table { border-radius: 16px; }
    .std-compare { min-width: 760px; overflow: visible; border-radius: 0; box-shadow: none; }
    .std-compare th:first-child, .std-compare td:first-child { position: sticky; left: 0; z-index: 1; width: 200px; background: #1c1a18; }
    .std-compare thead th:first-child { background: #221f1c; }
}

/* ── Sektion 4: O inwestycji – Putzweiss mit Formen (Ring + Scheibe, leichter Parallax ueber --plx) und
   Fakten-Mosaik: blattfoermige weisse Kacheln mit Linien-Icons, eine schwarze Akzentkachel; danach die Galerie ── */
.about { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: var(--sp-block); }
.about__text p { color: var(--ob-text-dim); max-width: 58ch; }
.about__text .sub { margin-top: .4rem; }
.about__note { margin-top: 1.2rem; }
/* Formen: Scroll-Parallax ueber die translate-Eigenschaft (--plx aus home.js), dazu eine sehr langsame Drift per
   transform-Animation (Halbzyklen 19-25 s, wenige Pixel, Skalierung 3-5 %) – beides addiert sich, ohne sich zu ueberschreiben */
.shape { position: absolute; z-index: -1; pointer-events: none; translate: 0 var(--plx, 0%); will-change: transform; }
.shape--ring { top: -14%; right: -9%; width: clamp(320px, 38vw, 560px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(156, 59, 42, .3); animation: ob-drift-ring 19s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.shape--ring::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(156, 59, 42, .14); animation: ob-drift-inner 23s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.shape--disc { bottom: -8%; left: -16%; width: clamp(220px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--ob-white); opacity: .75; animation: ob-drift-disc 25s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes ob-drift-ring { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-16px, 12px, 0) scale(1.03); } }
@keyframes ob-drift-inner { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(4%, -3%, 0); } }
@keyframes ob-drift-disc { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14px, -10px, 0) scale(1.05); } }

.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 0; padding: 0; }
.fact-card {
    position: relative; display: flex; flex-direction: column; gap: .2rem;
    padding: 1.25rem 1.25rem 1.2rem;
    background: var(--ob-white); border: 1px solid rgba(27, 25, 23, .08);
    border-radius: 34px 10px 34px 10px;
    box-shadow: 0 1px 2px rgba(27, 25, 23, .04), 0 14px 32px -24px rgba(27, 25, 23, .28);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fact-card:nth-child(even) { border-radius: 10px 34px 10px 34px; }
.fact-card__icon {
    display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .9rem;
    border-radius: 14px; background: var(--ob-paper); color: var(--ob-brick);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.fact-card strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.2; letter-spacing: -.01em; }
.fact-card__label { font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ob-text-faint); line-height: 1.35; }
.fact-card--ink { background: var(--ob-ink); border-color: var(--ob-ink); color: var(--ob-light); }
.fact-card--ink .fact-card__icon { background: rgba(245, 242, 237, .1); color: var(--ob-accent); }
.fact-card--ink .fact-card__label { color: var(--ob-light-dim); }
.facts [data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }
@media (hover: hover) and (pointer: fine) {
    .fact-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(27, 25, 23, .04), 0 22px 40px -24px rgba(27, 25, 23, .35); }
    .fact-card:hover .fact-card__icon { background: var(--ob-brick); color: #fff; }
    .fact-card--ink:hover .fact-card__icon { background: var(--ob-accent); color: #140a05; }
}

.gallery__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--sp-sub); }
.gallery__filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.gallery__filters .fbtn {
    padding: .5rem 1rem; border: 1px solid var(--ob-line); border-radius: 999px;
    font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ob-text-dim);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .16s var(--ease);
}
.gallery__filters .fbtn:hover { border-color: var(--ob-ink); color: var(--ob-ink); }
.gallery__filters .fbtn:active { transform: scale(.97); }
.gallery__filters .fbtn.is-active { background: var(--ob-ink); border-color: var(--ob-ink); color: var(--ob-light); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: .9rem; }
.gallery__item { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #e9e5df; aspect-ratio: 3 / 2; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item a { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem .9rem .7rem;
    font-size: .72rem; line-height: 1.4; color: rgba(245, 242, 237, .88);
    background: linear-gradient(to top, rgba(8, 7, 6, .75), transparent); pointer-events: none;
}
.gallery__item[hidden] { display: none; }
.gallery .note { margin-top: 1.2rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .gallery__grid { grid-template-columns: 1fr 1fr; }
    .gallery__item--lead { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
    .shape--ring { top: auto; bottom: -6%; right: -28%; width: 64vw; }
    .shape--disc { display: none; }
    .facts { gap: .65rem; }
    .fact-card { padding: 1rem .95rem .95rem; border-radius: 26px 8px 26px 8px; }
    .fact-card:nth-child(even) { border-radius: 8px 26px 8px 26px; }
    .fact-card__icon { width: 38px; height: 38px; margin-bottom: .7rem; }
}
@media (max-width: 480px) { .gallery__grid { grid-template-columns: 1fr; } .gallery__item--lead { grid-column: auto; } }

/* ── Sektion 5: Lokalizacja – Zeitachse der Gehzeiten, grosse Karte in warmem Monochrom, Buero-Karte ───────── */
.walkline { margin: 0 0 var(--sp-block); }
.walkline__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: var(--sp-sub); }
.walkline__head .sub { margin: 0; }
.walkline__note { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ob-text-faint); }
.walkline__track { position: relative; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; margin: 0; padding: 0; }
.walkline__track::before {
    content: ""; position: absolute; left: 0; right: calc((100% - 6rem) / 7 - 8px); top: 7px; height: 2px;
    background: linear-gradient(90deg, var(--ob-accent) 0%, var(--ob-brick) 45%, rgba(27, 25, 23, .16) 100%);
    transform-origin: left center;
}
.walkline__node { position: relative; padding-top: 1.7rem; }
.walkline__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ob-paper); border: 3px solid var(--ob-brick); box-shadow: 0 0 0 4px var(--ob-paper); }
.walkline__node:first-child .walkline__dot { background: var(--ob-accent); border-color: var(--ob-accent); }
.walkline__time { display: flex; align-items: baseline; gap: .25rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.walkline__time small { font-size: .5em; font-weight: 600; color: var(--ob-text-faint); letter-spacing: 0; }
.walkline__places { list-style: none; margin: .6rem 0 0; padding: 0; }
.walkline__places li { font-size: .86rem; color: var(--ob-text-dim); line-height: 1.4; padding: .12rem 0; }
.js .walkline[data-reveal] .walkline__track::before { transform: scaleX(0); transition: transform 1.3s var(--ease) .2s; }
.js .walkline[data-reveal].is-in .walkline__track::before { transform: scaleX(1); }
.js .walkline[data-reveal] .walkline__node { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.3s + var(--i, 0) * 90ms); }
.js .walkline[data-reveal].is-in .walkline__node { opacity: 1; transform: none; }

.loc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.map-card { position: relative; min-height: 480px; border-radius: 24px; overflow: hidden; background: #e9e5df; border: 1px solid var(--ob-line); box-shadow: 0 30px 70px -40px rgba(27, 25, 23, .35); }
.map { position: absolute; inset: 0; z-index: 0; }
.leaflet-container { font-family: var(--font-body); background: #e9e5df; }
/* Kartenkacheln in warmem Monochrom, damit die Karte zur Palette passt und der Marker traegt */
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.14) brightness(1.03) contrast(.9); }
.map .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 26px rgba(27, 25, 23, .2); margin: 14px; }
.map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--ob-ink); background: #fff; border-bottom: 1px solid var(--ob-line); font-size: 18px; font-weight: 400; }
.map .leaflet-control-zoom a:last-child { border-bottom: 0; }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(245, 243, 239, .85); color: var(--ob-text-faint); }
.map .leaflet-control-attribution a { color: var(--ob-text-dim); }
/* Eigener Marker: oranger Punkt mit pulsierendem Ring, Beschriftung als dunkle Pille */
.ob-pin-wrap { background: none; border: 0; }
.ob-pin { position: absolute; inset: 0; }
.ob-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ob-accent); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.ob-pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--ob-accent); opacity: 0; animation: ob-pin-pulse 2.6s ease-out infinite; }
@keyframes ob-pin-pulse { 0% { transform: scale(.5); opacity: .75; } 70% { transform: scale(1.3); opacity: 0; } 100% { transform: scale(1.3); opacity: 0; } }
.map .ob-tip { background: rgba(20, 18, 16, .92); color: var(--ob-light); border: 0; border-radius: 999px; padding: .5rem .9rem; font-size: .76rem; font-weight: 600; letter-spacing: .01em; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); white-space: nowrap; }
.map .ob-tip::before { display: none; }

.office { display: flex; flex-direction: column; background: var(--ob-white); border: 1px solid var(--ob-line); border-radius: 24px; padding: clamp(1.4rem, 2.4vw, 2rem); }
.office .eyebrow { margin-bottom: .8rem; }
.office .sub { margin: 0 0 .9rem; }
.office__hours { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .42rem .85rem; margin-bottom: 1.2rem; border-radius: 999px; background: var(--ob-paper); font-size: .78rem; font-weight: 600; }
.office__hours::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ob-ok); box-shadow: 0 0 0 3px rgba(31, 107, 67, .15); }
.office address { margin: 0 0 1.4rem; }
.office__actions { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; }
.office__actions .btn { width: 100%; }
@media (max-width: 900px) {
    .loc-grid { grid-template-columns: 1fr; }
    .map-card { min-height: 360px; }
}
@media (max-width: 1000px) {
    .walkline__track { grid-template-columns: 1fr; gap: 0; }
    .walkline__track::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--ob-accent) 0%, var(--ob-brick) 45%, rgba(27, 25, 23, .16) 100%); transform-origin: center top; }
    .walkline__node { display: grid; grid-template-columns: 5.4rem 1fr; column-gap: 1rem; align-items: baseline; padding: .6rem 0 .6rem 2rem; }
    .walkline__dot { top: .72rem; }
    .walkline__places { margin: 0; }
    .js .walkline[data-reveal] .walkline__track::before { transform: scaleY(0); }
    .js .walkline[data-reveal].is-in .walkline__track::before { transform: scaleY(1); }
}
address { font-style: normal; margin: 0 0 1.2rem; font-size: .95rem; color: var(--ob-text-dim); line-height: 1.6; }
address strong { color: var(--ob-text); }

/* ── Sektion 6: Deweloper, opinie, FAQ ────────────────────────── */
.parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: var(--sp-block); }
.party { position: relative; padding: 1.7rem 1.7rem 1.5rem; background: var(--ob-white); color: var(--ob-text); border: 1px solid var(--ob-line); border-radius: var(--radius); }
.party::before { content: ""; position: absolute; top: 0; left: 1.7rem; width: 48px; height: 3px; background: var(--ob-brick); }
.party__role { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ob-text-faint); margin: .3rem 0 .6rem; }
.party h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin: 0 0 .5rem; color: var(--ob-ink); }
.party p { font-size: .95rem; color: var(--ob-text-dim); margin: 0 0 .3rem; }
.party a { color: var(--ob-text); font-weight: 600; text-decoration: none; }
.party a:hover { color: var(--ob-brick); }

.reviews { margin-bottom: var(--sp-block); padding: 1.6rem; border: 1px dashed var(--ob-line); border-radius: var(--radius); color: var(--ob-text-dim); font-size: .9rem; }

.faq { max-width: 880px; margin-bottom: var(--sp-sub); }
.faq .sub { margin-bottom: var(--sp-sub); }
.faq details { border-bottom: 1px solid var(--ob-line); }
.faq details:first-of-type { border-top: 1px solid var(--ob-line); }
.faq summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.05rem 0; cursor: pointer; font-weight: 600; font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--ob-brick); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ob-text-dim); max-width: 72ch; font-size: .97rem; }
.sec--ink .faq details, .sec--ink .faq details:first-of-type { border-color: var(--ob-line-dark); }
.sec--ink .faq summary::after { color: var(--ob-accent); }
.sec--ink .faq details p { color: var(--ob-light-dim); }
.sec--ink .reviews { border-color: var(--ob-line-dark); color: var(--ob-light-dim); }
@media (max-width: 760px) { .parties { grid-template-columns: 1fr; } }

/* ── Sektion 7: Kontakt ───────────────────────────────────────── */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__info > p { color: var(--ob-light-dim); max-width: 44ch; }
.contact__list { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.4rem; margin: 1.6rem 0; font-size: .98rem; }
.contact__list dt { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-light-dim); padding-top: .3rem; }
.contact__list dd a { color: var(--ob-light); text-decoration: none; font-weight: 700; }
.contact__list dd a:hover { color: var(--ob-accent-hover); }
.contact__person { font-size: .95rem; color: var(--ob-light-dim); }
.contact__person strong { color: var(--ob-light); font-weight: 600; }

.form-card { background: var(--ob-paper); color: var(--ob-text); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.form-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; margin: 0 0 .3rem; }
.form-card__intro { font-size: .9rem; color: var(--ob-text-dim); margin: 0 0 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field--full { grid-column: 1 / -1; }
.field > span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-text-dim); margin-bottom: .4rem; }
.field input, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem .95rem;
    border: 1px solid var(--ob-line); border-radius: 10px; background: var(--ob-white); color: var(--ob-text);
    transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ob-brick); box-shadow: 0 0 0 3px rgba(156, 59, 42, .15); }
.rodo { display: flex; gap: .7rem; align-items: flex-start; font-size: .76rem; line-height: 1.5; color: var(--ob-text-dim); margin: .2rem 0 1.2rem; cursor: pointer; }
.rodo input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ob-brick); }
#formResponse { font-size: .9rem; color: var(--ob-brick); margin-bottom: .6rem; }
#formResponse:empty { display: none; }
.form-card .btn { width: 100%; }
.form-alt { margin: 1rem 0 0; text-align: center; font-size: .85rem; color: var(--ob-text-dim); }
.form-alt a { font-weight: 700; color: var(--ob-text); text-decoration: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { background: var(--ob-ink); color: var(--ob-light); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer__brand p { color: var(--ob-light-dim); font-size: .92rem; max-width: 30ch; }
.footer h4 { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ob-light-dim); margin: 0 0 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: var(--ob-light); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: var(--ob-accent-hover); }
.footer__contact p { margin: 0 0 .45rem; font-size: .95rem; }
.footer__contact p small { display: block; font-size: .78rem; color: var(--ob-light-dim); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ob-light); transition: background .3s var(--ease); }
.socials a:hover { background: var(--ob-accent); }
.socials img { width: 18px; height: 18px; }
.footer__bar { border-top: 1px solid var(--ob-line-dark); padding: 1.2rem 0 calc(1.2rem + env(safe-area-inset-bottom)); font-size: .76rem; color: var(--ob-light-dim); }
.footer__bar .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center; }
.footer__bar a, .footer__bar button { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.footer__bar a:hover, .footer__bar button:hover { color: var(--ob-accent-hover); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── Sticky-Leiste (Mobile) und "nach oben" ───────────────────── */
.sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; gap: .6rem;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(20, 18, 16, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--ob-line-dark);
    transform: translateY(100%); transition: transform .4s var(--ease);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn { flex: 1; min-height: 46px; padding: .5rem .6rem; font-size: .7rem; }
@media (max-width: 360px) {
    .sticky-bar .btn { font-size: .62rem; letter-spacing: .08em; padding: .5rem .4rem; }
    .fact-card { padding: .85rem .8rem .8rem; }
    .fact-card strong { font-size: .95rem; }
}
@media (max-width: 819px) { .sticky-bar { display: flex; } body { padding-bottom: 70px; } }

#to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 89; display: none;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--ob-ink); color: var(--ob-light); border: 1px solid var(--ob-line-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25); cursor: pointer;
}
#to-top::before { content: "↑"; display: grid; place-items: center; height: 100%; font-size: 1.1rem; }
@media (max-width: 819px) { #to-top { display: none !important; } }

/* ── Cookie-Widget (IDs/Klassen wie in app.js) ────────────────── */
#cookies-icon {
    position: fixed; left: 16px; bottom: 16px; z-index: 95;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--ob-brick); cursor: pointer;
}
#cookies-icon img { width: 22px; height: 22px; }
@media (max-width: 819px) { #cookies-icon { bottom: 84px; } }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(156, 59, 42, .4); } 100% { box-shadow: 0 0 0 18px rgba(156, 59, 42, 0); } }
.cookies-widget {
    position: fixed; left: 16px; bottom: 16px; z-index: 96;
    width: min(440px, calc(100vw - 32px));
    background: var(--ob-ink); color: var(--ob-light);
    border: 1px solid var(--ob-line-dark); border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.cookies-widget--show { opacity: 1; visibility: visible; transform: none; }
.cookies-widget__header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1rem .5rem 1.3rem; }
.cookies-widget__header p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.cookies-widget__header-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ob-light); }
.cookies-widget__header-close:hover { background: rgba(245, 242, 237, .1); }
.cookies-widget__header-close svg { fill: currentColor; }
.cookies-widget__body { padding: 0 1.3rem .8rem; }
.cookies-widget__body p { margin: 0; font-size: .78rem; line-height: 1.55; color: var(--ob-light-dim); }
.cookies-widget__buttons { padding: .4rem 1.3rem 1.2rem; }
.cookies-agreements { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; margin-bottom: 1rem; }
.apple-switch-wrapper { display: flex; align-items: center; gap: .6rem; margin-bottom: .45rem; }
.apple-switch-wrapper p { margin: 0; font-size: .78rem; }
.apple-switch, .apple-switch--disabled {
    position: relative; flex: 0 0 auto; width: 40px; height: 22px; border-radius: 999px;
    background: rgba(245, 242, 237, .22); cursor: pointer; transition: background .2s;
}
.apple-switch::after, .apple-switch--disabled::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; transition: left .2s;
}
.apple-switch--checked { background: #2e8b57; }
.apple-switch--checked::after { left: 21px; }
.apple-switch--disabled { background: rgba(245, 242, 237, .4); cursor: default; }
.apple-switch--disabled::after { left: 21px; }
.cookies-widget__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookies-button {
    display: inline-block; padding: .5rem .9rem; border: 1px solid var(--ob-line-dark); border-radius: 999px;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .25s, color .25s;
}
.cookies-button:hover { background: var(--ob-light); color: var(--ob-ink); }
#accept-all-cookies { background: var(--ob-accent); border-color: var(--ob-accent); color: #140a05; }
#accept-all-cookies:hover { background: var(--ob-accent-hover); }

/* ── Marketing-Popup (Markup aus dem CMS) ─────────────────────── */
.popup__bg {
    position: fixed; inset: 0; z-index: 150; display: none;
    background: rgba(8, 7, 6, .7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.popup { position: fixed; top: 50%; left: 50%; z-index: 151; display: none; transform: translate(-50%, -50%); background: #fff; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.popup__bg.is-open, .popup.is-open { display: block; }
.popup__img-wrapper { position: relative; margin: 0; padding: 0; }
.popup__img-wrapper img { max-width: min(900px, calc(100vw - 2rem)); max-height: calc(100vh - 4rem); width: auto; border-radius: 12px; }
.popup__close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; background: var(--ob-ink); border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.popup__close span { position: absolute; top: 17px; left: 9px; width: 18px; height: 2px; background: #fff; }
.popup__close span:nth-child(1) { transform: rotate(45deg); }
.popup__close span:nth-child(2) { transform: rotate(-45deg); }

/* ── Dialog (ersetzt die Bootstrap-Modals des Formulars) ──────── */
.ob-dialog {
    border: 0; border-radius: 16px; padding: 0;
    width: min(480px, calc(100vw - 2rem));
    background: var(--ob-paper); color: var(--ob-text);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.ob-dialog::backdrop { background: rgba(8, 7, 6, .6); backdrop-filter: blur(4px); }
.ob-dialog__inner { padding: 1.6rem 1.7rem; }
.ob-dialog h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 .6rem; }
.ob-dialog p { margin: 0 0 1.2rem; color: var(--ob-text-dim); font-size: .95rem; }

/* ── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .hero .line, .js .hero .rise-mask > *, .js .hero .hero__media, .js .hero .statband, .js .hero .hero__light, .js .hero .hero__horizon { transform: none; opacity: 1; }
    .hero__glow { animation: none; }
    .js .hero.is-in .hero__media picture, .js .hero.is-in .hero__media video, .js .hero.is-in .hero__media, .js .hero.is-in .line, .js .hero.is-in .rise-mask > *,
    .js .hero.is-in .statband, .js .hero.is-in .hero__light, .js .hero.is-in .hero__horizon { animation: none; }
    .hero__media.plx img { transform: none; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .pulse { animation: none; }
    .btn:hover { transform: none; }
    .gallery__item:hover img { transform: none; }
    .plx img, .plx--soft img { transform: none; }
    .ob-pin::after { animation: none; }
    .js .walkline[data-reveal] .walkline__track::before, .js .walkline[data-reveal] .walkline__node { transform: none; opacity: 1; transition: none; }
    .shape, .shape--ring::after { animation: none; transform: none; translate: none; }
    .facts [data-reveal] { transition-delay: 0s; }
    .tile { transform: none !important; }
    .std-stage__img { transition: opacity .2s ease; transform: none; filter: none; }
}

/* ── Rechtstexte (Polityka prywatności) ─────────────────────── */
.legal__sec { padding-top: calc(var(--header-h, 76px) + var(--sp-block)); }
.legal__wrap { max-width: 78ch; }
.legal__head { margin-bottom: var(--sp-head-2); }
.legal h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; margin: .4rem 0 1rem; }
.legal__lead { font-size: 1.05rem; line-height: 1.6; color: var(--ob-text-dim); max-width: 64ch; margin: 0 0 .8rem; }
.legal__meta { font-size: .8rem; color: var(--ob-text-faint); margin: 0; }
.legal h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin: 2.4rem 0 .8rem; }
.legal h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { font-size: .95rem; line-height: 1.65; color: var(--ob-text); }
.legal p { margin: 0 0 .9rem; }
.legal ul { margin: 0 0 1rem 1.2rem; padding: 0; }
.legal li { margin: 0 0 .5rem; }
.legal a { color: var(--ob-brick); text-decoration: underline; text-underline-offset: .15em; }
.legal a:hover { color: var(--ob-ink); }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: rgba(27, 25, 23, .06); padding: .05em .35em; border-radius: 4px; }
.legal__link { background: none; border: 0; padding: 0; font: inherit; color: var(--ob-brick); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.legal__table { overflow-x: auto; margin: 0 0 .8rem; border: 1px solid var(--ob-line); border-radius: var(--radius); background: var(--ob-white); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .85rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--ob-line); line-height: 1.5; }
.legal thead th { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-text-faint); background: var(--ob-paper); }
.legal tbody th[colspan] { font-weight: 700; color: var(--ob-ink); background: rgba(27, 25, 23, .04); }
.legal tbody tr:last-child td { border-bottom: 0; }
.legal__back { margin-top: 2.5rem; }
.legal__back .btn { text-decoration: none; }
.form-card .form-card__legal { margin: -.2rem 0 1rem; font-size: .74rem; color: var(--ob-text-faint); }
.form-card .form-card__legal a { color: var(--ob-brick); text-decoration: underline; text-underline-offset: .15em; }
