/* DMR Vision Liegenschaften – Schwarz & Gold */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-300.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-ext-300.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-ext-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-ext-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F; }

:root {
  --black: #070707;
  --bg: #0b0b0b;
  --bg-2: #111110;
  --bg-3: #171615;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(212, 176, 106, .35);
  --text: #ece6da;
  --muted: #9b958a;
  --gold: #d4b06a;
  --gold-deep: #a9843f;
  --gold-light: #f2dca5;
  --gold-grad: linear-gradient(100deg, #a9843f 0%, #e9cd8c 30%, #fff1c9 48%, #d4b06a 62%, #a9843f 100%);
  --radius: 4px;
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1320px;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.75; letter-spacing: .01em; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 400; }
strong, b { font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--black); }
.wrap { width: min(var(--wrap), 100% - 56px); margin-inline: auto; }
.narrow { max-width: 880px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
mark.todo { background: #3a2f12; color: #ffd978; padding: 0 .25em; border-radius: 2px; }
.icon { flex: none; }
.icon.flip { transform: rotate(180deg); }

.gold-text .wi, .gold-text:not([data-split]) { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ================================================================ Intro / Ladebildschirm */
.loader { display: none; }
.intro .loader { display: flex; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; color: var(--gold); animation: loaderFailsafe .01s linear 5s forwards; }
.intro:not(.intro-done) body { overflow: hidden; }
.loader-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--black); transition: transform 1.1s cubic-bezier(.76, 0, .24, 1) .15s; }
.loader-panel-top { top: 0; }
.loader-panel-bottom { bottom: 0; }
.loader-panel-top::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--gold-grad); transform: translateX(-50%); transition: width .6s var(--ease); }
.loader-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; transition: opacity .5s, transform .8s var(--ease); }
.loader-mark { width: 92px; height: 70px; }
.loader-mark path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.8s var(--ease) forwards; }
.loader-mark path:nth-child(2) { animation-delay: .3s; }
.loader-mark path:nth-child(3) { animation-delay: .6s; }
.loader-brand { display: flex; flex-direction: column; align-items: center; margin: 0; line-height: 1.4; opacity: 0; animation: loaderBrand 1.6s var(--ease) .5s forwards; }
.loader-brand span { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .32em; padding-left: .32em; background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3s linear infinite; }
.loader-brand small { font-size: 10.5px; letter-spacing: .6em; padding-left: .6em; color: var(--muted); font-weight: 400; }
.loader-bar { width: 220px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); animation: loaderBar 2.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.loader-count { margin: 0; font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.loader-count small { margin-left: 2px; }
.loader-claim { position: absolute; bottom: 44px; left: 0; right: 0; text-align: center; margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); opacity: 0; animation: heroIn 1.2s var(--ease) 1s forwards; }
.intro-done .loader-inner, .intro-done .loader-claim { opacity: 0; transform: translateY(-20px); }
.intro-done .loader-panel-top::after { width: 100%; }
.intro-done .loader-panel-top { transform: translateY(-100%); }
.intro-done .loader-panel-bottom { transform: translateY(100%); }
@keyframes loaderBrand { from { opacity: 0; letter-spacing: .1em; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes loaderBar { to { transform: scaleX(1); } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.intro:not(.intro-done) .hero-in, .intro:not(.intro-done) .title-panel, .intro:not(.intro-done) .title-sub,
.intro:not(.intro-done) .site-header .logo-mark path, .intro:not(.intro-done) .hero-bg { animation-play-state: paused; }

/* ================================================================ Animationen */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 80; pointer-events: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; }
.js .wi { transform: translateY(115%); transition: transform 1.3s var(--ease) calc(var(--i, 0) * 80ms + var(--base, 0ms)); }
.js .is-visible .wi { transform: none; }

.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(40px); transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-visible, .js [data-stagger] > .is-visible { opacity: 1; transform: none; }
/* Bild-Enthüllung: clip-path nur am Bild, damit der IntersectionObserver den Container sieht */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease) var(--d, 0ms); }
.js [data-reveal="clip"].is-visible > img { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] > :not(img) { opacity: 0; transform: scale(.8); transition: opacity .8s ease 1s, transform 1s var(--ease) 1s; }
.js [data-reveal="clip"].is-visible > :not(img) { opacity: 1; transform: none; }

