/* HMS-Barth – Hausmeisterservice & Facility Management, Zwickau
   Heller Apple-Look: viel Weiß, kühles Grau, Marineblau und Bordeaux aus dem Logo, Inter (lokal).
   Glas-Navigation, scroll-gesteuerte Bilder und Videos, weiche Federn statt harter Übergänge. */

@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-opsz-italic.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f9;
  --bg-3: #eceef5;
  --ink: #0e1220;
  --text: #0e1220;
  --text-2: #3c4256;
  --muted: #61677a;
  --line: rgba(14, 18, 32, .09);
  --line-2: rgba(14, 18, 32, .16);
  --deep: #0a1030;
  --deep-2: #141e4a;
  --on-deep: #f4f5fa;
  --on-deep-muted: #b3b8cf;
  --petrol: #141e4a;
  --blue: #24398a;
  --cyan: #a3281d;
  --cyan-2: #f2a89f;
  --grad: linear-gradient(100deg, #141e4a 0%, #34479c 46%, #a3281d 100%);
  --grad-soft: linear-gradient(135deg, #eef0f8 0%, #f7f7fa 60%, #ffffff 100%);
  --shadow: 0 1px 2px rgba(14, 18, 32, .04), 0 12px 40px -18px rgba(14, 18, 32, .18);
  --shadow-lg: 0 2px 6px rgba(14, 18, 32, .05), 0 30px 80px -30px rgba(20, 30, 74, .35);
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto; letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 650; text-wrap: balance; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }

/* ---------- Typografie (Tracking wächst negativ mit der Größe) ---------- */
.display { font-size: clamp(2.7rem, 6.6vw, 5.9rem); line-height: .98; letter-spacing: -.048em; font-weight: 720; }
.display-sm { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 710; }
.h-xl { font-size: clamp(2.3rem, 5.6vw, 5rem); line-height: 1.03; letter-spacing: -.042em; font-weight: 700; }
.h-lg { font-size: clamp(1.95rem, 4.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.036em; font-weight: 680; }
.h-md { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 660; }
.h-sm { font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.2; letter-spacing: -.022em; font-weight: 650; margin-bottom: .5rem; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.36rem); line-height: 1.5; letter-spacing: -.014em; color: var(--muted); font-weight: 450; max-width: 46ch; }
.lead-xl { font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.3; letter-spacing: -.024em; font-weight: 600; margin-bottom: 1.6em; }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.1rem; }
.eyebrow.on-dark { color: var(--cyan-2); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: var(--text); font-weight: 640; }
.prose h2, .prose h3 { margin: 2rem 0 .8rem; letter-spacing: -.024em; }
.prose h3 { font-size: 1.25rem; }
.prose a { color: var(--blue); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 1px solid var(--b); font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  cursor: pointer; transition: transform .45s var(--spring), background-color .25s, color .25s, box-shadow .35s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.96); transition-duration: .08s; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); background-size: 140% 100%; background-position: 0 0; color: #fff;
  box-shadow: 0 10px 30px -12px rgba(11, 122, 166, .75), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .45s var(--spring), background-position .6s var(--ease), box-shadow .35s var(--ease); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(163, 40, 29, .8), inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); }
.btn-light:hover { transform: translateY(-2px); }
.btn-soft { --b: var(--line); background: var(--bg-2); color: var(--ink); }
.btn-soft:hover { background: var(--bg-3); }
.btn-glass { --b: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; color: var(--blue); font-weight: 600; text-decoration: none; }
.link-arrow.on-dark { color: #fff; }
.link-arrow .icon { transition: transform .45s var(--spring); }
.link-arrow:hover .icon { transform: translateX(4px); }
.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink); cursor: pointer; transition: background-color .2s, transform .45s var(--spring), opacity .2s; }
.round-btn:hover { background: var(--bg-2); }
.round-btn:active { transform: scale(.92); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Glas-Flächen ---------- */
.glass { background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .8); }
.glass-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- Kopfleiste (Glas, schrumpft beim Scrollen) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 12px var(--gutter) 0; pointer-events: none; }
.notice { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: .5rem; width: fit-content; max-width: 100%; margin: 0 auto 8px;
  padding: .45rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 540; }
.header-bar { pointer-events: auto; display: flex; align-items: center; gap: 1rem; max-width: calc(var(--wrap) + 24px); margin-inline: auto;
  height: var(--header-h); padding: 0 10px 0 18px; border-radius: 999px; border: 1px solid transparent; color: var(--ink);
  transition: background-color .5s var(--ease), border-color .5s, height .45s var(--ease), box-shadow .5s, color .3s, max-width .6s var(--ease); }
