/* Baumpflege Seiffert – Lutherstadt Wittenberg
   Farben und Schrift der alten Avada-Seite (Orange #f86011, Schwarz, Hellgrau #f4f4f6, DM Sans),
   darüber eine ruhige Apple-Ebene: Glasflächen, große Typografie, Bildmasken, Parallaxe, Federn.
   Alles Bewegte nur mit html.anim (wird von main.js gesetzt, nicht bei „Bewegung reduzieren“). */

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

:root {
  --bg: #ffffff;
  --bg-2: #f4f4f6;
  --bg-3: #ececf0;
  --ink: #0a0a0a;
  --text: #111113;
  --text-2: #3a3a40;
  --muted: #66666e;
  --line: rgba(10, 10, 12, .09);
  --line-2: rgba(10, 10, 12, .16);
  --accent: #f86011;          /* Markenorange der alten Seite – Flächen, Icons, Fortschritt */
  --accent-strong: #cc4400;   /* für weiße Schrift (Kontrast ≥ 4,5 : 1) und Links */
  --accent-soft: #fff1e8;
  --accent-glow: rgba(248, 96, 17, .35);
  --night: #000000;
  --night-2: #141416;
  --on-night: #f5f5f7;
  --on-night-muted: #a1a1aa;
  --gold: #f8cc23;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 40px -18px rgba(0, 0, 0, .22);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .05), 0 40px 90px -36px rgba(0, 0, 0, .4);
  --radius: 22px;
  --radius-lg: 32px;
  --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: 1320px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --header-h: 76px;
  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.125rem/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 860px); }
.section { padding-block: clamp(72px, 10vw, 140px); }

