/* Degen-Gellenbeck · Insolvenzrecht und Sanierung · Nürnberg (v5)
   Welt: Nürnberger Sandstein, Abendlicht, Marineblau. Bildgeführt, mit Menschen.
   Schrift: Systemschrift (San Francisco auf Apple-Geräten), sonst lokal eingebundene Inter.
   Keine Anfragen an Drittanbieter. */

@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f0ea;
  --paper: #fbf9f6;
  --sand: #e8ddce;
  --ink: #17202a;
  --ink-2: #47525e;
  --ink-3: #66707b;
  --line: rgb(23 32 42 / .12);
  --line-2: rgb(23 32 42 / .2);
  --navy: #14212e;
  --navy-2: #1c2d3d;
  --on-navy: #f4f0ea;
  --on-navy-2: #aab6c2;
  --accent: #b3402a;
  --accent-2: #9a3520;
  --accent-light: #f0a48e;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --wrap: 1360px;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 30px 60px -30px rgb(20 33 46 / .35), 0 2px 6px rgb(20 33 46 / .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.008em; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--accent-light); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Typografie */
.h-xl { font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 700; line-height: .98; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h-md { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 680; line-height: 1.12; letter-spacing: -0.024em; margin: 0; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; letter-spacing: -0.014em; color: var(--ink-2); margin: 0; }
.small { font-size: .875rem; color: var(--ink-3); letter-spacing: 0; }
.label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0; }
.accent { color: var(--accent); }