.js .hero-in { opacity: 0; transform: translateY(30px); animation: heroIn 1.3s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,176,106,.6); } 100% { box-shadow: 0 0 0 12px rgba(212,176,106,0); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ================================================================ Logo */
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--gold); text-decoration: none; }
.logo-mark { width: 48px; height: 37px; }
.logo-mark path { stroke-width: 1.8; }
.js .site-header .logo-mark path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2s var(--ease) .3s forwards; }
.js .site-header .logo-mark path:nth-child(2) { animation-delay: .55s; }
.js .site-header .logo-mark path:nth-child(3) { animation-delay: .8s; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text span:first-child { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .2em; color: var(--text); }
.logo-text span:last-child { font-size: 9.5px; letter-spacing: .42em; color: var(--gold); font-weight: 500; }
.logo-light { color: var(--gold); }
.brand { position: relative; z-index: 2; text-decoration: none; }

/* ================================================================ Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 17px 34px;
  border-radius: 0; background: transparent; color: var(--gold); text-decoration: none; font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--line-gold); cursor: pointer; font-family: var(--sans); transition: color .5s var(--ease), border-color .5s, transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 200% 100%; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.btn:hover { color: var(--black); border-color: var(--gold); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(5px); }
.btn-light { background: var(--gold-grad); background-size: 200% 100%; color: var(--black); border-color: transparent; animation: shimmer 8s linear infinite; }
.btn-light::before { background: var(--text); }
.btn-ghost { color: var(--text); border-color: rgba(255,255,255,.3); }
.btn-small { padding: 11px 22px; font-size: 11px; }
.btn-lg { padding: 21px 40px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--gold); text-decoration: none; letter-spacing: .04em; }
.text-link:hover { color: var(--gold-light); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: var(--gold); text-decoration: none; padding-bottom: 6px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { transition: transform .5s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ================================================================ Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--text); transition: background .5s, transform .6s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(7,7,7,.82); backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; transition: min-height .5s var(--ease); }
.is-solid .header-inner { min-height: 76px; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a:not(.btn) { position: relative; color: inherit; text-decoration: none; font-weight: 400; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; padding: 8px 0; transition: color .4s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.main-nav a:not(.btn):hover { color: var(--gold); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current] { color: var(--gold); }
.nav-toggle { display: none; position: relative; z-index: 2; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--gold); }
.nav-toggle span { display: block; width: 30px; height: 1px; background: currentColor; margin: 8px 0; transition: transform .5s var(--ease), opacity .3s, width .4s; }
.nav-toggle span:nth-child(2) { width: 20px; margin-left: auto; }

/* ================================================================ Hero */
.hero, .project-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--text); overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: -12% 0; will-change: transform; }
.hero-bg { position: absolute; inset: 0; background: var(--hero, none) right center / cover no-repeat; animation: kenburns 28s ease-in-out infinite alternate; filter: saturate(.85) contrast(1.05); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,7,7,.75), transparent 28%),
  linear-gradient(90deg, rgba(7,7,7,.95) 0%, rgba(7,7,7,.7) 35%, rgba(7,7,7,.1) 72%),
  linear-gradient(0deg, rgba(7,7,7,1), transparent 35%); }
.hero-inner { position: relative; padding: 160px 0 clamp(120px, 18vh, 190px); }
.hero-title { font-family: var(--serif); font-size: clamp(56px, 9.5vw, 150px); font-weight: 300; line-height: .92; letter-spacing: -.01em; margin-bottom: 32px; max-width: 1000px; --base: 200ms; }
.hero-text { font-size: clamp(15px, 1.3vw, 17.5px); max-width: 540px; color: rgba(236,230,218,.78); }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; text-transform: uppercase; letter-spacing: .36em; font-size: 11px; font-weight: 500; color: var(--gold); margin-bottom: 26px; }
.eyebrow-line { display: inline-block; width: 54px; height: 1px; background: var(--gold-grad); }
.hero-teaser { position: absolute; right: max(28px, calc((100vw - var(--wrap)) / 2)); bottom: clamp(44px, 8vh, 80px); display: flex; align-items: center; gap: 18px;
  padding: 14px 26px 14px 14px; color: var(--text); text-decoration: none; background: rgba(15,15,14,.55); border: 1px solid var(--line-gold); backdrop-filter: blur(18px);
  transition: background .5s, transform .6s var(--ease), border-color .5s; }
.hero-teaser:hover { background: rgba(25,23,20,.7); transform: translateY(-4px); border-color: var(--gold); }
.hero-teaser img { width: 78px; height: 78px; object-fit: cover; }
.hero-teaser-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero-teaser small { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .26em; color: var(--gold); }
.hero-teaser strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .18em; }
.hero-teaser span { font-size: 12.5px; color: var(--muted); }
.hero-teaser > .icon { color: var(--gold); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
.scroll-hint { position: absolute; left: 50%; bottom: 0; width: 1px; height: 90px; overflow: hidden; background: rgba(255,255,255,.12); }
.scroll-hint span { position: absolute; inset: 0; background: linear-gradient(transparent, var(--gold)); animation: scrollLine 2.2s cubic-bezier(.6,0,.4,1) infinite; }
.scroll-hint::before { content: "Scroll"; position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

/* Projekt-Hero */
.project-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,7,1) 0%, rgba(7,7,7,.6) 45%, rgba(7,7,7,.7) 100%), linear-gradient(90deg, rgba(7,7,7,.7), transparent 70%); }
.project-hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 160px 0 clamp(110px, 15vh, 150px); flex-wrap: wrap; }
.title-block { display: flex; flex-direction: column; align-items: flex-start; }
.title-panel { font-family: var(--serif); font-size: clamp(60px, 12vw, 190px); font-weight: 300; letter-spacing: .14em; margin: 0; line-height: .95;
  background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(0,0,0,.7)); }