.is-scrolled .header-bar, .top-light .header-bar { background: rgba(255, 255, 255, .72); border-color: var(--line);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 10px 40px -20px rgba(14, 18, 32, .35); }
.is-scrolled .header-bar { --header-h: 56px; max-width: 1080px; }
.brand { position: relative; display: flex; align-items: center; gap: .6rem; margin-right: auto; text-decoration: none; color: inherit; }
.brand-mark { position: relative; display: block; width: 46px; height: 41px; transition: width .45s var(--ease), height .45s var(--ease); }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.is-scrolled .brand-mark { width: 40px; height: 36px; }
.brand .logo-w { opacity: 0; }
.top-dark .site-header:not(.is-scrolled) .logo-c { opacity: 0; }
.top-dark .site-header:not(.is-scrolled) .logo-w { opacity: 1; }
.brand-word { display: grid; font-weight: 720; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.05; }
.brand-word small { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .62; }
.top-dark .site-header:not(.is-scrolled) .header-bar { color: #fff; }
.main-nav { display: flex; gap: .15rem; }
.main-nav > a, .nav-drop > a { position: relative; display: block; padding: .5rem .85rem; border-radius: 999px; color: inherit; opacity: .78; text-decoration: none; font-size: .95rem; font-weight: 540; transition: opacity .2s, background-color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { opacity: 1; }
.main-nav > a[aria-current]::after, .nav-drop > a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); }
.nav-drop { position: relative; }
.nav-panel { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 270px; padding: 8px; border-radius: 20px; display: grid;
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-lg); color: var(--ink); opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transform-origin: 50% 0;
  transition: opacity .25s, transform .5s var(--spring), visibility 0s .25s; }
.nav-panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.nav-panel a { padding: .65rem .9rem; border-radius: 12px; text-decoration: none; font-size: .95rem; font-weight: 540; }
.nav-panel a:hover { background: var(--bg-2); color: var(--blue); }
.head-phone { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .6rem; font-variant-numeric: tabular-nums; }
.head-phone .icon { color: var(--cyan); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%; color: inherit; }
.menu-lines { display: grid; gap: 6px; width: 20px; margin: auto; }
.menu-lines i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }
@media (max-width: 1060px) { .head-phone span { display: none; } }
@media (max-width: 920px) {
  .main-nav, .head-cta, .head-phone { display: none; }
  .menu-btn { display: block; }
  .brand-mark { width: 40px; height: 36px; }
}

