/* ==========================================================================
   Notariat Dr. Alexander Miklos — notar1050.at
   Ruhig, klassisch, aufgeräumt – mit den Farben der bisherigen Website:
   Beige #f5f1ed · Petrol #004a62 · Navy #0e1e28 · Grau #666666 · Gold #ac8d44
   Newsreader (Serife) für Titel · Archivo für Text und Navigation
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-var.woff2") format("woff2-variations"), url("../fonts/newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-var-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-var-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  /* Farben der bisherigen Website */
  --paper: #f5f1ed;
  --paper-2: #ece5dd;
  --white: #ffffff;
  --ink: #0e1e28;
  --ink-2: #666666;
  --petrol: #004a62;
  --petrol-2: #003a4e;
  --petrol-3: #3d6f80;
  --gold: #ac8d44;
  --gold-text: #806424;   /* gleiche Goldfarbe, abgedunkelt für kleine Schrift auf Hell (AA) */
  --gold-light: #e0c88f;  /* für kleine Schrift auf Petrol */
  --ok: #2f6b4a;

  --line: rgba(14, 30, 40, .13);
  --line-2: rgba(14, 30, 40, .28);
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .74);
  --line-dark: rgba(255, 255, 255, .2);

  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --max: 1480px;
  --gutter: clamp(16px, 2.8vw, 44px);
  --gap: clamp(14px, 2vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--petrol); color: var(--white); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }
.section--dark :focus-visible, .site-footer :focus-visible, .mobile-nav :focus-visible, .cta-box :focus-visible { outline-color: var(--gold); }

.nw { white-space: nowrap; }
.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: absolute; left: 16px; top: -80px; z-index: 200; background: var(--petrol); color: var(--white); padding: 12px 18px; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Raster ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
main, .site-footer { position: relative; }

/* ---------- Typografie -------------------------------------------------- */
.label, .idx {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.idx { display: inline-flex; gap: 14px; align-items: center; color: var(--petrol); }
.idx::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--petrol);
  margin: 0;
  overflow-wrap: break-word;
}
.serif { font-family: var(--serif); }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; margin: 0; color: var(--ink); }
.lead.serif { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.42; }
.muted { color: var(--ink-2); }
.frac { display: inline-flex; align-items: baseline; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.frac sup, .frac sub { font-size: .72em; line-height: 0; position: relative; }
.frac sup { top: -.32em; }
.frac sub { top: .18em; }
.frac i { font-style: normal; padding: 0 .06em; opacity: .7; }

/* ---------- Buttons / Links -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid var(--petrol); background: transparent; color: var(--petrol);
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; position: relative; isolation: isolate; overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--petrol); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover { color: var(--white); }
.btn:hover::before { transform: none; }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--petrol); color: var(--white); }
.btn--solid::before { background: var(--ink); }
.btn--solid:hover { border-color: var(--ink); }
.btn--light { border-color: var(--on-dark); color: var(--on-dark); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--petrol); }
.btn--block { width: 100%; justify-content: space-between; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol);
  text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Planzeichnungen -------------------------------------------- */
.plan { width: 100%; height: auto; overflow: visible; color: var(--petrol); }
.plan path { vector-effect: non-scaling-stroke; }
.plan .h { stroke-width: .75; opacity: .45; }
.plan .dim, .plan .thin { stroke-width: .9; opacity: .55; }
.plan .g { stroke-width: 2; }
.plan .a { stroke: var(--gold); }
/* pathLength=1 + non-scaling-stroke: Strichlänge großzügig (4), damit vergrößerte Pläne vollständig gezeichnet werden */
.draw .plan path { stroke-dasharray: 4 4; stroke-dashoffset: 0; }
.js .draw .plan path { stroke-dashoffset: 4; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.js .draw.in .plan path, .js .draw:hover .plan path { stroke-dashoffset: 0; }
.js .draw .plan path:nth-child(2n) { transition-delay: .08s; }
.js .draw .plan path:nth-child(3n) { transition-delay: .16s; }
.js .draw .plan .h, .js .draw .plan .dim { transition-delay: .35s; transition-duration: 1.8s; }
.js .draw .plan .a { transition-delay: .6s; }
.plan .dash { stroke-dasharray: 3 4 !important; stroke-dashoffset: 0 !important; }

/* ---------- Header ------------------------------------------------------ */
/* Oben transparent auf dem Beige; beim Scrollen schwebende Leiste (Klasse .is-floating per JS).
   Die Höhe des Kopfbereichs bleibt gleich – dadurch springt der Inhalt nicht. */
.site-header { position: sticky; top: 0; z-index: 60; display: flow-root; height: var(--header-h); pointer-events: none; }
.site-header .wrap {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  border: 1px solid transparent;
  transition: height .5s var(--ease), margin .5s var(--ease), padding .5s var(--ease), width .5s var(--ease), max-width .5s var(--ease),
              background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-floating .wrap {
  height: 62px;
  margin: 10px auto 0;
  width: calc(100% - 24px);
  max-width: calc(var(--max) - 2 * var(--gutter) + 48px);
  padding: 0 24px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(14, 30, 40, .08);
  box-shadow: 0 16px 40px -20px rgba(14, 30, 40, .38), 0 2px 6px -2px rgba(14, 30, 40, .08);
}
.site-header .brand img, .site-header .brand-name, .site-header .nav .nav-cta { transition: width .5s var(--ease), font-size .5s var(--ease), padding .5s var(--ease), background .3s; }
.site-header.is-floating .brand img { width: 32px; }
.site-header.is-floating .brand-name { font-size: 18px; }
.site-header.is-floating .nav .nav-cta { padding: 9px 16px; }
/* Mobilmenü offen: wieder als ruhige Leiste in Beige */
html.menu-open .site-header { background: var(--paper); pointer-events: auto; }
html.menu-open .site-header.is-floating .wrap { height: var(--header-h); margin: 0 auto; width: 100%; max-width: var(--max); padding: 0 var(--gutter); background: transparent; box-shadow: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0; color: var(--petrol); white-space: nowrap; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--petrol); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--petrol); color: var(--white); font-weight: 600; letter-spacing: .04em; transition: background .3s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--white); }
.nav .nav-cta svg { width: 15px; height: 15px; }

