/* ==========================================================================
   Kanzlei Albrecht – Steuerberatung in Berlin
   Ruhig, präzise, hochwertig. Haarlinien, Raster, Marineblau.
   ========================================================================== */

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-italic.woff2') format('woff2');
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bg: #FAF9F6;
  --surface: #EFEDE7;
  --raised: #FFFFFF;
  --text: #14181F;
  --muted: #545C68;
  --line: rgba(20, 24, 31, 0.12);
  --line-strong: rgba(20, 24, 31, 0.24);
  --accent: #1F3A5F;
  --accent-contrast: #FAF9F6;
  --accent-soft: rgba(31, 58, 95, 0.07);
  --accent-mid: rgba(31, 58, 95, 0.18);
  --block: #1F3A5F;
  --block-text: #F4F6F9;
  --block-muted: rgba(244, 246, 249, 0.78);
  --block-line: rgba(244, 246, 249, 0.22);
  --success: #2F6B4F;
  --error: #A3302B;
  --shadow: 0 1px 2px rgba(20, 24, 31, 0.04), 0 18px 48px -24px rgba(20, 24, 31, 0.22);
  --img-filter: none;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1320px;
  --nav-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='dark'] {
  --bg: #0F141B;
  --surface: #18202A;
  --raised: #1C2530;
  --text: #EEF1F4;
  --muted: #A7B0BC;
  --line: rgba(238, 241, 244, 0.11);
  --line-strong: rgba(238, 241, 244, 0.24);
  --accent: #7FA3C9;
  --accent-contrast: #0F141B;
  --accent-soft: rgba(127, 163, 201, 0.09);
  --accent-mid: rgba(127, 163, 201, 0.24);
  --block: #1A3150;
  --block-text: #EEF1F4;
  --block-muted: rgba(238, 241, 244, 0.78);
  --block-line: rgba(238, 241, 244, 0.2);
  --success: #7CC3A0;
  --error: #F09A94;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 56px -28px rgba(0, 0, 0, 0.7);
  --img-filter: brightness(0.86) contrast(1.04);
}

/* Theme-Übergang ~400 ms */
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease, stroke 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease !important;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-contrast); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.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 {
  position: fixed; left: 16px; top: 12px; z-index: 200; transform: translateY(-160%);
  background: var(--accent); color: var(--accent-contrast);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 11vw, 168px) 0; position: relative; }

/* ---------- Typografie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--block-text); }

.h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.1rem, 4.1vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.lead { font-size: clamp(1.02rem, 1.2vw, 1.13rem); color: var(--muted); max-width: 34em; margin-top: 22px; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 22px; line-height: 1.55; }

/* SplitText-Masken */
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  background: var(--accent); color: var(--accent-contrast);
  border: 1px solid var(--accent); border-radius: var(--radius);
  font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { border-color: var(--text); color: var(--bg); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--light { background: #FAF9F6; color: #1F3A5F; border-color: #FAF9F6; }
.btn--light::before { background: #DCE5EF; }
.btn--light:hover { color: #14181F; border-color: #DCE5EF; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 0;
  font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.textlink--light { color: var(--block-text); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 0%, transparent);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
}
.nav.is-scrolled { background: var(--bg); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark rect { fill: var(--accent); }
.brand__mark .brand__a { fill: none; stroke: var(--accent-contrast); stroke-width: 1.9; stroke-linejoin: miter; }
.brand__mark .brand__rule { stroke: var(--accent-contrast); stroke-width: 1.2; opacity: 0.55; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 20px; font-weight: 450; letter-spacing: 0; }
.brand__sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav__links a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--text); padding: 6px 0; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 14px; }


.burger { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-strong); border-radius: 50%; place-items: center; }
.burger__lines { display: grid; gap: 6px; width: 18px; }
.burger__lines i { display: block; height: 1.5px; background: var(--text); }
.burger__lines i:last-child { width: 12px; justify-self: end; }

/* Mobilmenü: Vollbild von rechts */
.menu { position: fixed; inset: 0; z-index: 120; }
.menu__panel {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; padding: 18px var(--gutter) 28px;
  transform: translateX(100%); transition: transform 0.55s var(--ease);
}
.menu.is-open .menu__panel { transform: none; }
.menu__head { display: flex; justify-content: space-between; align-items: center; height: 46px; margin-bottom: 18px; }
.menu__title { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; }
.menu__close svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 1.5; fill: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--font-display); font-size: 28px; font-weight: 380; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(24px); transition: opacity 0.5s, transform 0.6s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: 0.24s; }
.menu__foot { margin-top: auto; padding-top: 24px; }
.menu__meta { font-size: 13.5px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--nav-h);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.hero__media {
  position: relative;
  margin: 0 var(--gutter);
  height: calc(100svh - var(--nav-h) - clamp(120px, 15vh, 170px));
  min-height: 460px;
  max-height: 900px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 62%;
  filter: var(--img-filter);
  transform-origin: 60% 70%;
}
.hero__caption {
  position: absolute; top: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(20, 24, 31, 0.62); font-weight: 600;
}
[data-theme='dark'] .hero__caption { color: rgba(20, 24, 31, 0.7); }

