/* disserto – gemeinsames Stylesheet (Navy)
   Schrift: Schibsted Grotesk, lokal eingebunden (SIL Open Font License) */

@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-950: #071226;
  --navy-900: #0b1c38;
  --navy-850: #102446;
  --navy-800: #152d55;
  --navy-700: #21406f;
  --sky-300: #a9c6f2;
  --sky-200: #cfe0fa;
  --sky-100: #e2ecfb;
  --white: #ffffff;
  --muted-on-navy: #a9b8d2;
  --line-on-navy: rgba(169, 198, 242, 0.16);
  --paper: #f2f5fa;
  --ink: #0b1c38;
  --ink-muted: #46587a;
  --line-on-paper: #d3dcea;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --radius: 0.375rem;
  --header-offset: 4.5rem;
}

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

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--sky-100);
  background: var(--navy-900);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { color: var(--white); text-wrap: balance; }

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

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

.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}
@media (min-width: 40rem) {
  .wrap { width: min(100% - 4rem, 72rem); }
}

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}

.logo { display: inline-block; flex-shrink: 0; }
.logo img { width: 8.5rem; height: auto; }
@media (min-width: 40rem) {
  .logo img { width: 10rem; }
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.header-links a {
  color: var(--muted-on-navy);
  text-decoration: none;
}
.header-links a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Blaupausen-Raster ---------- */

.blueprint {
  position: relative;
  isolation: isolate;
  background-color: var(--navy-900);
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 198, 242, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 198, 242, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(169, 198, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 198, 242, 0.045) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 25% 35%, #000 35%, transparent 90%);
  mask-image: radial-gradient(ellipse 90% 80% at 25% 35%, #000 35%, transparent 90%);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--white); color: var(--navy-900); }
.btn-primary:hover { background: var(--sky-200); }

.btn-secondary { border-color: rgba(207, 224, 250, 0.45); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Abschnitte ---------- */

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-850 { background: var(--navy-850); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-white { background: var(--white); color: var(--ink); }

.section-paper h2, .section-paper h3, .section-paper h4,
.section-white h2, .section-white h3, .section-white h4 { color: var(--ink); }

.section-paper :focus-visible,
.section-white :focus-visible { outline-color: var(--navy-700); }

[id] { scroll-margin-top: var(--header-offset); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { font-size: 1.125rem; }
.section-paper .section-head p,
.section-white .section-head p { color: var(--ink-muted); }

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 720;
}

.subhead {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 680;
  letter-spacing: -0.005em;
}

.small { font-size: 0.875rem; line-height: 1.55; }
.muted { color: var(--muted-on-navy); }

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

.site-footer {
  background: var(--navy-950);
  color: var(--muted-on-navy);
  font-size: 0.9375rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem;
}
.site-footer p { margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

/* =========================================================
   Startseite: "Wir bauen um" + Impressum
   ========================================================= */

.cs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
}

/* Landschaftsfoto als Hintergrund, mit Navy-Verlauf für gut lesbare Schrift */
.cs-bg { position: absolute; inset: 0; z-index: -2; }
.cs-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 18, 38, 0.9) 0%, rgba(7, 18, 38, 0.72) 42%, rgba(7, 18, 38, 0.25) 78%, rgba(7, 18, 38, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 18, 38, 0.35) 0%, rgba(7, 18, 38, 0) 22%, rgba(7, 18, 38, 0) 65%, rgba(16, 36, 70, 0.95) 100%);
}
@media (max-width: 52rem) {
  .cs-hero::before {
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.6) 0%, rgba(7, 18, 38, 0.78) 45%, rgba(16, 36, 70, 0.96) 100%);
  }
}

.cs-main { flex: 1; padding-block: clamp(2.5rem, 9vh, 7rem) clamp(3.5rem, 9vh, 6rem); }
.cs-main, .site-header { text-shadow: 0 1px 12px rgba(7, 18, 38, 0.35); }

.cs-title-block { display: inline-block; max-width: 100%; }