.menu-btn { display: none; align-items: center; gap: 12px; background: none; border: 0; padding: 8px 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.menu-btn i { display: block; width: 22px; height: 10px; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--petrol); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 8px; }
.menu-open .menu-btn i::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 4px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
  background: var(--petrol); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 12px var(--gutter) 28px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-in-out), visibility 0s .5s;
}
.menu-open .mobile-nav { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease-in-out); }
.mobile-nav ol { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0 14px; text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8.6vw, 46px); line-height: 1.05; }
.mobile-nav li a span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gold-light); }
.mobile-meta { font-size: 14px; line-height: 1.9; color: var(--on-dark-2); }
.mobile-meta a { color: var(--on-dark); text-decoration: none; }
.mobile-meta .status { color: var(--on-dark-2); }
.mobile-meta .status[data-open="true"] { color: var(--on-dark); }
html.menu-open { overflow: hidden; }

/* Öffnungsstatus */
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); flex: none; }
.status[data-open="true"]::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 107, 74, .18); animation: pulse 2.4s var(--ease) infinite; }
.status[data-open="true"] { color: var(--ink); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 107, 74, 0); } }

/* ---------- Hero -------------------------------------------------------- */
/* Füllt den ersten Bildschirm: Titel und Text links, Galerie rechts im Seitenraster, unten das Laufband. */
.hero { --bleed: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero > .wrap { display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.hero-grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gap); padding-top: clamp(12px, min(2.2vw, 3.6vh), 32px); }
.hero-head { grid-column: 1 / span 5; grid-row: 1; }
.hero-text { grid-column: 1 / span 5; grid-row: 2; align-self: end; display: flex; flex-direction: column; gap: clamp(18px, 2.8vh, 26px); padding: clamp(16px, 3vh, 28px) 0 clamp(28px, 4.5vh, 64px); }
.hero-gallery { grid-column: 6 / span 7; grid-row: 1 / span 2; position: relative; display: flex; flex-direction: column; margin: 0; min-width: 0; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0 0 clamp(16px, 2.4vh, 28px); }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, min(4.6vw, 7.4vh), 68px); font-size: clamp(38px, min(4.6vw, 7.4svh), 68px); line-height: 1.03; letter-spacing: -.022em; color: var(--ink); hyphens: manual; }
.hero-title .ln-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .ln { display: block; }
.hero-title em { font-style: italic; color: var(--petrol); }
.hero-title .ln-mask:nth-child(2) .ln::after { content: ""; display: inline-block; width: .8em; height: 2px; background: var(--gold); vertical-align: middle; margin-left: .3em; }
.hero-cta { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
/* Große, hohe Bildschirme: Titel und Einleitung etwas größer – damit links keine Leere entsteht */
@media (min-width: 1600px) and (min-height: 860px) {
  .hero-title { font-size: clamp(38px, min(4.6vw, 8svh), 78px); }
  .hero-text .lead { font-size: 21px; }
}
/* Kontaktdaten als kompakte Zeile (Visitenkarte) */
.facts { margin: 0; display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 0 clamp(18px, 2vw, 32px); border-top: 1px solid var(--line-2); padding-top: 14px; }
.facts div { display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.45; }
.facts dt { margin: 0; }
.facts dd { margin: 0; }
.facts a { text-decoration: none; color: var(--petrol); white-space: nowrap; }
.facts a:hover { text-decoration: underline; }

/* Startgalerie: Überblendung + langsamer Zoom (Ken Burns), Bedienleiste auf dem Bild */
.slides { position: relative; flex: 1 1 auto; min-height: 340px; overflow: hidden; background: var(--paper-2); touch-action: pan-y; }
.slides::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 40%; max-height: 240px; background: linear-gradient(to top, rgba(14, 30, 40, .62), rgba(14, 30, 40, .18) 60%, rgba(14, 30, 40, 0)); pointer-events: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease-in-out); }
.slide.is-active { opacity: 1; z-index: 2; }
.slide.is-leaving { z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); transform-origin: var(--o, 50% 50%); }
.slide.is-active img, .slide.is-leaving img { animation: kenburns 10s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.slide:nth-child(2) { --o: 30% 35%; }
.slide:nth-child(3) { --o: 70% 40%; }
.slide:nth-child(4) { --o: 50% 30%; }
.slide:nth-child(5) { --o: 25% 60%; }
.slide:nth-child(6) { --o: 65% 25%; }
.slide:nth-child(7) { --o: 40% 70%; }
.slide:nth-child(8) { --o: 55% 45%; }
.gallery-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 0 clamp(20px, 2.4vw, 36px) clamp(16px, 2.6vh, 28px); color: var(--white); }
.gallery-ui[hidden] { display: none; }
.gallery-count { font-family: var(--serif); font-size: 18px; color: rgba(255, 255, 255, .8); min-width: 64px; font-variant-numeric: lining-nums tabular-nums; }
.gallery-count b { font-weight: 500; color: var(--white); }
.gallery-progress { flex: 1; height: 1px; background: rgba(255, 255, 255, .34); position: relative; overflow: hidden; margin-right: 8px; }
.gallery-progress i { position: absolute; inset: 0; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.hero-gallery.is-running .gallery-progress i { animation: progress var(--dur, 6s) linear forwards; }
.hero-gallery.is-paused .gallery-progress i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.gbtn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .55); background: rgba(14, 30, 40, .14); color: var(--white); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.gbtn svg { width: 17px; height: 17px; }
.gbtn:hover { background: var(--white); border-color: var(--white); color: var(--petrol); }
.gbtn:focus-visible { outline-color: var(--white); outline-offset: 2px; }
.gbtn .i-play { display: none; }
.hero-gallery.is-stopped .gbtn .i-play { display: block; }
.hero-gallery.is-stopped .gbtn .i-pause { display: none; }