.title-sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 32px); font-weight: 400; margin: 6px 0 0; color: var(--text); padding-left: .15em; }
.js .title-panel { clip-path: inset(0 100% 0 0); animation: wipe 1.6s var(--ease) .3s forwards, shimmer 7s linear 2s infinite; }
.js .title-sub { clip-path: inset(0 100% 0 0); animation: wipe 1.4s var(--ease) .8s forwards; }
@keyframes wipe { to { clip-path: inset(-10% -10% -10% 0); } }

/* Rotierender Ring */
.ring { position: absolute; right: 26px; bottom: 26px; width: 176px; height: 176px; border-radius: 50%; background: rgba(7,7,7,.75); backdrop-filter: blur(10px); color: var(--gold);
  border: 1px solid var(--line-gold); display: grid; place-items: center; z-index: 2; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.ring text { font: 500 11px var(--sans); fill: var(--gold); }
.ring strong { font-family: var(--serif); font-size: 72px; font-weight: 300; line-height: 1; }
.ring-hero { position: relative; right: auto; bottom: auto; width: 200px; height: 200px; }
.ring-hero strong { font-size: 84px; }

/* ================================================================ Marquee */
.marquee { background: var(--black); color: var(--text); overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 40px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 16px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; white-space: nowrap; }
.marquee-item .icon { color: var(--gold); }
.marquee-dot { color: var(--gold); font-size: 12px; }

/* ================================================================ Sektionen */
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section-tight { padding: clamp(44px, 6vw, 80px) 0; }
.section-tint { background: var(--bg-2); }
.section-dark { background: var(--black); }
.section-dark::before, .section-tint::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(212,176,106,.07), transparent 70%); }
.section > .wrap { position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 860px; }
.row-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-title { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 80px); font-weight: 300; color: var(--text); letter-spacing: -.005em; line-height: 1.02; }
.section-lead { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 680px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split-wide { grid-template-columns: 1.4fr 1fr; }
.prose { color: rgba(236,230,218,.82); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--text); margin-top: 1.3em; }
.prose h3 { font-family: var(--serif); font-size: 24px; margin-top: 1.2em; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.lead { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--text); font-weight: 400; line-height: 1.35; }

/* Statement */
.statement-text { font-family: var(--serif); font-size: clamp(34px, 5vw, 76px); font-weight: 300; line-height: 1.12; color: var(--text); max-width: 1180px; margin: 0 0 70px; }
.hw { opacity: .14; transition: opacity .6s ease, color .6s; }
.hw.on { opacity: 1; }
.statement-foot { display: grid; grid-template-columns: minmax(0, 620px) auto; gap: 40px; justify-content: space-between; align-items: end; padding-top: 40px; border-top: 1px solid var(--line); }
.statement-foot .prose { color: var(--muted); }

/* Showcase */
.showcase { padding: 0 0 clamp(90px, 12vw, 170px); }
.showcase-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.showcase-media { position: relative; display: block; aspect-ratio: 4 / 4.7; overflow: hidden; }
.showcase-media > img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; filter: saturate(.9); }
.showcase-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212,176,106,.35); pointer-events: none; z-index: 1; }
.badge { position: absolute; left: 30px; top: 30px; z-index: 2; background: rgba(7,7,7,.7); backdrop-filter: blur(8px); color: var(--gold); padding: 8px 16px; font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; border: 1px solid var(--line-gold); }
.badge-verkauft { color: var(--muted); border-color: var(--line); }
.display { font-family: var(--serif); font-size: clamp(64px, 9vw, 140px); font-weight: 300; letter-spacing: .1em; line-height: .9; margin-bottom: 18px; }
.showcase-sub { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--text); }
.showcase-body > p:not(.eyebrow):not(.showcase-sub) { color: var(--muted); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 40px 0; border-top: 1px solid var(--line); }
.counters div { padding-top: 22px; }
.counters strong { display: block; font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-weight: 300; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.counters span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .24em; color: var(--muted); }
.floor-list { list-style: none; padding: 0; margin: 0 0 40px; width: 100%; }
.floor-list li { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 2px 16px; }
.floor-list strong { text-transform: uppercase; letter-spacing: .22em; font-size: 11.5px; font-weight: 500; color: var(--gold); }
.floor-list span { color: var(--text); font-size: 14px; }
.floor-list small { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }

/* Slider */
.slider-section { overflow: hidden; }
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.slider-head .section-title { margin: 0; }
.slider-nav { display: flex; gap: 12px; }
.slider-nav button { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; color: var(--gold); cursor: pointer; display: grid; place-items: center; transition: background .5s, color .5s, transform .5s var(--ease); }
.slider-nav button:hover { background: var(--gold); color: var(--black); transform: scale(1.06); }
.slider-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 0 max(28px, calc((100vw - var(--wrap)) / 2)); scroll-padding: 0 max(28px, calc((100vw - var(--wrap)) / 2)); }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider-track.is-dragging .slide { pointer-events: none; }
.slide { position: relative; flex: 0 0 clamp(290px, 46vw, 720px); aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; color: var(--text); text-decoration: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85) brightness(.9); user-select: none; }
.slide:hover img { transform: scale(1.06); filter: none; }
.slide::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(212,176,106,0); transition: border-color .8s; pointer-events: none; }
.slide:hover::after { border-color: rgba(212,176,106,.5); }
.slide span { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; font-family: var(--serif); font-size: 22px; background: linear-gradient(transparent, rgba(7,7,7,.9)); }

/* Werte-Karten */
.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-card { position: relative; overflow: hidden; background: var(--bg); padding: 48px 36px 44px; transition: background .5s, opacity 1s ease var(--d, 0ms) !important; }
.js .value-card:not(.is-visible) { transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms) !important; }
.value-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212,176,106,.13), transparent 50%); opacity: 0; transition: opacity .5s; }
.value-card:hover { background: var(--bg-3); }
.value-card:hover::before { opacity: 1; }
.value-num { position: absolute; top: 30px; right: 32px; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.value-card .value-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); margin-bottom: 34px; transition: background .5s, color .5s, transform .7s var(--ease); }
.value-card:hover .value-icon { background: var(--gold); color: var(--black); transform: rotate(-10deg); }
.value-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; position: relative; }
.value-card p { color: var(--muted); margin: 0; font-size: 14.5px; position: relative; }

/* Leistungs-Zeilen */
.service-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-rows li { border-bottom: 1px solid var(--line); }
.service-rows a { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 56px; gap: 30px; align-items: center; padding: 40px 24px; color: var(--text); text-decoration: none; isolation: isolate; transition: color .5s; }
.service-rows a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 200% 100%; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.service-rows a:hover::before { transform: scaleY(1); transform-origin: top; }
.service-rows a:hover { color: var(--black); }
.sr-num { font-family: var(--serif); font-size: 22px; color: var(--gold); transition: color .5s; }
.service-rows a:hover .sr-num { color: var(--black); }
.sr-title { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); font-weight: 400; transition: transform .7s var(--ease); }
.service-rows a:hover .sr-title { transform: translateX(14px); }
.sr-text { color: var(--muted); font-size: 14.5px; transition: color .5s; }
.service-rows a:hover .sr-text { color: rgba(7,7,7,.75); }
.sr-arrow { justify-self: end; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); transform: rotate(-45deg); transition: transform .7s var(--ease), background .5s, color .5s, border-color .5s; }
.service-rows a:hover .sr-arrow { transform: rotate(0); background: var(--black); color: var(--gold); border-color: var(--black); }

/* Projektkarten */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 30px; }
.card { background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .5s, opacity 1s ease var(--d, 0ms) !important; }
.js .card:not(.is-visible) { transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms) !important; }
.card:hover { border-color: var(--line-gold); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85); }
.card:hover .card-media img { transform: scale(1.07); filter: none; }
.card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.card-body { padding: 34px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: .14em; margin: 0; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-sub { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); margin: 0; }
.card-meta { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.card-meta li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.card-meta .icon { color: var(--gold); }
.card-body .text-link { margin-top: auto; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.card-upcoming { background: transparent; border: 1px dashed var(--line-gold); justify-content: center; }
.card-upcoming .card-body { justify-content: center; align-items: flex-start; }
.upcoming-icon { color: var(--gold); animation: float 4s ease-in-out infinite; }
.card-upcoming h3 { letter-spacing: 0; font-size: 30px; }
.card-upcoming p { color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; color: var(--text); padding: clamp(110px, 14vw, 190px) 0; background: var(--black); border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: -25% 0; background: linear-gradient(90deg, rgba(7,7,7,.97) 20%, rgba(7,7,7,.7)), url("../img/stock/schluesseluebergabe.jpg") center / cover; filter: saturate(.7); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; flex-wrap: wrap; }
.cta h2 { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 96px); font-weight: 300; max-width: 820px; line-height: 1; }
.cta p { color: var(--muted); max-width: 540px; margin: 0; }
.cta-contact { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-line { color: var(--text); text-decoration: none; display: inline-flex; gap: 12px; align-items: center; transition: color .4s, transform .5s var(--ease); }
.cta-line .icon { color: var(--gold); }
.cta-line:hover { color: var(--gold); transform: translateX(4px); }

/* Seitenkopf */
.page-head { position: relative; overflow: hidden; color: var(--text); background: var(--black); min-height: 72vh; display: flex; align-items: flex-end; padding: 170px 0 clamp(70px, 9vw, 120px); }
.page-head-bg { position: absolute; inset: -20% 0; background: linear-gradient(180deg, rgba(7,7,7,.55), rgba(7,7,7,.96) 85%), var(--bg, url("../img/stock/berge-abendrot.jpg")) center / cover; filter: saturate(.75); }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 80% 20%, rgba(212,176,106,.16), transparent 65%); }
.page-head .wrap { position: relative; }
.page-head h1 { font-family: var(--serif); font-size: clamp(54px, 9vw, 140px); font-weight: 300; line-height: .95; margin-bottom: 30px; --base: 150ms; }
.page-head .section-lead { color: rgba(236,230,218,.72); }
.page-head-small { min-height: 52vh; }
.page-head-small h1 { font-size: clamp(46px, 7vw, 100px); }