.cs-title {
  margin: 0;
  font-size: clamp(2.75rem, 0.5rem + 10vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 760;
}

/* Bemaßungslinie unter der Überschrift – wie auf einem Bauplan */
.dim {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 1.25rem;
  margin-top: 1.5rem;
  color: var(--sky-200);
  border-inline: 1px solid currentColor;
  animation: fade-in 0.3s ease-out 0.15s both;
}
.dim::before,
.dim::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  animation: dim-draw 1s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
}
.dim::before { transform-origin: right center; }
.dim::after { transform-origin: left center; }
.dim-label {
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  animation: fade-in 0.5s ease-out 1.2s both;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 44rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.topics li {
  padding: 0.3125rem 0.875rem;
  border: 1px solid rgba(207, 224, 250, 0.35);
  border-radius: 999px;
  background: rgba(7, 18, 38, 0.35);
  font-size: 0.9375rem;
  color: var(--white);
  text-shadow: none;
}

.privacy { max-width: 48rem; }
.privacy .subhead { margin-top: 2rem; font-size: 1.0625rem; }
.privacy p { color: var(--muted-on-navy); font-size: 1rem; }
.site-footer .small { font-size: 0.8125rem; }

@keyframes dim-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.cs-lead {
  max-width: 34em;
  margin: 2.25rem 0 0;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--sky-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem 3rem;
  max-width: 60rem;
  margin: 3.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-on-navy);
}
.contact-grid dt { font-size: 0.875rem; color: var(--muted-on-navy); }
.contact-grid dd { margin: 0.25rem 0 0; font-size: 1.125rem; color: var(--white); }
.contact-grid a { text-decoration-color: rgba(169, 198, 242, 0.5); }

.cs-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 60rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy-850);
  border: 1px solid var(--line-on-navy);
  border-radius: 0.5rem;
}
.cs-note p { margin: 0; max-width: 36em; }
.cs-note strong { color: var(--white); font-weight: 650; }

/* Impressum */
.impressum-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem 5rem;
}
@media (max-width: 52rem) {
  .impressum-grid { grid-template-columns: minmax(0, 1fr); }
}

.company {
  margin: 0;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.6;
}
.company strong { display: block; margin-bottom: 0.25rem; color: var(--white); font-weight: 680; }

.legal-list { margin: 0; }
.legal-row {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding-block: 0.875rem;
  border-top: 1px solid var(--line-on-navy);
}
.legal-row:last-child { border-bottom: 1px solid var(--line-on-navy); }
.legal-row dt { color: var(--muted-on-navy); }
.legal-row dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.legal-row a { text-decoration-color: rgba(169, 198, 242, 0.5); }
@media (max-width: 36rem) {
  .legal-row { grid-template-columns: minmax(0, 1fr); }
}

.footnote { margin-top: 1.25rem; max-width: 40em; }

/* =========================================================
   XML-Service-Tool
   ========================================================= */

.subnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 18, 38, 0.94);
  border-block: 1px solid var(--line-on-navy);
}
@supports (backdrop-filter: blur(8px)) {
  .subnav { background: rgba(7, 18, 38, 0.82); backdrop-filter: blur(10px); }
}
.subnav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0 -0.75rem;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 0.875rem 0.75rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  color: var(--muted-on-navy);
  text-decoration: none;
}
.subnav a:hover { color: var(--white); }
.subnav a:focus-visible { outline-offset: -3px; }

/* Hero */
.xml-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3.5rem 4.5rem;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}
@media (max-width: 60rem) {
  .xml-hero .wrap { grid-template-columns: minmax(0, 1fr); }
}

.xml-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 1.1rem + 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 760;
}
.xml-lead { max-width: 34em; }
.xml-lead p:first-child { font-size: 1.1875rem; color: var(--white); }
.xml-lead p { color: var(--sky-100); }

/* Darstellung Office-Tabelle -> XML */
.convert {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0;
}
.sheet {
  grid-column: 1 / 11;
  grid-row: 1;
  position: relative;
  z-index: 1;
  padding: 1.125rem 1.25rem 2.75rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.sheet-title { margin: 0; font-weight: 700; font-size: 0.9375rem; }
.sheet-tag { font-size: 0.8125rem; color: var(--ink-muted); white-space: nowrap; }
.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.sheet th, .sheet td {
  padding: 0.4375rem 0;
  border-bottom: 1px solid #e1e7f0;
  text-align: left;
  font-weight: 400;
}
.sheet thead th { color: var(--ink-muted); font-size: 0.8125rem; }
.sheet .num { text-align: right; }
.sheet tfoot th, .sheet tfoot td { font-weight: 700; border-top: 1.5px solid var(--ink); border-bottom: 0; }

.code {
  grid-column: 3 / 13;
  grid-row: 2;
  position: relative;
  z-index: 2;
  min-width: 0;
  margin-top: -1.75rem;
  background: var(--navy-950);
  border: 1px solid rgba(169, 198, 242, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.code-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--line-on-navy);
  font-size: 0.8125rem;
  color: var(--muted-on-navy);
}
.code pre {
  margin: 0;
  padding: 1rem 0.875rem 1.25rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--white);
  tab-size: 2;
}
.code .t { color: #8fb6f0; }
.code .a { color: var(--sky-200); }
.code .v { color: #f0d9a0; }

.convert figcaption {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-on-navy);
}

/* Download + Support */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 5rem;
}
@media (max-width: 52rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
.split-divided > * + * { padding-left: 5rem; border-left: 1px solid var(--line-on-navy); }
@media (max-width: 52rem) {
  .split-divided > * + * { padding-left: 0; padding-top: 3rem; border-left: 0; border-top: 1px solid var(--line-on-navy); }
}

.support-phone {
  display: inline-block;
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 720;
  letter-spacing: -0.015em;
  color: var(--white);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.support-phone:hover { text-decoration: underline; }
.support-hours { color: var(--white); font-weight: 600; }

/* Checklisten */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 0.875rem 0 0.875rem 2.25rem;
  border-top: 1px solid var(--line-on-paper);
}
.checklist li:last-child { border-bottom: 1px solid var(--line-on-paper); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 4.5rem;
}
@media (max-width: 52rem) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
}
.benefits .subhead { margin-bottom: 1rem; }
.benefits p { color: var(--ink-muted); }

