/* =========================================================================
   Hartmann & Sieg Rechtsanwaelte - Konzeptprojekt (R5)
   Eigenes Design-System, bewusst NICHT die Tokens der Hauptseite.
   Regeln: docs/REBRAND/03_REFERENZEN_SPEC.md §8 + 07_DESIGN_QUALITAET.md.
   Keine Kacheln, keine Icons ausser Nav/Formular/Button-Pfeil/Accordion-
   Zustand, keine Zahlen-Bannerzeile, keine Eyebrow-Labels, kein Justitia-
   Motiv. Raster: eine Textspalte mit klebender Randspalte.
   ========================================================================= */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/SourceSans3-latin.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  /* Palette (Brief). --gold traegt auf Ivory keinen Text (2,8:1), deshalb
     gibt es --gold-ink fuer Schrift auf hellem Grund (4,9:1). */
  --navy:       #0f2340;
  --navy-deep:  #0a1930;
  --navy-mid:   #1c3454;
  --ivory:      #f7f4ec;
  --ivory-dim:  #c8c1b1;   /* Sekundaertext auf Navy, 8,8:1 */
  --paper:      #fffdf7;
  --gold:       #b08d57;   /* Linien, Marken, Text auf Navy (5,1:1) */
  --gold-ink:   #856539;   /* Text auf Ivory, 4,9:1 */
  --slate:      #4a5568;   /* Sekundaertext auf Ivory, 6,9:1 */
  --line:       #e3ddd0;
  --line-mid:   #cfc6b3;
  --line-dark:  #24395a;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Typo-Skala: die Serife traegt, der Satz bleibt ruhig. */
  --d1:    clamp(2.5rem, 5.9vw, 5.25rem);
  --d2:    clamp(1.9rem, 3.9vw, 3.25rem);
  --d3:    clamp(1.35rem, 2.1vw, 1.75rem);
  --quote: clamp(1.45rem, 3vw, 2.35rem);
  --lead:  clamp(1.0625rem, 1.25vw, 1.25rem);
  --body:  1.0625rem;
  --small: 0.9375rem;
  --micro: 0.8125rem;

  --gut:  clamp(1.25rem, 5vw, 3.5rem);
  --sec:  clamp(4rem, 9vw, 7.5rem);
  --measure: 63ch;
  --wrap: 1180px;
  --aside-w: 19rem;

  --r: 2px;
  --dur: 240ms;
  --dur-rev: 640ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 68px;

  color-scheme: light;
}

/* --- Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-text);
  font-size: var(--body);
  line-height: 1.62;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}
.stimmen :focus-visible, .foot :focus-visible, .menu :focus-visible { outline-color: var(--gold); }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--ivory); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Wiederkehrende Textbausteine ----------------------------------------- */
.h2 {
  font-family: var(--font-display);
  font-size: var(--d2);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.008em;
  max-width: 20ch;
}
.h2--light { color: var(--ivory); max-width: 30ch; }
.lead {
  font-size: var(--lead);
  color: var(--slate);
  max-width: 58ch;
  margin-top: 1.25rem;
}

/* Hierarchie: die Frist ist die wichtigste Sektion, Honorar, Fragen und
   Kontakt stehen eine Stufe darunter (07 §1 Typografie). */
.frist .h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); max-width: 16ch; }
.honorar .h2, .fragen .h2, .kontakt .h2 { font-size: clamp(1.65rem, 2.6vw, 2.25rem); }

/* Randspalten-Notiz: die Marginalie des Layouts. */
.marg__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-ink);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold);
}
.marg__lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: .65rem;
}
.marg__txt {
  font-size: var(--small);
  color: var(--slate);
  margin-bottom: .9rem;
}
.marg__txt:last-child { margin-bottom: 0; }