/* Projekt-Details */
.facts-bar { background: var(--black); border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.facts-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 34px 26px; border-left: 1px solid var(--line); align-items: center; }
.facts-grid > div:first-child { border-left: 0; }
.facts-grid .icon { grid-row: span 2; color: var(--gold); }
.facts-grid span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .26em; color: var(--muted); }
.facts-grid strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.feature-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-icon { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; color: var(--text); font-weight: 400; font-size: 14px; padding: 40px 16px; background: var(--bg); transition: background .5s, opacity 1s ease var(--d, 0ms) !important; }
.js .feature-icon:not(.is-visible) { transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms) !important; }
.feature-icon > span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); transition: background .5s, color .5s, transform .7s var(--ease); }
.feature-icon:hover { background: var(--bg-3); }
.feature-icon:hover > span { background: var(--gold); color: var(--black); transform: rotate(-10deg); }
.floor-card { background: var(--bg-2); border: 1px solid var(--line-gold); padding: 44px; position: sticky; top: 110px; }
.floor-card h2 { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.floor-row { border-bottom: 1px solid var(--line); padding: 20px 0; }
.floor-row h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 2px; }
.floor-row p { margin: 0 0 6px; color: var(--muted); }
.floor-row ul { margin: 0; padding-left: 1.1em; }
.floor-row li::marker { color: var(--gold); }
.floor-card .btn { margin-top: 30px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-plans .gallery-item { background: #f4f1ea; }
.gallery-plans img { object-fit: contain; }
.gallery-plans span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(7,7,7,.85); padding: 10px 14px; font-size: 13px; color: var(--gold); }

.table-wrap { overflow-x: auto; }
.units { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.units th { text-align: left; font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; color: var(--gold); padding: 16px 18px; border-bottom: 1px solid var(--line-gold); white-space: nowrap; }
.units td { padding: 24px 18px; border-bottom: 1px solid var(--line); transition: background .4s; }
.units td strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.units tbody tr:hover td { background: var(--bg-3); }
.units tr.unit-verkauft td { color: #6b6760; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border: 1px solid; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-frei { color: #8fd1a4; border-color: rgba(143,209,164,.35); }
.pill-frei::before { animation: pulse 2s infinite; }
.pill-reserviert { color: var(--gold); border-color: var(--line-gold); }
.pill-verkauft { color: #77736c; border-color: var(--line); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 30px; }
.video { margin: 0; scroll-margin-top: 110px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.video figcaption { padding-top: 14px; font-family: var(--serif); font-size: 22px; }
.coming-soon { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 80px 20px; border: 1px solid var(--line); color: var(--gold);
  background: radial-gradient(50% 80% at 50% 0%, rgba(212,176,106,.1), transparent); }
.coming-soon p { color: var(--muted); max-width: 520px; }
.coming-soon strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--text); margin-bottom: 6px; }
.play-pulse { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; border: 1px solid var(--line-gold); animation: pulse 2.4s infinite; }

.downloads { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.downloads a { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .4s, transform .5s var(--ease); }
.downloads .icon { color: var(--gold); }
.downloads a:hover { border-color: var(--gold); transform: translateX(6px); }
.downloads small { margin-left: auto; color: var(--muted); letter-spacing: .2em; }

.energy { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; }
.energy-box { background: var(--bg); padding: 28px 34px; border: 1px solid var(--line); border-left: 2px solid var(--gold); min-width: 320px; }
.energy-box h2 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; display: flex; gap: 10px; align-items: center; color: var(--gold); }
.energy-box dl { display: flex; gap: 34px; margin: 0; }
.energy-box dt { font-size: 12px; color: var(--muted); }
.energy-box dd { margin: 0; font-family: var(--serif); font-size: 26px; }
.energy-box p { margin: 0; color: var(--muted); }
.disclaimer { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Leistungen-Seite */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--bg); padding: 54px 42px; overflow: hidden; transition: background .5s, opacity 1s ease var(--d, 0ms) !important; }
.js .service:not(.is-visible) { transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms) !important; }
.service::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service:hover { background: var(--bg-3); }
.service:hover::after { transform: scaleX(1); }
.service-icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border: 1px solid var(--line-gold); color: var(--gold); border-radius: 50%; margin-bottom: 30px; transition: background .5s, color .5s, transform .7s var(--ease); }
.service:hover .service-icon { background: var(--gold); color: var(--black); transform: rotate(-10deg); }
.service h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.service p { color: var(--muted); margin: 0; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.process li { position: relative; padding-top: 34px; }
.process li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.process li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) calc(var(--d, 0ms) + 300ms); }
.process li.is-visible::after, html:not(.js) .process li::after { transform: scaleX(1); }
.step-no { font-family: var(--serif); font-size: 64px; font-weight: 300; color: var(--gold); display: block; line-height: 1; margin-bottom: 18px; }
.process h3 { font-family: var(--serif); font-size: 28px; }
.process p { color: var(--muted); margin: 0; }

