/* Rasi – Für schöne Räume. Seitenstil (Aufbau nach asturgy.ch als Vorbild, eigener Code) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #22303a;
  --primary-deep: #141c22;
  --text: #4b5560;
  --heading: #22303a;
  --accent: #c39250;
  --btn: #c39250;
  --btn-hover: #d3a466;
  --tint: #f5f3ef;
  --line: #e7e2da;
  --white: #fff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(20, 28, 34, .08);
  --shadow-lift: 0 10px 32px rgba(20, 28, 34, .16);
  --wrap: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 130px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.rt { max-width: 68ch; }
.rt.center, .center + .rt, .rt.center p { margin-inline: auto; }
.rt p:last-child { margin-bottom: 0; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .9em;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--btn); color: var(--primary-deep);
  font-weight: 600; line-height: 1.2; text-decoration: none;
  padding: .85em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  font-family: inherit; font-size: 1rem;
}
.btn:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(195, 146, 80, .35); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px var(--btn); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 18px rgba(20, 28, 34, .06); }
.topbar { font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { text-decoration: none; color: var(--primary); }
.topbar a:hover { color: var(--accent); }
.topbar .addr { margin-right: auto; color: var(--text); }
.topbar b { font-weight: 700; color: var(--accent); margin-right: .35em; }
.mainbar { display: flex; align-items: center; gap: 28px; min-height: 84px; transition: min-height .3s var(--ease); }
.scrolled .mainbar { min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary-deep); flex: none; }
.logo svg { width: 54px; height: 54px; transition: transform .6s var(--ease); }
.logo:hover svg { transform: rotate(-12deg); }
.logo span { font-weight: 800; line-height: 1.02; font-size: 1.02rem; letter-spacing: -.01em; }
.nav-main { margin-left: auto; }
.nav-main ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-main a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: var(--primary); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.nav-main a:hover { background: var(--tint); }
.nav-main a[aria-current="page"] { color: var(--accent); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--primary); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .topbar .addr { display: none; }
  .nav-main {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white);
    box-shadow: var(--shadow-lift); padding: 96px 24px 24px; clip-path: inset(0 0 0 100%);
    transition: clip-path .45s var(--ease), visibility 0s .45s; z-index: 60; visibility: hidden;
  }
  .nav-main ul { flex-direction: column; }
  .nav-main a { font-size: 1.15rem; padding: 14px 16px; }
  .nav-open .nav-main { clip-path: inset(0); visibility: visible; transition: clip-path .45s var(--ease); }
  .menu-btn { display: block; z-index: 61; position: relative; }
  .header-cta { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(20, 28, 34, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px) {
  .topbar-in { justify-content: center; gap: 18px; }
  .logo svg { width: 46px; height: 46px; }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sec.tint { background: var(--tint); }
.sec.dark { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: rgba(255, 255, 255, .82); }
.sec.dark h2, .sec.dark h3 { color: var(--white); }
.sec.dark .kicker { color: var(--accent); }
.sec > .wrap > h2 + .rt, .sec > .wrap > .kicker + h2 + .rt { margin-bottom: clamp(32px, 4vw, 56px); }

/* hero */
.hero {
  --ov: #141c22; --ovo: .62;
  min-height: min(92vh, 860px); display: flex; align-items: center;
  color: rgba(255, 255, 255, .9); overflow: hidden; isolation: isolate;
  padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-bg {
  position: absolute; inset: -6% 0; z-index: -2; width: 100%; height: 112%; object-fit: cover;
  transform: translateY(var(--hy, 0px)) scale(1.06);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov); opacity: var(--ovo); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero .rt { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); margin-bottom: 2em; }
