/* Übersetzerei Morgenfeld — Beispiel-Website, Stil aus MXL-008 (PURE) */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-500-normal.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: 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-700-normal.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: 500;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --canvas: #d0cfcb;
  --folder: #e9e9e7;
  --folder-2: #e0dfdb;
  --folder-3: #f1f1ef;
  --ink: #020102;
  --orange: #f8611f;
  --orange-press: #e2520f;
  --lime: #d6f20c;
  --lavender: #ac9cfc;
  --muted: #55554f;
  --shadow: rgba(2, 1, 2, 0.16);
  --edge: 20px;
  --gap: 20px;
  --radius: 12px;
  --pill: 999px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--ink) var(--canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  caret-color: var(--orange);
  overflow-x: hidden;
}
.kopf__zeit, .panel, .person__zeit, .richtwerte, .ergebnis-liste, .ergebnis-preis { font-variant-numeric: tabular-nums; }

::selection { background: var(--lime); color: var(--ink); }

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

h1, h2, h3, h4 { font-weight: 700; margin: 0; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0 0 0.8em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--edge); top: -100px; z-index: 100;
  background: var(--ink); color: var(--folder-3);
  padding: 12px 20px; border-radius: var(--pill); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: var(--pill);
  background: var(--folder); color: var(--ink);
  font: inherit; font-size: 18px; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.pill:hover { background: var(--folder-3); }