/* Laufband mit den Rechtsbereichen – hell zwischen feinen Linien (Endlosschleife: gleiche Listen, Verschiebung um die Hälfte) */
.ticker { --tk-gap: clamp(40px, 4.6vw, 76px); grid-column: 1 / -1; grid-row: 3; position: relative; display: flex; margin: 0 calc(-1 * var(--bleed)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); color: var(--petrol); }
.ticker-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; scroll-padding-inline: 14%; --tk-fade: clamp(20px, 3.6vw, 64px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--tk-fade), #000 calc(100% - var(--tk-fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--tk-fade), #000 calc(100% - var(--tk-fade)), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--tk-dur, 60s) linear 1.4s infinite; }
.ticker-list { flex: none; display: flex; gap: var(--tk-gap); margin: 0; padding: 0 0 0 var(--tk-gap); list-style: none; }
.ticker-list li { flex: none; }
.ticker-list a { display: flex; align-items: baseline; gap: 12px; margin: 0 -10px; padding: clamp(15px, 2.3vh, 22px) 10px; color: inherit; text-decoration: none; font-family: var(--serif); font-size: clamp(21px, 1.85vw, 31px); line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; transition: color .3s var(--ease); }
.ticker-list a:hover { color: var(--gold-text); }
.ticker-list a:focus-visible { outline: 2px solid var(--petrol); outline-offset: -6px; }
.tk-num { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); transform: translateY(-.75em); }
.ticker-viewport:hover .ticker-track, .ticker.is-stopped .ticker-track, .ticker.is-offscreen .ticker-track { animation-play-state: paused; }
.ticker-viewport:focus-within .ticker-track { animation: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-toggle { flex: none; width: clamp(54px, 5vw, 72px); display: grid; place-items: center; padding: 0; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--petrol); transition: background .3s var(--ease), color .3s var(--ease); }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle svg { width: 15px; height: 15px; }
.ticker-toggle:hover { background: var(--petrol); color: var(--white); }
.ticker-toggle:focus-visible { outline: 2px solid var(--petrol); outline-offset: -6px; }
.ticker-toggle .i-play { display: none; }
.ticker.is-stopped .ticker-toggle .i-play { display: block; }
.ticker.is-stopped .ticker-toggle .i-pause { display: none; }

/* ---------- Sektionen --------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 144px) 0; border-top: 1px solid var(--line); }
@media (min-width: 961px) { .hero + .section { border-top: 0; } }
.section-head { max-width: 920px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h-section { margin-top: 18px; }
.section-head .h-section::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 24px; }

/* About */
.about-grid { row-gap: 48px; align-items: start; }
.about-portrait { grid-column: 1 / span 5; margin: 0; }
.about-portrait .frame { overflow: hidden; background: var(--paper-2); }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 46% 50%; transition: transform 1.4s var(--ease); }
.about-portrait:hover img { transform: scale(1.03); }
.about-portrait figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line-2); }
.about-text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.about-text .lead.serif { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.3; letter-spacing: -.008em; color: var(--ink); }
.about-text p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.values div { padding: 16px 16px 0 0; }
.values div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.values .label { color: var(--gold-text); }
.values strong { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.15; color: var(--petrol); hyphens: manual; }

/* Kennzahlen */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-top: clamp(64px, 8vw, 112px); }
.figures div { padding: 24px 20px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.figures div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.figures b { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 66px); line-height: 1; letter-spacing: -.02em; color: var(--petrol); font-variant-numeric: lining-nums; }
.figures span { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 24ch; }

/* Leistung */
.services-head { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr) 124px; gap: var(--gap); padding: 0 0 12px; border-bottom: 1px solid var(--line-2); }
.services { list-style: none; margin: 0; padding: 0; }
.service-row { border-bottom: 1px solid var(--line); }
.service-row a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr) 124px; gap: var(--gap); align-items: center;
  padding: clamp(20px, 2.2vw, 30px) 0; text-decoration: none; color: var(--ink);
}
.service-row a::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter) / 2); background: var(--white); z-index: -1; opacity: 0; transition: opacity .45s var(--ease); }
.service-row a:hover::before, .service-row a:focus-visible::before { opacity: 1; }
.service-row .num { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--gold-text); align-self: start; padding-top: .7em; font-variant-numeric: tabular-nums; }
.service-row h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; color: var(--petrol); hyphens: manual; overflow-wrap: break-word; transition: transform .45s var(--ease); }
.service-row a:hover h3 { transform: translateX(6px); }
.service-row p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.service-row .pic { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.service-row .pic .plan { width: 60px; height: 60px; }
.service-row .go { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--petrol); transition: background .4s var(--ease), border-color .4s, color .4s; }
.service-row .go svg { width: 17px; height: 17px; }
.service-row a:hover .go { background: var(--petrol); border-color: var(--petrol); color: var(--white); }

