/* Mark&Grow: Rechtsseiten und 404 (eigenständig, ohne style.css) */
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --nacht: #0F1E3D;
  --nacht-tief: #0A1530;
  --mint: #5FD3A6;
  --mint-dunkel: #0E8F6B;
  --text-hell: #F2F5FA;
  --grund: #F5F6F8;
  --text: #0F1E3D;
  --text-leise: #44506A;
  --linie: #D9DDE5;
  --klaeren: #8A4B00;
  --klaeren-soft: #FFF1DC;
  --neu: #1D4ED8;
  --neu-soft: #E3EBFF;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--grund); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
a { color: var(--mint-dunkel); text-underline-offset: 0.2em; }
a:hover { color: var(--nacht); }
:focus-visible { outline: 3px solid var(--mint-dunkel); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.75rem 1rem; background: var(--mint); color: var(--nacht); font-weight: 600; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }

.kopf { background: var(--nacht); color: var(--text-hell); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.kopf__logo { display: inline-flex; align-items: center; min-height: 44px; }
.kopf__logo img { display: block; height: 1.75rem; width: auto; }
.kopf__zurueck { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.25rem; color: var(--text-hell); font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--mint); }
.kopf__zurueck:hover { color: var(--mint); }
.kopf :focus-visible, .fuss :focus-visible { outline-color: var(--mint); }

main { flex: 1; }
.recht { padding-block: clamp(2.5rem, 7vw, 5rem); }
.recht__innen { max-width: 68ch; }
.recht h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.recht h2 { margin: 2.5rem 0 0.75rem; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
.recht p, .recht address { margin: 0 0 1rem; font-style: normal; }
.recht .hinweis { padding: 1rem 1.25rem; background: #fff; border-left: 4px solid var(--mint-dunkel); }
.platzhalter { padding: 0.05em 0.4em; border: 1px dashed currentColor; color: var(--text-leise); }

.konzept-marker { display: none; }
.konzept .konzept-marker { display: block; width: fit-content; max-width: 60ch; margin: 0.75rem 0 1rem; padding: 0.4rem 0.75rem; font-size: 0.875rem; line-height: 1.4; color: var(--text); background: var(--klaeren-soft); }
.konzept .konzept-marker b { margin-right: 0.4em; font-weight: 600; color: var(--klaeren); }
.konzept .konzept-marker--neu { background: var(--neu-soft); }
.konzept .konzept-marker--neu b { color: var(--neu); }

.fehler { display: grid; place-items: center; text-align: center; padding-block: clamp(3rem, 10vw, 7rem); }
.fehler__zeichen { display: block; width: 5.5rem; height: auto; margin: 0 auto 1.5rem; }
.fehler__zahl { margin: 0; font: 700 clamp(5rem, 22vw, 11rem)/1 var(--font); letter-spacing: -0.06em; color: var(--nacht); }
.fehler h1 { margin: 0.5rem 0 0.75rem; font-size: clamp(1.75rem, 4.5vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; }
.fehler p { max-width: 42ch; margin: 0 auto 2rem; color: var(--text-leise); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.75rem; background: var(--nacht); color: var(--text-hell); font-weight: 600; text-decoration: none; border-radius: 999px; border-bottom: 3px solid var(--mint); transition: background-color 0.2s ease, transform 0.2s ease; }
.btn:hover { background: var(--nacht-tief); color: var(--mint); }
.btn:active { transform: translateY(1px); }

.fuss { background: var(--nacht); color: var(--text-hell); padding-block: 2rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.fuss p { margin: 0; font-size: 0.9375rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-hell); }
.fuss a:hover { color: var(--mint); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