.hero__panel {
  position: absolute; z-index: 2;
  left: calc(var(--gutter) + clamp(0px, 3vw, 56px));
  bottom: clamp(28px, 4vw, 48px);
  width: min(640px, 52vw);
  background: var(--block); color: var(--block-text);
  padding: clamp(36px, 4.4vw, 68px) clamp(32px, 4.4vw, 68px) clamp(34px, 4vw, 60px);
  border-radius: 2px;
  box-shadow: 0 30px 60px -36px rgba(10, 20, 35, 0.55);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__lead { color: var(--block-muted); margin-top: 26px; max-width: 30em; font-size: clamp(1rem, 1.15vw, 1.1rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 0 clamp(24px, 3vw, 56px);
  margin: 22px var(--gutter) 0 calc(var(--gutter) + min(640px, 52vw) + clamp(0px, 3vw, 56px) + 40px);
}
.hero__facts div { border-top: 1px solid var(--line-strong); padding-top: 12px; min-width: 150px; }
.hero__facts dt { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__facts dd { font-size: 14.5px; margin-top: 4px; }

/* ---------- Steuer-Check ---------- */
.check { border-top: 1px solid var(--line); }
.check__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.check__steps { margin-top: 44px; position: relative; border-left: 1px solid var(--line-strong); padding-left: 0; }
.check__steps li {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 12px 0 18px 28px; color: var(--muted); transition: color 0.4s;
}
.check__steps li > span:nth-child(2) { font-weight: 600; font-size: 15.5px; }
.check__steps small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.check__steps em { font-style: normal; font-family: var(--font-display); font-size: 18px; color: var(--accent); min-height: 0; }
.check__steps em:empty { display: none; }
.check__dot {
  position: absolute; left: -6px; top: 17px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.check__steps li.is-current { color: var(--text); }
.check__steps li.is-current .check__dot { border-color: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 4px var(--accent-soft); }
.check__steps li.is-done { color: var(--text); }
.check__steps li.is-done .check__dot { background: var(--accent); border-color: var(--accent); }

.check__card {
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.check__bar { height: 3px; background: var(--line); }
.check__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.7s var(--ease); }
.check__stage { padding: clamp(28px, 3.6vw, 52px); min-height: 460px; }

.cq__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cq__count { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cq__back { background: none; border: 0; padding: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.cq__back:hover { color: var(--text); }
.cq__title { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.15; margin-bottom: 26px; }
.cq__opts { display: grid; gap: 12px; }
.opt-btn {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  width: 100%; text-align: left; padding: 20px 22px; min-height: 76px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.opt-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.opt-btn:active { transform: scale(0.995); }
.opt-btn__label { display: block; font-weight: 600; font-size: 16.5px; }
.opt-btn__desc { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.opt-btn__arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.opt-btn__arrow svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 1.6; transition: stroke 0.3s; }
.opt-btn:hover .opt-btn__arrow { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }
.opt-btn:hover .opt-btn__arrow svg { stroke: var(--accent-contrast); }
.opt-btn.is-selected { border-color: var(--accent); background: var(--accent-soft); }

.cr__title { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.15; }
.cr__sub { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.cr__list { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.cr__item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cr__item svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.cr__item strong { display: block; font-weight: 600; }
.cr__item span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.cr__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Leistungen ---------- */
.services { background: var(--surface); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.tabs { position: relative; display: inline-flex; gap: 4px; border-bottom: 1px solid var(--line-strong); }
.tab {
  background: transparent; border: 0; padding: 14px 18px 16px; min-height: 48px;
  font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color 0.3s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { color: var(--accent); }
.tabs__ink {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100px; background: var(--accent);
  transform: translateX(var(--ink-x, 0)) scaleX(var(--ink-w, 0)); transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); outline: none; }
.panel__intro { font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.35; font-weight: 350; }
.ledger { border-top: 1px solid var(--line-strong); }
.ledger__row {
  position: relative;
  display: grid; grid-template-columns: 15.5rem minmax(0, 1fr) 10.5rem; gap: 8px 32px; align-items: baseline;
  padding: 26px 0 26px 0; border-bottom: 1px solid var(--line-strong);
  transition: padding-left 0.5s var(--ease);
}
.ledger__row::before {
  content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease);
}
.ledger__row:hover { padding-left: 18px; }
.ledger__row:hover::before { transform: scaleY(1); }
.ledger__row h3 { font-family: var(--font-display); font-weight: 420; font-size: 1.32rem; line-height: 1.25; }
.ledger__row p { color: var(--muted); font-size: 15.5px; }
.ledger__tag { text-align: right; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---------- Checkliste ---------- */
.list__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.list__aside { align-self: stretch; }
.list__sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.meter { margin-top: 36px; padding: 24px 0 0; border-top: 1px solid var(--line-strong); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; }
.meter__value { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 330; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.meter__of { font-size: 0.42em; color: var(--muted); font-family: var(--font-sans); font-weight: 500; }
.meter__pct { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.meter__track { height: 6px; background: var(--line); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.meter__fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.8s var(--ease); }
.meter__msg { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.6em; }
.list__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.list__img { margin-top: 40px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.list__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }

.cat { border-top: 1px solid var(--line-strong); padding: 28px 0 22px; }
.cat:last-child { border-bottom: 1px solid var(--line-strong); }
.cat__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.cat__title { font-family: var(--font-display); font-weight: 420; font-size: 1.45rem; }
.cat__count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.cat.is-complete .cat__count { color: var(--success); }
.item {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  padding: 11px 0; cursor: pointer; border-radius: 2px;
}
.item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.item__box {
  width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid var(--line-strong); border-radius: 3px;
  display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s;
}
.item__box svg { width: 14px; height: 14px; fill: none; stroke: var(--accent-contrast); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.35s var(--ease) 0.05s; }
.item:hover .item__box { border-color: var(--accent); }
.item input:checked + .item__box { background: var(--accent); border-color: var(--accent); }
.item input:checked + .item__box svg { stroke-dashoffset: 0; }
.item input:focus-visible + .item__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.item__text strong { display: block; font-weight: 500; transition: color 0.3s; }
.item__text span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.item input:checked ~ .item__text strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); }

/* ---------- Jahresübersicht ---------- */
.year { border-top: 1px solid var(--line); }
.year__head { display: grid; justify-items: start; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.year__disclaimer {
  display: inline-flex; gap: 10px; align-items: center; max-width: 360px;
  font-size: 14px; color: var(--text); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--raised);
}
.year__disclaimer svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.year__rail { position: relative; }
.year__line { position: absolute; left: 0; right: 0; top: 60px; width: 100%; height: 4px; overflow: visible; pointer-events: none; }
.year__line path { stroke: var(--line-strong); stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; }
.year__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.month {
  position: relative; background: transparent; border: 0; padding: 16px 4px 22px; min-height: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 0; color: var(--muted);
  border-radius: var(--radius); transition: color 0.3s, background-color 0.3s;
}
.month:hover { color: var(--text); background: var(--accent-soft); }
.month__name { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.month__tick { width: 1px; height: 14px; background: var(--line-strong); margin: 10px 0 0; }
.month__dots { display: flex; gap: 4px; margin-top: 12px; height: 8px; }
.month__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.55; transition: opacity 0.3s, transform 0.3s; }
.month__now { position: absolute; bottom: 4px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.month[aria-selected='true'] { color: var(--accent); background: var(--accent-soft); }
.month[aria-selected='true'] .month__tick { background: var(--accent); height: 22px; margin-bottom: -8px; }
.month[aria-selected='true'] .month__dots i { opacity: 1; }

.year__detail {
  margin-top: 28px; display: grid; grid-template-columns: 3fr 9fr; gap: clamp(24px, 5vw, 80px);
  padding-top: 32px; border-top: 1px solid var(--line-strong); min-height: 220px;
}
.yd__month { font-family: var(--font-display); font-weight: 330; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.yd__hint { font-size: 14px; color: var(--muted); margin-top: 10px; }
.yd__list { display: grid; gap: 0; }
.yd__item { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.yd__item:first-child { padding-top: 4px; }
.yd__day { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums lining-nums; color: var(--accent); }
.yd__text strong { display: block; font-weight: 600; }
.yd__text span { display: block; font-size: 14.5px; color: var(--muted); }
.yd__tag { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }

/* ---------- Digital / Upload ---------- */
.digital { background: var(--surface); }
.digital__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.ticks { margin-top: 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.55em; width: 14px; height: 8px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg);
}
.digital__img { margin-top: 44px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; }
.digital__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }

.upload { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; position: sticky; top: calc(var(--nav-h) + 32px); }
.upload__chrome { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.upload__dots { display: flex; gap: 6px; }
.upload__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); }
.upload__url { font-size: 12.5px; color: var(--muted); flex: 1; text-align: center; background: var(--raised); border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; max-width: 320px; margin: 0 auto; }
.upload__body { padding: clamp(22px, 3vw, 36px); }
.upload__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.upload__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 420; }
.upload__sub { font-size: 13px; color: var(--muted); }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  min-height: 210px; padding: 28px; cursor: pointer;
  border: 1.5px dashed var(--line-strong); border-radius: 6px;
  transition: border-color 0.3s, background-color 0.3s;
}
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop__icon { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: transform 0.5s var(--ease); }
.drop.is-over .drop__icon { transform: translateY(-6px); }
.drop__main { font-weight: 600; font-size: 16.5px; }
.drop__alt { font-size: 14px; color: var(--muted); }
.drop__alt u { text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--text); }
.files { display: grid; gap: 10px; margin-top: 18px; }
.file {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 10px 10px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
}
.file__thumb { width: 48px; height: 48px; border-radius: 4px; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file__thumb svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.file__name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__info { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.file__info .is-ok { color: var(--success); font-weight: 600; }
.file__bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.file__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.file__main { min-width: 0; }
.file__remove { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); }
.file__remove:hover { background: var(--surface); color: var(--text); }
.file__remove svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.upload__empty { font-size: 14px; color: var(--muted); margin-top: 16px; }
.upload__demo { font-size: 12.5px; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Kanzlei ---------- */
.office__top { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.office__text { position: sticky; top: calc(var(--nav-h) + 40px); }
.office__gallery { display: grid; grid-template-columns: 2.1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.og { overflow: hidden; border-radius: 2px; background: var(--surface); }
.og img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.og--main { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.og--a { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 2 / 3; margin-top: 30%; }
.og--b { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; width: 52%; justify-self: end; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.stat { padding: 30px clamp(16px, 2vw, 30px); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dd { font-family: var(--font-display); font-weight: 320; font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--accent); white-space: nowrap; }
.stat dt { font-size: 14px; color: var(--muted); }
.stats__note { margin-top: 12px; }

.team { margin-top: clamp(80px, 10vw, 140px); }
.team__head { display: grid; justify-items: start; gap: 12px; margin-bottom: 36px; }
.team__head p { color: var(--muted); }
.team__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.person__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; margin-bottom: 20px; background: var(--surface); }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.035); }
.person__name { font-family: var(--font-display); font-weight: 420; font-size: 1.45rem; line-height: 1.2; }
.person__role { font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.person__focus { font-size: 14.5px; color: var(--muted); margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Anfrage ---------- */
.contact { background: var(--block); color: var(--block-text); }
.contact .h2 { color: var(--block-text); }
.contact .lead { color: var(--block-muted); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__addr { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--block-line); font-size: 15.5px; }
.contact__addr span:first-child { font-weight: 600; }
.contact__addr a { text-decoration: none; color: var(--block-text); width: fit-content; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s var(--ease); }
.contact__addr a:hover { background-size: 100% 1px; }
.contact__arch { margin-top: 48px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; max-width: 420px; opacity: 0.9; }
.contact__arch img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; }

.form-card {
  background: var(--raised); color: var(--text); border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 52px); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.5);
  position: relative; min-height: 520px;
}
.form__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.form__steps li {
  display: flex; align-items: center; gap: 10px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
  transition: border-color 0.4s, color 0.4s;
}
.form__steps li span {
  width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: 12.5px; font-variant-numeric: tabular-nums; transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.form__steps li.is-current { color: var(--text); border-color: var(--accent); }
.form__steps li.is-current span { border-color: var(--accent); color: var(--accent); }
.form__steps li.is-done { color: var(--text); border-color: var(--accent-mid); }
.form__steps li.is-done span { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }

.form__prefill { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 14px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); margin-bottom: 22px; }
.form__prefill svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; flex: none; }
.form__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); margin-left: 6px; }
.input, .select select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input::placeholder { color: var(--muted); opacity: 0.8; }
.input:hover, .select select:hover { border-color: var(--muted); }
.input:focus, .select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-mid); }
.input--area { resize: vertical; min-height: 150px; line-height: 1.55; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); pointer-events: none;
}
.is-invalid { border-color: var(--error) !important; }
.field__err { font-size: 13.5px; color: var(--error); margin-top: 6px; min-height: 0; }
.field__err:empty { display: none; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s; pointer-events: none;
}
.seg label:hover span { border-color: var(--muted); color: var(--text); }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check-line { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check-line input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-line__box { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 3px; display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s; }
.check-line__box svg { width: 14px; height: 14px; fill: none; stroke: var(--accent-contrast); stroke-width: 2.2; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.35s var(--ease); }
.check-line input:checked + .check-line__box { background: var(--accent); border-color: var(--accent); }
.check-line input:checked + .check-line__box svg { stroke-dashoffset: 0; }
.check-line input:focus-visible + .check-line__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check-line a { color: var(--text); }

.form__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.form__nav [data-form-next], .form__nav [data-form-submit] { margin-left: auto; }

.form-done { text-align: left; padding: 20px 0; outline: none; }
.form-done__icon { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.form-done p { color: var(--muted); margin: 12px 0 22px; max-width: 30em; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.acc { border-top: 1px solid var(--line-strong); }
.acc__item { border-bottom: 1px solid var(--line-strong); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  background: none; border: 0; padding: 26px 0; min-height: 64px;
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 400; line-height: 1.3;
  transition: color 0.3s;
}
.acc__btn:hover { color: var(--accent); }
.acc__icon { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--text); transition: transform 0.45s var(--ease), background-color 0.3s; }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded='true'] .acc__icon { background: var(--accent); border-color: var(--accent); }
.acc__btn[aria-expanded='true'] .acc__icon::before, .acc__btn[aria-expanded='true'] .acc__icon::after { background: var(--accent-contrast); }
.acc__btn[aria-expanded='true'] .acc__icon::after { transform: rotate(0deg); }
.acc__panel { overflow: hidden; }
.acc__panel p { color: var(--muted); padding: 0 56px 28px 0; max-width: 40em; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-strong); }
.footer__brand .brand__mark { width: 46px; height: 46px; }
.footer__claim { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 330; margin-top: 22px; line-height: 1.1; }
.footer__h { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.footer__col p + p { margin-top: 10px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { font-size: 13px; color: var(--muted); padding: 24px 0; max-width: 60em; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.footer__bottom a { color: var(--text); text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Animations-Startzustände (nur mit JS, nur ohne reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); }
  .js [data-split] { opacity: 0; }
  .js .hero__panel { opacity: 0; }
  .js .hero__media { opacity: 0; }
  .js [data-hero-fade] { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: grid; }
}

@media (max-width: 1024px) {
  .hero__media { height: calc(78svh - var(--nav-h)); }
  .hero__panel { position: relative; left: auto; bottom: auto; width: min(640px, 82vw); margin: -160px 0 0 calc(var(--gutter) + 3vw); }
  .hero__facts { margin: 32px var(--gutter) 0; justify-content: start; }
  .panel { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr auto; }
  .ledger__row h3 { grid-column: 1; }
  .ledger__row p { grid-column: 1 / -1; grid-row: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .check__grid, .list__grid, .digital__grid, .office__top, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .list__sticky, .upload, .office__text { position: static; }
  .check__steps { display: none; }
  .year__detail { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 767px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .brand__sub { display: none; }
  .brand__name { font-size: 18px; }
  .brand__mark { width: 34px; height: 34px; }

  .hero { padding-bottom: 8px; }
  .hero__media {
    height: 36svh; min-height: 260px; max-height: 340px;
    margin: 0; border-radius: 0;
  }
  .hero__media img { object-position: 58% 60%; }
  .hero__caption { display: none; }
  .hero__panel {
    position: relative; left: auto; top: auto; bottom: auto;
    width: auto; margin: -56px 12px 0;
    padding: 30px 22px 28px;
    box-shadow: 0 22px 44px -30px rgba(10, 20, 35, 0.6);
  }
  .hero__title { font-size: clamp(2.1rem, 9.2vw, 2.7rem); line-height: 1.02; }
  .hero__lead { margin-top: 16px; font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 26px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .textlink { align-self: center; }
  .hero__facts { grid-template-columns: 1fr; gap: 0; margin: 26px var(--gutter) 0; }
  .hero__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; min-width: 0; }
  .hero__facts dd { margin: 0; text-align: right; }

  .check__stage { min-height: 0; padding: 24px 20px 28px; }
  .opt-btn { padding: 16px; }

  .services__head { flex-direction: column; align-items: stretch; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tab { padding: 12px 4px 14px; font-size: 14px; }
  .ledger__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .ledger__row:hover { padding-left: 0; }
  .ledger__row::before { display: none; }
  .ledger__tag { grid-row: 1; text-align: left; }
  .ledger__row h3 { grid-row: 2; }
  .ledger__row p { grid-row: 3; }

  .year__rail { margin: 0 calc(var(--gutter) * -1); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .year__rail::-webkit-scrollbar { display: none; }
  .year__months { grid-template-columns: repeat(12, 76px); padding: 0 var(--gutter); width: max-content; }
  .year__line { width: calc(76px * 12 + var(--gutter) * 2); }
  .month { scroll-snap-align: center; }
  .yd__item { grid-template-columns: 52px 1fr; }
  .yd__tag { grid-column: 2; justify-self: start; }

  .office__gallery { grid-template-columns: 1.4fr 1fr; }
  .og--b { width: 70%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 12px; }
  .stat dd { font-size: clamp(1.6rem, 7.6vw, 2.4rem); }
  .team__list { grid-template-columns: 1fr; gap: 40px; }

  .field-row { grid-template-columns: 1fr; }
  .seg--4 { grid-template-columns: repeat(2, 1fr); }
  .form__steps li { font-size: 0; gap: 0; justify-content: center; }
  .form__steps li span { font-size: 12.5px; }
  .form-card { min-height: 0; }
  .contact__arch { display: none; }
  .acc__panel p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Druck: nur die Checkliste ---------- */
.print-sheet { display: none; }

@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block !important; font-family: var(--font-sans); font-size: 10.5pt; line-height: 1.45; color: #111; }
  .ps__head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1.5pt solid #1F3A5F; padding-bottom: 8pt; margin-bottom: 14pt; }
  .ps__brand { display: flex; align-items: center; gap: 8pt; }
  .ps__brand svg { width: 26pt; height: 26pt; }
  .ps__brand strong { font-family: var(--font-display); font-size: 15pt; font-weight: 450; display: block; color: #1F3A5F; }
  .ps__brand span { font-size: 8pt; letter-spacing: 0.12em; text-transform: uppercase; color: #555; }
  .ps__meta { text-align: right; font-size: 8.5pt; color: #444; }
  .ps__title { font-family: var(--font-display); font-weight: 400; font-size: 19pt; margin: 0 0 3pt; }
  .ps__intro { color: #444; margin-bottom: 12pt; }
  .ps__progress { display: flex; align-items: center; gap: 10pt; margin-bottom: 16pt; font-size: 9pt; color: #333; }
  .ps__track { flex: 1; height: 4pt; background: #e6e6e6; border-radius: 2pt; overflow: hidden; }
  .ps__track span { display: block; height: 100%; background: #1F3A5F; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps__cols { column-count: 2; column-gap: 18pt; }
  .ps__cat { break-inside: avoid; margin-bottom: 12pt; }
  .ps__cat h2 { font-family: var(--font-display); font-weight: 450; font-size: 12.5pt; margin: 0 0 5pt; padding-bottom: 3pt; border-bottom: 0.75pt solid #bbb; display: flex; justify-content: space-between; }
  .ps__cat h2 small { font-family: var(--font-sans); font-size: 8.5pt; color: #666; font-weight: 500; }
  .ps__cat ul { list-style: none; margin: 0; padding: 0; }
  .ps__cat li { display: grid; grid-template-columns: 13pt 1fr; gap: 6pt; padding: 2.4pt 0; }
  .ps__box { width: 9pt; height: 9pt; border: 0.9pt solid #333; border-radius: 1.5pt; margin-top: 2pt; position: relative; }
  .ps__box.is-on { background: #1F3A5F; border-color: #1F3A5F; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps__box.is-on::after { content: ''; position: absolute; left: 2.6pt; top: 0.6pt; width: 2.4pt; height: 5pt; border-right: 1.2pt solid #fff; border-bottom: 1.2pt solid #fff; transform: rotate(45deg); }
  .ps__cat li span:last-child { color: #111; }
  .ps__cat li small { display: block; color: #666; font-size: 8.5pt; }
  .ps__notes { margin-top: 10pt; border-top: 0.75pt solid #bbb; padding-top: 6pt; }
  .ps__notes h2 { font-size: 9pt; letter-spacing: 0.1em; text-transform: uppercase; color: #555; margin: 0 0 4pt; }
  .ps__lines { height: 40pt; background-image: repeating-linear-gradient(to bottom, transparent 0 19pt, #ccc 19pt 19.75pt); }
  .ps__foot { margin-top: 14pt; padding-top: 6pt; border-top: 0.75pt solid #ddd; font-size: 8pt; color: #666; display: flex; justify-content: space-between; }
}
