/* Coworking im Westerwald – Stilvariante „Premium“: klar, hochwertig, in TROIKA-Blau. Ohne externe Schriften. */

:root {
  --navy: #001f49;
  --navy-2: #0a2b5c;
  --navy-3: #13386e;
  --ink: #0e1626;
  --muted: #5d6676;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --line: #e4e1da;
  --sky: #eaf0f8;
  --brass: #b08d57;
  --brass-soft: #f3ece0;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(14, 22, 38, .04), 0 12px 32px rgba(14, 22, 38, .06);
  --shadow-lg: 0 2px 4px rgba(14, 22, 38, .04), 0 30px 70px rgba(14, 22, 38, .14);
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.03rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.028em; line-height: 1.08; font-weight: 650; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; }
.muted, .muted-h { color: var(--muted); }
.muted a { color: var(--navy); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.light { color: #d9c29b; }
.sec-head { max-width: 680px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }

/* Lesefortschritt */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--brass), #d9c29b); transform-origin: 0 50%; transform: scaleX(0); }

/* „Nach oben“-Button mit Fortschrittsring */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  width: 56px; height: 56px; padding: 3px; border: 0; border-radius: 50%; cursor: pointer;
  background: conic-gradient(var(--brass) calc(var(--p, 0) * 360deg), rgba(0, 31, 73, .14) 0);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--navy); color: #fff; transition: background .25s; }
.to-top svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.to-top:hover span { background: var(--navy-2); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 1px solid var(--navy);
  background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .97rem; letter-spacing: -.005em; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 22px rgba(0, 31, 73, .22);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px rgba(0, 31, 73, .28); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--navy); border-color: rgba(0, 31, 73, .2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); border-color: var(--navy); }