/* --- Buttons und Links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 48px; padding: .7rem 1.4rem;
  background: var(--navy); color: var(--ivory);
  border: 1px solid var(--navy); border-radius: var(--r);
  font: inherit; font-weight: 600; font-size: var(--small);
  text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn svg { flex: none; }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line-mid);
}
.btn--ghost:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
.lnk {
  display: inline-block; min-height: 44px; line-height: 44px;
  color: var(--navy); font-weight: 600; font-size: var(--small);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: border-color var(--dur) var(--ease);
}
.lnk:hover { border-color: var(--navy); }
.lnk--sm { line-height: 44px; }

/* --- Kopf ----------------------------------------------------------------- */
.head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1.25rem;
  height: var(--head-h); padding: 0 var(--gut);
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.head.is-stuck { border-bottom-color: var(--line); background: rgba(247, 244, 236, .96); }
.head__mark {
  display: flex; align-items: baseline; gap: .55rem;
  text-decoration: none; margin-right: auto; padding-block: .4rem;
}
.head__name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.005em; white-space: nowrap;
}
.head__sub { font-size: var(--micro); color: var(--slate); }
.head__nav { display: none; }
.head__nav ul { display: flex; gap: 1.6rem; }
.head__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--small); text-decoration: none; color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.head__nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.head__tel {
  display: none; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 600; font-size: var(--small);
  padding: .55rem 1.1rem; border: 1px solid var(--line-mid); border-radius: var(--r);
  transition: border-color var(--dur) var(--ease);
}
.head__tel:hover { border-color: var(--navy); }

.burger {
  width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.burger__box { display: block; width: 22px; }
.burger__box i { display: block; height: 1px; background: currentColor; margin: 5px 0; }

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--navy); color: var(--ivory);
  padding: var(--gut);
  display: flex; flex-direction: column; justify-content: center;
}
.menu[hidden] { display: none; }
.menu__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; color: var(--ivory); cursor: pointer;
}
.menu__list { display: grid; gap: .35rem; }
.menu__list a {
  display: block; padding: .45rem 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 500;
}
.menu__foot { margin-top: 2.5rem; font-size: var(--small); color: var(--ivory-dim); }

/* --- Raster: Textspalte + klebende Randspalte ----------------------------- */
.sec { padding: var(--sec) var(--gut); }
.sec__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
}
.sec__main { min-width: 0; }
.sec__aside { min-width: 0; }
.stick { border-top: 1px solid var(--gold); padding-top: 1.1rem; }
.stick__tel {
  font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; margin-bottom: .5rem;
}
.stick__tel a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.stick__tel a:hover { color: var(--gold-ink); }

/* --- Hero: Deckblatt ------------------------------------------------------ */
.hero { padding: clamp(3rem, 8vw, 6.5rem) var(--gut) clamp(2.5rem, 5vw, 4rem); }
.hero__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: var(--d1); font-weight: 500;
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 21ch;
}
.hero__h1 span { display: block; }
.hero__h1 span:first-child { color: var(--gold-ink); }
.hero__lead {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--lead); color: var(--slate); max-width: 54ch;
}
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__aside { align-self: end; }
.hero__foot {
  max-width: var(--wrap); margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding-top: 1.25rem; border-top: 1px solid var(--line-mid);
  font-size: var(--small); color: var(--slate);
}

/* --- Frist: Rechner mit Tagesband ----------------------------------------- */
.frist { background: var(--paper); border-block: 1px solid var(--line); padding: var(--sec) var(--gut); }
.frist__inner { max-width: var(--wrap); margin: 0 auto; }
.frist__txt { margin-top: 1.25rem; color: var(--slate); max-width: var(--measure); }

.rechner { margin-top: 2.5rem; display: grid; gap: 1.75rem; max-width: 44rem; }
.rechner__lbl { display: block; font-size: var(--small); font-weight: 600; margin-bottom: .5rem; }
.rechner__date {
  width: 100%; max-width: 20rem; min-height: 48px;
  padding: .6rem .8rem; font: inherit; font-size: 1rem;
  color: var(--navy); background: #fff;
  border: 1px solid var(--line-mid); border-radius: var(--r);
}
.rechner__date:hover { border-color: var(--gold); }
.rechner__out { display: block; }
.rechner__pre { color: var(--slate); font-size: var(--small); }
.rechner__tag {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  line-height: 1.1; font-weight: 500;
}
.rechner__rest { margin-top: .4rem; font-size: var(--lead); color: var(--slate); }
.rechner__rest strong { color: var(--navy); font-weight: 600; }
.rechner__warn { color: var(--gold-ink); font-weight: 600; }

