/* XML-Service-Tool – helles Design in Navy mit echten Fotos aus dem disserto-Büro
   Schriften lokal eingebunden (SIL Open Font License):
   Newsreader für Überschriften, Schibsted Grotesk für Text und Bedienelemente */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0b1c38;
  --navy-hover: #1d3a6b;
  --ink: #1f2b42;
  --muted: #586579;
  --rule: #d7dee8;
  --rule-strong: #b8c3d3;
  --mist: #eff3f8;
  --blue: #1f50a6;
  --white: #ffffff;
  --on-navy: #d8e2f2;
  --on-navy-muted: #a3b4cf;
  --on-navy-rule: rgba(216, 226, 242, 0.18);
  --err: #b3261e;
  --err-bg: #fdecea;
  --ok: #146c43;
  --ok-bg: #e7f5ed;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: 1rem;
  --wrap: 74rem;
  --anchor-offset: 7.5rem;
}
@media (min-width: 40rem) { :root { --gutter: 2rem; } }
@media (min-width: 64rem) { :root { --anchor-offset: 5.5rem; } }

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-synthesis: none; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #6f9eea; outline-offset: 2px; border-radius: 3px; }
[id] { scroll-margin-top: var(--anchor-offset); }
::selection { background: #cfe0fa; color: var(--navy); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.625rem 1rem; background: var(--navy); color: #fff;
  border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* ---------- Typografie ---------- */

.h2 {
  margin-bottom: 1.25rem;
  font-family: var(--serif); font-weight: 560;
  font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.625rem);
  line-height: 1.12; letter-spacing: -0.01em;
}
.h3 { margin-bottom: 0.375rem; font-size: 1.125rem; font-weight: 650; line-height: 1.35; }

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.bg-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head p { font-size: 1.125rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: 0; border-radius: 6px;
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.text-link { font-weight: 600; color: var(--navy); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; min-height: 4.25rem; }
.logo { display: inline-block; padding-block: 0.75rem; }
.logo img { width: 8.5rem; }
.header-cta { margin-left: auto; }

.main-nav { order: 3; width: calc(100% + 1rem); margin: 0 -0.5rem; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul { display: flex; margin: 0; padding: 0 0 0.5rem; list-style: none; }
.main-nav a {
  display: block; padding: 0.5rem 0.75rem;
  color: var(--ink); font-size: 0.9375rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; }

@media (min-width: 64rem) {
  .logo img { width: 9.5rem; }
  .main-nav { order: 0; width: auto; margin: 0 0 0 auto; overflow: visible; }
  .main-nav ul { padding: 0; }
  .header-cta { margin-left: 0.5rem; }
}

/* ---------- Hero ---------- */

.hero { overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: clamp(2.5rem, 7vw, 4rem); }

.hero h1 {
  margin-bottom: 1.5rem;
  font-family: var(--serif); font-weight: 560;
  font-size: clamp(2.125rem, 1.25rem + 2.4vw, 3.25rem);
  line-height: 1.07; letter-spacing: -0.015em;
}
.hero-lead { max-width: 34em; font-size: 1.1875rem; line-height: 1.6; }
.hero-origin {
  max-width: 30rem; margin-top: 2.5rem; padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem; color: var(--muted);
}

.hero-photo { display: flex; flex-direction: column; margin: 0 calc(-1 * var(--gutter)); }
.hero-photo picture { position: relative; display: block; aspect-ratio: 4 / 3; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-photo figcaption { padding: 0.625rem var(--gutter) 0; font-size: 0.8125rem; color: var(--muted); }

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0 clamp(3rem, 5vw, 5rem);
    min-height: min(44rem, calc(100svh - 4.25rem));
    padding-top: 0;
  }
  .hero-text { align-self: center; padding-block: 4rem; }
  /* Foto läuft bis an den rechten Fensterrand */
  .hero-photo { margin: 0 calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 100vw) / 2) 0 0; padding-bottom: 1.5rem; }
  .hero-photo picture { flex: 1; aspect-ratio: auto; min-height: 24rem; }
  .hero-photo img { border-bottom-left-radius: 6px; }
  .hero-photo figcaption { padding-inline: 0; }
}

/* Eckdaten */
.facts { background: var(--mist); }
.facts-list { display: grid; grid-template-columns: minmax(0, 1fr); margin-block: 0; padding-block: 0.5rem; }
.facts-list > div { padding-block: 1.25rem; }
.facts-list > div + div { border-top: 1px solid var(--rule); }
.facts-list dt { font-family: var(--serif); font-weight: 560; font-size: 1.375rem; line-height: 1.25; color: var(--navy); }
.facts-list dd { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.facts-list a { color: var(--navy); font-weight: 600; white-space: nowrap; }
@media (min-width: 52rem) {
  .facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 2rem; }
  .facts-list > div { padding: 0 2rem; }
  .facts-list > div:first-child { padding-left: 0; }
  .facts-list > div + div { border-top: 0; border-left: 1px solid var(--rule); }
}