.btn.sm { padding: 10px 18px; font-size: .9rem; border-radius: 10px; }
.btn.block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(246, 245, 241, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.brand-text span { font-size: .74rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: .94rem; font-weight: 500; color: #364055; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; padding: 140px 0 70px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(176, 141, 87, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(0,31,73,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,31,73,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .86rem; font-weight: 500; color: #364055;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(176,141,87,.18); }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.04em; color: var(--navy); }
.h1-sub {
  display: block; margin-top: .08em;
  background: linear-gradient(100deg, var(--brass) 0%, #8a6a3c 60%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; height: clamp(440px, 46vw, 600px); }
.hero-visual figure { margin: 0; position: absolute; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { inset: 0 0 60px 70px; }
.hv-side { width: 46%; height: 42%; left: 0; bottom: 0; border: 6px solid var(--bg); }
.mask-reveal { clip-path: inset(100% 0 0 0 round 26px); transition: clip-path 1.3s var(--ease); }
.mask-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.mask-reveal.shown { clip-path: inset(0 0 0 0 round 26px); }
.mask-reveal.shown img { transform: scale(1); }
.mask-reveal.d2 { transition-delay: .35s; }
.mask-reveal.d2 img { transition-delay: .35s; }
.glass {
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-lg);
}
.hv-badge {
  position: absolute; top: 34px; left: 22px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; animation: float 6s ease-in-out infinite, pop .8s var(--ease) 1.1s both;
}
.hv-badge svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--navy); color: #fff; }
.hv-badge span { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.hv-badge b { display: block; font-size: 1.02rem; color: var(--ink); }
.hv-price {
  position: absolute; right: -10px; bottom: 18px; padding: 18px 24px; border-radius: 18px;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); text-align: left;
  animation: float 7s ease-in-out -2s infinite, pop .8s var(--ease) 1.3s both;
}
.hv-price small { display: block; font-size: .78rem; color: #b8c6dc; letter-spacing: .02em; }
.hv-price strong { display: block; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.hv-price .per { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }

.facts-bar {
  list-style: none; margin: 64px 0 0; padding: 22px 8px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.facts-bar li { display: flex; align-items: center; gap: 14px; padding: 4px 22px; border-left: 1px solid var(--line); }
.facts-bar li:first-child { border-left: 0; }
.facts-bar svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sky); color: var(--navy); }
.facts-bar span { font-size: .86rem; color: var(--muted); line-height: 1.35; }
.facts-bar b { display: block; color: var(--ink); font-size: .98rem; }

/* ============ Statement ============ */
.statement { padding: clamp(70px, 9vw, 110px) 0; }
.statement-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.statement-grid > p { font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 600; color: var(--navy); margin: 0; }
.statement-grid > p span { color: #8e96a4; font-weight: 500; }
.numbers { display: grid; gap: 22px; }
.numbers > div { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.numbers strong { font-size: 2.6rem; font-weight: 650; letter-spacing: -.04em; color: var(--navy); min-width: 3.4ch; }
.numbers span { color: var(--muted); }

/* ============ Bento ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.t-icon { position: absolute; top: 26px; left: 28px; width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--sky); color: var(--navy); }
.t-num { font-size: 2.5rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.t-big { grid-column: span 2; grid-row: span 2; }
.t-wide { grid-column: span 2; }
.t-photo { padding: 0; border: 0; color: #fff; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-photo:hover img { transform: scale(1.05); }
.t-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 48, 0) 35%, rgba(0, 20, 48, .82) 100%); }
.tile-over { position: relative; z-index: 1; padding: 28px; }
.tile-over p { color: #d5deeb; max-width: 40ch; }
.tile-over h3 { font-size: 1.5rem; }
.tag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.t-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-dark .t-icon { background: rgba(255,255,255,.12); color: #fff; }
.t-dark .t-num { color: #fff; }
.t-dark p { color: #b8c6dc; }
.t-brass { background: var(--brass-soft); border-color: #eadfcc; }
.t-brass .t-icon { background: #fff; color: var(--brass); }
.t-list { grid-column: span 3; justify-content: center; }
.t-list ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.t-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #364055; }
.t-list li svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--sky); color: var(--navy); }

/* ============ Räume-Slider ============ */
.rooms { background: var(--surface); border-block: 1px solid var(--line); }
.rooms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.rail-nav { display: none; gap: 10px; margin-bottom: 54px; }
.rail-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--navy); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Gleiche Breite wie alle anderen Bereiche; auf großen Bildschirmen passen alle Räume nebeneinander */
.rail {
  width: min(1200px, 100% - 48px); margin-inline: auto;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 30px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.room { scroll-snap-align: start; }
.room-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room:hover .room-img img { transform: scale(1.06); }
.room-idx { font-size: .8rem; font-weight: 650; color: var(--brass); letter-spacing: .08em; }
.room h3 { font-size: 1.4rem; margin: 4px 0 6px; color: var(--navy); }
.room p { color: var(--muted); font-size: .96rem; }

/* ============ Preis ============ */
.pricing { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pricing::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -400px; z-index: -1; background: radial-gradient(closest-side, rgba(176, 141, 87, .22), transparent); }
.pricing::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.pricing-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 7vw, 110px); align-items: center; }
.pricing h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.04em; }
.pricing-copy > p { color: #b8c6dc; font-size: 1.1rem; max-width: 46ch; }
.extras { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.extras-title { margin: 22px 0 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c29b; font-weight: 650; }
.extras div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #d5deeb; }
.extras b { color: #fff; font-weight: 600; white-space: nowrap; }
.price-card { background: var(--surface); color: var(--ink); border-radius: 28px; padding: 34px; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); position: relative; }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: 29px; padding: 1px; background: linear-gradient(140deg, var(--brass), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card .tag { background: var(--brass-soft); color: #8a6a3c; backdrop-filter: none; }
.price-card h3 { font-size: 1.5rem; color: var(--navy); }
.pc-top p { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.pc-amount { display: flex; align-items: baseline; gap: 10px; margin: 26px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.pc-amount strong { font-size: 3.8rem; font-weight: 650; letter-spacing: -.05em; line-height: 1; color: var(--navy); }
.pc-amount .per { font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em; color: var(--navy); }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.price-card li { display: flex; align-items: center; gap: 12px; font-size: .96rem; color: #364055; }
.price-card li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sky); color: var(--navy); }

/* ============ Ablauf ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.steps li { position: relative; text-align: center; padding: 30px 26px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--navy); color: #fff; margin: 0 auto 18px; display: block; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line); }
.step-no { position: absolute; top: 14px; right: 20px; font-size: 3rem; font-weight: 700; color: var(--sky); letter-spacing: -.05em; line-height: 1; }
.steps h3 { color: var(--navy); margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ============ Galerie (Mosaik) ============ */
.gallery-sec { padding-bottom: clamp(60px, 8vw, 100px); }
.gallery-grid { width: min(1200px, 100% - 48px); margin-inline: auto; }
.g-track { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-track button { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--sky); }
.g-track button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-track button:nth-child(4), .g-track button:nth-child(5) { grid-row: span 2; }
.g-track button:nth-child(6), .g-track button:nth-child(7), .g-track button:nth-child(8) { grid-column: span 2; }
.g-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.g-track button::after { content: ""; position: absolute; inset: 0; background: rgba(0, 31, 73, 0); transition: background .4s; }
.g-track button:hover img { transform: scale(1.06); }
.g-track button:hover::after { background: rgba(0, 31, 73, .12); }
.gallery-hint { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 18px; }

/* ============ FAQ ============ */
.faq-sec { background: var(--surface); border-block: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 1.1rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--sky); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq details p { color: var(--muted); margin: -6px 0 24px; max-width: 60ch; animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Lage ============ */
.loc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.map { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; display: block; }
.map .road { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.map.visible .road { stroke-dashoffset: 0; }
.pin { animation: hop 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.loc-list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.loc-list li { display: flex; align-items: center; gap: 14px; }
.loc-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); color: var(--navy); }
.loc-list small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ============ Über TROIKA ============ */
.about-sec { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-img { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-img figcaption {
  position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 14px;
  background: var(--navy); color: #b8c6dc; font-size: .85rem; line-height: 1.35; box-shadow: var(--shadow-lg);
}
.about-img figcaption b { display: block; color: #fff; font-size: 1.05rem; }
.about-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 28px 0 34px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.about-facts strong { display: block; font-size: 2.4rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.about-facts span { color: var(--muted); font-size: .9rem; }
.about-sec + .contact { padding-top: clamp(80px, 10vw, 130px); }

/* ============ Kontakt ============ */
.contact { padding-top: 0; }
.cta {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(36px, 6vw, 70px); border-radius: 32px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  box-shadow: var(--shadow-lg);
}
.cta::before { content: ""; position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 141, 87, .35), transparent); }
.cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-copy p { color: #b8c6dc; max-width: 44ch; }
.cta-links { display: grid; gap: 12px; }
.cta-link {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, transform .3s var(--ease);
}
.cta-link:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.cta-link.primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-link.primary:hover { background: #f1f4f9; }
.cta-link > svg:first-child { width: 22px; height: 22px; }
.cta-link span { flex: 1; font-weight: 600; font-size: 1.08rem; }
.cta-link small { display: block; font-weight: 500; font-size: .76rem; opacity: .7; letter-spacing: .04em; }
.cta-link .go { width: 20px; height: 20px; opacity: .7; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .94rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 26px; width: auto; margin-bottom: 16px; }
.site-footer h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; }

/* ============ Lightbox ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(4, 12, 28, .92); padding: 20px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; animation: fade .3s ease; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .close { top: 20px; right: 20px; }
.lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ============ Einblenden ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; }
.hero-copy .reveal:nth-child(2) { animation-delay: .1s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .2s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .3s; }
.hero .facts-bar.reveal { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ============ Tablet & Handy ============ */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-links a:not(.btn) { font-size: .9rem; }
}
@media (max-width: 1080px) {
  .rail { grid-auto-columns: 300px; }
  .rail-nav { display: flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-list { grid-column: span 2; }
  .facts-bar { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .facts-bar li:nth-child(3) { border-left: 0; }
  .pricing-grid { grid-template-columns: 1fr 400px; }
}
/* Menü wird zur Klappliste, sobald die sieben Einträge nicht mehr bequem nebeneinander passen */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 24px; background: var(--bg); box-shadow: 0 20px 40px rgba(14,22,38,.12);
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a:not(.btn) { display: block; padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; width: 100%; padding: 15px; }
  .site-header:has(.nav-links.open) { background: var(--bg); }
}
@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero-grid, .statement-grid, .pricing-grid, .faq-grid, .loc-grid, .cta, .about-grid { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 4 / 3; }
  .hero-visual { height: 460px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .g-track { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-track button:nth-child(n+2) { grid-row: auto; grid-column: auto; }
  .g-track button:nth-child(8) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container, .gallery-grid, .rail { width: calc(100% - 36px); }
  .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .rail { grid-auto-columns: 80%; }
  .brand img { height: 28px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text span { font-size: .66rem; }
  .hero h1 { font-size: 2.55rem; }
  .hero-visual { height: 380px; }
  .hv-main { inset: 0 0 50px 30px; }
  .hv-side { width: 52%; height: 38%; }
  .hv-badge { top: 16px; left: 8px; }
  .hv-price { right: 0; padding: 14px 18px; }
  .hv-price strong { font-size: 1.8rem; }
  .facts-bar { grid-template-columns: 1fr; padding: 10px 6px; }
  .facts-bar li { border-left: 0; padding: 10px 14px; }
  .facts-bar li + li { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .t-big, .t-wide, .t-list { grid-column: auto; grid-row: auto; }
  .tile { min-height: 200px; }
  .t-photo { min-height: 300px; }
  .t-list ul { grid-template-columns: 1fr; }
  .rooms-head { display: block; }
  .rail-nav { margin: -30px 0 26px; }
  .price-card { padding: 26px; }
  .pc-amount strong { font-size: 3.2rem; }
  .cta-link span { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .reveal { opacity: 1; transform: none; }
  .mask-reveal { clip-path: none; }
  .mask-reveal img { transform: none; }
  .map .road { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