.band { margin-top: 2.25rem; display: grid; gap: .5rem; max-width: 44rem; }
.band__ticks { display: flex; gap: 4px; height: 36px; align-items: stretch; }
.band__ticks i { flex: 1 1 0; background: var(--line); border-radius: 1px; }
.band__ticks i.is-past { background: var(--navy); }
.band__ticks i.is-last { background: var(--gold); }
.band__mark { font-size: var(--micro); color: var(--slate); }
.band__mark--b { text-align: right; }
.frist__note { margin-top: 1.75rem; font-size: var(--micro); color: var(--slate); max-width: 60ch; }

/* --- Fachgebiete: nummerierte Liste mit Accordion -------------------------- */
.fach { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.fach__item { position: relative; padding: 1.5rem 0 1.5rem 3.25rem; border-top: 1px solid var(--line); }
.fach__num {
  position: absolute; left: 0; top: 1.55rem;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-ink);
}
.fach__h { font-weight: 400; }
.fach__btn {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 44px; padding: 0; text-align: left;
  background: none; border: 0; cursor: pointer; color: inherit;
  font-family: var(--font-display); font-size: var(--d3); font-weight: 500; line-height: 1.15;
  transition: color var(--dur) var(--ease);
}
.fach__btn:hover { color: var(--gold-ink); }
.fach__ind { position: relative; flex: none; width: 15px; height: 15px; align-self: center; }
.fach__ind::before, .fach__ind::after {
  content: ''; position: absolute; background: var(--gold-ink);
  transition: opacity var(--dur) var(--ease);
}
.fach__ind::before { left: 0; right: 0; top: 7px; height: 1.5px; }
.fach__ind::after { top: 0; bottom: 0; left: 7px; width: 1.5px; }
.fach__btn[aria-expanded="true"] .fach__ind::after { opacity: 0; }
.fach__claim { margin-top: .5rem; color: var(--slate); max-width: 52ch; }
.fach__panel { padding-top: .9rem; max-width: var(--measure); }
.js .fach__panel { display: none; }
.js .fach__panel.is-open { display: block; }

/* --- Bildbaender ----------------------------------------------------------- */
.pic { margin: 0; }
.pic img { width: 100%; }
.pic__cap {
  max-width: var(--wrap); margin: .9rem auto 0; padding: 0 var(--gut);
  font-size: var(--small); color: var(--slate);
}
.pic--city { margin-top: var(--sec); }

/* --- Ablauf ---------------------------------------------------------------- */
.steps { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.steps__i {
  display: grid; gap: .25rem 2rem; padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.steps__n { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-ink); }
.steps__h { font-family: var(--font-display); font-size: var(--d3); font-weight: 500; line-height: 1.2; }
.steps__i p:last-child { color: var(--slate); max-width: 54ch; }
.ablauf__img { width: 100%; margin-bottom: 1.5rem; border-radius: var(--r); }

/* --- Vier Haltungen (dunkle Sektion) --------------------------------------- */
.stimmen { background: var(--navy); color: var(--ivory); padding: var(--sec) var(--gut); }
.stimmen__inner { max-width: var(--wrap); margin: 0 auto; }
.stimmen__lead {
  margin-top: 1.5rem; max-width: 56ch; color: var(--ivory-dim); font-size: var(--lead);
}
.stimme {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark); max-width: 44rem;
}
.stimme__satz {
  font-family: var(--font-display); font-size: var(--quote); font-weight: 500;
  line-height: 1.24; letter-spacing: -0.005em;
}
.stimme__wer { margin-top: 1.1rem; font-size: 1rem; font-weight: 600; }
.stimme__was { font-size: var(--small); color: var(--ivory-dim); }