/* Kanzlei (Petrol) */
.section--dark { background: var(--petrol); color: var(--on-dark); border-top: 0; }
.section--dark .idx { color: var(--on-dark); }
.section--dark .label { color: var(--on-dark-2); }
.section--dark .h-section { color: var(--white); }
.quote { grid-column: 1 / span 10; max-width: 980px; margin: 0 0 clamp(48px, 6vw, 88px); }
.quote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 350; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.24; letter-spacing: -.01em; color: var(--white); }
.quote p::before { content: "„"; color: var(--gold); margin-right: .04em; }
.quote p::after { content: "“"; color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--petrol-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.gallery figure:hover img { filter: grayscale(0); transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--petrol); color: var(--on-dark-2); padding: 8px 12px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.g1 { grid-column: 1 / span 7; grid-row: span 2; }
.g2, .g3 { grid-column: 8 / span 5; aspect-ratio: 3 / 2; }
.g4 { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.g5 { grid-column: 5 / span 4; aspect-ratio: 4 / 5; }
.g6 { grid-column: 9 / span 4; aspect-ratio: 4 / 5; }
.kanzlei-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.kanzlei-foot > p { margin: 0; color: var(--on-dark-2); }

/* Ratgeber-Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(14, 30, 40, .35); }
.card-cover { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.card-cover .plan { width: 34%; transition: transform .8s var(--ease); }
.card:hover .card-cover .plan { transform: scale(1.05); }
.card-cover .label { position: absolute; left: 16px; top: 14px; color: var(--petrol); }
.card-cover .label + .label { left: auto; right: 16px; color: var(--ink-2); }
.card > .label, .card-body > .label { display: block; margin: 22px 22px 8px; color: var(--gold-text); }
.card h3 { margin: 0 22px 12px; font-family: var(--serif); font-weight: 450; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.22; letter-spacing: -.008em; color: var(--petrol); overflow-wrap: break-word; }
.card p { margin: 0 22px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.card .meta { margin: auto 22px 0; padding: 14px 0 18px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; }
.card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; }
.card--feature .card-cover { grid-column: 1 / span 7; aspect-ratio: 16 / 9; }
.card--feature .card-cover .plan { width: 26%; }
.card--feature .card-cover .label + .label { display: none; }
.card--feature .card-body { grid-column: 8 / span 5; display: flex; flex-direction: column; justify-content: center; padding: 28px 28px 0 0; }
.card--feature .card-body > .label, .card--feature h3, .card--feature p, .card--feature .meta { margin-left: 0; margin-right: 0; }
.card--feature h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.1; }
.section-cta { display: flex; justify-content: flex-end; margin-top: clamp(32px, 4vw, 56px); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.chip { appearance: none; border: 1px solid var(--line-2); background: var(--white); padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.chip sup { font-size: 9px; margin-left: 4px; opacity: .75; }
.card[hidden] { display: none; }

/* FAQ */
.faq-grid { align-items: start; row-gap: 40px; }
.faq-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 22px; }
.faq-intro .h-section { margin: 0; }
.faq-intro .h-section::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 24px; }
.faq-intro p { margin: 0; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; align-items: baseline; padding: 22px 0; cursor: pointer; font-family: var(--serif); font-weight: 450; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.3; color: var(--ink); transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .label { color: var(--gold-text); font-family: var(--sans); }
.faq-list summary i { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; color: var(--petrol); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--petrol); }
.faq-answer { padding: 0 36px 24px 52px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.faq-answer p { margin: 0 0 .7em; }
.faq-answer p:last-child { margin: 0; }
.faq-answer a { color: var(--petrol); }

/* Kontakt */
.contact-grid { row-gap: 56px; align-items: start; }
.contact-info { grid-column: 1 / span 5; }
.contact-form { grid-column: 7 / span 6; background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.info-block { border-top: 1px solid var(--line-2); padding: 16px 0 24px; display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.info-block p { margin: 0; }
.info-block a { text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
.big-contact { display: block; font-family: var(--serif); font-weight: 450; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--petrol); text-decoration: none; overflow-wrap: anywhere; }
.hours { border-collapse: collapse; margin-bottom: 6px; }
.hours td { padding: 0 0 4px; vertical-align: top; }
.hours td:first-child { padding-right: 18px; white-space: nowrap; }
.note { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 15px 18px; font-weight: 500; margin: 8px 0 0; }

.field { display: block; margin-bottom: 22px; }
.field .label { display: flex; justify-content: space-between; margin-bottom: 4px; }
.field .label span { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; border-radius: 0;
  font-size: 17px; padding: 10px 0 11px; color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color .25s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--petrol) 50%), linear-gradient(-45deg, transparent 50%, var(--petrol) 50%); background-size: 6px 6px, 6px 6px; background-position: right 7px top 55%, right 1px top 55%; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a8f93; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--petrol); box-shadow: 0 1px 0 0 var(--petrol); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font-size: 13px; color: var(--ink-2); max-width: 40ch; line-height: 1.5; }
.form-status { margin: 18px 0 0; font-size: 14px; line-height: 1.5; min-height: 1.5em; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="error"] { color: #8f2d1f; }
.contact-form[aria-busy="true"] button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 7vw, 104px) 0 26px; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer-grid { row-gap: 44px; }
.footer-brand { grid-column: 1 / span 5; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-logo img { width: 40px; }
.footer-logo strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.footer-logo span { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
.footer-brand address { font-style: normal; line-height: 1.75; color: var(--on-dark-2); }
.footer-hours { margin: 16px 0 0; font-size: 14.5px; color: var(--on-dark-2); }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 7 / span 2; }
.footer-col--wide { grid-column: 9 / span 4; }
.footer-col h2 { font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; font-size: 15px; }
.footer-col--wide ul { columns: 2; column-gap: 24px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 20px; margin-top: clamp(48px, 6vw, 80px); font-size: 13px; color: var(--on-dark-2); }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }

/* ---------- Unterseiten ------------------------------------------------- */
.page-hero { border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; color: var(--petrol); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-2); }
.page-hero-grid { padding: clamp(40px, 5.6vw, 88px) 0 clamp(36px, 4.6vw, 72px); align-items: end; row-gap: 28px; }
.page-hero-main { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px); }
.page-hero-main h1 { font-size: clamp(36px, 5vw, 72px); hyphens: manual; overflow-wrap: break-word; }
.page-hero-main h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 22px; }
.page-hero-main h1.serif-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(34px, 4.4vw, 64px); color: var(--petrol); margin: 0; }
.page-hero-main .lead { max-width: 52ch; color: var(--ink-2); }
.page-hero-plan { grid-column: 9 / span 4; border: 1px solid var(--line); background: var(--white); position: relative; padding: clamp(22px, 2.6vw, 40px); }
.page-hero-plan .label { position: absolute; top: 12px; left: 14px; font-size: 10.5px; color: var(--gold-text); }
.page-hero-plan .label + .label { left: auto; right: 14px; color: var(--ink-2); }
.page-hero-plan .plan { max-width: 300px; margin: 14px auto 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.article-wrap { padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 136px); }
.article-grid { align-items: start; row-gap: 48px; }
.aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.toc { border-top: 1px solid var(--line-2); }
.toc > .label { display: block; padding: 14px 0 10px; color: var(--petrol); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 32px 1fr; padding: 9px 0; text-decoration: none; font-size: 14.5px; line-height: 1.38; color: var(--ink-2); transition: color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-size: 11px; font-weight: 600; padding-top: 2px; color: var(--gold-text); }
.toc a:hover, .toc a.is-active { color: var(--petrol); }
.toc a.is-active { font-weight: 600; }
.cta-box { background: var(--petrol); color: var(--on-dark); padding: 24px; }
.cta-box p { margin: 0 0 16px; font-family: var(--serif); font-size: 22px; line-height: 1.28; }
.cta-box .cta-lines { font-size: 14.5px; line-height: 1.85; color: var(--on-dark-2); margin-bottom: 18px; }
.cta-box .cta-lines a { color: var(--on-dark); text-decoration: none; }
.cta-box .cta-lines a:hover { text-decoration: underline; }
.tool-row { display: flex; gap: 8px; }
.tool-row .btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 11.5px; }
.aside > .label a { color: var(--petrol); }

/* Fließtext */
.prose { grid-column: 6 / span 7; max-width: 740px; font-family: var(--serif); font-size: clamp(18px, 1.3vw, 20px); line-height: 1.65; font-weight: 400; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose > p:first-child { font-size: 1.18em; line-height: 1.5; }
.prose a { color: var(--petrol); text-decoration-color: rgba(0, 74, 98, .4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; font-size: clamp(26px, 2.3vw, 34px); color: var(--petrol); margin: 2.2em 0 .7em; padding-top: 18px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: baseline; hyphens: manual; }
.prose h2 > span:last-child { min-width: 0; overflow-wrap: break-word; }
.prose h2 .n { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; color: var(--gold-text); }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.32; margin: 1.8em 0 .55em; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.prose li { position: relative; padding: 7px 0 7px 26px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 6px; height: 6px; background: var(--petrol); }
.prose ol { counter-reset: ol; }
.prose ol > li { counter-increment: ol; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--gold-text); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 2px solid var(--gold); font-style: italic; font-size: 1.12em; }

.box { position: relative; border: 1px solid var(--line-2); padding: 28px 24px 20px; margin: 2em 0; background: var(--white); font-size: .95em; }
.box > .box-title { position: absolute; top: -10px; left: 18px; background: var(--white); padding: 0 8px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 20px; color: var(--petrol); }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box--example { background: var(--paper-2); border-color: transparent; border-left: 3px solid var(--gold); }
.box--example > .box-title { background: var(--paper-2); }

.checklist { margin: 2em 0; border: 1px solid var(--line-2); background: var(--white); font-size: .95em; }
.checklist .cl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--petrol); color: var(--white); }
.checklist .cl-head .label { color: var(--white); }
.checklist .cl-head button { background: none; border: 1px solid var(--line-dark); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
.checklist .cl-head button:hover { background: var(--white); color: var(--petrol); }
.checklist ul { margin: 0; }
.checklist li { padding: 12px 16px 12px 50px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border: 1.5px solid var(--petrol); background: transparent; }
.checklist label { cursor: pointer; display: block; }
.checklist input { position: absolute; opacity: 0; left: 16px; top: 15px; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.checklist li:has(input:checked)::before { background: var(--petrol); background-image: linear-gradient(45deg, transparent 44%, var(--white) 44% 56%, transparent 56%); }
.checklist li:has(input:checked) label { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink-2); }
.checklist li:has(input:focus-visible)::before { outline: 2px solid var(--petrol); outline-offset: 2px; }

.steps { list-style: none; margin: 2em 0 2.4em; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; top: 22px; bottom: 22px; width: 1px; background: var(--line-2); }
.steps > li { counter-increment: s; position: relative; padding: 0 0 24px 68px; }
.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 41px; height: 41px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--petrol); border-radius: 50%; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--petrol); }
.steps > li:last-child::before { background: var(--petrol); color: var(--white); }
.steps h3 { margin: 7px 0 6px; padding: 0; border: 0; font-size: 17px; color: var(--petrol); }
.steps p { margin: 0; }