/* Schaltflächen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.5rem; border-radius: var(--r-sm); border: 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; white-space: nowrap; transition: transform .14s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .3s var(--ease); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px rgb(179 64 42 / .8); }
.btn-glass { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9375rem; }
.tlink { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--accent); }
.tlink .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: var(--accent-2); }
  .btn-glass:hover, .btn-line:hover { background: rgb(255 255 255 / .22); }
  .btn-paper:hover { background: #fff; }
  .btn-ink:hover { background: #000; }
  .btn:hover .icon.go, .tlink:hover .icon { transform: translateX(4px); }
}

/* Kopfzeile */
.header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; transition: height .3s var(--ease); }
.header.solid { background: rgb(251 249 246 / .92); color: var(--ink); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line), 0 16px 30px -24px rgb(20 33 46 / .4); }
.header.solid .header-in { height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; line-height: 1.1; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { width: 30px; height: 36px; flex: none; fill: var(--accent); transition: transform .4s var(--ease); }
.header:not(.solid) .brand-mark, .footer .brand-mark { fill: var(--accent-light); }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand-mark { transform: translateY(-2px); } }
.brand b { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-text span { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; opacity: .78; margin-top: .25rem; font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav ul { display: flex; gap: clamp(.9rem, 1.8vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: .75rem 0; font-size: .9375rem; font-weight: 550; opacity: .9; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a[aria-current]::after { transform: scaleX(1); }
.header.solid .nav ul a[aria-current] { color: var(--accent); }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; min-height: 44px; white-space: nowrap; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle span:nth-child(1) { transform: translateY(-4px); }
.nav-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { transform: rotate(-45deg); }
.menu-open .header { background: transparent; color: var(--on-navy); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover::after { transform: scaleX(1); } .nav-phone:hover { text-decoration: underline; text-underline-offset: .25em; } }

.sheet { position: fixed; inset: 0; z-index: 55; padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; background: var(--navy); color: var(--on-navy); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li { border-bottom: 1px solid rgb(255 255 255 / .14); }
.sheet a.sheet-link { display: block; padding: 1.05rem 0; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }
.sheet-foot { margin-top: auto; display: grid; gap: .75rem; }
.sheet-foot p { margin: 0; color: var(--on-navy-2); }
.sheet-foot p a { color: var(--on-navy); font-weight: 600; display: inline-block; padding: .6rem 0; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: #2a2019; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(16 22 30 / .82) 0%, rgb(16 22 30 / .55) 34%, rgb(16 22 30 / 0) 62%),
  linear-gradient(180deg, rgb(16 22 30 / .5) 0%, rgb(16 22 30 / 0) 22%, rgb(16 22 30 / 0) 62%, rgb(16 22 30 / .7) 100%); }
.hero-body { padding-top: 140px; padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.hero-body .label { color: var(--accent-light); margin-bottom: 1.4rem; }
.hero h1 { max-width: 9.5em; }
.hero .lead { color: rgb(255 255 255 / .88); max-width: 31em; margin-top: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero-strip { border-top: 1px solid rgb(255 255 255 / .22); background: rgb(16 22 30 / .36); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-strip dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-strip dl > div { padding: 1.25rem 1.5rem 1.35rem 0; }
.hero-strip dl > div + div { padding-left: 1.5rem; border-left: 1px solid rgb(255 255 255 / .18); }
.hero-strip dt { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: rgb(255 255 255 / .7); font-weight: 600; }
.hero-strip dd { margin: .3rem 0 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }

/* Abschnitte */
.section { padding: clamp(5.5rem, 11vw, 10rem) 0; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.25rem); max-width: 54rem; }
.section-head .lead { margin-top: 1.25rem; max-width: 36em; }
.section-head .label { margin-bottom: 1.1rem; }

/* Einstieg: Leitsatz und Beratungsbild */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.intro-text .statement { font-size: clamp(1.9rem, 3.7vw, 3.35rem); font-weight: 680; line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.statement .w { opacity: .5; }
.intro-text .body { margin: 1.75rem 0 0; color: var(--ink-2); max-width: 34em; font-size: 1.125rem; }
.intro-text .tlink { margin-top: 1.25rem; }
.stack { position: relative; padding: 0 0 3.5rem 2.5rem; }
.stack-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--sand); }
.stack-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 0; }
.float { position: absolute; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.15rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; max-width: 19.5rem; }
.float .icon { width: 30px; height: 30px; color: var(--accent); margin-top: .1rem; }
.float b { display: block; font-weight: 680; letter-spacing: -0.015em; }
.float span { display: block; color: var(--ink-3); font-size: .9rem; line-height: 1.4; margin-top: .15rem; }
.float-a { left: 0; bottom: 0; }
.float-b { right: -1.25rem; top: auto; bottom: 8.5rem; background: var(--accent); color: #fff; }
.float-b .icon { color: #fff; }
.float-b span { color: rgb(255 255 255 / .9); }

/* Leistungen: Liste mit Bildbühne */
.services { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc-item { border-bottom: 1px solid var(--line-2); }
.svc-btn { width: 100%; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: 1.35rem 0; background: none; border: 0; cursor: pointer; text-align: left; }
.svc-btn .n { font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color .25s var(--ease); }
.svc-btn .t { font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; transition: color .25s var(--ease), transform .4s var(--ease); hyphens: manual; }
.svc-btn .chev { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease), box-shadow .25s; }
.svc-btn .chev .icon { width: 16px; height: 16px; }
.svc-item.on .svc-btn .t, .svc-item.on .svc-btn .n { color: var(--accent); }
.svc-item.on .svc-btn .chev { background: var(--accent); color: #fff; box-shadow: none; transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .svc-item:not(.on) .svc-btn:hover .t { transform: translateX(8px); } }
.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc-item.on .svc-panel { grid-template-rows: 1fr; }
.svc-panel > div { overflow: hidden; }
.svc-inner { padding: 0 0 1.75rem 3.1rem; max-width: 37rem; }
.svc-inner p { margin: 0; color: var(--ink-2); }
.svc-inner ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-inner li { font-size: .875rem; font-weight: 550; padding: .4rem .75rem; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.svc-inner .tlink { margin-top: .75rem; }
.svc-inner figure { display: none; margin: 1.25rem 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-inner figure img { width: 100%; height: 100%; object-fit: cover; }
.stage { position: sticky; top: 100px; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%; border-radius: var(--r); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), transform 1.1s var(--ease), opacity 0s linear .7s; z-index: 1; }
.stage img.on { opacity: 1; transform: none; clip-path: inset(0); z-index: 2; transition: clip-path .7s var(--ease-io), transform 1.1s var(--ease), opacity 0s; }

/* Ablauf */
.flow { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.flow .label { color: var(--accent-light); }
.flow .lead { color: var(--on-navy-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { counter-increment: s; position: relative; padding: 2.25rem 1.75rem 0 0; border-top: 1px solid rgb(255 255 255 / .2); }
.step::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent-light); }
.step::after { content: "0" counter(s); display: block; position: absolute; right: 1.5rem; top: 1.4rem; font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: rgb(255 255 255 / .07); font-variant-numeric: tabular-nums; pointer-events: none; }
.step h3 { position: relative; z-index: 1; }
.step p { position: relative; z-index: 1; margin: .7rem 0 0; color: var(--on-navy-2); font-size: 1rem; max-width: 19em; }

/* Kanzlei: Bildband mit Karte */
.band { position: relative; }
.band-img { height: clamp(380px, 68vh, 760px); overflow: hidden; background: var(--sand); }
.band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.band-card { position: relative; z-index: 2; margin-top: clamp(-13rem, -16vw, -6rem); margin-left: auto; width: min(640px, 100%); background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(1.75rem, 3.6vw, 3.25rem); }
.band-card .label { margin-bottom: 1rem; }
.band-card p { margin: 1.1rem 0 0; color: var(--ink-2); }
.values { list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values li { padding: 0 2rem 0 0; }
.values li + li { padding-left: 2rem; border-left: 1px solid var(--line-2); }
.values .icon { width: 34px; height: 34px; color: var(--accent); }
.values h3 { margin-top: 1.1rem; }
.values p { margin: .5rem 0 0; color: var(--ink-2); max-width: 24em; }

/* Team */
.team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.team-side { position: sticky; top: 110px; }
.team-side .lead { margin-top: 1.25rem; }
.lead-card { background: var(--navy); color: var(--on-navy); border-radius: var(--r); padding: clamp(1.6rem, 3.4vw, 2.75rem); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; }
.mono { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sand); color: var(--ink); font-weight: 680; font-size: .95rem; }
.lead-card .mono { width: clamp(80px, 9vw, 112px); height: clamp(80px, 9vw, 112px); background: var(--accent); color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; }
.lead-card .name { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; margin: 0; }
.lead-card .role { margin: .45rem 0 0; color: var(--accent-light); font-weight: 600; }
.lead-card .bio { margin: .7rem 0 0; color: var(--on-navy-2); max-width: 36em; }
.people { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.people li { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-2); }
.people .name { margin: 0; font-weight: 650; letter-spacing: -0.018em; line-height: 1.25; }
.people .role { margin: .1rem 0 0; color: var(--ink-3); font-size: .9rem; line-height: 1.3; }
.people li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Fragen */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; position: sticky; top: 110px; background: var(--sand); }
.faq-img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.faq { border-top: 1px solid var(--line-2); margin-top: 2.25rem; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--ink-3); transition: transform .2s var(--ease); }
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 2.5rem 1.5rem 0; color: var(--ink-2); max-width: 40em; }
.faq .answer p { margin: 0 0 .7rem; }

/* Kontakt */
.contact { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, rgb(255 255 255 / .14), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgb(60 12 4 / .35), transparent 60%); pointer-events: none; }
.contact .wrap { position: relative; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: end; }
.contact .lead { color: rgb(255 255 255 / .9); margin-top: 1.25rem; max-width: 30em; }
.phone { display: inline-block; margin-top: 2rem; font-size: clamp(2.4rem, 6.2vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.facts { margin: 0; }
.facts > div { padding: 1.1rem 0; border-top: 1px solid rgb(255 255 255 / .3); display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
.facts > div:last-child { border-bottom: 1px solid rgb(255 255 255 / .3); }
.facts dt { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: rgb(255 255 255 / .82); padding-top: .2rem; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.4; }
.facts .hours { display: grid; grid-template-columns: auto 1fr; gap: 0 .9rem; font-variant-numeric: tabular-nums; }
.facts a { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }

/* Fußzeile */
.footer { background: var(--navy); color: var(--on-navy-2); padding: clamp(2.5rem, 5vw, 4rem) 0 2.25rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
.footer .brand { color: var(--on-navy); }
.footer-note { max-width: 34em; margin: 0; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; padding-top: 1rem; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.footer nav a { display: inline-block; padding: .75rem 0; color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover, .facts a:hover { text-decoration: underline; text-underline-offset: .22em; } .phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; } }

/* Rechtstexte */
.legal-hero { background: var(--navy); color: var(--on-navy); padding: clamp(9rem, 18vh, 12rem) 0 clamp(2.5rem, 5vw, 4rem); }
.legal-hero .lead { color: var(--on-navy-2); margin-top: 1rem; max-width: 36em; }
.legal { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem); }
.legal-body { max-width: 780px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(1.75rem, 5vw, 3.5rem); }
.legal-body h2 { font-size: 1.35rem; font-weight: 680; letter-spacing: -0.022em; line-height: 1.2; margin: 2.5rem 0 .6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li, .legal-body address { color: var(--ink-2); font-style: normal; line-height: 1.6; }
.legal-body p { margin: 0 0 .9rem; }
.legal-body ul { padding-left: 1.2rem; margin: 0 0 .9rem; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.legal-body .callout { background: var(--bg); border-radius: var(--r-sm); padding: 1rem 1.15rem; font-size: .95rem; }
.ph { background: #ffe58a; color: #4a3a00; padding: 0 .3em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Einblenden: ohne JS sofort sichtbar */
.js .fx { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .fx.in { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io); }
.js .wipe.in { clip-path: inset(0); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }
.js .hero-body > * { animation: rise 1s var(--ease) backwards; }
.js .hero-body > :nth-child(2) { animation-delay: .08s; }
.js .hero-body > :nth-child(3) { animation-delay: .16s; }
.js .hero-body > :nth-child(4) { animation-delay: .24s; }
.js .hero-strip { animation: fade 1.2s var(--ease) .5s backwards; }

.card p, .svc-inner p, .step p, .values p, .faq .answer p, .band-card p { hyphens: auto; hyphenate-limit-chars: 10 4 4; text-wrap: pretty; }

@media (prefers-reduced-transparency: reduce) {
  .header.solid { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-strip { background: rgb(16 22 30 / .85); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html.js:not(.force-motion) .fx { transform: none; transition: opacity .5s var(--ease); }
  html.js:not(.force-motion) .wipe { clip-path: none; }
  html:not(.force-motion) .hero-body > *, html:not(.force-motion) .hero-strip { animation-name: fade; }
  html:not(.force-motion) .stage img { transform: none; clip-path: none; transition: opacity .3s var(--ease); }
  html:not(.force-motion) .stage img.on { transition: opacity .3s var(--ease); }
  html:not(.force-motion) .svc-panel { transition: none; }
}

/* Responsiv */
@media (max-width: 1100px) {
  .nav-phone span { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 0; }
  .team-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .team-side, .faq-img { position: static; }
  .faq-img { aspect-ratio: 16 / 9; max-width: 720px; }
}
@media (max-width: 920px) {
  .nav ul, .nav .btn, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .intro, .svc, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { display: none; }
  .svc-inner figure { display: block; }
  .stack { max-width: 560px; }
  .values { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .values li, .values li + li { padding: 0; border: 0; }
  .values li + li { padding-top: 2rem; border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-in { height: 68px; }
  .brand-text span { font-size: .6875rem; }
  .brand-mark { width: 26px; height: 31px; }
  .hero::before { background: linear-gradient(180deg, rgb(16 22 30 / .55) 0%, rgb(16 22 30 / .15) 30%, rgb(16 22 30 / .7) 62%, rgb(16 22 30 / .9) 100%); }
  .hero-media img, .hero-media video { object-position: 72% 30%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-strip dl { grid-template-columns: minmax(0, 1fr); }
  .hero-strip dl > div { padding: .8rem 0; }
  .hero-strip dl > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / .16); }
  .hero-strip dl > div:nth-child(3) { display: none; }
  .stack { padding: 0; }
  .float { position: static; max-width: none; margin-top: 12px; }
  .svc-btn { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .svc-inner { padding-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .band-card { margin-top: -4rem; }
  .lead-card { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: minmax(0, 1fr); }
  .faq .answer { padding-right: 0; }
  .facts > div { grid-template-columns: 6.25rem minmax(0, 1fr); }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---------- v5b: Team-Porträts und mehr Bewegung ---------- */
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; }
.header { transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--ease); }
.header.hide { transform: translateY(-100%); }
.menu-open .header.hide, .header:focus-within { transform: none; }

/* Überschriften: Wörter steigen aus einer Maske */
[data-words] .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .16em; margin: -.14em 0 -.16em; }
[data-words] .wi { display: inline-block; transform: translateY(115%); transition: transform .95s var(--ease); }
[data-words].in .wi { transform: none; }

/* Laufband */
.marquee { --g: clamp(1.5rem, 3vw, 3rem); overflow: hidden; padding: clamp(1.4rem, 2.6vw, 2.25rem) 0; border-top: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: var(--g); padding-right: var(--g); width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.marquee span { font-size: clamp(2.2rem, 5.4vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--ink-3); }
.marquee span:nth-of-type(3n+1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee i { width: .7rem; height: .7rem; flex: none; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Leistungen: Zeilen kommen nacheinander */
.svc-list.anim .svc-item { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.svc-list.anim.in .svc-item { opacity: 1; transform: none; }
.stage { transform-style: preserve-3d; will-change: transform; }

/* Ablauf: Linie zeichnet sich, Schritte leuchten auf */
.steps { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent-light); transform-origin: 0 50%; transform: scaleX(0); z-index: 1; pointer-events: none; }
.steps.anim .step { opacity: .32; transition: opacity .6s var(--ease); }
.steps.anim .step::before { transform: scale(.5); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.steps.anim .step.lit { opacity: 1; }
.steps.anim .step.lit::before { transform: scale(1); box-shadow: 0 0 0 6px rgb(240 164 142 / .2); }

/* Team: Porträtkarten */
.people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.25rem; margin-top: 1.5rem; }
.people li, .people li:last-child:nth-child(odd) { display: block; padding: 0; border: 0; grid-column: auto; }
.pimg { margin: 0 0 .95rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.people .name { font-size: 1.125rem; }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pimg img { transform: scale(1.05); } .pcard:hover .name { color: var(--accent); } }
.people .name { transition: color .25s var(--ease); }
.people.anim .pimg { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease-io); }
.people.anim .pimg img { transform: scale(1.15); transition: transform 1.4s var(--ease); }
.people.anim .name, .people.anim .role { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s, color .25s var(--ease); }
.people.anim .pcard.in .pimg { clip-path: inset(0); }
.people.anim .pcard.in .pimg img { transform: none; }
.people.anim .pcard.in .name, .people.anim .pcard.in .role { opacity: 1; transform: none; }

/* Telefonnummer: Ziffern rollen ein */
[data-digits] .dm { display: inline-block; overflow: hidden; vertical-align: top; }
[data-digits] .di { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
[data-digits].in .di { transform: none; }

@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .9rem; } .people .name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .marquee-track { animation: none; }
  html:not(.force-motion) [data-words] .wi, html:not(.force-motion) [data-digits] .di { transform: none; transition: none; }
  html:not(.force-motion) .people.anim .pimg { clip-path: none; }
  html:not(.force-motion) .people.anim .pimg img { transform: none; }
  html:not(.force-motion) .header.hide { transform: none; }
}

/* Inhaber-Porträt in der Teamkarte */
.lead-img { margin: 0; width: clamp(120px, 15vw, 200px); aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--navy-2); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lead-img { width: 150px; } }