/* --- Honorar --------------------------------------------------------------- */
.tarif { margin-top: clamp(2rem, 4vw, 2.75rem); font-size: var(--small); }
.tarif th, .tarif td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem 1.1rem 0; }
.tarif thead th {
  font-weight: 600; font-size: var(--micro); color: var(--slate);
  padding-bottom: .6rem; border-bottom: 1px solid var(--navy);
}
.tarif tbody tr { border-bottom: 1px solid var(--line); }
.tarif tbody th {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; width: 12rem;
}
.tarif tbody td { color: var(--slate); }
.tarif__p { white-space: nowrap; text-align: right; padding-right: 0 !important; color: var(--navy) !important; font-weight: 600; }
.tarif__p span { font-weight: 400; font-size: var(--micro); color: var(--slate); }
.tarif__fuss { margin-top: 1rem; font-size: var(--micro); color: var(--slate); }

/* --- Formular-Wizard (Signature) ------------------------------------------- */
.anfrage { background: var(--paper); border-block: 1px solid var(--line); }
.wiz { margin-top: clamp(2rem, 4vw, 2.75rem); max-width: 42rem; }
.wiz__bar { margin-bottom: 2rem; }
.wiz__count { font-size: var(--small); font-weight: 600; margin-bottom: .6rem; }
.wiz__rail { height: 2px; background: var(--line-mid); }
.wiz__rail span {
  display: block; height: 100%; width: 33.33%; background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .step { display: none; }
.js .step.is-active { display: block; }
.step__h {
  font-family: var(--font-display); font-size: var(--d3); font-weight: 500;
  padding: 0; margin-bottom: 1.25rem; line-height: 1.2;
}
.opts { display: grid; gap: .1rem; }
.opt {
  display: flex; align-items: center; gap: .8rem;
  min-height: 48px; padding: .5rem 0; cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.opt input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.opt span { font-size: var(--small); }
.opt:hover span { color: var(--gold-ink); }

.row { display: grid; gap: 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: var(--small); font-weight: 600; margin-bottom: .4rem; }
.field__opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem;
  font: inherit; font-size: 1rem; color: var(--navy); background: #fff;
  border: 1px solid var(--line-mid); border-radius: var(--r);
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field.is-bad input, .field.is-bad textarea { border-color: #9b2c2c; }
.err { margin-top: .4rem; font-size: var(--micro); color: #9b2c2c; font-weight: 600; }
.wiz__nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.summ__list { margin: 0; display: grid; }
.summ__list div {
  display: grid; gap: .1rem 1.5rem; padding: .8rem 0; border-top: 1px solid var(--line);
}
.summ__list dt { font-size: var(--micro); color: var(--slate); }
.summ__list dd { margin: 0; font-size: var(--small); }
.summ__hint { margin-top: 1.25rem; font-size: var(--small); color: var(--slate); }

/* --- Haeufige Fragen: zweispaltiger Satz ----------------------------------- */
.fragen { max-width: var(--wrap); margin: 0 auto; }
.fragen > .h2 { margin: 0 auto; max-width: var(--wrap); }
.qa { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 0; }
.qa__i { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.qa__q { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.qa__a { margin-top: .5rem; color: var(--slate); max-width: var(--measure); }

/* --- Kontakt --------------------------------------------------------------- */
.kont { max-width: var(--wrap); margin: 0 auto; display: grid; gap: clamp(2rem, 4vw, 4rem); }
.kont__adr { margin-top: 1.5rem; font-size: var(--lead); }
.kont__tel {
  margin-top: 1rem; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.25;
}
.kont__tel a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.kont__tel a:hover { color: var(--gold-ink); }
.kont__mail { font-size: var(--small); color: var(--slate); }
.kont__h { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: .4rem; }
.kont__h + p { color: var(--slate); max-width: 46ch; margin-bottom: 1.5rem; }
.kont__c p:last-child { margin-bottom: 0; }

/* --- Fuss ------------------------------------------------------------------ */
.foot { background: var(--navy-deep); color: var(--ivory); padding: clamp(3rem, 6vw, 4.5rem) var(--gut) 2rem; }
.foot__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 2rem; font-size: var(--small); color: var(--ivory-dim);
}
.foot__mark { font-family: var(--font-display); font-size: 1.6rem; color: var(--ivory); }
.foot__sub { margin-top: .3rem; }
.foot__h {
  font-size: var(--micro); font-weight: 600; color: var(--gold);
  margin-bottom: .5rem; font-family: var(--font-text);
}
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot__nav a:hover { color: var(--ivory); }
.foot__note {
  max-width: var(--wrap); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: 1.25rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--micro); color: var(--ivory-dim);
}
.foot__note a { color: var(--ivory); }
.foot__more {
  background: none; border: 0; padding: .6rem 0; min-height: 44px; cursor: pointer;
  color: var(--gold); font: inherit; font-size: var(--micro);
  border-bottom: 1px solid var(--gold);
}
.about {
  max-width: var(--wrap); margin: 1.25rem auto 0;
  font-size: var(--micro); color: var(--ivory-dim); max-width: 70ch;
}
.about p + p { margin-top: .6rem; }

/* --- Toast ----------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 80; max-width: min(92vw, 34rem);
  padding: .9rem 1.2rem; border-radius: var(--r);
  background: var(--navy); color: var(--ivory); font-size: var(--small);
  box-shadow: 0 10px 30px rgba(15, 35, 64, .22);
}

/* --- Reveal: dezenter Fade, Maske auf den Kindern (Spec §8 h) -------------- */
[data-reveal] > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-rev) var(--ease), transform var(--dur-rev) var(--ease);
}
[data-reveal] > * + * { transition-delay: 70ms; }
[data-reveal].is-visible > * { opacity: 1; transform: none; }
html:not(.js) [data-reveal] > * { opacity: 1; transform: none; }

/* Schmale Schirme: die beiden Bildbaender bekommen einen eigenen Zuschnitt,
   sonst bleibt von einem 2,6:1-Band nur ein Streifen von 150 px. */
@media (max-width: 700px) {
  .pic img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 74% center; }
  .pic--city img { object-position: 46% center; }
}

/* Schmale Schirme: die Tabelle stapelt, statt zu ueberlaufen. */
@media (max-width: 619px) {
  .tarif thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tarif tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: 1.15rem 0; }
  .tarif tbody th, .tarif tbody td { padding: 0; }
  .tarif tbody th { width: auto; grid-column: 1; grid-row: 1; align-self: baseline; }
  .tarif tbody td:not(.tarif__p) { grid-column: 1 / -1; grid-row: 2; margin-top: .4rem; }
  .tarif__p { grid-column: 2; grid-row: 1; align-self: baseline; }
}