.compare { margin: 2em 0 2.4em; font-family: var(--sans); font-size: 14.5px; line-height: 1.5; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.compare thead th { border-bottom: 1px solid var(--petrol); font-weight: 600; color: var(--petrol); padding-bottom: 12px; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-card { border: 1px solid var(--line-2); background: var(--white); }
.cmp-card h3 { margin: 0; padding: 12px 14px; background: var(--petrol); color: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; border: 0; }
.cmp-card dl { margin: 0; }
.cmp-card dl div { padding: 10px 14px; border-top: 1px solid var(--line); }
.cmp-card dt { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 2px; }
.cmp-card dd { margin: 0; }

.floors { margin: 2em 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; font-family: var(--sans); font-size: 15.5px; }
.floors li { display: grid; grid-template-columns: 54px 1fr; border: 1px solid var(--line-2); border-bottom: 0; padding: 0; margin: 0 calc(var(--i) * 4%); background: var(--white); }
.floors li:first-child { border-bottom: 1px solid var(--line-2); }
.floors li::before { display: none; }
.floors li > b { display: grid; place-items: center; border-right: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--petrol); }
.floors li > span { padding: 12px 16px; line-height: 1.45; }
.floors li > span strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 2px; }
.floors li:first-child { background: var(--petrol); color: var(--white); border-color: var(--petrol); }
.floors li:first-child > b { color: var(--gold-light); border-color: var(--line-dark); }
.floors li:first-child > span strong { color: var(--white); }
.floors::before { content: ""; order: 99; height: 24px; margin: 0 calc(5 * 4%); background: var(--petrol); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.floors .f0 { --i: 0; }
.floors .f1 { --i: 1; }
.floors .f2 { --i: 2; }
.floors .f3 { --i: 3; }

/* Verwandte Beiträge / Navigation */
.related { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line); }
.related .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.related .h-section { font-size: clamp(28px, 3vw, 44px); }
.next-nav { border-top: 1px solid var(--line); background: var(--white); }
.next-nav .grid { padding: 0; }
.next-nav a { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3.6vw, 44px) 0; text-decoration: none; }
.next-nav a strong { max-width: 100%; font-family: var(--serif); font-weight: 400; line-height: 1.12; font-size: clamp(22px, 2.6vw, 38px); color: var(--petrol); transition: color .3s; hyphens: manual; overflow-wrap: break-word; }
.next-nav a:hover strong { color: var(--ink); }
.next-nav .prev { grid-column: 1 / span 6; padding-right: 24px; }
.next-nav .next { grid-column: 7 / span 6; text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 24px; }