.pill:active { transform: translateY(1px); }
.pill--go { background: var(--orange); color: var(--ink); font-weight: 700; }
.pill--go:hover { background: var(--orange-press); }
.pill--ink { background: var(--ink); color: var(--folder-3); }
.pill--ink:hover { background: #262426; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--folder-3); }
.pill svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.kopf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: center;
  padding: 14px var(--edge) 0;
  font-size: 20px;
}
.kopf__name { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; min-height: 44px; }
.kopf__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.kopf__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.kopf__nav { grid-column: 2 / span 2; }
.kopf__rechts { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.kopf__zeit { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; white-space: nowrap; }
.status-punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.status-punkt[data-offen="ja"] { background: var(--ink); box-shadow: 0 0 0 4px var(--lime); }
.status-punkt[data-offen="nein"] { background: var(--orange); }
.kopf__aktion { flex: none; }

/* ---------- Living wordmark ---------- */
.wort {
  margin: 0.13em calc(var(--edge) - 0.04em) 0;
  font-size: var(--wort-size, clamp(64px, 12.6vw, 220px));
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
  padding: 0.07em 0 0.12em; /* room for umlaut dots and the g descender */
  overflow-x: clip;
  min-height: calc(var(--wort-box, 1) * var(--wort-zeilen, 1) * 0.9em + 0.19em);
}
.wort__mark {
  display: inline-block;
  padding: 0.16em 0.02em 0.2em 0;
  margin: -0.16em -0.02em -0.2em 0;
  color: transparent;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle var(--r1, 0.44em) at var(--x1, 18%) var(--y1, 40%), var(--orange) 98%, transparent 100%),
    radial-gradient(circle var(--r2, 0.36em) at var(--x2, 52%) var(--y2, 70%), var(--lime) 98%, transparent 100%),
    radial-gradient(circle var(--r3, 0.40em) at var(--x3, 82%) var(--y3, 35%), var(--lavender) 98%, transparent 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: opacity 220ms var(--ease-out);
}
.wort__mark.is-wechsel { opacity: 0; }
.wort__zeile { display: block; }

.sprachen {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.sprachen .pill { min-width: 56px; padding: 0 16px; font-size: 17px; }

/* ---------- Intro grid ---------- */
.einleitung {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding: 0 var(--edge) 0;
  font-size: 20px;
  line-height: 1.3;
}
.einleitung__text { grid-column: 1 / span 2; max-width: 34em; }
.einleitung__sprachen { grid-column: 3 / span 2; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.einleitung__hinweis { font-size: 16px; color: var(--muted); }

/* ---------- Folder stack (Ablage) ---------- */
.ablage { padding: 22px var(--edge) 0; }
.ablage__titel { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 6px; }

.akten { list-style: none; margin: 0; padding: 0; }
.akten > li { position: relative; z-index: var(--z, 1); margin-top: -8px; }
.akten > li:first-child { margin-top: 0; }

.akte {
  --c: var(--folder);
  filter: drop-shadow(0 -3px 6px var(--shadow));
}
.akten > li:nth-child(even) .akte { --c: var(--folder-2); }
.akten > li:nth-child(3n) .akte { --c: var(--folder-3); }

.akte > summary { list-style: none; cursor: pointer; display: block; }
.akte > summary::-webkit-details-marker { display: none; }

.reiter-zeile { display: block; padding-left: calc((100% - var(--tab-w, 340px)) * var(--i, 0) / var(--n, 5)); }
.reiter {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 46px; padding: 4px 22px 0;
  background: var(--c);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: clamp(22px, 2.25vw, 32px); font-weight: 700; letter-spacing: -0.02em;
  white-space: nowrap;
}
.reiter::after {
  content: ""; position: absolute; right: -16px; bottom: 0; width: 32px; height: 100%;
  background: var(--c); border-top-right-radius: 10px; transform: skewX(24deg); transform-origin: bottom; z-index: -1;
}
.reiter__nr { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kante {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 26px; padding: 0 22px 4px;
  background: var(--c);
  border-radius: 0 var(--radius) 0 0;
  font-size: 15px; color: var(--muted);
}
.kante__info { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kante { border-top-left-radius: var(--radius); }
[style*="--i: 0"] .kante, [style*="--i: 0"] .ordner__inhalt { border-top-left-radius: 0; }
.kante__offen { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.kante__offen svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.akte[open] .kante__offen svg { transform: rotate(45deg); }
.kante__zu { display: none; }
.akte[open] .kante__auf { display: none; }
.akte[open] .kante__zu { display: inline; }

.akte > summary:hover .reiter, .akte > summary:hover .reiter::after, .akte > summary:hover .kante { background: var(--folder-3); }
.akten > li:nth-child(3n) .akte > summary:hover .reiter,
.akten > li:nth-child(3n) .akte > summary:hover .reiter::after,
.akten > li:nth-child(3n) .akte > summary:hover .kante { background: #f8f8f7; }
.akte > summary:focus-visible { outline: none; }
.akte > summary:focus-visible .reiter { outline: 3px solid var(--ink); outline-offset: 2px; }

.akte__inhalt {
  background: var(--c);
  padding: 8px 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.akte[open] .akte__inhalt { animation: aufklappen 420ms var(--ease-out); }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.akte__titel { grid-column: 1 / span 2; font-size: clamp(28px, 3vw, 44px); }
.akte__text { grid-column: 1 / span 2; max-width: 36em; }
.akte__meta { grid-column: 3 / span 2; grid-row: 1 / span 3; margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; align-content: start; font-size: 18px; }
.akte__meta dt { color: var(--muted); }
.akte__meta dd { margin: 0; font-weight: 700; }
.akte__weiter { grid-column: 1 / span 2; }

.stempel-pill {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border-radius: var(--pill); background: var(--ink); color: var(--folder-3);
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
}
.beispiel { font-size: 15px; color: var(--muted); }

/* ---------- Contact panel (popover) ---------- */
.panel {
  position: fixed; inset: 12px 12px auto auto; margin: 0;
  width: min(430px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto;
  padding: 22px; border: 0; border-radius: 18px;
  background: var(--folder-3); color: var(--ink);
  box-shadow: 0 18px 40px -12px rgba(2, 1, 2, 0.35), 0 2px 6px rgba(2, 1, 2, 0.12);
}
.panel::backdrop { background: rgba(2, 1, 2, 0.18); }
.panel:popover-open { animation: panel-auf 320ms var(--ease-out); }
@keyframes panel-auf { from { opacity: 0; transform: translateY(-12px) scale(0.98); } to { opacity: 1; transform: none; } }
.panel__kopf { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.panel__kopf h2 { font-size: 28px; }
.panel__zu { width: 44px; height: 44px; padding: 0; }
.panel__uhr { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin: 16px 0 18px; }
.uhr { width: 132px; height: 132px; }
.uhr__zeiger { transform-origin: 60px 60px; transform-box: view-box; }
.panel__ort { font-size: 18px; }
.panel__ort strong { display: block; font-size: 34px; letter-spacing: -0.03em; }
.panel__status { color: var(--muted); font-size: 16px; }
.panel__knoepfe { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.panel__knoepfe .pill { justify-content: space-between; }
.panel__partner { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; }
.panel__partner li { display: grid; grid-template-columns: 1fr auto 7.5em; gap: 12px; padding: 8px 0 0; }
.panel__partner li > span:last-child { color: var(--muted); }
.panel__partner .zeit { font-weight: 700; }
.panel__meldung { min-height: 1.4em; font-size: 15px; margin-top: 8px; }

/* ---------- Generic page parts ---------- */
main { display: block; }
.seitenkopf { padding: 28px var(--edge) 0; }
.seitenkopf h1 { font-size: clamp(56px, 11vw, 190px); line-height: 0.86; letter-spacing: -0.045em; padding-bottom: 0.08em; }
.raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 18px var(--edge) 0; }
.raster > .span2 { grid-column: span 2; }
.raster > .span3 { grid-column: span 3; }
.raster > .span4 { grid-column: 1 / -1; }
.lead { font-size: 22px; line-height: 1.3; max-width: 32em; }

.blatt {
  background: var(--folder); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 0 rgba(2, 1, 2, 0.05), 0 10px 22px -16px var(--shadow);
}
.blatt h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.blatt h3 { font-size: 22px; margin: 0 0 8px; }
.blatt ul { margin: 0 0 0.8em; padding-left: 1.1em; }
.blatt li { margin-bottom: 4px; }
.blatt li::marker { color: var(--orange); }

.abschnitt { padding: 56px var(--edge) 0; }
.abschnitt > h2 { font-size: clamp(32px, 4.4vw, 64px); margin-bottom: 18px; max-width: 14em; }

/* Open folders used as section bodies on sub pages */
.ordner { --c: var(--folder); position: relative; margin-top: 18px; filter: drop-shadow(0 -3px 6px var(--shadow)); scroll-margin-top: 20px; }
.ordner:nth-of-type(even) { --c: var(--folder-2); }

.ordner__inhalt { background: var(--c); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ordner__inhalt > .span2 { grid-column: span 2; }
.ordner__inhalt > .span4 { grid-column: 1 / -1; }
.ordner__inhalt h2 { font-size: clamp(30px, 3.4vw, 50px); }
.ordner__inhalt h3 { font-size: 20px; margin-bottom: 6px; }
.ordner__inhalt ul { margin: 0; padding-left: 1.1em; }
.ordner__inhalt li { margin-bottom: 4px; }
.ordner__inhalt li::marker { color: var(--orange); }
.fakten { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.fakten dt { color: var(--muted); }
.fakten dd { margin: 0; font-weight: 700; }

.register { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px var(--edge) 0; list-style: none; margin: 0; }

/* Steps (Beglaubigung) */
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.schritte li { counter-increment: s; background: var(--folder-3); border-radius: var(--radius); padding: 18px; min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.schritte li::before { content: counter(s); font-size: 64px; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; }
.schritte h3 { font-size: 22px; }

.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.check label { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check input { appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; background: var(--folder-3); box-shadow: inset 0 0 0 2px var(--ink); display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ""; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -2px) scale(0); transition: transform 160ms var(--ease-out); }
.check input:checked { background: var(--lime); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -2px) scale(1); }
.check small { display: block; color: var(--muted); font-size: 16px; }
.check-stand { font-weight: 700; font-size: 22px; margin-top: 10px; }

.fragen details { background: var(--folder-3); border-radius: var(--radius); margin-bottom: 8px; }
.fragen summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 56px; padding: 10px 18px; font-weight: 700; font-size: 20px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary svg { width: 20px; height: 20px; flex: none; transition: transform 220ms var(--ease-out); }
.fragen details[open] summary svg { transform: rotate(45deg); }
.fragen details > div { padding: 0 18px 18px; max-width: 46em; }

/* Calculator */
.rechner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rechner__form { grid-column: span 2; }
.rechner__ergebnis { grid-column: span 2; }
.feld { display: grid; gap: 6px; margin-bottom: 16px; }
.feld > label, .feld > legend { font-weight: 700; font-size: 18px; padding: 0; }
.feld small { color: var(--muted); font-size: 16px; }
fieldset.feld { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.eingabe {
  width: 100%; min-height: 52px; padding: 10px 16px;
  border: 0; border-radius: 12px;
  background: var(--folder-3); color: var(--ink);
  box-shadow: inset 0 0 0 2px transparent, inset 0 1px 3px rgba(2, 1, 2, 0.14);
  font: inherit; font-size: 18px;
  transition: box-shadow 160ms var(--ease-out);
}
.eingabe:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink); }
.eingabe[aria-invalid="true"] { box-shadow: inset 0 0 0 3px var(--orange); }
select.eingabe { appearance: none; background-image: url("../img/pfeil.svg"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.paar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.paar__pfeil { font-weight: 700; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); background: var(--folder-3); cursor: pointer; transition: background-color 160ms var(--ease-out); }
.wahl input:checked + span { background: var(--ink); color: var(--folder-3); }
.wahl input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.fehler { color: var(--ink); font-size: 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.fehler[hidden] { display: none; }
.fehler::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }

.ergebnis-datum { font-size: clamp(34px, 4vw, 60px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 700; margin: 6px 0 14px; }
.ordner__inhalt .ergebnis-liste, .ergebnis-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.ergebnis-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.ergebnis-liste li + li { box-shadow: 0 -1px 0 rgba(2, 1, 2, 0.1); }
.ergebnis-preis { font-size: 26px; font-weight: 700; }
.richtwerte { width: 100%; border-collapse: collapse; font-size: 17px; }
.richtwerte th, .richtwerte td { text-align: left; padding: 10px 8px 10px 0; }
.richtwerte tr + tr td { box-shadow: 0 -1px 0 rgba(2, 1, 2, 0.1); }

/* People */
.leute { list-style: none; margin: 0; padding: 0; }
.leute > li { margin-top: -6px; }
.person__zeit { font-size: clamp(36px, 4vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }

/* Text pages */
.textseite { padding: 18px var(--edge) 0; }
.textseite .blatt { max-width: 860px; }
.textseite h2 { font-size: 26px; margin: 28px 0 10px; }
.textseite h2:first-child { margin-top: 0; }
.demo-hinweis { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); padding: 8px 16px; border-radius: var(--pill); font-weight: 700; font-size: 16px; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.fuss {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
  margin-top: 72px; padding: 22px var(--edge) 28px;
  background: var(--folder); border-radius: 18px 18px 0 0;
  font-size: 16px;
}
.fuss strong { display: block; font-size: 20px; margin-bottom: 6px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li a { display: inline-flex; min-height: 44px; align-items: center; }
.fuss__demo { grid-column: 1 / -1; padding-top: 14px; color: var(--muted); box-shadow: 0 -1px 0 rgba(2, 1, 2, 0.1); }
.fuss__demo strong { display: inline; font-size: inherit; color: var(--ink); }

.bewegung { position: absolute; right: var(--edge); top: 0; }

/* ---------- Home layout: one screen on desktop ---------- */
.start { display: flex; flex-direction: column; min-height: calc(100vh - 14px); position: relative; }
.start .ablage { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
  .kopf__zeit > span:last-child > span:last-child, .kopf__zeit .zeit-trenner { display: none; }
}
@media (max-width: 1180px) {
  .kopf__zeit { display: none; }
}

@media (max-width: 1024px) {
  .kopf { grid-template-columns: 1fr auto; }
  .kopf__nav { grid-column: 1 / -1; grid-row: 2; }
  .kopf__rechts { grid-column: 2; grid-row: 1; }
  .einleitung { grid-template-columns: 1fr; }
  .einleitung__text, .einleitung__sprachen { grid-column: 1; }
  .akte__inhalt, .ordner__inhalt, .raster, .rechner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .akte__titel, .akte__text, .akte__weiter, .akte__meta { grid-column: 1 / -1; grid-row: auto; }
  .raster > .span3, .raster > .span2 { grid-column: 1 / -1; }
  .rechner__form, .rechner__ergebnis { grid-column: 1 / -1; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start { min-height: 0; }
}

@media (max-width: 700px) {
  :root { --edge: 16px; --gap: 14px; }
  body { font-size: 17px; }
  .kopf { font-size: 18px; padding-top: 8px; gap: 4px 12px; }
  .kopf__name { font-size: 18px; line-height: 1.1; }
  .kopf__nav ul { gap: 0 16px; }
  .kopf__aktion .pill { padding: 0 16px; font-size: 16px; }
  .kopf__zeit { display: none; }
  .reiter__nr { display: none; }
  .kante__auf, .kante__zu, .akte[open] .kante__zu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kante__offen svg { width: 20px; height: 20px; }
  .wort { margin-top: 10px; }
  .einleitung { font-size: 18px; }
  .ordner__inhalt, .akte__inhalt, .raster { grid-template-columns: 1fr; }
  .ordner__inhalt > .span2 { grid-column: 1 / -1; }
  .reiter { padding: 6px 16px 0; font-size: 21px; min-height: 50px; }
  .akten, .ordner, .leute { --tab-w: 196px; }
  .kante { padding: 0 16px 6px; font-size: 15px; }
  .akte__inhalt { padding: 6px 16px 22px; }
  .ordner__inhalt { padding: 18px 16px; }
  .schritte { grid-template-columns: 1fr; }
  .schritte li { min-height: 0; }
  .fuss { grid-template-columns: 1fr; }
  .panel__uhr { grid-template-columns: 104px 1fr; }
  .uhr { width: 104px; height: 104px; }
  .lead { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