.about-img { margin: 0; overflow: hidden; position: relative; }
.about-img img { width: 100%; filter: saturate(.85); }
.about-img::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212,176,106,.35); pointer-events: none; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line-gold); padding: 46px; position: sticky; top: 110px; }
.contact-card h2 { font-family: var(--serif); font-size: 30px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.contact-list li { display: flex; gap: 16px; color: var(--gold); }
.contact-list li div { color: var(--text); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.contact-list span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .26em; color: var(--muted); }
.success { border: 1px solid var(--line-gold); padding: 50px; color: var(--gold); background: var(--bg-2); }
.success h2 { margin-top: 18px; font-family: var(--serif); font-size: 36px; color: var(--text); }
.success p { color: var(--muted); margin: 0; }

.form { display: grid; gap: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { display: grid; gap: 10px; font-weight: 500; font-size: 10.5px; color: var(--gold); letter-spacing: .26em; text-transform: uppercase; }
.form input:not([type=checkbox]), .form textarea, .form select { font: inherit; font-size: 16px; letter-spacing: .01em; text-transform: none; font-weight: 300; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.18);
  border-radius: 0; background: transparent; width: 100%; color: var(--text); transition: border-color .4s; }
.form textarea { border: 1px solid rgba(255,255,255,.18); padding: 14px 16px; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .check { display: flex; gap: 14px; align-items: flex-start; font-weight: 300; color: var(--muted); font-size: 13.5px; letter-spacing: .01em; text-transform: none; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.form .btn { justify-self: start; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }

.flashes { padding-top: 110px; }
.flash { padding: 16px 20px; margin: 0 0 8px; font-weight: 400; border: 1px solid; }
.flash-error { background: rgba(165,50,28,.12); color: #ffb4a3; border-color: rgba(255,140,120,.3); }
.flash-ok { background: rgba(143,209,164,.08); color: #8fd1a4; border-color: rgba(143,209,164,.3); }
.flashes + .page-head { margin-top: -110px; }

/* Rechtliches */
.legal { color: rgba(236,230,218,.82); }
.legal h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--text); margin-top: 1.6em; }
.legal-list { margin: 24px 0; border-top: 1px solid var(--line); }
.legal-list div { display: grid; grid-template-columns: 280px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-list dt { color: var(--muted); }
.legal-list dd { margin: 0; }

/* Footer */
.site-footer { position: relative; background: var(--black); color: rgba(236,230,218,.75); font-size: 14.5px; overflow: hidden; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 15% 0%, rgba(212,176,106,.08), transparent 70%); }
.site-footer .wrap { position: relative; }
.footer-big { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding: clamp(80px, 10vw, 140px) 0 60px; border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.footer-big-text { font-family: var(--serif); font-size: clamp(56px, 10vw, 170px); font-weight: 300; line-height: .9; margin: 0; }
.footer-big-cta { display: inline-flex; align-items: center; gap: 16px; color: var(--gold); text-decoration: none; font-weight: 500; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--line-gold); }
.footer-big-cta .icon { transition: transform .6s var(--ease); }
.footer-big-cta:hover .icon { transform: translateX(8px) rotate(-45deg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 44px; padding-bottom: 60px; }
.footer-claim { margin-top: 24px; max-width: 360px; font-size: 14px; color: var(--muted); }
.footer-title { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links li { display: flex; align-items: center; gap: 10px; }
.footer-links .icon { color: var(--gold); }
.footer-links a { color: var(--text); text-decoration: none; transition: color .4s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding: 26px 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5,5,5,.96); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 40px 90px; opacity: 0; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); object-fit: contain; opacity: 0; transform: scale(.96); transition: opacity .6s, transform .8s var(--ease); }
.lightbox img.is-in { opacity: 1; transform: none; }
.lightbox figcaption { color: var(--text); padding-top: 18px; font-family: var(--serif); font-size: 22px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--gold); font-size: 46px; font-weight: 200; cursor: pointer; padding: 10px 18px; line-height: 1; transition: transform .4s; }
.lightbox button:hover { transform: scale(1.15); }
.lightbox-close { top: 16px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; margin-top: -33px; }
.lightbox-next { right: 16px; top: 50%; margin-top: -33px; }


/* ================================================================ Rundgänge */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.tour-grid-single { grid-template-columns: minmax(0, 1fr); }
.tour-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--line); background: var(--bg-3); overflow: hidden; cursor: pointer;
  color: var(--text); text-align: left; text-decoration: none; font: inherit; isolation: isolate; transition: border-color .5s, transform .6s var(--ease), opacity 1s ease var(--d, 0ms) !important; }
