/* ==========================================================================
   yeet.li – Stylesheet
   Keine externen Ressourcen (Fonts, CDNs) – bewusst DSGVO-freundlich.
   ========================================================================== */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f2f0eb;
  --text: #15161a;
  --muted: #5a5e69;
  --border: #e5e2db;
  --accent: #ff5a1f;
  --accent-ink: #15161a;
  --accent-text: #c2410c;
  --accent-soft: #ffece3;
  --ok: #15803d;
  --err: #b91c1c;
  --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 8px 24px rgba(20, 20, 30, .06);
  --shadow-lg: 0 2px 4px rgba(20, 20, 30, .04), 0 24px 48px rgba(20, 20, 30, .10);

  --radius: 14px;
  --radius-lg: 22px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12;
    --surface: #16171c;
    --surface-2: #1d1f25;
    --text: #f1f0ec;
    --muted: #a3a6af;
    --border: #2a2c33;
    --accent: #ff6b35;
    --accent-ink: #15161a;
    --accent-text: #ff8a5b;
    --accent-soft: #2a1a12;
    --ok: #4ade80;
    --err: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.accent { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo .dot { color: var(--accent-text); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav-list a:hover { color: var(--text); }
.nav .btn { padding: 12px 20px; font-size: .95rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav .btn { padding: 16px 24px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; z-index: -1;
  background: var(--accent); border-radius: 4px; opacity: .85;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; }

/* Browser-Mockup */
.mockup { position: relative; }
.browser {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.2deg);
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-url { flex: 1; font-family: var(--mono); font-size: .75rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { padding: 22px; display: grid; gap: 14px; }
.sk { background: var(--surface-2); border-radius: 8px; }
.sk-nav { display: flex; justify-content: space-between; align-items: center; }
.sk-nav .sk-logo { width: 72px; height: 14px; background: var(--text); opacity: .85; border-radius: 4px; }
.sk-nav .sk-links { display: flex; gap: 8px; }
.sk-nav .sk-links span { width: 34px; height: 8px; }
.sk-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.sk-title { height: 18px; margin-bottom: 8px; background: var(--text); opacity: .85; }
.sk-title.short { width: 70%; }
.sk-line { height: 8px; margin-bottom: 6px; }
.sk-line.short { width: 60%; }
.sk-btn { width: 84px; height: 24px; border-radius: 999px; background: var(--accent); margin-top: 10px; }
.sk-img { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 40%, #ffd166) 100%); }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-card { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.sk-card i { display: block; width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft); margin-bottom: 8px; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--accent-text); }
.chip--a { left: -24px; bottom: 18%; }
.chip--b { right: -12px; top: 10%; }
.chip--c { right: 12%; bottom: -18px; }

@media (prefers-reduced-motion: no-preference) {
  .chip { animation: float 6s ease-in-out infinite; }
  .chip--b { animation-delay: -2s; }
  .chip--c { animation-delay: -4s; }
  @keyframes float { 50% { transform: translateY(-6px); } }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mockup { max-width: 520px; margin: 16px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .chip--a { left: -4px; }
  .chip--b { right: -4px; }
  .chip { font-size: .78rem; padding: 8px 12px; }
}

/* ---------- Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon-box {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); margin-bottom: 20px;
}
.icon-box svg { width: 24px; height: 24px; }

/* ---------- Vorteile ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }
.why-list li { padding-top: 20px; border-top: 2px solid var(--border); }
.why-list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; counter-increment: step; }
.step::before {
  content: "0" counter(step); display: block; font-family: var(--mono); font-weight: 700; font-size: .9rem;
  color: var(--accent-text); margin-bottom: 18px;
}
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } }
.project {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-visual { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.project-visual--deals { background: linear-gradient(135deg, #ff5a1f, #e11d48); }
.project-visual--sprit { background: linear-gradient(135deg, #0ea5e9, #10b981); }
.project-visual svg.pv-icon { width: 30%; height: auto; color: #fff; opacity: .95; filter: drop-shadow(0 8px 24px rgba(0,0,0,.18)); }
.project-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 18px 18px; mask-image: linear-gradient(to bottom, #000, transparent);
}
.project-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
}
.badge--live::before, .badge--dev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.badge--live::before { background: #22c55e; }
.badge--dev::before { background: #f59e0b; }
.project h3 { font-size: 1.5rem; margin-bottom: 8px; }
.project p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 24px; }
.tags li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); }
.project-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.project-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.project-link:hover svg { transform: translate(2px, -2px); }

.project-cta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border: 2px dashed var(--border); border-radius: var(--radius-lg);
}
.project-cta h3 { margin: 0 0 4px; }
.project-cta p { margin: 0; color: var(--muted); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.about-card {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 50%, #7c3aed) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 800px) { .about-card { aspect-ratio: auto; min-height: 240px; max-width: 420px; } }
.about-card .initials { position: absolute; top: 20px; right: 24px; font-size: 5.5rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; opacity: .25; }
.about-card strong { font-size: 1.4rem; letter-spacing: -.02em; }
.about-card span { opacity: .9; font-size: .95rem; }
.about-text p { font-size: 1.08rem; color: var(--muted); }
.about-text p strong { color: var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.facts li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .9rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 700px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-info p { color: var(--muted); font-size: 1.08rem; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 28px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none;
}
.contact-mail svg { width: 28px; height: 28px; color: var(--accent-text); }
.contact-mail:hover { color: var(--accent-text); }
.contact-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.contact-note svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); margin-top: 2px; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--err); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-legal { font-size: .85rem; color: var(--muted); margin: 0; flex: 1 1 260px; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.form-status.is-err { display: block; background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: .92rem; color: var(--muted); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(48px, 8vw, 88px) 0 clamp(64px, 10vw, 112px); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); margin-bottom: 12px; }
.legal .lead { color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 1.45rem; margin: 48px 0 14px; padding-top: 8px; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal p, .legal li { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .4em; }
.legal address { font-style: normal; }
.legal-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 1em; }
.legal-box p:last-child { margin-bottom: 0; }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.legal .toc ol { margin: 0; padding-left: 1.25em; }
.legal .toc a { text-decoration: none; font-weight: 600; }

/* ---------- Simple pages (404, Formular-Fallback) ---------- */
.simple-page { min-height: calc(100vh - 72px - 120px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.simple-page .big { font-family: var(--mono); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--accent-text); line-height: 1; margin-bottom: 16px; }
.simple-page p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

.sk-gap { margin-top: 12px; }
.section-head--flush { margin-bottom: 0; }