.hero .wrap { will-change: transform, opacity; }
.hero-stats {
  list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 980px; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-stats li { padding: 22px 20px; text-align: center; }
.hero-stats li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-stats strong { display: block; color: var(--white); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.hero-stats .lbl { font-size: .88rem; opacity: .85; }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
}

/* page hero (Unterseiten) */
.page-hero { min-height: 0; padding: clamp(96px, 12vw, 160px) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.crumbs { font-size: .85rem; margin-bottom: 1.2em; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.ptile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: var(--primary-deep); color: rgba(255, 255, 255, .86); box-shadow: var(--shadow);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ptile.big { grid-column: span 2; grid-row: span 2; padding: 32px; }
.ptile.wide { grid-column: span 2; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 28, 34, .05) 20%, rgba(20, 28, 34, .88) 100%); }
.ptile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ptile:hover img { transform: scale(1.06); }
.ptile .kicker { margin-bottom: .5em; }
.ptile h3 { color: var(--white); margin-bottom: .3em; }
.ptile h3 a { text-decoration: none; }
.ptile h3 a::after { content: ""; position: absolute; inset: 0; }
.ptile p:last-child { margin: 0; font-size: .95rem; }
.ptile.big h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.ptile.cta { background: var(--accent); color: var(--primary-deep); justify-content: center; }
.ptile.cta::after { display: none; }
.ptile.cta h3 { color: var(--primary-deep); }
.ptile.cta .arrow { font-size: 2rem; line-height: 1; margin-top: .3em; transition: transform .4s var(--ease); }
.ptile.cta:hover .arrow { transform: translateX(8px); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .ptile.big, .ptile.wide { grid-column: auto; grid-row: span 1; }
  .ptile.big { grid-row: span 2; }
}

/* grids & image boxes */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }
.imgbox { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.imgbox:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.imgbox .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.imgbox img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.imgbox:hover img { transform: scale(1.05); }
.imgbox h3 { padding: 20px 22px 22px; margin: 0; font-size: 1.15rem; }

.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.tint .card { background: var(--white); }
.stat strong { display: block; color: var(--heading); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat .lbl { display: block; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .6em; }
.region-card { position: relative; overflow: hidden; }
.region-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 146, 80, .22), transparent 70%);
}

/* split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .col:first-child { order: 2; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .col:first-child { order: 0; } }

/* check list */
.checks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: var(--heading); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141c22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.dark .checks li { color: var(--white); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.steps::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); transition: transform .2s linear; }
.steps li { position: relative; z-index: 1; }
.steps .num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--white); color: var(--heading); font-weight: 800; box-shadow: 0 0 0 2px var(--line), var(--shadow);
  transition: background .4s, color .4s, box-shadow .4s;
}
.steps li.done .num { background: var(--accent); color: var(--primary-deep); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.steps h3 { font-size: 1.15rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--p)); }
  .steps::before { transform: none; }
  .steps li { padding-left: 80px; }
  .steps .num { position: absolute; left: 0; top: -6px; }
}