.js .tour-card:not(.is-visible) { transition: opacity 1s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms) !important; }
.tour-card-lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.tour-card:hover { border-color: var(--gold); }
.tour-media, .tour-media video, .tour-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-media video, .tour-media img { filter: brightness(.7) saturate(.85); transition: transform 1.4s var(--ease), filter .8s; }
.tour-card:hover .tour-media video, .tour-card:hover .tour-media img { transform: scale(1.05); filter: brightness(.9) saturate(1); }
.tour-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,7,.92), rgba(7,7,7,.1) 55%); }
.tour-play { position: absolute; left: 50%; top: 46%; z-index: 2; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); background: rgba(7,7,7,.35); backdrop-filter: blur(8px); transition: transform .6s var(--ease), background .5s, color .5s; }
.tour-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(212,176,106,.3); animation: pulse 2.4s infinite; }
.tour-play .icon { margin-left: 4px; }
.tour-card:hover .tour-play { transform: scale(1.1); background: var(--gold); color: var(--black); }
.tour-360 { font-family: var(--serif); font-size: 26px; }
.tour-tag { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-gold); background: rgba(7,7,7,.6); }
.tour-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 24px 26px; }
.tour-info small { font-size: 10.5px; letter-spacing: .26em; color: var(--gold); }
.tour-info strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.tour-card-lg .tour-info strong { font-size: clamp(30px, 3vw, 44px); }
.tour-card-lg .tour-play { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.tour-note { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); }
.tour-empty { position: relative; overflow: hidden; border: 1px solid var(--line-gold); min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 70px 24px; }
.tour-empty::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,7,.95), rgba(7,7,7,.55)), var(--tour-bg) center / cover; filter: saturate(.7); transition: transform 8s ease; }
.tour-empty:hover::before { transform: scale(1.05); }
.tour-empty-inner { position: relative; max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tour-empty .play-pulse { color: var(--gold); margin-bottom: 18px; background: rgba(7,7,7,.4); backdrop-filter: blur(6px); }
.tour-empty h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 56px); margin-bottom: 10px; }
.tour-empty p:not(.eyebrow) { color: rgba(236,230,218,.75); margin-bottom: 30px; }
.tour-empty .eyebrow { margin-bottom: 14px; }