/* Werdegang */
.profile-grid { row-gap: 40px; margin-bottom: clamp(56px, 7vw, 104px); align-items: end; }
.profile-grid figure { grid-column: 1 / span 5; margin: 0; }
.profile-grid .frame { overflow: hidden; background: var(--paper-2); }
.profile-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profile-grid .profile-text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 18px; }
.profile-grid .profile-text .label { color: var(--gold-text); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 20px 10px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .3s; }
.timeline li:hover { background: var(--white); }
.timeline .year { grid-column: 1 / span 3; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.timeline .year.none { color: var(--line-2); }
.timeline .what { grid-column: 4 / span 9; font-family: var(--serif); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.4; }
.timeline li.key { background: var(--petrol); color: var(--white); }
.timeline li.key .year { color: var(--gold-light); }

/* Rechtliches */
.legal-grid { row-gap: 32px; margin-bottom: clamp(56px, 7vw, 104px); }
.legal-card { grid-column: span 4; border-top: 1px solid var(--line-2); padding-top: 14px; }
.legal-card h2 { font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin: 0 0 12px; }
.legal-card p { margin: 0 0 4px; }
.legal-card a { color: var(--petrol); text-decoration: underline; text-decoration-color: rgba(0, 74, 98, .35); }
.legal-card a:hover { text-decoration-color: currentColor; }
.legal-card .note { margin-top: 12px; }
.legal-card--wide { grid-column: 1 / -1; }

/* ---------- Erbfolge-Rechner ------------------------------------------- */
.tool { margin: 2.2em 0 2.6em; border: 1px solid var(--line-2); background: var(--white); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.tool-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--petrol); color: var(--white); }
.tool-bar .label { color: var(--on-dark-2); }
.tool-bar .label:last-child { color: var(--white); }
.tool-intro { padding: 18px 18px 0; margin: 0; font-family: var(--serif); font-size: 18px; }
.tool-in { margin: 0; padding: 18px; border: 0; min-width: 0; }
.tool-in legend { padding: 0; margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); float: left; width: 100%; }
.tool-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tg { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 12px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; user-select: none; }
.tg:hover { border-color: var(--petrol); }
.tg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tg i { width: 34px; height: 18px; border-radius: 9px; border: 1.5px solid var(--petrol); flex: none; position: relative; transition: background .2s; }
.tg i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--petrol); transition: transform .25s var(--ease), background .2s; }
.tg:has(input:checked) { border-color: var(--petrol); background: var(--paper); }
.tg:has(input:checked) i { background: var(--petrol); }
.tg:has(input:checked) i::after { background: var(--white); transform: translateX(16px); }
.tg:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
.tg span { line-height: 1.25; }
.tg small { display: block; color: var(--ink-2); font-size: 12.5px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 6px 6px 6px 12px; border: 1px solid var(--petrol); background: var(--paper); }
.stepper label { line-height: 1.25; }
.stepper label small { display: block; color: var(--ink-2); font-size: 12.5px; }
.stepper .ctl { display: flex; align-items: stretch; border: 1px solid var(--petrol); background: var(--white); }
.stepper button { width: 36px; border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--petrol); }
.stepper button:hover { background: var(--petrol); color: var(--white); }
.stepper input { width: 40px; text-align: center; border: 0; border-left: 1px solid var(--petrol); border-right: 1px solid var(--petrol); background: var(--white); font-size: 15px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; padding: 8px 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seg { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr 1fr; border: 1px solid var(--line-2); }
.seg > span { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--line-2); min-height: 48px; }
.seg label { position: relative; display: grid; place-items: center; text-align: center; padding: 8px 6px; cursor: pointer; border-right: 1px solid var(--line-2); font-size: 14px; line-height: 1.2; transition: background .2s, color .2s; }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--petrol); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: -4px; }
.tool-out { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; padding: 18px; border-top: 1px solid var(--line-2); align-items: start; }
.house { display: grid; grid-template-columns: 30% 1fr; font-size: 12px; line-height: 1.2; }
.house .roof { grid-column: 2; grid-row: 1; height: 28px; background: var(--petrol); clip-path: polygon(0 100%, 50% 0, 100% 100%); margin: 0 6%; }
.house .fl { grid-column: 2; display: grid; grid-template-columns: 30px 1fr; border: 1px solid var(--line-2); border-bottom: 0; min-height: 44px; transition: background .35s, color .35s; }
.house .fl[data-p="4"] { grid-row: 2; }
.house .fl[data-p="3"] { grid-row: 3; }
.house .fl[data-p="2"] { grid-row: 4; }
.house .fl[data-p="1"] { grid-row: 5; }
.house .fl b { display: grid; place-items: center; border-right: 1px solid currentColor; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.house .fl span { padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; }
.house .fl em { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; color: var(--ink-2); }
.house .fl[data-state="heir"] { background: var(--petrol); color: var(--white); border-color: var(--petrol); }
.house .fl[data-state="heir"] em { color: var(--gold-light); }
.house .fl[data-state="excluded"] { background: repeating-linear-gradient(45deg, rgba(14, 30, 40, .12) 0 1px, transparent 1px 6px); color: var(--ink-2); }
.house .fl[data-state="empty"] { color: var(--ink-2); border-style: dashed; }
.house .annex { grid-column: 1; grid-row: 5; border: 1px solid var(--line-2); border-right: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 8px; transition: background .35s, color .35s; }
.house .annex em { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; color: var(--ink-2); }
.house .annex[data-state="heir"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.house .annex[data-state="heir"] em { color: var(--ink); }
.house .annex[data-state="empty"] { color: var(--ink-2); border-style: dashed; }
.house .base { grid-column: 1 / -1; grid-row: 6; border: 1px solid var(--line-2); padding: 8px; text-align: center; background: repeating-linear-gradient(45deg, rgba(14, 30, 40, .08) 0 1px, transparent 1px 6px); transition: background .35s, color .35s; }
.house .base[data-state="heir"] { background: var(--ink-2); color: var(--white); border-color: var(--ink-2); }
.house .base[data-state="empty"] { color: var(--ink-2); }
.house .base[data-state="excluded"] { color: var(--ink-2); text-decoration: line-through; }
.house .ground { grid-column: 1 / -1; grid-row: 7; height: 2px; background: var(--ink); }
.result { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sharebar { display: flex; height: 38px; border: 1px solid var(--line-2); background: var(--paper); overflow: hidden; }
.sharebar span { display: block; height: 100%; border-right: 2px solid var(--white); transition: flex-basis .5s var(--ease); background: var(--petrol); min-width: 2px; }
.sharebar span:last-child { border-right: 0; }
.sharebar span[data-kind="spouse"] { background: var(--gold); }
.sharebar span[data-kind="alt"] { background: var(--petrol-3); }
.sharebar span[data-kind="partner"], .sharebar span[data-kind="state"] { background: var(--ink-2); }
.shares { width: 100%; border-collapse: collapse; font-size: 14px; }
.shares th, .shares td { text-align: left; padding: 8px 6px 8px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.shares thead th { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); border-bottom: 1px solid var(--petrol); }
.shares td:nth-child(2), .shares td:nth-child(3), .shares th:nth-child(2), .shares th:nth-child(3) { text-align: right; white-space: nowrap; }
.shares td .pct { display: block; font-size: 11px; color: var(--ink-2); }
.shares .sw { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--petrol); vertical-align: 1px; }
.shares .sw[data-kind="spouse"] { background: var(--gold); }
.shares .sw[data-kind="alt"] { background: var(--petrol-3); }
.shares .sw[data-kind="partner"], .shares .sw[data-kind="state"] { background: var(--ink-2); }
.tool-notes { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.tool-notes li { padding: 4px 0 4px 16px; }
.prose .tool-notes li::before, .tool-notes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold); }
.tool-foot { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); margin: 0; }

/* ---------- 404 ---------------------------------------------------------- */
.nf { min-height: 64vh; display: grid; align-items: center; padding: 80px 0; }
.nf .h-section { font-size: clamp(64px, 12vw, 180px); }
.nf .lead { max-width: 46ch; }