/* ---------- Für wen ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.split-head p { font-size: 1.125rem; color: var(--muted); }
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.rows li { display: grid; gap: 0.375rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.rows .h3 { margin: 0; font-family: var(--serif); font-weight: 560; font-size: 1.375rem; line-height: 1.25; }
.rows p { color: var(--muted); }
@media (min-width: 52rem) {
  .rows li { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); }
}
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------- So geht's ---------- */

.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 64rem) {
  .steps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
}
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 6px; }
.photo figcaption { margin-top: 0.625rem; font-size: 0.8125rem; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 3.75rem minmax(0, 1fr);
  padding-block: 1.5rem; border-top: 1px solid var(--rule-strong);
  counter-increment: step;
}
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li::before {
  content: counter(step); grid-row: 1 / span 2;
  font-family: var(--serif); font-weight: 560; font-size: 2.75rem; line-height: 0.95; color: var(--navy);
}
.steps .h3, .steps p { grid-column: 2; }
.steps .h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); }

.sysreq { margin-top: 2.25rem; }
.sysreq .h3 { margin-bottom: 0.75rem; }
.sysreq dl { margin: 0; }
.sysreq dl > div { display: grid; gap: 0.125rem 1.5rem; padding-block: 0.75rem; border-top: 1px solid var(--rule-strong); }
.sysreq dt { font-size: 0.9375rem; color: var(--muted); }
.sysreq dd { margin: 0; color: var(--navy); }
@media (min-width: 40rem) { .sysreq dl > div { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---------- Registrierung (Navy) ---------- */

.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy .h2 { color: #fff; }
.bg-navy a { color: #fff; }
.bg-navy :focus-visible { outline-color: #a9c6f2; }

.download-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 64rem) {
  .download-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
}
.download-text > p { font-size: 1.125rem; }

.reg-steps { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: reg; }
.reg-steps li {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr);
  padding-block: 1rem; border-top: 1px solid var(--on-navy-rule);
  color: var(--on-navy-muted); counter-increment: reg;
}
.reg-steps li::before {
  content: counter(reg); grid-row: 1 / span 2;
  font-family: var(--serif); font-weight: 560; font-size: 1.625rem; line-height: 1; color: #fff;
}
.reg-steps strong { grid-column: 2; display: block; font-weight: 650; color: #fff; }

.person { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.person img { flex-shrink: 0; width: 5.75rem; height: 5.75rem; border-radius: 50%; object-fit: cover; }
.person p { margin: 0; }
.person-lead { font-weight: 650; color: #fff; }
.person-meta { font-size: 0.9375rem; color: var(--on-navy-muted); }
.phone {
  display: inline-block; margin-block: 0.125rem;
  font-family: var(--serif); font-weight: 560; font-size: 1.625rem; line-height: 1.3;
  text-decoration: none; white-space: nowrap;
}
.phone:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.person-light { margin-top: 2.25rem; padding: 1.25rem; background: var(--mist); border-radius: 8px; }
.person-light .person-lead, .person-light .phone { color: var(--navy); }
.person-light .person-meta { color: var(--muted); }
@media (max-width: 26rem) { .person { align-items: flex-start; } .person img { width: 4.5rem; height: 4.5rem; } }

/* Formular */
.form-panel { padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; color: var(--ink); border-radius: 8px; }
.form-panel a { color: var(--blue); }
.form-title { margin-bottom: 0.25rem; font-family: var(--serif); font-weight: 560; font-size: 1.625rem; line-height: 1.2; }
.form-hint { font-size: 0.875rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem 1rem; margin-top: 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (min-width: 36rem) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field label { display: block; margin-bottom: 0.375rem; font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:hover, .field textarea:hover { border-color: #8d9bb1; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 80, 166, 0.2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { margin: 0.375rem 0 0; font-size: 0.875rem; color: var(--err); }
.field-error:empty { display: none; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); }
.check input { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 1.5rem; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 4px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-err { background: var(--err-bg); color: var(--err); }
.form-success { padding-block: 0.5rem; }
.form-success:focus { outline: none; }
.form-success p { margin-top: 0.75rem; color: var(--muted); }

/* ---------- Vorteile, Einsatzbereiche, XML & XBRL ---------- */

.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 52rem) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 5.5rem); } }
.col-title { margin-bottom: 1rem; font-family: var(--serif); font-weight: 560; font-size: 1.5rem; line-height: 1.25; }
.cols p { color: var(--muted); }

/* Aufzählung mit Gedankenstrich – wie im Tool empfohlen */
.list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.list li { position: relative; padding: 0.75rem 0 0.75rem 1.5rem; border-bottom: 1px solid var(--rule); }
.list li::before { content: "–"; position: absolute; left: 0; color: var(--navy); }
.after-list { margin-top: 1.5rem; }

.term {
  margin-bottom: 1.25rem;
  font-family: var(--serif); font-weight: 560;
  font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -0.01em;
}
.term span { display: block; margin-top: 0.5rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--blue); }

.instanz {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 4rem;
  margin-top: clamp(3rem, 6vw, 4rem); padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 52rem) { .instanz { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.h2-sub { font-family: var(--serif); font-weight: 560; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.2; }
.instanz p { color: var(--muted); }

/* ---------- Angebot ---------- */

.band-photo { margin: 0; }
.band-photo img { width: 100%; height: clamp(15rem, 36vw, 30rem); object-fit: cover; object-position: 50% 15%; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(2.75rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); }
@media (min-width: 60rem) {
  .offer-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2.5rem, 4vw, 4rem); }
}
.offer-grid > div:first-child > p { color: var(--muted); }
.offer-item { padding-top: 1.25rem; border-top: 1px solid var(--navy); }
.offer-item p { color: var(--muted); }

/* ---------- Historie ---------- */

.office-photo { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.office-photo img { min-height: 9rem; object-fit: cover; }
.timeline { max-width: 62rem; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 2.5rem; padding-block: 1.75rem; border-top: 1px solid var(--rule-strong); }
.timeline li:first-child { border-top-color: var(--navy); }
@media (min-width: 40rem) { .timeline li { grid-template-columns: 11rem minmax(0, 1fr); } }
.timeline .when { font-family: var(--serif); font-weight: 560; font-size: 1.375rem; line-height: 1.3; color: var(--navy); }
.timeline .h3 { margin-bottom: 0.5rem; }
.timeline p { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 60rem) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: start; gap: 3rem 5rem; }
  .faq-aside { position: sticky; top: calc(var(--anchor-offset) + 0.5rem); }
}
.faq-aside > p { color: var(--muted); }
.faq-topics { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.faq-topics li + li { margin-top: 0.375rem; }
.faq-topics a { font-weight: 600; }

.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > .h3 { margin-bottom: 0.75rem; font-family: var(--serif); font-weight: 560; font-size: 1.5rem; line-height: 1.25; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-group .faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  position: relative; padding: 1.125rem 3rem 1.125rem 0;
  font-weight: 600; line-height: 1.45; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%;
  width: 0.875rem; height: 1.5px; background: var(--navy);
  transition: transform 0.2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 3rem 1.375rem 0; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.25s ease, content-visibility 0.25s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- Impressum + Datenschutz ---------- */

.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 52rem) { .legal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 5rem; } }
.company { margin: 0; font-style: normal; font-size: 1.125rem; line-height: 1.6; }
.company strong { display: block; margin-bottom: 0.25rem; color: var(--navy); }
.legal-list { margin: 0; }
.legal-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.125rem 1.5rem; padding-block: 0.75rem; border-top: 1px solid var(--rule-strong); }
.legal-row:last-child { border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 36rem) { .legal-row { grid-template-columns: 12rem minmax(0, 1fr); } }
.legal-row dt { color: var(--muted); }
.legal-row dd { margin: 0; color: var(--navy); overflow-wrap: anywhere; }
.footnote { max-width: 42em; margin-top: 1rem; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.privacy { max-width: 48rem; }
.privacy .h3 { margin-top: 2rem; }
.privacy p { color: var(--muted); font-size: 1rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 52rem) { .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.footer-top img { width: 9rem; margin-bottom: 1rem; }
.footer-top h2 { margin: 0 0 0.75rem; font-size: 1rem; color: #fff; }
.footer-top ul { margin: 0; padding: 0; list-style: none; }
.footer-top li + li { margin-top: 0.375rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #a9c6f2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--on-navy-rule); font-size: 0.8125rem; }
.footer-bottom p { margin: 0; }

/* ---------- Danke-Seite ---------- */

.thanks { min-height: 70vh; display: grid; place-items: center; padding-block: 4rem; text-align: center; }
.thanks p { max-width: 34em; margin-inline: auto; color: var(--muted); }
.thanks .actions { justify-content: center; }
.thanks-errors { display: inline-block; margin: 1rem auto 0; padding-left: 1.25rem; text-align: left; color: var(--ink); }
.form-success .btn { margin-top: 1.25rem; }

/* Mobil: erst Foto, dann Schritte, dann Systemvoraussetzungen */
@media (max-width: 63.99rem) {
  .steps-side { display: contents; }
  .sysreq { order: 2; margin-top: 0; }
}

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