/* Ohne JavaScript: der Zusammenfassungs-Schritt ist ein JS-Artefakt. */
html:not(.js) .summ { display: none; }
.nojs { display: none; }
html:not(.js) .nojs {
  display: block; margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); font-size: var(--small); color: var(--slate);
}

/* --- Breakpoints ----------------------------------------------------------- */
@media (min-width: 620px) {
  .row { grid-template-columns: 1fr 1fr; }
  .steps__i { grid-template-columns: 8rem 1fr; }
  .steps__n { grid-row: 1 / span 2; }
  .summ__list div { grid-template-columns: 11rem 1fr; }
  .kont { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .qa { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .qa__i:nth-child(2) { border-top: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  :root { --head-h: 76px; }
  .head__nav { display: block; }
  .head__tel { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none; }

  .sec__grid, .hero__grid { grid-template-columns: minmax(0, 1fr) var(--aside-w); }
  .sec__grid--wide { grid-template-columns: minmax(0, 1fr) 22rem; }
  .sec__aside .stick { position: sticky; top: calc(var(--head-h) + 2.5rem); }
  .hero__h1 { font-size: var(--d1); }
  .fach__item { padding-left: 4.5rem; }
  .fach__num { font-size: 1.5rem; }
  .stimme--b { margin-left: auto; margin-right: 0; }
  .fragen { padding-inline: 0; }
}

@media (min-width: 1280px) {
  .stimme { max-width: 48rem; }
}

/* --- Bewegung aus --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] > * { opacity: 1 !important; transform: none !important; }
}
html.reduce [data-reveal] > * { opacity: 1; transform: none; }