/* ---------- Typografie ---------- */
.display { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.04; letter-spacing: -.05em; }
.display-sm { font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.05em; }
.h-xl { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -.045em; }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.04em; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.h-sm { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; font-weight: 600; color: var(--ink); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--text-2); line-height: 1.55; max-width: 60ch; }
.lead-xl { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.025em; color: var(--ink); font-weight: 500; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1.1em; }
.eyebrow.on-dark { color: #ffb48a; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--text-2); margin-bottom: 1.2em; }
.kicker-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); }
.kicker-ic .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.link-arrow .icon { transition: transform .5s var(--spring); }
.link-arrow:hover .icon { transform: translateX(5px); }
.center-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.center-head .lead { margin-inline: auto; }
.split-head { display: grid; gap: 24px 64px; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Knöpfe ---------- */
.btn {
  --b: var(--bg-2); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--b); color: var(--c); font: 600 1rem/1 inherit; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--spring), background-color .3s, box-shadow .4s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { --b: var(--accent-strong); --c: #fff; box-shadow: 0 10px 30px -12px var(--accent-glow); }
.btn-primary:hover { --b: #b33c00; box-shadow: 0 16px 38px -14px var(--accent-glow); }
.btn-tint { --b: var(--accent-soft); --c: var(--accent-strong); }
.btn-tint:hover { --b: #ffe3d1; }
.btn-dark { --b: var(--ink); --c: #fff; }
.btn-dark:hover { --b: #2a2a2e; }
.btn-soft { --b: var(--bg-2); --c: var(--ink); }
.btn-soft:hover { --b: var(--bg-3); }
.btn-glass { --c: var(--ink); background: rgba(255, 255, 255, .55); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 8px 24px -14px rgba(0, 0, 0, .3); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: transform .5s var(--spring), background-color .3s; }
.round-btn:hover { transform: scale(1.06); background: var(--bg-3); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.round-btn.on-dark { background: rgba(255, 255, 255, .12); color: #fff; }
.round-btn.on-dark:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--accent), #ffb27f); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- Kopfleiste ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.notice { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px var(--gutter); background: var(--ink); color: #fff; font-size: .92rem; text-align: center; }
.header-bar {
  display: flex; align-items: center; gap: 18px; height: var(--header-h);
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, height .4s var(--ease), box-shadow .4s;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .header-bar { background: rgba(255, 255, 255, .72); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); }
}
.site-header.is-scrolled .header-bar { height: 64px; border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; transition: transform .6s var(--spring), width .4s var(--ease), height .4s var(--ease); }
.site-header.is-scrolled .brand img { width: 44px; height: 44px; }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand-name { font-size: 1.08rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.brand-name b { font-weight: 600; }
.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 1.02rem; color: var(--text-2); transition: background-color .3s, color .3s; }
.main-nav a:hover { background: var(--bg-2); color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); background: var(--bg-2); }
.nav-caret { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav-drop { position: relative; }
.nav-panel {
  position: absolute; left: 50%; top: calc(100% + 10px); width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: 50% 0;
  transition: opacity .3s, transform .5s var(--spring), visibility 0s .3s;
}
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.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-drop:hover .nav-caret { transform: rotate(180deg); }
.nav-card { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink); }
.nav-card:hover { background: var(--bg-2); }
.nav-card small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.nav-card-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: var(--bg-2); }
.nav-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nav-card:hover .nav-card-img img { transform: scale(1.1); }
.head-phone { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.head-phone:hover { background: #ffe3d1; }
.head-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 14px; border: 0; border-radius: 999px; background: transparent; font: 500 1rem inherit; color: var(--ink); cursor: pointer; }
.menu-lines { display: grid; gap: 5px; width: 22px; }
.menu-lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.menu-lines i:last-child { width: 14px; justify-self: end; }
@media (min-width: 1000px) {
  .main-nav { display: flex; }
  .head-phone { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1180px) { .head-cta { display: inline-flex; } }
@media (max-width: 420px) { .brand-name { display: none; } }

.menu { position: fixed; inset: 0; z-index: 150; background: rgba(250, 250, 252, .8); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6); }
.menu-panel { display: flex; flex-direction: column; height: 100%; padding: 22px var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; }
.menu-close { align-self: flex-end; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; }
.menu nav { display: grid; gap: 2px; margin-block: 24px auto; }
.menu nav a { font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; text-decoration: none; padding: 6px 0; color: var(--ink); }
.menu nav a.sub { font-size: 1.15rem; letter-spacing: -.01em; color: var(--text-2); padding: 4px 0 4px 16px; }
.menu nav a[aria-current] { color: var(--accent-strong); }
.menu-foot { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Video-Kopf ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; padding-block: clamp(36px, 6vw, 72px) clamp(60px, 9vw, 110px); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #efe6c8; transform-origin: 50% 0;
  clip-path: inset(0 calc(var(--hp, 0) * 3%) 0 calc(var(--hp, 0) * 3%) round calc(var(--hp, 0) * 40px)); }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(calc(1.06 - var(--hp, 0) * .06)); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 250, 238, .82) 0%, rgba(255, 250, 238, .5) 34%, rgba(255, 250, 238, 0) 62%),
              linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(255, 255, 255, .9) 100%); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-copy { max-width: 680px; transform: translateY(calc(var(--hp, 0) * -80px)); opacity: calc(1 - var(--hp, 0) * 1.4); }
.hero-copy .eyebrow { color: var(--accent-strong); }
.hero-copy .btn-row { margin-top: 32px; }
.hero-card { width: 100%; max-width: 440px; justify-self: end; transform: translateY(calc(var(--hp, 0) * -40px)); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.25fr 1fr; } }
@media (max-width: 999px) {
  .hero-shade { background: linear-gradient(180deg, rgba(255, 250, 238, .72) 0%, rgba(255, 250, 238, .3) 42%, rgba(255, 255, 255, .9) 100%); }
  .hero-card { justify-self: stretch; max-width: none; }
}
.video-toggle { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); cursor: pointer; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(0, 0, 0, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
.anim .scroll-cue span { animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 999px) { .scroll-cue { display: none; } }

/* ---------- Glaskarten & Rückruf ---------- */
.glass-card {
  background: rgba(255, 255, 255, .78); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), var(--shadow-lg);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass-card { background: rgba(255, 255, 255, .62); backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8); }
}
.callback-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: 20px; }
.callback-head .muted { font-size: 1rem; margin-bottom: 6px; }
.callback-title { font-size: 1.6rem; margin: 6px 0 0; letter-spacing: -.03em; }
.avatar { display: block; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 10px 24px -10px rgba(0, 0, 0, .4); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Leitsatz ---------- */
.intro { padding-bottom: clamp(24px, 4vw, 48px); }
.intro-text { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; color: var(--ink); max-width: 22ch; margin: 0 auto; text-align: center; text-wrap: balance; }
[data-words] .w { transition: opacity .35s, color .35s; }
.anim [data-words] .w { opacity: .18; }
.anim [data-words] .w.on { opacity: 1; }
[data-words] .w.hot { color: var(--accent-strong); }

/* ---------- Bild-Text-Reihen ---------- */
.rows .row { padding-block: clamp(48px, 7vw, 96px); }
.row-grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .row-grid { grid-template-columns: 1fr 1fr; }
  .row.is-flip .row-media { order: 2; }
}
.row-media { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.row-media-inner { display: block; height: 100%; }
.row-media img, .row-media-inner img { width: 100%; height: 100%; object-fit: cover; }
.row-copy { max-width: 560px; }
.row-text { color: var(--text-2); margin-bottom: 28px; }

/* Maske: Bild öffnet sich beim ersten Erscheinen, dann Parallaxe */
.anim [data-mask] { clip-path: inset(14% 10% 14% 10% round 40px); transition: clip-path 1.4s var(--ease); }
.anim [data-mask].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.anim [data-mask] img { transform: scale(1.22); transition: transform 1.8s var(--ease); }
.anim [data-mask].is-in img { transform: scale(1); }
.anim [data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }

/* ---------- Bento ---------- */
.spec { background: var(--bg-2); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; }
  .bento-0 { grid-row: span 2; }
  .bento-3 { grid-column: span 2; }
}
.bento-tile {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; align-items: flex-end; min-height: 300px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: #fff; isolation: isolate; background: var(--night-2);
  box-shadow: var(--shadow); transition: box-shadow .6s;
}
.bento-tile:hover { box-shadow: var(--shadow-lg); }
.bento-img { position: absolute; inset: 0; z-index: -2; }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento-tile:hover .bento-img img { transform: scale(1.06); }
.bento-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .86) 100%); }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 60%); }
.bento-tile:hover::after { opacity: 1; }
.bento-text { display: grid; gap: 6px; max-width: 34ch; }
.bento-text .h-sm { color: #fff; font-size: 1.45rem; }
.bento-sub { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); font-size: .98rem; line-height: 1.4; }
.bento-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; margin-bottom: 6px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bento-tile .round-btn { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.bento-tile:hover .round-btn { background: var(--accent); color: #fff; transform: rotate(45deg); }

/* ---------- Anrufleiste ---------- */
.callbar-wrap { padding-block: clamp(36px, 5vw, 64px); position: relative; z-index: 2; }
.callbar {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 18px; padding: 16px; border-radius: 28px;
  background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.callbar .avatar { width: 60px; height: 60px; box-shadow: none; }
.callbar-who { display: grid; margin: 0; line-height: 1.25; }
.callbar-who span { color: var(--muted); font-size: .92rem; }
.callbar-text { grid-column: 1 / -1; margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.callbar .btn { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .callbar { grid-template-columns: auto auto 1fr auto; padding: 14px 14px 14px 18px; border-radius: 999px; }
  .callbar-text, .callbar .btn { grid-column: auto; }
  .callbar-text { padding-left: 18px; border-left: 1px solid var(--line); }
}

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; padding-block: 18px; border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: 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: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
.marquee-track .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
html:not(.anim) .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
html:not(.anim) .marquee-track li[aria-hidden] { display: none; }

/* ---------- Reiter „Unsere Leistungen“ ---------- */
.tabs-grid { display: grid; gap: 40px; align-items: stretch; }
@media (min-width: 900px) { .tabs-grid { grid-template-columns: 2fr 1fr; gap: 64px; } }
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin: 8px 0 28px; border-radius: 999px; background: var(--bg-2); }
.seg-btn { position: relative; z-index: 1; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 600 1rem inherit; color: var(--text-2); cursor: pointer; transition: color .3s; }
.seg-btn[aria-selected="true"] { color: var(--ink); }
.seg-pill { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .25); transition: transform .6s var(--spring), width .6s var(--spring), height .4s; }
html:not(.js) .seg-pill { display: none; }
html:not(.js) .seg-btn[aria-selected="true"] { background: #fff; }
.ticks { display: grid; gap: 4px; padding: 0; margin: 0 0 28px; list-style: none; }
@media (min-width: 600px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.ticks .icon { color: var(--accent); width: 20px; height: 20px; }
.anim .tab-panel:not([hidden]) li { animation: tickIn .7s var(--ease) both; }
.anim .tab-panel li:nth-child(2) { animation-delay: .05s; } .anim .tab-panel li:nth-child(3) { animation-delay: .1s; }
.anim .tab-panel li:nth-child(4) { animation-delay: .15s; } .anim .tab-panel li:nth-child(5) { animation-delay: .2s; } .anim .tab-panel li:nth-child(6) { animation-delay: .25s; }
@keyframes tickIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.tabs-media { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.tabs-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.tabs-img.is-on { opacity: 1; transform: none; }
.tabs-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galerie ---------- */
.gallery-section { background: linear-gradient(216deg, var(--bg-2) 0%, #fff 70%); }
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.mason-item { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.mason-item a { display: block; overflow: hidden; border-radius: inherit; }
.mason-item img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.mason-item a:hover img { transform: scale(1.04); }
.anim .mason-item[data-mask].is-in a:hover img { transform: scale(1.04); }
.mason-item a { cursor: zoom-in; }

.band-section { padding-block: clamp(40px, 6vw, 80px) 0; }
.band { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); padding: 8px max(var(--gutter), calc((100% - var(--wrap)) / 2)) 24px; scrollbar-width: none; }
.band::-webkit-scrollbar { display: none; }
.band-item { flex: 0 0 min(75vw, 420px); margin: 0; scroll-snap-align: start; }
.band-item a { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.band-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.band-item a:hover img { transform: scale(1.05); }
.band-item figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.band-nav { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Kundenstimmen ---------- */
.reviews { background: var(--night); color: var(--on-night); }
.reviews-copy h2 { color: #fff; }
.reviews .lead { color: var(--on-night-muted); }
.reviews-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: 1.15fr 1fr; gap: 80px; } }
.reviews-card { width: 100%; max-width: 460px; justify-self: center; }
.reviews-card .glass-card { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.quotes { margin-top: 40px; }
.quotes-stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s, visibility 0s .8s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.quote blockquote { margin: 14px 0 18px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -.02em; color: #fff; }
.quote figcaption { font-weight: 600; color: var(--on-night-muted); }
.quote figcaption::before { content: "— "; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.quotes-nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quotes-dots { display: flex; gap: 6px; }
.quotes-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: width .5s var(--spring), background-color .3s; }
.quotes-dots i.is-on { width: 26px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; } .faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); flex: none; transition: background-color .3s, transform .5s var(--spring); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { overflow: hidden; color: var(--text-2); padding-bottom: 22px; max-width: 70ch; }

/* ---------- Abschluss ---------- */
.closing { position: relative; overflow: hidden; padding-block: clamp(90px, 12vw, 170px); text-align: center; background: #fbf6ea; isolation: isolate; }
.closing-bg { position: absolute; inset: -10% 0; z-index: -2; opacity: .55; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(251, 246, 234, .9), rgba(251, 246, 234, .55)); }
.closing-inner { display: grid; justify-items: center; }
.closing .lead { margin-inline: auto; }
.closing-phone { display: inline-flex; align-items: center; gap: 14px; margin: 18px 0 30px; font-size: clamp(2rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: -.05em; color: var(--ink); text-decoration: none; }
.closing-phone .icon { width: .8em; height: .8em; color: var(--accent); }
.closing-phone:hover { color: var(--accent-strong); }

/* ---------- Fuß ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer-top { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { width: 96px; margin-bottom: 16px; }
.footer-brand p { max-width: 32ch; }
.footer-title { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-strong); }
.footer-links { display: grid; gap: 6px; }
.footer-word { margin: clamp(40px, 6vw, 80px) 0 -.18em; text-align: center; font-size: clamp(5rem, 22vw, 20rem); font-weight: 600; letter-spacing: -.07em; line-height: .9; color: transparent; background: linear-gradient(180deg, var(--bg-3), #fff 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer-last { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); position: relative; background: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 999px) { .site-footer { padding-bottom: 76px; } }

/* ---------- Dock (mobil) ---------- */
.dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90; display: flex; gap: 8px; padding: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 16px 40px -16px rgba(0, 0, 0, .45);
  transform: translate(-50%, 140%); transition: transform .7s var(--spring); }
.dock.is-on { transform: translate(-50%, 0); }
.dock .btn { min-height: 46px; }
@media (min-width: 1000px) { .dock { display: none; } }

/* ---------- Seitenköpfe ---------- */
.page-hero { position: relative; display: grid; align-items: end; min-height: min(70svh, 640px); padding-block: 120px clamp(48px, 6vw, 80px); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero.is-plain { min-height: 0; padding-block: clamp(64px, 9vw, 120px) clamp(24px, 4vw, 48px); color: var(--text); }
.page-hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .72) 100%); }
.page-hero:not(.is-plain) h1 { color: #fff; }
.page-hero:not(.is-plain) .lead { color: rgba(255, 255, 255, .88); }
.page-hero:not(.is-plain) .eyebrow { color: #ffc29f; }
.page-hero-inner { max-width: 920px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: auto; }
.page-hero.is-plain .page-hero-inner { margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .92rem; margin-bottom: 18px; color: rgba(255, 255, 255, .85); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .icon { width: 14px; height: 14px; }

/* ---------- Leistungen (Übersicht) ---------- */
.svc-list { display: grid; gap: clamp(64px, 9vw, 130px); }
.svc { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .svc { grid-template-columns: 1.1fr 1fr; } .svc.is-flip .svc-media { order: 2; } }
.svc-media { display: block; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-copy h2 a { text-decoration: none; }
.svc-copy h2 a:hover { color: var(--accent-strong); }
.svc-copy > p { color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 28px; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg-2); font-size: .92rem; font-weight: 500; }
.steps-section { background: var(--bg-2); }
.steps { display: grid; gap: 16px; padding: 0; margin: 40px 0 0; list-style: none; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.step-n { position: absolute; top: 20px; right: 24px; font-size: 3rem; font-weight: 600; letter-spacing: -.06em; color: var(--bg-3); line-height: 1; }
.step-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 18px; }
.step p { color: var(--text-2); font-size: 1rem; }

/* ---------- Leistungsseite ---------- */
.project-hero { position: relative; display: grid; align-items: end; min-height: min(84svh, 760px); padding-block: 120px clamp(48px, 6vw, 84px); color: #fff; overflow: hidden; isolation: isolate; background: var(--night-2); }
.project-hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero .hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .78) 100%); }
.project-hero h1 { color: #fff; }
.project-place { font-size: 1.2rem; color: rgba(255, 255, 255, .85); }
.project-body { display: grid; gap: 48px; }
@media (min-width: 1000px) { .project-body { grid-template-columns: 1.7fr 1fr; gap: 80px; } .project-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; } }
.project-main .lead-xl { margin-bottom: 1.4em; }
.prose { color: var(--text-2); }
.prose ul { padding: 0; list-style: none; display: grid; gap: 2px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.prose strong { color: var(--ink); }
.facts { display: grid; margin: 0 0 20px; border-radius: var(--radius); background: var(--bg-2); padding: 6px 22px; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 500; color: var(--ink); }
.aside-cta { display: grid; gap: 10px; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.aside-cta p { margin: 0; }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; }
.frame-video { width: 100%; }
.next-project { position: relative; display: grid; align-items: center; min-height: 52svh; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; background: var(--night); }
.next-bg { position: absolute; inset: -10% 0; z-index: -2; opacity: .6; }
.next-bg img { width: 100%; height: 100%; object-fit: cover; }
.next-project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2)); }
.next-inner { display: grid; gap: 14px; justify-items: start; }
.next-inner .h-xl { color: #fff; }
.next-project .round-btn { background: var(--accent); color: #fff; transition: transform .6s var(--spring); }
.next-project:hover .round-btn { transform: translateX(10px); }

/* ---------- Kontakt ---------- */
.contact-intro { padding-top: clamp(24px, 4vw, 48px); }
.contact-person { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .contact-person { grid-template-columns: 2fr 3fr; } }
.contact-photo { margin: 0; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-quote { margin: 24px 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent); font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.contact-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent-strong); }
.ccard-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); flex: none; }
.contact-section { background: var(--bg-2); }
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; } }
.contact-form { background: #fff; }
.contact-side { display: grid; gap: 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
.contact-side .glass-card { background: #fff; }
.trust { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; font-size: .98rem; color: var(--text-2); }
.trust-ic { color: var(--accent-strong); }

/* ---------- Formular ---------- */
.qform { position: relative; }
.qform-fields { display: grid; gap: 12px; }
.frow { display: grid; gap: 12px; }
@media (min-width: 640px) { .frow { grid-template-columns: 1fr 1fr; } }
.fld { position: relative; }
.fld input, .fld textarea, .fld select {
  width: 100%; min-height: 58px; padding: 24px 16px 8px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, .9);
  font: 400 1.05rem/1.4 inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none;
}
.fld textarea { resize: vertical; min-height: 140px; }
.fld select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fld label { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label,
.fld.is-select label { transform: translateY(-11px) scale(.76); }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(248, 96, 17, .18); background: #fff; }
.fld [aria-invalid="true"] { border-color: #c81e1e; }
.field-err { display: block; margin-top: 6px; font-size: .9rem; color: #b41818; }
.form-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fdecec; color: #8e1414; font-size: .95rem; margin: 0; }
.form-note { font-size: .86rem; color: var(--muted); line-height: 1.5; margin: 2px 0 4px; }
.form-note a, .check a { color: var(--accent-strong); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent-strong); }
.check .field-err { grid-column: 2; }
.check.is-invalid { color: #8e1414; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-send { position: relative; justify-self: start; }
.btn-send.btn-block { 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; }
.qform.is-busy .send-busy { display: block; }
.qform.is-busy .btn-send .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.qform.is-sent .qform-fields { display: none; }
.qform-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 24px 6px; }
.qform-done[hidden] { display: none; }
.check-anim { width: 64px; height: 64px; }
.check-anim circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Rechtstexte ---------- */
.legal-hero { padding-block: clamp(56px, 8vw, 110px) 24px; }
.legal-hero .title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); text-decoration: none; font-size: .92rem; }
.toc a:hover { background: var(--bg-3); }
.legal { padding-bottom: clamp(72px, 10vw, 130px); max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; letter-spacing: -.025em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; font-weight: 600; letter-spacing: -.015em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--accent-strong); }
.legal-box { padding: 20px 24px; border-radius: var(--radius); background: var(--bg-2); margin: 1.4em 0; }

/* ---------- Großansicht ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 10, 12, 0); backdrop-filter: blur(0); transition: background-color .4s, backdrop-filter .4s; }
.lightbox.is-open::backdrop { background: rgba(10, 10, 12, .88); backdrop-filter: blur(16px); }
.lightbox img { position: absolute; left: 50%; top: 50%; max-width: min(92vw, 1600px); max-height: 82vh; width: auto; transform: translate(-50%, -50%); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox-bar { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; transform: translateX(-50%); color: #fff; }
.lightbox-bar .round-btn { background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox-count { font-variant-numeric: tabular-nums; min-width: 4em; text-align: center; }

/* ---------- Wartungsmodus ---------- */
.mt { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 32px var(--gutter) 80px; background: #fbf6ea; isolation: isolate; overflow: hidden; }
.mt-bg { position: absolute; inset: 0; z-index: -1; }
.mt-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.mt-card { width: min(100%, 520px); text-align: center; display: grid; justify-items: center; }
.mt-logo { width: 96px; height: auto; margin-bottom: 18px; }
.mt-text { color: var(--text-2); margin-bottom: 24px; }
.mt-actions { display: grid; gap: 10px; width: 100%; }
.mt-addr { margin-top: 20px; font-size: .9rem; }
.mt-legal { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; justify-content: center; gap: 22px; font-size: .92rem; }
.mt-legal a { text-decoration: none; color: var(--text-2); background: rgba(255, 255, 255, .7); padding: 6px 12px; border-radius: 999px; }
.mt-legal a:hover { color: var(--accent-strong); }
.mt-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 9px var(--gutter); background: var(--accent-strong); color: #fff; font-size: .92rem; font-weight: 500; text-align: center; }
.mt-bar a { color: #fff; font-weight: 700; }

/* ---------- 404 ---------- */
.is-404 { min-height: 60svh; display: grid; align-content: center; }

/* ---------- Einblendungen (nur mit Bewegung) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.anim [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.anim [data-line] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.anim [data-line].is-in { opacity: 1; transform: none; }
/* Überschriften Wort für Wort */
[data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .sw > span { display: inline-block; }
.anim [data-split] .sw > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
.anim [data-split].is-in .sw > span { transform: none; }

@media (prefers-reduced-transparency: reduce) {
  .header-bar, .glass-card, .nav-panel, .dock, .menu, .btn-glass { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-media, .hero-video, .hero-copy, .hero-card { clip-path: none !important; transform: none !important; opacity: 1 !important; }
}
@media print {
  .site-header, .dock, .menu, .progress, .closing, .video-toggle, .scroll-cue, .hero-media { display: none !important; }
  .anim [data-reveal], .anim [data-line], .anim [data-split] .sw > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}
