/* =========================================================
   valuta finance – Landingpage
   Farbwelt: Off-White + Bordeaux als einzige Akzentfarbe
   ========================================================= */

:root {
  /* Basis */
  --bg:          #f6f6f4;
  --surface:     #ffffff;
  --text:        #1d1d1f;
  --text-soft:   #55555b;
  --text-mute:   #86868b;
  --border:      #e6e6e2;

  /* Akzent: Bordeaux (einzige Akzentfarbe, deckt sich mit der App) */
  --accent:      #7a2e3a;
  --accent-soft: #d9c3c7;
  --accent-deep: #2c1015;

  /* Szenen-/Illustrationsfarben (dezente Graustufen) */
  --wall:        #efefeb;
  --wall-2:      #eaeae6;
  --sky:         #dcdcd8;
  --light:       #ffffff;
  --screen:      #f4f4f2;
  --card:        #e4e4e0;
  --desk:        #d6d6d0;
  --pot:         #b9b9b2;
  --plant:       #9a9a92;
  --plant-2:     #adada5;

  --shadow-sm: 0 1px 2px rgba(20,20,25,.05), 0 2px 8px rgba(20,20,25,.04);
  --shadow-md: 0 10px 30px rgba(20,20,25,.08), 0 2px 8px rgba(20,20,25,.04);
  --shadow-lg: 0 30px 60px rgba(20,20,25,.10), 0 6px 16px rgba(20,20,25,.05);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1140px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & Basis ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.022em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

p { color: var(--text-soft); }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.container--narrow { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mute);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem; font-weight: 550;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  will-change: transform;
}
.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.94rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--disabled { background: var(--accent-soft); color: var(--text-mute); cursor: default; pointer-events: none; box-shadow: none; }
.btn--disabled:hover { transform: none; background: var(--accent-soft); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(246,246,244,.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 1.05rem clamp(1.25rem, 5vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { font-weight: 650; letter-spacing: -0.01em; font-size: 1.12rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.nav__links a { font-size: 0.96rem; color: var(--text-soft); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--accent); color: #fff !important;
  padding: 0.55rem 1.2rem; border-radius: 999px;
}
.nav__cta:hover { background: var(--accent-deep); }

/* ---------- Scene / Parallax-Grundgerüst ---------- */
.scene { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.layer {
  position: absolute;
  top: -8%; left: -4%;
  width: 108%; height: 116%;
  will-change: transform;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding-top: 6rem; padding-bottom: 6rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero__claim { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-soft); max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__note { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-soft); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  color: var(--text-mute); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.scroll-cue__dot {
  width: 26px; height: 42px; border: 2px solid var(--accent-soft); border-radius: 999px;
  position: relative;
}
.scroll-cue__dot::after {
  content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--accent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 70% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- SERVICES ---------- */
.service {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.service__text { position: relative; z-index: 2; display: flex; }
.service--alt .service__text { justify-content: flex-end; }

.service__card {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 440px;
}
.service__card h2 { margin: 0.4rem 0 0.9rem; }
.service__lead { margin-bottom: 1.4rem; }

/* Breitere Variante der Leistungskarte – nimmt das dreispaltige Preisraster auf */
.service__card--wide { max-width: 640px; }
.service__card--wide .pricing-grid { max-width: 100%; margin-bottom: 0.6rem; }
.service__card--wide .pricing-grid__note { margin-bottom: 1.6rem; }

.badge {
  display: inline-block; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute); background: var(--bg);
  border: 1px solid var(--border); padding: 0.32rem 0.75rem; border-radius: 999px;
}
.badge--accent { color: #fff; background: var(--accent); border-color: var(--accent); }

.ticks { list-style: none; margin: 0 0 1.6rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.65rem; color: var(--text-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 1.2rem; height: 1.2rem; border-radius: 999px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
}

.price { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 650; color: var(--text); letter-spacing: -0.02em; }
.price__from { font-size: 0.9rem; font-weight: 500; color: var(--text-mute); margin-right: 0.4rem; vertical-align: middle; }
.price__unit { font-size: 1rem; font-weight: 500; color: var(--text-mute); }
.price__note { font-size: 0.82rem; color: var(--text-mute); margin: 0.35rem 0 1.4rem; overflow-wrap: break-word; hyphens: auto; }

/* ---------- SOFTWARE ---------- */
.software {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--surface);
}
.software__content { position: relative; z-index: 2; max-width: 620px; margin-inline: clamp(0px, 6vw, 90px) auto; }
/* Laptop-Illustration nach rechts neben die Textspalte rücken und links weich
   ausblenden, damit sie nicht mehr durch die Überschrift läuft. */
.software .scene {
  opacity: 0.65;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, #000 74%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, #000 74%);
}
.software h2 { margin: 0.6rem 0 1.2rem; }
.software__lead { font-size: 1.15rem; margin-bottom: 2rem; }

.software__pricing { margin-top: 2.4rem; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; max-width: 620px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
}
.pricing-card--accent { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pricing-card .price { font-size: 1.5rem; margin: 0.6rem 0 0.3rem; }
.pricing-card .price__note { margin: 0; font-size: 0.78rem; }
.pricing-card .price__note + .price__note { margin-top: 0.45rem; }
.price__note--feature { color: var(--accent); font-weight: 600; }
.pricing-grid__note { font-size: 0.82rem; color: var(--text-mute); margin-top: 1rem; }

.service__card-actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- ABO-VERGLEICH (Dialog) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.compare {
  border: none; padding: 0; background: transparent;
  max-width: min(760px, calc(100vw - 2.5rem));
  max-height: min(88vh, 900px);
  width: 100%;
  margin: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.compare::backdrop { background: rgba(19,19,23,.55); backdrop-filter: blur(3px); }
.compare[open] { animation: compare-in .28s cubic-bezier(.16,1,.3,1); }
@keyframes compare-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.compare__inner { background: var(--surface); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); }
.compare__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.compare__head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.compare__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text-soft); cursor: pointer; flex: 0 0 auto;
  transition: color .2s, border-color .2s;
}
.compare__close:hover { color: var(--text); border-color: var(--accent); }

.compare__scroll { overflow-x: auto; margin: 0 -0.2rem; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 560px; table-layout: fixed; }
.compare__col-label { width: 42%; }
.compare__table th, .compare__table td { text-align: center; padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--border); }
.compare__table thead th { text-align: center; padding-top: 0; vertical-align: top; }
.compare__table thead .price { font-size: 1.15rem; margin-top: 0.5rem; white-space: nowrap; }
.compare__row-label { text-align: left !important; font-size: 0.92rem; font-weight: 500; color: var(--text); }
.compare__col--accent { background: var(--bg); }
.compare__row--group th {
  text-align: left; padding-top: 1.3rem; padding-bottom: 0.5rem; border-bottom: none;
  font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute);
}

.compare__check, .compare__x {
  display: inline-block; width: 1.15rem; height: 1.15rem; border-radius: 999px;
}
.compare__check { background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.85rem no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.85rem no-repeat; }
.compare__x { background: var(--text-mute); opacity: 0.55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 6l12 12M18 6 6 18' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/0.8rem no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 6l12 12M18 6 6 18' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/0.8rem no-repeat; }

.compare__note { font-size: 0.82rem; color: var(--text-mute); margin: 1.4rem 0 1.2rem; }
.compare__cta { width: 100%; }
.compare__hint { display: none; font-size: 0.8rem; color: var(--text-mute); margin: -0.6rem 0 0.8rem; }

@media (max-width: 640px) {
  .compare__inner { padding: 1.3rem; }
  .compare__hint { display: block; }
  .compare__scroll { position: relative; }
  .compare__row-label { position: sticky; left: 0; background: var(--surface); z-index: 1; }
  .compare__row--group th { background: var(--surface); }
}

/* Hervorgehobene Feature-Kachel innerhalb eines Abschnitts (z. B. DATEV-Export) */
.feature-highlight {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.feature-highlight h3 { margin: 0.6rem 0 0.5rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.feature-highlight p { margin: 0; color: var(--text-soft); }

/* Kompakte Variante: innerhalb der Preiskarte statt als eigener Seitenabschnitt */
.feature-highlight--compact {
  margin: 0 0 1.6rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
}
.feature-highlight--compact h3 { font-size: 1.02rem; margin: 0.45rem 0 0.4rem; }
.feature-highlight--compact p { font-size: 0.9rem; }

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- OUTCOME / EÜR-ERKLÄRUNG ---------- */
.outcome { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--surface); }
.outcome__intro { max-width: 720px; }
.outcome h2 { margin: 0.5rem 0 1.1rem; }
.outcome__lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--text-soft); }

.outcome__explainer { max-width: 720px; margin-top: 2.2rem; margin-bottom: 0; }
.outcome__explainer .badge { margin-bottom: 0.2rem; }
.outcome__explainer h3 { margin: 0.7rem 0 0.5rem; }
.outcome__explainer strong { color: var(--text); font-weight: 600; }

.steps {
  list-style: none; margin: 2.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  counter-reset: none;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.96rem; color: var(--text-soft); margin: 0; }

.outcome__reassure {
  margin-top: 2.2rem; font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: var(--text); font-weight: 500; max-width: 720px;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- DISCLAIMER ---------- */
.disclaimer { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg); }
.disclaimer__box {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  max-width: 860px; margin-inline: auto;
}
.disclaimer__icon { color: var(--accent); flex: 0 0 auto; margin-top: 0.1rem; }
.disclaimer__box h3 { margin-bottom: 0.5rem; }
.disclaimer__box p { color: var(--text-soft); }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(4rem, 10vw, 8rem) 0; background: var(--surface); }
.contact h2 { margin: 0.5rem 0 0.9rem; }
.contact__lead { font-size: 1.1rem; margin-bottom: 2.6rem; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field span { font-size: 0.9rem; font-weight: 550; color: var(--text); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.9rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(43,43,48,.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
/* Datenschutz-Einwilligung: Kästchen links neben dem Text statt Label darüber. */
/* Tippfehler-Hinweis unter dem E-Mail-Feld (script.js). Als Button, damit er per Klick
   die Adresse korrigiert — kein reiner Text. */
.field__hinweis {
  justify-self: start; margin-top: 0.4rem; padding: 0.25rem 0;
  background: none; border: none; cursor: pointer;
  font-size: 0.85rem; color: var(--accent); text-decoration: underline;
}
.field__hinweis:hover { color: var(--accent-deep); }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field--check input { width: 1.05rem; height: 1.05rem; padding: 0; margin-top: 0.15rem; accent-color: var(--accent); }
.field--check span { font-size: 0.85rem; font-weight: 400; color: var(--text-mute); line-height: 1.5; }
.field--check a { color: var(--accent); text-decoration: underline; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__status { font-size: 0.95rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--accent); font-weight: 550; }
.form__status.is-error { color: #b23a3a; }

/* ---------- FOOTER ---------- */
.footer { background: var(--accent-deep); color: #d9d9dd; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer__logo { font-weight: 650; font-size: 1.15rem; color: #fff; display: block; margin-bottom: 0.5rem; }
.footer__brand p { color: #9a9aa2; max-width: 320px; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a { color: #c4c4cb; font-size: 0.95rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__copy {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.85rem; color: #83838c;
}

/* ---------- Reveal-Animation (Intersection Observer) ----------
   Inhalte sind standardmäßig SICHTBAR. Nur wenn JavaScript aktiv ist
   (html.js), werden sie zunächst ausgeblendet und dann eingeblendet.
   So bleibt die Seite auch ohne/mit blockiertem JS voll lesbar. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .service--alt .service__text { justify-content: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .service__card { max-width: 100%; }
  /* Parallax-Bühnen auf Mobile ruhiger: Layer weniger stark beschnitten */
  .layer { top: -4%; height: 108%; }
  /* Software-Illustration hat (anders als die Leistungspakete) keine Hintergrundkarte
     hinter dem Text -> auf schmalen Breiten überlappt sie sonst mit dem Fließtext. */
  .software .scene { display: none; }
  .software { min-height: 0; padding: clamp(4rem, 12vw, 6rem) 0; }
}

/* ---------- Motion-Reduktion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .layer { transform: none !important; }
  .scroll-cue__dot::after { animation: none; }
}

/* ---------- Rechtstext-Seiten (Impressum, Datenschutz, AGB) ---------- */
.legal { padding: clamp(7rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); background: var(--surface); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.legal__updated { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 2.8rem; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.4rem 0 0.9rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol { margin: 0 0 1rem 1.3rem; color: var(--text-soft); }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: 0.92rem; }
/* Mehrspaltige Rechtstext-Tabellen (Tarifübersicht, Unterauftragsverarbeiter) sind auf
   Handybreite schmaler als ihr Inhalt. Ohne Wrapper scrollt sonst die GANZE Seite
   horizontal; so scrollt nur die Tabelle. */
.legal__tablewrap { overflow-x: auto; margin: 1rem 0 1.6rem; }
.legal__tablewrap table { margin: 0; min-width: 30rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--border); }
.legal th { color: var(--text-mute); font-weight: 600; }
.legal__note { margin-top: 3rem; padding: 1.1rem 1.3rem; background: var(--bg); border-left: 4px solid var(--accent-soft); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-mute); }
.legal__back { display: inline-block; margin-bottom: 2.4rem; font-size: 0.9rem; color: var(--text-mute); }
.legal__back:hover { color: var(--text); }