.video-modal { position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; padding: 60px 5vw; background: rgba(4,4,4,.96); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.video-modal.is-open { opacity: 1; }
.video-modal[hidden] { display: none; }
.video-modal figure { margin: 0; width: min(1400px, 100%); transform: scale(.96); transition: transform .7s var(--ease); }
.video-modal.is-open figure { transform: none; }
.video-modal video { width: 100%; max-height: calc(100vh - 160px); background: #000; border: 1px solid var(--line-gold); }
.video-modal figcaption { padding-top: 16px; font-family: var(--serif); font-size: 26px; text-align: center; }
.video-modal-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: var(--gold); font-size: 46px; font-weight: 200; cursor: pointer; line-height: 1; transition: transform .4s; }
.video-modal-close:hover { transform: rotate(90deg); }
.credits { font-size: 13px; color: var(--muted); line-height: 1.9; }
.credits a { color: var(--text); }


/* Interaktiver 3D-Rundgang */
.tour-card-model { grid-column: 1 / -1; aspect-ratio: 21 / 9; border-color: var(--line-gold); }
.tour-card-model .tour-media img { filter: brightness(.55) saturate(.8); }
.tour-card-model .tour-media::after { background: linear-gradient(90deg, rgba(7,7,7,.92), rgba(7,7,7,.2) 70%), linear-gradient(0deg, rgba(7,7,7,.7), transparent 50%); }
.tour-card-model .tour-play { left: auto; right: 12%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 0; }
.tour-card-model .tour-info { padding: clamp(28px, 4vw, 54px); max-width: 720px; gap: 10px; }
.tour-card-model .tour-info strong { font-size: clamp(32px, 4vw, 58px); font-weight: 300; line-height: 1.05; }
.tour-3d { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: .06em; }
.tour-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tour-modes span { padding: 6px 12px; border: 1px solid var(--line-gold); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); background: rgba(7,7,7,.4); }
.video-modal iframe { display: block; width: 100%; height: calc(100vh - 150px); border: 1px solid var(--line-gold); background: #121211; }
.video-modal iframe[hidden], .video-modal video[hidden] { display: none; }
.video-modal.is-model figure { width: min(1600px, 100%); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }

/* ================================================================ Responsive */
@media (max-width: 1080px) {
  .split, .split-wide, .showcase-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floor-card, .contact-card { position: static; }
  .energy { grid-template-columns: 1fr; }
  .statement-foot { grid-template-columns: 1fr; }
  .service-rows a { grid-template-columns: 56px 1fr 56px; }
  .sr-text { grid-column: 2 / 3; }
  .sr-arrow { grid-row: 1; grid-column: 3; }
  .showcase-media { aspect-ratio: 4 / 3.4; }
  .hero-teaser { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 110px 34px 40px;
    background: var(--black); clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); visibility: hidden; }
  .main-nav::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(212,176,106,.12), transparent 70%); pointer-events: none; }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 46px; font-weight: 300; letter-spacing: 0; text-transform: none; padding: 4px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease), color .4s; }
  .main-nav.is-open a:not(.btn) { opacity: 1; transform: none; transition-delay: .3s; }
  .main-nav.is-open a:nth-child(2) { transition-delay: .38s; } .main-nav.is-open a:nth-child(3) { transition-delay: .46s; } .main-nav.is-open a:nth-child(4) { transition-delay: .54s; }
  .main-nav .btn { margin-top: 30px; }
  .menu-open { background: transparent !important; backdrop-filter: none !important; border-color: transparent !important; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; width: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .form-grid { grid-template-columns: 1fr; }
  .legal-list div { grid-template-columns: 1fr; gap: 2px; }
  .video-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .hero .hero-bg { background-position: 62% center; }
  .tour-card-lg { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .tour-card-model { aspect-ratio: 4 / 5; }
  .tour-card-model .tour-play { right: auto; left: 50%; top: 36%; width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .video-modal { padding: 54px 0 0; }
  .video-modal iframe { height: calc(100vh - 110px); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .ring { width: 130px; height: 130px; right: 20px; bottom: 20px; }
  .ring strong { font-size: 50px; }
  .ring-hero { width: 140px; height: 140px; right: auto; bottom: auto; }
  .ring-hero strong { font-size: 58px; }
  .table-wrap { overflow: visible; }
  .units thead { display: none; }
  .units, .units tbody, .units tr, .units td { display: block; }
  .units tr { border: 1px solid var(--line); margin-bottom: 14px; padding: 12px 18px; background: var(--bg-2); }
  .units td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 7px 0; }
  .units td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
  .unit-actions { justify-content: flex-start; padding-top: 12px !important; }
  .facts-grid > div { border-left: 0; border-top: 1px solid var(--line); }
  .lightbox { padding: 20px 10px; }
  .slide { flex-basis: 84vw; }
  .service-rows a { padding: 30px 8px; gap: 16px; }
  .scroll-hint::before { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-mark { width: 40px; height: 31px; }
  .logo-text span:first-child { font-size: 16px; }
  .logo-text span:last-child { font-size: 8.5px; }
  .service-rows a { grid-template-columns: 1fr 48px; }
  .sr-num { display: none; }
  .sr-text { grid-column: 1 / -1; }
  .sr-arrow { grid-column: 2; width: 48px; height: 48px; }
  .slider-nav button { width: 50px; height: 50px; }
  .loader-brand span { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .wi, .js [data-reveal], .js [data-stagger] > *, .js .hero-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .title-panel, .js .title-sub, .js [data-reveal="clip"] > img { clip-path: none; }
  .js .site-header .logo-mark path { stroke-dashoffset: 0; }
  .loader { display: none !important; }
}

/* E-Mail-Kontakt statt Formular */
.mail-cta { display: grid; justify-items: start; gap: 26px; padding: clamp(32px, 5vw, 60px); border: 1px solid var(--line-gold); background: var(--bg-2); }
.mail-cta-icon { color: var(--gold); }
.mail-cta-lead { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.25; color: var(--text); max-width: 30ch; }
.mail-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mail-cta-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.mail-cta-addr { color: var(--muted); text-decoration: none; letter-spacing: .04em; }
.mail-cta-addr:hover { color: var(--gold); }
.wrap.narrow .mail-cta { justify-items: center; text-align: center; margin-inline: auto; }
.wrap.narrow .mail-cta-lead { margin-inline: auto; }
@media (max-width: 560px) { .mail-cta-actions, .mail-cta-actions .btn { width: 100%; justify-content: center; } }