/* ---------- Reveal ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .ln { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js.loaded .hero-title .ln { transform: none; }
.js .hero-title .ln-mask:nth-child(2) .ln { transition-delay: .1s; }
.js .hero-title .ln-mask:nth-child(3) .ln { transition-delay: .2s; }
.js .slides { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out) .25s; }
.js.loaded .slides { clip-path: inset(0); }
.js .gallery-ui, .js .ticker { opacity: 0; transition: opacity 1s var(--ease) 1.1s; }
.js.loaded .gallery-ui, .js.loaded .ticker { opacity: 1; }

/* Sicherheitsnetz: lädt site.js nicht, zeigt das Inline-Skript nach 3 s alles ohne Animation */
.no-anim .reveal, .no-anim .hero-title .ln { opacity: 1 !important; transform: none !important; }
.no-anim .slides { clip-path: none !important; }
.no-anim .gallery-ui, .no-anim .ticker { opacity: 1 !important; }
.no-anim .draw .plan path { stroke-dashoffset: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-title .ln { opacity: 1; transform: none; }
  .js .slides { clip-path: none; }
  .js .draw .plan path { stroke-dashoffset: 0; }
  .ticker-track { width: auto; }
  .ticker-list { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 0 clamp(28px, 3vw, 48px); padding: 10px var(--gutter); }
  .ticker-list a { padding-block: 8px; font-size: clamp(19px, 1.5vw, 24px); }
  .ticker-list + .ticker-list, .ticker-toggle { display: none; }
  .ticker-viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .hero-head { grid-column: 1 / span 6; }
  .hero-text { grid-column: 1 / span 6; }
  .hero-gallery { grid-column: 7 / span 6; }
  .quote { grid-column: 1 / -1; }
  .aside { grid-column: 1 / -1; position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; align-items: start; order: 2; }
  .prose { grid-column: 1 / -1; max-width: 780px; order: 1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:first-of-type { grid-column: 1 / span 4; }
  .footer-col--wide { grid-column: 5 / span 8; }
  .services-head, .service-row a { grid-template-columns: 52px minmax(0, 5fr) minmax(0, 5fr) 88px; }
  .service-row .pic .plan { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header.is-floating .wrap { height: 54px; margin-top: 8px; width: calc(100% - 16px); padding: 0 16px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero > .wrap { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-top: 12px; }
  .hero-head, .hero-text, .hero-gallery, .ticker { grid-column: 1 / -1; grid-row: auto; }
  .hero-head { order: 1; padding-bottom: 24px; }
  .hero-title { font-size: clamp(38px, 7.4vw, 60px); }
  .hero-gallery { order: 2; margin: 0; }
  .ticker { order: 3; margin: 0 calc(-1 * var(--gutter)); }
  .hero-text { order: 4; align-self: start; padding: 32px 0 clamp(52px, 10vw, 80px); }
  .slides { flex: none; height: clamp(260px, calc(100vh - 440px), 640px); height: clamp(260px, calc(100svh - 440px), 640px); min-height: 0; }
  .gallery-ui { padding: 0 16px 14px; }
  .about-portrait, .about-text, .contact-info, .contact-form, .profile-grid figure, .profile-grid .profile-text, .faq-intro, .faq-list { grid-column: 1 / -1; }
  .about-portrait { max-width: 520px; }
  .faq-intro { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature .card-cover, .card--feature .card-body { grid-column: 1 / -1; }
  .card--feature .card-body { padding: 0 22px; }
  .page-hero-main, .page-hero-plan { grid-column: 1 / -1; }
  .page-hero-plan { max-width: 340px; }
  .legal-card { grid-column: span 6; }
  .legal-card--wide { grid-column: 1 / -1; }
  .timeline .year { grid-column: 1 / span 4; }
  .timeline .what { grid-column: 5 / span 8; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tool-out { grid-template-columns: 1fr; }
  .house { max-width: 420px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand img { width: 34px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .14em; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hide-sm { display: none; }
  .slides { height: clamp(260px, calc(100vh - 390px), 640px); height: clamp(260px, calc(100svh - 390px), 640px); }
  .facts { grid-template-columns: 1fr; padding-top: 0; }
  .facts div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .services-head { display: none; }
  .service-row a { grid-template-columns: 30px minmax(0, 1fr) 40px; row-gap: 8px; }
  .service-row .num { grid-row: 1; padding-top: .45em; }
  .service-row h3 { grid-column: 2; grid-row: 1; font-size: clamp(21px, 6vw, 26px); }
  .service-row p { grid-column: 2 / -1; grid-row: 2; }
  .service-row .pic { grid-column: 3; grid-row: 1; }
  .service-row .go { width: 36px; height: 36px; }
  .values { grid-template-columns: 1fr; }
  .values div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .values div { padding: 12px 0; display: flex; gap: 16px; align-items: baseline; }
  .values strong { margin: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .g2, .g3, .g4, .g5 { grid-column: span 1; }
  .g6 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .cards { grid-template-columns: 1fr; }
  .info-block { grid-template-columns: 1fr; gap: 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .aside { grid-template-columns: 1fr; }
  .next-nav .prev, .next-nav .next { grid-column: 1 / -1; border-left: 0; padding: 0; text-align: left; align-items: flex-start; }
  .next-nav .next { border-top: 1px solid var(--line); }
  .legal-card { grid-column: 1 / -1; }
  .timeline li { row-gap: 4px; padding: 16px 0; }
  .timeline li.key { padding: 16px 10px; }
  .timeline .year, .timeline .what { grid-column: 1 / -1; }
  .footer-col:first-of-type, .footer-col--wide { grid-column: 1 / -1; }
  .footer-col--wide ul { columns: 1; }
  .footer-col li { overflow-wrap: anywhere; }
  .prose h2 { grid-template-columns: 1fr; gap: 6px; }
  .faq-list summary { grid-template-columns: 30px 1fr 18px; }
  .faq-answer { padding: 0 0 22px 42px; }
  .tool-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg > span { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-2); min-height: 40px; }
  .tool-row { flex-direction: column; }
  .steps > li { padding-left: 58px; }
  .floors li { margin: 0 calc(var(--i) * 2%); }
  .compare-cards { grid-template-columns: 1fr; }
  .box { padding: 26px 18px 16px; }
}

/* ---------- Druck ------------------------------------------------------- */
.print-only { display: none; }
@media print {
  @page { margin: 18mm 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .mobile-nav, .site-footer, .ticker, .gallery-ui, .aside, .next-nav, .related, .skip, .page-hero-plan, .tool, .crumbs, .checklist .cl-head button { display: none !important; }
  .page-hero-grid { padding: 0 0 12pt; }
  .page-hero-main h1 { font-size: 24pt; }
  .prose { grid-column: 1 / -1; max-width: none; font-size: 11.5pt; }
  .article-wrap { padding: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .checklist, .box, .steps > li, .cmp-card, .floors { break-inside: avoid; }
  .prose h2, .prose h3 { break-after: avoid; }
  .checklist .cl-head { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .checklist .cl-head .label { color: #000; }
  .print-only { display: block !important; margin-top: 18pt; padding-top: 8pt; border-top: 1px solid #000; font-size: 8.5pt; letter-spacing: .04em; }
}