/* Ablauf */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem 5rem;
}
@media (max-width: 60rem) {
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-bottom: 2.25rem;
  counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--navy-900);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.25rem - 0.75px);
  top: 2.5rem;
  bottom: 0;
  width: 1.5px;
  background: var(--line-on-paper);
}
.steps .subhead { margin: 0.375rem 0 0.375rem; }
.steps p { color: var(--ink-muted); }

.sysreq {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--navy-900);
  color: var(--sky-100);
  border-radius: 0.5rem;
}
@media (min-width: 60rem) {
  .sysreq { position: sticky; top: calc(var(--header-offset) + 1rem); }
}
.sysreq .subhead { color: var(--white); margin-bottom: 1.25rem; }
.sysreq h4 { margin: 0 0 0.5rem; font-size: 0.9375rem; font-weight: 650; color: var(--sky-300); }
.sysreq ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--white);
}
.sysreq p { color: var(--white); }
.sysreq .small { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-on-navy); color: var(--muted-on-navy); }

/* XML & XBRL */
.defs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 5rem;
}
@media (max-width: 52rem) {
  .defs { grid-template-columns: minmax(0, 1fr); }
}
.def-term {
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 760;
}
.def-term span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--sky-300);
}

.instanz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1rem 5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-on-navy);
}
@media (max-width: 52rem) {
  .instanz { grid-template-columns: minmax(0, 1fr); }
}
.instanz .section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }

/* Historie */
.timeline { margin: 0; padding: 0; list-style: none; max-width: 60rem; }
.timeline li {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 0.5rem 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-on-navy);
}
.timeline li:last-child { border-bottom: 1px solid var(--line-on-navy); }
@media (max-width: 40rem) {
  .timeline li { grid-template-columns: minmax(0, 1fr); }
}
.timeline .when {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 720;
  color: var(--white);
}
.timeline .subhead { font-size: 1.125rem; margin-bottom: 0.375rem; }

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--navy-900);
  border: 1px solid var(--line-on-navy);
  border-radius: 0.5rem;
}
@media (max-width: 60rem) {
  .offer { grid-template-columns: minmax(0, 1fr); }
}
.offer .section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.offer .subhead { font-size: 1.125rem; }
.offer .actions { margin-top: 1.5rem; }

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

.faq-help {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--navy-900);
  color: var(--sky-100);
  border-radius: 0.5rem;
}
.faq-help .subhead { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.faq-help .support-phone { font-size: 1.5rem; margin-bottom: 0.25rem; }
.faq-help :focus-visible { outline-color: var(--sky-300); }

.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group .subhead { margin-bottom: 1rem; }

.faq-item { border-top: 1px solid var(--line-on-paper); }
.faq-group .faq-item:last-child { border-bottom: 1px solid var(--line-on-paper); }

.faq-item summary {
  position: relative;
  padding: 1.125rem 2.75rem 1.125rem 0;
  font-weight: 620;
  line-height: 1.45;
  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.375rem;
  top: 50%;
  width: 0.875rem;
  height: 1.5px;
  background: var(--navy-900);
  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(--navy-700); }

.faq-answer { padding: 0 2.75rem 1.375rem 0; color: var(--ink-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; }
}

/* ---------- Bewegung reduzieren ---------- */

@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;
  }
}

/* Kopfzeile über dem Landschaftsfoto gut lesbar */
.cs-hero .header-links a { color: var(--white); }
.cs-hero .header-links a:hover { color: var(--sky-200); }