.menu { position: fixed; inset: 0; z-index: 150; background: rgba(255, 255, 255, .82); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); }
.menu-panel { height: 100%; display: flex; flex-direction: column; padding: calc(22px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu-close { align-self: flex-end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.menu nav { display: grid; gap: .1rem; margin: auto 0; }
.menu nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 690; letter-spacing: -.04em; text-decoration: none; padding: .12em 0; color: #8a979f; transition: color .2s; }
.menu nav a.sub { font-size: clamp(1.1rem, 4.6vw, 1.4rem); font-weight: 560; letter-spacing: -.02em; padding: .25em 0 .25em .2em; }
.menu nav a:hover, .menu nav a[aria-current] { color: var(--ink); }
.menu-foot { display: grid; gap: .75rem; margin-top: 2rem; }

.dock { position: fixed; z-index: 90; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); display: none; gap: .5rem; padding: 6px; border-radius: 999px;
  background: rgba(14, 18, 32, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translate(-50%, 140%); transition: transform .7s var(--spring); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.dock.is-on { transform: translate(-50%, 0); }
.dock .btn { min-height: 44px; padding-inline: 1.15rem; }
@media (max-width: 920px) { .dock { display: flex; } }

/* ---------- Hero: Foto mit Ken Burns, Anfragekarte aus Glas ---------- */
.hero { position: relative; min-height: 100svh; }
.hero-stage { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--deep); transform-origin: 50% 30%; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 16, 42, .86) 0%, rgba(10, 16, 42, .62) 42%, rgba(10, 16, 42, .18) 75%, rgba(10, 16, 42, .3) 100%),
  linear-gradient(180deg, rgba(10, 16, 42, .55) 0%, transparent 28%, transparent 70%, rgba(10, 16, 42, .65) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: calc(var(--header-h) + 72px) 0 clamp(80px, 12vh, 130px); color: #fff; }
.hero .display { margin-bottom: 1.5rem; max-width: 13ch; }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: #d9dcea; max-width: 40ch; margin-bottom: 2rem; letter-spacing: -.012em; }
.hero-card { border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.4vw, 2rem); color: var(--ink); }
.hero-card .h-sm { font-size: 1.45rem; margin-bottom: .3rem; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero-card { max-width: 560px; }
  .scroll-cue { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 16, 42, .7) 0%, rgba(10, 16, 42, .55) 45%, rgba(10, 16, 42, .85) 100%); }
}
.video-toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 5vh, 48px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(10, 20, 26, .45); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Zeilen-Einblendung (Hero, Seitenköpfe) */
.js [data-line] { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.js [data-line].is-in { opacity: 1; transform: none; filter: none;
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0ms); }
/* Allgemeine Einblendung */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- Formular (schwebende Beschriftungen) ---------- */
.qform { position: relative; }
.qform-fields { display: grid; gap: 12px; transition: opacity .4s var(--ease), transform .6s var(--ease), filter .4s; }
.qform.is-sent .qform-fields { display: none; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.is-compact .frow { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.fld { position: relative; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(245, 247, 249, .9); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 1.45rem .95rem .5rem; min-height: 56px; transition: border-color .2s, box-shadow .3s var(--ease), background-color .2s; appearance: none; -webkit-appearance: none; }
.fld textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.fld.is-select select { padding-right: 2.4rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6e78' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.fld label { position: absolute; left: .95rem; top: 1.05rem; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .2s; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(163, 40, 29, .18); }
.fld input:focus + label, .fld textarea:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:not(:placeholder-shown) + label, .fld.is-select label { transform: translateY(-.62rem) scale(.76); }
.fld input:focus + label, .fld textarea:focus + label { color: var(--blue); }
.fld [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.field-err { display: block; margin-top: .35rem; color: #b3261e; font-size: .86rem; }
.form-alert { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .8rem 1rem; border-radius: 14px; background: #fff1ef; color: #8c1d18; font-size: .93rem; }
.form-note { font-size: .8rem; line-height: 1.45; color: var(--muted); margin: 0; }
.form-note a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-send { justify-self: start; position: relative; }
.is-compact .btn-send { justify-self: stretch; }
.send-busy { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-busy .send-busy { display: block; }
.is-busy .btn-send .icon { display: none; }
.is-busy .btn-send { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.qform-done { text-align: center; padding: 1.5rem .5rem; }
.qform-done .h-sm { margin: 1rem 0 .4rem; }
.check-anim { width: 72px; height: 72px; margin: 0 auto; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check-anim circle { stroke: var(--cyan); stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s var(--ease) forwards; }
.check-anim path { stroke: var(--blue); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.qform-done:not([hidden]) { animation: pop .7s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ---------- Vorteile (Bento) ---------- */
.usps .h-xl { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 14ch; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.bento-card { grid-column: span 4; position: relative; display: flex; flex-direction: column; gap: .4rem; padding: clamp(1.5rem, 2.6vw, 2.2rem); border-radius: var(--radius-lg);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s var(--ease); }
.bento-card:hover { box-shadow: var(--shadow-lg); }
.bento-card p { color: var(--text-2); margin: 0; }
.bento-card.is-accent { grid-column: span 7; grid-row: span 2; background: radial-gradient(120% 90% at 100% 0%, rgba(163, 40, 29, .55), transparent 55%), var(--grad); color: #fff; justify-content: flex-end; min-height: 380px; }
.bento-card.is-accent p { color: rgba(255, 255, 255, .86); max-width: 40ch; font-size: 1.1rem; }
.bento-card.is-accent .h-sm { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.036em; line-height: 1.05; margin-bottom: .8rem; }
.bento-card.is-accent .link-arrow { margin-top: 1.2rem; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.bento-card.is-accent::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); }
.bento-card:nth-child(2), .bento-card:nth-child(3) { grid-column: span 5; }
.bento-card.is-stat { grid-column: span 12; flex-direction: row; align-items: center; gap: 2rem; background: #fff; }
.bento-card.is-stat p:last-child { max-width: 36ch; font-size: 1.15rem; }
.bento-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--blue); margin-bottom: auto; box-shadow: var(--shadow); }
.bento-card:not(.is-accent) .bento-ic { margin-bottom: 1.4rem; }
.is-accent .bento-ic { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; margin-bottom: auto; }
.bento-card.is-accent .h-sm { margin-top: 2.2rem; }
.bento-ic .icon { width: 24px; height: 24px; }
.stat-big { display: flex; align-items: baseline; gap: .4rem; margin: 0; font-size: clamp(4rem, 10vw, 8rem); font-weight: 760; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat-big span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big small { font-size: .28em; letter-spacing: -.02em; color: var(--muted); font-weight: 620; }
@media (max-width: 900px) {
  .bento-card, .bento-card:nth-child(2), .bento-card:nth-child(3), .bento-card.is-accent { grid-column: span 12; grid-row: auto; }
  .bento-card.is-accent { min-height: 340px; }
  .bento-card.is-stat { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* ---------- Kopfzeilen von Abschnitten ---------- */
.split-head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.split-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 820px) { .split-head, .split { grid-template-columns: 1fr; } .split-head > .btn { justify-self: start; } }

/* ---------- Leistungskarten ---------- */
.services { background: var(--bg-2); }
.filter { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; margin-bottom: 2rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); max-width: 100%; }
.filter a { position: relative; z-index: 1; padding: .55rem 1.05rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 580; transition: color .3s; }
.filter a:hover { color: var(--ink); }
.filter a.is-on { color: #fff; }
.filter-pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 6px 18px -8px rgba(14, 18, 32, .6); transition: transform .6s var(--spring), width .5s var(--ease), height .5s var(--ease); pointer-events: none; }
.no-js .filter a.is-on, .filter:not(.is-ready) a.is-on { background: var(--ink); }
@media (max-width: 700px) {
  .filter { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 18px; }
  .filter::-webkit-scrollbar { display: none; }
  .filter a { white-space: nowrap; }
}
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pcard { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); text-decoration: none; aspect-ratio: 16 / 11; isolation: isolate; color: #fff;
  box-shadow: var(--shadow); transition: box-shadow .6s var(--ease), transform .7s var(--spring); }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pcard[hidden] { display: none; }
.pcard-img, .pcard-img img, .pcard-img .tile-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-img img { transition: transform 1.4s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 42, .82)); }
.pcard-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.6rem 5rem 1.6rem 1.6rem; }
.pcard-text .eyebrow { margin-bottom: .4rem; font-size: .7rem; color: var(--cyan-2); }
.pcard-text h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -.03em; line-height: 1.1; }
.pcard-place { margin: .4rem 0 0; color: #d9dcea; font-size: .92rem; }
.pcard-go { position: absolute; z-index: 1; right: 1.3rem; bottom: 1.4rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; transition: background-color .3s, transform .6s var(--spring), color .3s; }
.pcard:hover .pcard-go { background: #fff; color: var(--blue); transform: rotate(45deg); }
@media (max-width: 700px) { .pgrid { grid-template-columns: 1fr; } .pcard { aspect-ratio: 4 / 3.4; } }

/* Platzhalter mit Symbol, wenn eine Leistung noch kein Foto hat */
.tile-art { display: grid; place-items: center; color: rgba(255, 255, 255, .9);
  background: radial-gradient(90% 80% at 85% 10%, rgba(163, 40, 29, .7), transparent 60%), radial-gradient(70% 70% at 10% 100%, rgba(52, 71, 156, .8), transparent 60%), var(--deep-2); }
.tile-art .icon { width: clamp(56px, 9vw, 110px); height: auto; aspect-ratio: 1; stroke-width: 1.2; opacity: .9; transform: translateY(-14%); }

/* ---------- Zitat ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.quote-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--bg-3); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-body { margin: 0; }
.quote-text { font-size: clamp(1.65rem, 3.4vw, 3rem); line-height: 1.18; letter-spacing: -.034em; font-weight: 660; margin: 0 0 2rem; }
.quote-text::before { content: "“"; display: block; height: .62em; margin-bottom: .1em; font-size: 2.4em; line-height: 1; font-weight: 700; color: var(--cyan); }
.quote-body footer { display: grid; gap: .1rem; }
.quote-body footer strong { font-size: 1.1rem; }
.js [data-words] .w { color: rgba(14, 18, 32, .14); transition: color .35s; }
.js [data-words] .w.on { color: var(--ink); }
.js [data-words] .w.on.hot { color: var(--blue); }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } .quote-photo { max-width: 360px; } }

/* ---------- Kunden-Laufband ---------- */
.clients { padding-block: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); }
.clients .eyebrow { margin-bottom: 1.6rem; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.marquee-track li { display: inline-flex; align-items: center; gap: .6rem; padding-right: clamp(1.6rem, 4vw, 3.4rem); font-size: clamp(1.3rem, 2.6vw, 2.2rem); font-weight: 650; letter-spacing: -.03em; white-space: nowrap; color: var(--text-2); }
.marquee-track .icon { color: var(--cyan); width: .8em; height: .8em; }
.no-js .marquee-track, .reduce .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }

/* ---------- Video wächst von der Karte zum Vollbild ---------- */
.expand { position: relative; height: 240vh; }
.expand.is-short { height: 180vh; }
.expand-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.expand-media { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; overflow: hidden; background: var(--deep);
  clip-path: inset(var(--inset-y, 18%) var(--inset-x, 18%) round var(--r, 32px)); will-change: clip-path; }
.expand-video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vs, 1.15)); }
.expand-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 42, .1), rgba(10, 16, 42, .7)); opacity: var(--so, 0); }
.expand-text { position: relative; z-index: 2; align-self: end; padding-bottom: clamp(64px, 12vh, 120px); color: #fff; opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 40px)); }
.expand-text .h-xl { max-width: 14ch; }
.no-js .expand, .reduce .expand { height: auto; }
.no-js .expand-sticky, .reduce .expand-sticky { position: relative; height: 80svh; }
.no-js .expand-media, .reduce .expand-media { clip-path: none; }
.no-js .expand-text, .reduce .expand-text { opacity: 1; transform: none; }

/* ---------- Vorher / Nachher ---------- */
.ba-section .h-lg { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
.ba { --pos: 50%; position: relative; max-width: 1100px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--bg-3); touch-action: pan-y; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-handle .icon { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; padding: 12px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * , .ba:focus-within .ba-handle .icon { outline: 2px solid var(--blue); outline-offset: 3px; }
.ba-tag { position: absolute; top: 16px; padding: .35rem .8rem; border-radius: 999px; background: rgba(14, 18, 32, .55); color: #fff; font-size: .82rem; font-weight: 600; backdrop-filter: blur(10px); pointer-events: none; }
.ba-tag-l { left: 16px; } .ba-tag-r { right: 16px; }

/* ---------- Beispielbilder ---------- */
.ex-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 18vw, 250px); gap: clamp(12px, 1.4vw, 18px); }
.ex-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); grid-column: span 4; grid-row: span 2; }
.ex-item.ex-0 { grid-column: span 7; grid-row: span 3; }
.ex-item.ex-1 { grid-column: span 5; grid-row: span 3; }
.ex-item.ex-2, .ex-item.ex-3, .ex-item.ex-4 { grid-column: span 4; }
.ex-item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ex-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ex-item:hover img { transform: scale(1.05); }
.ex-item figcaption, .mason-item figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; color: #fff;
  background: rgba(14, 18, 32, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
@media (max-width: 760px) {
  .ex-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .ex-item, .ex-item.ex-0, .ex-item.ex-1, .ex-item.ex-2, .ex-item.ex-3, .ex-item.ex-4 { grid-column: span 1; grid-row: span 1; }
  .ex-item.ex-0 { grid-column: span 2; grid-row: span 1; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.faq-grid .h-lg { margin-bottom: 1rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .4s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 1.3rem; cursor: pointer; font-size: 1.08rem; font-weight: 620; letter-spacing: -.016em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); transition: transform .6s var(--spring), background-color .3s, color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 1px; transition: transform .45s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); color: #fff; transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--text-2); padding: 0 1.3rem 1.3rem; max-width: 62ch; margin: 0; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Abschluss (dunkel mit Lichtverlauf) ---------- */
.closing { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); padding-block: clamp(100px, 14vw, 190px); text-align: center; isolation: isolate; }
.closing-inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.closing .h-xl { max-width: 16ch; margin-bottom: 1.2rem; }
.closing .lead { color: var(--on-deep-muted); margin-inline: auto; margin-bottom: 2rem; }
.closing-phone { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 2rem; font-size: clamp(2rem, 5.6vw, 4.4rem); font-weight: 720; letter-spacing: -.04em; text-decoration: none; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff, var(--cyan-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.closing-phone .icon { color: var(--cyan); width: .7em; height: .7em; }
.closing-glow { position: absolute; z-index: 0; left: 50%; top: 55%; width: min(1100px, 140vw); aspect-ratio: 1.6; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(163, 40, 29, .42), rgba(11, 122, 166, .18) 55%, transparent 75%); filter: blur(20px); }
@media (prefers-reduced-motion: no-preference) { .closing-glow { animation: glow 9s var(--ease-io) infinite alternate; } }
@keyframes glow { from { transform: translate(-56%, -48%) scale(.92); } to { transform: translate(-44%, -54%) scale(1.06); } }

/* ---------- Seitenköpfe ---------- */
.page-hero { position: relative; min-height: min(78svh, 820px); display: grid; align-items: end; overflow: hidden; padding: calc(var(--header-h) + 80px) 0 clamp(56px, 9vw, 110px); color: #fff; background: var(--deep); }
.page-hero.is-plain { min-height: 0; padding-top: calc(var(--header-h) + clamp(90px, 13vw, 160px)); padding-bottom: clamp(40px, 6vw, 70px); color: var(--ink); background: var(--grad-soft); }
.page-hero-bg, .project-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img, .project-hero-bg img, .project-hero-bg .tile-art { width: 100%; height: 115%; object-fit: cover; }
.page-hero .hero-shade, .project-hero .hero-shade { background: linear-gradient(180deg, rgba(10, 16, 42, .55), rgba(10, 16, 42, .15) 35%, rgba(10, 16, 42, .82) 100%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .h-xl { max-width: 16ch; margin-bottom: 1.2rem; }
.page-hero .lead { color: #d9dcea; }
.page-hero.is-plain .lead { color: var(--muted); }
.page-hero:not(.is-plain) .eyebrow { color: var(--cyan-2); }
.page-hero.is-404 { min-height: 70svh; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .kb { animation: kenburns 26s var(--ease-io) infinite alternate; transform-origin: 60% 40%; }
  @keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
}

/* ---------- Ablauf ---------- */
.steps-section { background: var(--bg-2); }
.steps-section .h-lg { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); counter-reset: s; }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step p { color: var(--text-2); margin: 0; }
.step-n { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 3.2rem; font-weight: 760; letter-spacing: -.06em; line-height: 1; color: var(--bg-3); }
.step-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 1.2rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-section { padding-top: clamp(40px, 6vw, 70px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.contact-form { padding: clamp(1.5rem, 3vw, 2.6rem); scroll-margin-top: calc(var(--header-h) + 30px); }
.contact-form .h-md { margin-bottom: .3rem; }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--bg-2);
  border: 1px solid var(--line); text-decoration: none; transition: background-color .3s, transform .6s var(--spring), box-shadow .4s; }
.ccard:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }
.ccard-ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.ccard.is-main { background: var(--grad); color: #fff; }
.ccard.is-main .ccard-ic { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.ccard.is-main .ccard-k { color: rgba(255, 255, 255, .8); }
.ccard.is-main strong { font-size: 1.5rem; }
.ccard-k { font-size: .82rem; color: var(--muted); }
.ccard strong { font-size: 1.08rem; letter-spacing: -.015em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.trust { display: flex; gap: 1rem; margin-top: 1.4rem; padding: 1.2rem 1.25rem; border-radius: 20px; border: 1px dashed var(--line-2); }
.trust p { margin: 0; color: var(--text-2); font-size: .95rem; }
.trust-ic { flex: none; color: var(--blue); }
.trust-ic .icon { width: 26px; height: 26px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { order: -1; } }

/* ---------- Leistungsseite ---------- */
.project-hero { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; padding-bottom: clamp(56px, 9vw, 110px); color: #fff; background: var(--deep); }
.project-hero.is-art { color: var(--ink); background: #e3e6f0; }
.project-hero.is-art .hero-shade { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .85)); }
.project-hero-inner { position: relative; z-index: 2; }
.project-hero .display-sm { max-width: 14ch; margin-bottom: 1rem; }
.crumbs { display: flex; align-items: center; gap: .4rem; font-size: .92rem; margin-bottom: 1.2rem; flex-wrap: wrap; opacity: .9; }
.crumbs a { color: inherit; text-decoration: none; font-weight: 600; }
.crumbs .icon { width: .9em; height: .9em; opacity: .6; }
.project-place { font-size: 1.15rem; opacity: .85; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.lead-xl[data-words] .w { color: rgba(14, 18, 32, .16); }
.project-aside { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 16px; }
.facts { margin: 0; padding: .4rem 1.5rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .82rem; letter-spacing: .02em; margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 580; }
.aside-cta { display: grid; gap: .6rem; padding: 1.5rem; }
.aside-cta p { margin: 0; }
@media (max-width: 960px) { .project-body { grid-template-columns: 1fr; } .project-aside { position: static; } }

.masonry { columns: 3 300px; column-gap: 16px; margin-top: 2rem; }
.mason-item { break-inside: avoid; margin: 0 0 16px; border-radius: 18px; overflow: hidden; background: var(--bg-3); position: relative; }
.mason-item a { display: block; cursor: zoom-in; }
.mason-item img { width: 100%; transition: transform 1.1s var(--ease); }
.mason-item:hover img { transform: scale(1.04); }

.next-project { position: relative; display: block; min-height: 62svh; overflow: hidden; text-decoration: none; isolation: isolate; color: #fff; background: var(--deep); }
.next-bg { position: absolute; inset: 0; }
.next-bg img, .next-bg .tile-art { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.9); transition: transform 1.6s var(--ease), filter .8s; }
.next-project:hover .next-bg img { transform: scale(1.05); filter: brightness(.62) saturate(1); }
.next-inner { position: relative; min-height: 62svh; display: grid; align-content: end; justify-items: start; gap: 1rem; padding-bottom: clamp(56px, 8vw, 100px); }
.next-inner .h-xl { max-width: 14ch; }
.next-project .round-btn { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ---------- Großansicht ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; color: #fff; }
.lightbox::backdrop { background: rgba(8, 12, 32, 0); transition: background-color .45s var(--ease); }
.lightbox.is-open::backdrop { background: rgba(8, 12, 32, .92); backdrop-filter: blur(10px); }
.lightbox img { position: absolute; top: 50%; left: 50%; max-width: calc(100vw - 32px); max-height: calc(100svh - 140px); width: auto; height: auto; border-radius: 14px; transform: translate(-50%, -50%); object-fit: contain; }
.lightbox-close { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox-bar { position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; gap: .75rem; align-items: center; transform: translateX(-50%); }
.lightbox-count { min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; color: #b3b8cf; font-size: .92rem; }
.lightbox .round-btn { background: rgba(40, 44, 60, .7); border-color: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- Rechtstexte ---------- */
.legal-hero { padding: calc(var(--header-h) + clamp(90px, 12vw, 150px)) 0 2.5rem; background: var(--grad-soft); }
.legal-hero .title { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.045em; line-height: 1.02; }
.narrow { max-width: 860px; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); text-decoration: none; font-size: .9rem; transition: border-color .2s, color .2s; }
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal { max-width: 860px; padding-top: 2.5rem; padding-bottom: clamp(80px, 10vw, 140px); }
.legal h2 { font-size: 1.45rem; letter-spacing: -.025em; margin: 2.6rem 0 .9rem; }
.legal h3 { font-size: 1.12rem; margin: 1.8rem 0 .6rem; }
.legal-box { padding: 1.2rem 1.4rem; border-radius: 16px; border: 1px solid rgba(11, 122, 166, .3); background: #eef8fc; margin: 1.4rem 0; }
.legal-box p:last-child { margin: 0; }

/* ---------- Fuß ---------- */
.site-footer { padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--deep-2); color: var(--on-deep); font-size: .95rem; }
.site-footer .muted { color: var(--on-deep-muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand > img { width: 118px; height: auto; margin-bottom: 1rem; }
.footer-title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); font-weight: 620; margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: .8rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cyan-2); }
.site-footer .link-arrow { color: var(--cyan-2); }
.footer-links { display: grid; gap: .45rem; }
.footer-last { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(40px, 6vw, 72px); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--on-deep-muted); font-size: .88rem; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } .site-footer { padding-bottom: 110px; } }

/* ---------- Bewegung reduzieren / Kontrast / Transparenz ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
  .js [data-line], .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .check-anim circle, .check-anim path { stroke-dashoffset: 0; }
}
@media (prefers-reduced-transparency: reduce) {
  .is-scrolled .header-bar, .top-light .header-bar, .dock, .menu, .btn-glass, .glass, .nav-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .is-scrolled .header-bar, .top-light .header-bar, .glass, .nav-panel { background: #fff; }
  .dock { background: var(--ink); }
  .menu { background: #fff; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3c4256; --text-2: #1d2a32; --line: rgba(14, 18, 32, .3); --line-2: rgba(14, 18, 32, .5); }
}
@media print {
  .site-header, .dock, .menu, .video-toggle, .scroll-cue, .marquee, .hero-card { display: none !important; }
  body { background: #fff; color: #000; }
}


/* =================== HMS-Barth: neue Bausteine =================== */
.section-tint { background: var(--bg-2); }
.section.is-tight { padding-block: clamp(40px, 6vw, 80px); }
.chip { display: inline-flex; align-items: center; padding: .22rem .7rem; border-radius: 999px; background: var(--bg-3); color: var(--blue); font-size: .74rem; font-weight: 650; letter-spacing: .02em; }

/* Hero: Hinweis „rund um die Uhr“ mit pulsierendem Punkt */
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; margin: 1.6rem 0 0; padding: .45rem .95rem .45rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: .9rem; font-weight: 560; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3ddc84; opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* Drei Karten, die beim Scrollen übereinander gleiten (sticky stack) */
.stack-section { padding-block: clamp(80px, 11vw, 160px) clamp(40px, 6vw, 80px); }
.stack-section .h-xl { max-width: 18ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.stack { display: grid; gap: clamp(18px, 3vw, 32px); }
.stack-card { position: sticky; top: calc(var(--header-h) + 40px + var(--i) * 18px); display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(68svh, 600px);
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform-origin: 50% 0; will-change: transform; }
.stack-card:nth-child(2) { background: var(--deep-2); color: var(--on-deep); }
.stack-card:nth-child(2) .lead { color: var(--on-deep-muted); }
.stack-card:nth-child(3) { background: var(--bg-2); }
.stack-img { position: relative; overflow: hidden; }
.stack-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.stack-card.is-in .stack-img img { transform: scale(1); }
.stack-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; padding: clamp(1.8rem, 4vw, 3.5rem); }
.stack-text .lead { margin: 0; }
.stack-n { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 760; letter-spacing: -.06em; line-height: .9; margin-bottom: auto;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack-card:nth-child(2) .stack-n { background: linear-gradient(120deg, #fff, var(--cyan-2)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 820px) {
  .stack-card { grid-template-columns: 1fr; grid-template-rows: 44svh auto; min-height: 0; top: calc(var(--header-h) + 24px + var(--i) * 12px); }
  .stack-text { padding: 1.6rem; }
  .stack-n { font-size: 3rem; margin-bottom: .2rem; }
}

/* Leistungs-Karussell (Scroll-Snap wie Apple-Produktreihen) */
.rail-nav { display: flex; align-items: center; gap: .6rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 400px); gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); padding: 8px max(var(--gutter), (100% - var(--wrap)) / 2) 28px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.rail-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .7s var(--spring), box-shadow .6s var(--ease); }
.rail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rail-img { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--bg-3); }
.rail-img img, .rail-img .tile-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rail-card:hover .rail-img img { transform: scale(1.06); }
.rail-text { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.rail-text .eyebrow { margin: 0; font-size: .68rem; }
.rail-text h3 { font-size: 1.35rem; letter-spacing: -.026em; line-height: 1.15; }
.rail-text p.muted { margin: 0; font-size: .98rem; }
.rail-text .link-arrow { margin-top: auto; padding-top: .6rem; }
.rail-progress { width: min(240px, 50%); height: 3px; margin: 4px auto 0; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, .15)); transition: transform .2s; }
@media (max-width: 700px) { .rail-nav .round-btn { display: none; } .rail { grid-auto-columns: 82%; } }

/* Blog-Karten */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.bgrid.has-lead .bcard.is-lead { grid-column: span 2; grid-row: span 2; }
.bcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .7s var(--spring), box-shadow .6s var(--ease); }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.bcard.is-lead .bcard-img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.bcard-img img, .bcard-img .tile-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.bcard:hover .bcard-img img { transform: scale(1.07); }
.bcard-text { display: grid; gap: .55rem; padding: 1.3rem 1.4rem 1.5rem; }
.bcard-text h3 { font-size: 1.22rem; letter-spacing: -.022em; line-height: 1.2; }
.bcard.is-lead .bcard-text h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.032em; }
.bcard-text p.muted { margin: 0; font-size: .96rem; }
.bcard-meta { display: flex; align-items: center; gap: .7rem; margin: 0; font-size: .84rem; color: var(--muted); }
.bcard-place { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-size: .86rem; color: var(--muted); }
.bcard-place .icon { color: var(--cyan); }
@media (max-width: 1000px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bgrid { grid-template-columns: 1fr; } .bgrid.has-lead .bcard.is-lead { grid-column: auto; grid-row: auto; } .bcard.is-lead .bcard-img { aspect-ratio: 16 / 10; min-height: 0; } }

.filter.is-links { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.filter.is-links a.is-on { background: var(--ink); color: #fff; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 999px; background: var(--bg-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: #fff; }

/* Beitragsseite */
.post-hero { padding: calc(var(--header-h) + clamp(80px, 11vw, 140px)) 0 0; background: linear-gradient(180deg, var(--bg-2), var(--bg) 70%); }
.post-hero .h-xl { font-size: clamp(2.1rem, 5vw, 4.2rem); margin-bottom: 1.2rem; }
.post-hero .crumbs { color: var(--blue); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: .95rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta .icon { color: var(--cyan); }
.post-cover { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--bg-3); }
.post-cover a, .post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-body { padding-block: clamp(48px, 7vw, 90px) clamp(10px, 2vw, 20px); }
.prose-lg p { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; }
.prose-lg p:first-child { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; color: var(--ink); font-weight: 520; letter-spacing: -.016em; }
.post-video { margin: 0; }
.post-video video { width: auto; max-width: 100%; max-height: 80svh; margin-inline: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #000; }
.post-video figcaption { text-align: center; margin-top: .8rem; }
.post-cta { padding-bottom: clamp(60px, 8vw, 110px); }
.post-cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); }
.post-cta-card p { margin: 0; }
.post-cta-card .h-sm { margin-bottom: .3rem; }

/* Hausmeisterservice-Übersicht */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.6rem 0 0; list-style: none; }
.pills a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 560; font-size: .95rem;
  transition: background-color .25s, color .25s, transform .5s var(--spring); }
.pills a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.pills .icon { color: var(--cyan); }
.pills a:hover .icon { color: var(--cyan-2); }
.aspects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(2rem, 4vw, 3.5rem); }
.aspect { padding: clamp(1.5rem, 2.6vw, 2.2rem); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); transition: box-shadow .5s var(--ease); }
.aspect:hover { box-shadow: var(--shadow-lg); }
.aspect .bento-ic { margin-bottom: 1.3rem; }
.aspect p { margin: .5rem 0 0; color: var(--text-2); }
@media (max-width: 900px) { .aspects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aspects { grid-template-columns: 1fr; } }
.split-head .filter { margin: 0; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; } }

/* Fuß: CHECK24-Siegel als Link (kein eingebettetes Widget) */
.badge-link { display: inline-flex; align-items: center; gap: .8rem; margin-top: .4rem; padding: .5rem .9rem .5rem .5rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: inherit; text-decoration: none; }
.badge-link img { width: 46px; height: auto; border-radius: 8px; background: #fff; padding: 3px; }
.badge-link span { display: grid; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.badge-link small { display: inline-flex; align-items: center; gap: .3rem; font-weight: 500; opacity: .7; }
.footer-last a { color: inherit; }

/* Lange deutsche Wörter („Hausmeisterservice“) brechen sauber */
.display, .display-sm, .h-xl, .h-lg { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.hero .display { font-size: clamp(2.3rem, 5vw, 5rem); max-width: 16ch; }