/* references / gallery preview */
.refs { grid-template-columns: repeat(3, 1fr); }
.refs a { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.refs img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.refs a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .refs { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* marquee */
.marquee { overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style: none; display: flex; gap: 56px; padding: 0 28px; margin: 0; flex: none; animation: marquee 36s linear infinite; }
.marquee li { font-size: clamp(1.3rem, 1rem + 1vw, 2rem); font-weight: 800; color: var(--heading); opacity: .55; white-space: nowrap; letter-spacing: -.02em; }
.marquee li::after { content: "·"; margin-left: 56px; color: var(--accent); opacity: 1; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 700; color: var(--heading); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322303a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .rt { padding: 0 24px 22px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* text page */
.prose { color: var(--text); }
.prose h2 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); margin-top: 1.8em; letter-spacing: -.01em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose a { color: var(--heading); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--heading); line-height: 1.6; }
.portrait { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 78% 30%; box-shadow: 0 0 0 6px var(--white), var(--shadow-lift); margin-bottom: 28px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.addr-card { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: rgba(255, 255, 255, .85); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lift); }
.addr-card h2 { color: var(--white); font-size: 1.6rem; margin-bottom: .15em; }
.addr-card .sub { color: var(--accent); font-weight: 700; letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; margin-bottom: 1.6em; }
.addr-card a { color: var(--white); text-decoration: none; font-weight: 700; }
.addr-card a:hover { color: var(--accent); }
.addr-card .tel { display: grid; grid-template-columns: 28px 1fr; gap: 4px 8px; margin-top: 1.2em; font-size: 1.1rem; }
.addr-card .tel span { color: var(--accent); font-weight: 800; }
form.kontakt { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
form.kontakt .full { grid-column: 1 / -1; }
form.kontakt label { display: block; font-weight: 700; color: var(--heading); font-size: .9rem; margin-bottom: 6px; }
form.kontakt input, form.kontakt textarea {
  width: 100%; font: inherit; color: var(--heading); background: var(--tint);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
form.kontakt input:focus, form.kontakt textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
form.kontakt textarea { min-height: 170px; resize: vertical; }
form.kontakt .plzort { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
form.kontakt .hint { font-size: .85rem; margin: 0; align-self: center; }
form.kontakt .hp { position: absolute; left: -9999px; }
form.kontakt .row-end { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
form.kontakt .msg { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--tint); color: var(--heading); display: none; }
form.kontakt .msg.show { display: block; }
@media (max-width: 600px) { form.kontakt { grid-template-columns: 1fr; } }

/* gallery page */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 16, 20, .94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 84vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--accent); color: var(--primary-deep); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox .lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* placeholder wenn Foto fehlt */
img.missing { background: linear-gradient(135deg, #d9d4cc, #b9b2a7); min-height: 120px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--tint); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1em; color: var(--primary-deep); }
.foot-logo svg { width: 64px; height: 64px; }
.foot-logo span { font-weight: 800; line-height: 1.05; color: var(--primary-deep); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: .85rem; }
.foot-bottom ul { display: flex; gap: 20px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ================================================================ FILM (Scroll-Motion mit three.js) */
.film-sec { padding: 0; background: var(--primary-deep); color: rgba(255, 255, 255, .86); }
.film { position: relative; }
.film-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--primary-deep) center / cover no-repeat;
}
.film-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 28, 34, .78) 0%, rgba(20, 28, 34, .35) 38%, rgba(20, 28, 34, 0) 60%),
              linear-gradient(0deg, rgba(20, 28, 34, .5) 0%, rgba(20, 28, 34, 0) 30%);
}
.film-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 3; }
.film-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.film-nav { position: absolute; right: clamp(14px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 4; }
.film-nav button {
  width: 14px; height: 14px; position: relative; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .7); background: transparent; transition: background .3s, transform .3s, border-color .3s;
}
.film-nav button::before { content: ""; position: absolute; inset: -9px; }
.film-nav button:hover { transform: scale(1.3); }
.film-nav button[aria-current="true"] { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.film-steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; pointer-events: none; margin-top: -100vh; margin-top: -100svh; }
.film-steps > li { height: calc(var(--halte, 1) * 100vh); height: calc(var(--halte, 1) * 100svh); }
.film-card {
  position: fixed; left: clamp(20px, 6vw, 96px); bottom: clamp(32px, 10vh, 120px);
  width: min(460px, calc(100vw - 80px)); z-index: 3;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.film-steps > li.on .film-card { opacity: 1; transform: none; pointer-events: auto; }
.film-sec:not(.inview) .film-card { opacity: 0 !important; pointer-events: none !important; }
.film-card .kicker { display: flex; align-items: center; gap: 10px; color: var(--white); }
.film-card .kicker b {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--primary-deep); font-size: .78rem; letter-spacing: 0;
}
.film-card h2 { color: var(--white); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.film-card p { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.film-card .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.film-card .chips li { padding: 5px 13px; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1.5px solid rgba(255, 255, 255, .45); color: var(--white); background: rgba(20, 28, 34, .35); backdrop-filter: blur(6px); }
.film-card .chips li:last-child { background: var(--accent); border-color: var(--accent); color: var(--primary-deep); }
.film-card .links { display: flex; gap: 18px; flex-wrap: wrap; }
.film-card .links a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.film-card .links a:hover { color: var(--accent); }
.film-still { display: none; }
.film-ctrl { position: absolute; right: clamp(14px, 2.4vw, 32px); top: calc(var(--head-h) + 18px); z-index: 4; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.film-skip, .film-play {
  font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45em; padding: .55em 1.1em; border-radius: 999px;
  font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--white);
  background: rgba(20, 28, 34, .45); border: 1.5px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, border-color .25s, color .25s;
}
.film-skip:hover, .film-play:hover, .film-play[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--primary-deep); }
.film-skip svg, .film-play svg { width: 1em; height: 1em; }
.film-play .i-pause, .film-play[aria-pressed="true"] .i-play { display: none; }
.film-play[aria-pressed="true"] .i-pause { display: block; }
.film-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .4s; }
.film-hint i { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 12px; position: relative; }
.film-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.film-loading { position: absolute; right: 24px; bottom: 18px; z-index: 3; font-size: .75rem; color: rgba(255, 255, 255, .55); transition: opacity .6s; }
@media (max-width: 760px) {
  .film-ctrl { top: calc(var(--head-h) + 6px); right: 12px; }
  .film-skip, .film-play { font-size: .8rem; }
  .film-stage::after { background: linear-gradient(0deg, rgba(20, 28, 34, .92) 0%, rgba(20, 28, 34, .5) 45%, rgba(20, 28, 34, 0) 70%); }
  .film-card { left: 20px; right: 44px; bottom: 28px; width: auto; }
  .film-card p { font-size: .95rem; }
  .film-nav { gap: 9px; right: 12px; }
  .film-nav button { width: 11px; height: 11px; }
  .film-hint { display: none; }
}

/* Ohne Bewegung: Film wird zur Bildfolge */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee ul { animation: none; }
  .film-stage { display: none; }
  .film-steps { margin-top: 0; padding: 64px 0; }
  .film-steps > li { height: auto; padding: 24px 0; }
  .film-card { position: static; opacity: 1; transform: none; pointer-events: auto; width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
  .film-sec:not(.inview) .film-card { opacity: 1 !important; }
  .film-still { display: block; border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 20px; }
}
