/*
 * Bewerbungshelfende – UI base styles (all pages).
 * Modern, calm SaaS look: Inter (local variable font), soft layered surfaces, rounded cards,
 * WCAG 2.1 AA contrast, visible focus, 44 px touch targets, breakpoints 360/768/1024/1280 px.
 * UI tokens use the --ui- prefix; the document designs (print.css) only know --primary, --font,
 * --font-size and --line-height and never load this file.
 */

@font-face {
  font-family: 'Inter UI'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/InterVariable.woff2') format('woff2');
}

:root {
  --ui-font: 'Inter UI', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ui-brand: #1F4E79;
  --ui-brand-strong: #163a5a;
  --ui-brand-bright: #2f74b5;
  --ui-brand-soft: #eaf2fa;
  --ui-brand-softer: #f4f8fc;
  --ui-text: #0f1b2d;
  --ui-text-2: #3b4a5f;
  --ui-muted: #5a687c;
  --ui-line: #e3e9f1;
  --ui-line-strong: #cdd6e2;
  --ui-bg: #f5f7fb;
  --ui-surface: #ffffff;
  --ui-surface-2: #f8fafd;
  --ui-ok: #157347;
  --ui-ok-soft: #e7f6ee;
  --ui-warn: #8a5a00;
  --ui-warn-soft: #fff6dc;
  --ui-danger: #b3261e;
  --ui-danger-soft: #fdeceb;
  --ui-radius-s: 8px;
  --ui-radius: 12px;
  --ui-radius-l: 18px;
  --ui-shadow-s: 0 1px 2px rgba(15, 27, 45, 0.05), 0 1px 3px rgba(15, 27, 45, 0.06);
  --ui-shadow: 0 2px 4px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.07);
  --ui-shadow-l: 0 12px 28px rgba(15, 27, 45, 0.10), 0 32px 64px rgba(15, 27, 45, 0.10);
  --ui-ring: 0 0 0 4px rgba(47, 116, 181, 0.18);
  --ui-gradient: linear-gradient(135deg, #1F4E79 0%, #2f74b5 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ui-text);
  background: var(--ui-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg { max-width: 100%; }
a { color: var(--ui-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ui-brand-bright); }
h1, h2, h3 { line-height: 1.2; color: var(--ui-text); letter-spacing: -0.02em; }
h1 { font-size: 1.85rem; font-weight: 750; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; font-weight: 700; margin: 1.75rem 0 0.6rem; }
h3 { font-size: 1.05rem; font-weight: 650; margin: 1.25rem 0 0.4rem; letter-spacing: -0.01em; }
p { margin: 0 0 0.75rem; }
.lead { font-size: 1.08rem; color: var(--ui-text-2); max-width: 46rem; }
.hint { font-size: 0.875rem; color: var(--ui-muted); margin: 0.3rem 0 0; }
.label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid #2f74b5; outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: #cfe2f5; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 0.5rem 1rem; z-index: 100; border-radius: var(--ui-radius-s); box-shadow: var(--ui-shadow); }
.skip-link:focus { left: 1rem; top: 0.5rem; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(205, 214, 226, 0.7);
}
.page-editor .site-header { position: static; background: #fff; }
.page-editor .site-header-inner { max-width: none; }
.site-header-inner {
  max-width: 80rem; margin: 0 auto; padding: 0.55rem 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  font-weight: 750; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ui-text); text-decoration: none;
}
.brand:hover { color: var(--ui-text); }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ui-gradient); color: #fff;
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.brand-icon { width: 20px; height: 20px; color: #fff; }
.brand-name-accent { color: var(--ui-brand-bright); }
.site-nav { display: flex; gap: 0.15rem; flex-wrap: wrap; align-items: center; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem; border-radius: 999px;
  color: var(--ui-text-2); text-decoration: none; font-weight: 550; font-size: 0.95rem;
  transition: background-color 0.15s, color 0.15s;
}
.site-nav a:hover { background: #eef2f7; color: var(--ui-text); }
.site-nav a[aria-current="page"] { color: var(--ui-brand); background: var(--ui-brand-soft); }
.site-nav .nav-cta { margin-left: 0.4rem; background: var(--ui-gradient); color: #fff; box-shadow: 0 4px 12px rgba(31, 78, 121, 0.25); }
.site-nav .nav-cta:hover { color: #fff; background: var(--ui-gradient); filter: brightness(1.08); }
@media (max-width: 640px) {
  .site-nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px; padding-bottom: 2px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; }
  .site-nav .nav-cta { margin-left: 0; box-shadow: none; }
}

.site-footer { border-top: 1px solid var(--ui-line); background: var(--ui-surface); margin-top: 4rem; }
.site-footer-inner {
  max-width: 80rem; margin: 0 auto; padding: 1.75rem 16px; font-size: 0.9rem; color: var(--ui-muted);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem;
}
.site-footer-inner p { margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ui-text-2); }
.footer-brand strong { color: var(--ui-text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { color: var(--ui-text-2); text-decoration: none; }
.footer-links a:hover { color: var(--ui-brand); text-decoration: underline; }
.page-editor .site-footer { margin-top: 0; }

/* ---------------------------------------------------------- containers */
.container { max-width: 62rem; margin: 0 auto; padding: 2rem 16px 2rem; }
.container-wide { max-width: 80rem; }
.panel { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 1.1rem 1.25rem; margin: 1rem 0; box-shadow: var(--ui-shadow-s); }
.banner { margin: 0; padding: 0.75rem 16px; font-weight: 500; }
.banner-warn { background: var(--ui-warn-soft); color: #5c4300; border-bottom: 1px solid #f0d98c; }
.banner-info { background: var(--ui-brand-soft); color: var(--ui-brand-strong); }
main.container > h1:first-child, .container > h1:first-child { font-size: 2rem; margin-top: 0.5rem; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.55rem 1.05rem; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-decoration: none;
  background: var(--ui-surface); color: var(--ui-text);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--ui-gradient); color: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.12), 0 4px 14px rgba(31, 78, 121, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { color: #fff; filter: brightness(1.07); box-shadow: 0 2px 4px rgba(15, 27, 45, 0.12), 0 8px 22px rgba(31, 78, 121, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-secondary { background: var(--ui-surface); color: var(--ui-brand); border-color: var(--ui-line-strong); box-shadow: var(--ui-shadow-s); }
.btn-secondary:hover { background: var(--ui-brand-softer); border-color: #a9bdd3; }
.btn-ghost { background: transparent; color: var(--ui-brand); }
.btn-ghost:hover { background: var(--ui-brand-soft); }
.btn-danger { background: var(--ui-surface); color: var(--ui-danger); border-color: #efc2be; }
.btn-danger:hover { background: var(--ui-danger-soft); }
.btn-small { min-height: 36px; padding: 0.3rem 0.75rem; font-size: 0.875rem; border-radius: 9px; }
.btn-large { min-height: 54px; padding: 0.8rem 1.5rem; font-size: 1.02rem; border-radius: 12px; }
.btn-icon { min-width: 44px; padding: 0.4rem; background: transparent; color: var(--ui-text-2); }
.btn-icon:hover { background: #eef2f7; color: var(--ui-text); }
.btn-icon-danger:hover { color: var(--ui-danger); background: var(--ui-danger-soft); }
.btn-file { position: relative; }
.btn-file input { cursor: pointer; }
.btn-link { background: transparent; padding-left: 0.4rem; padding-right: 0.4rem; color: var(--ui-text-2); }
.btn-link:hover { color: var(--ui-brand); background: transparent; text-decoration: underline; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.75rem 0; }
.button-row-tight { margin: 0.25rem 0 0.75rem; }

/* ---------------------------------------------------------------- forms */
.field { margin: 0 0 1rem; min-width: 0; }
fieldset.field, fieldset.cards { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
fieldset.field > legend, fieldset.cards > legend { padding: 0; }
.field > label, .field-head > label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--ui-text); }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid var(--ui-line-strong); border-radius: 10px;
  font: inherit; font-size: 0.97rem; color: var(--ui-text); background: var(--ui-surface);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.3rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #5a687c 50%), linear-gradient(135deg, #5a687c 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
textarea { min-height: 6rem; resize: vertical; line-height: 1.55; }
input:hover, select:hover, textarea:hover { border-color: #b3c1d2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ui-brand-bright); box-shadow: var(--ui-ring); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
input::placeholder, textarea::placeholder { color: #7b889a; }
.field-check { display: flex; align-items: flex-start; gap: 0.65rem; flex-wrap: wrap; }
.field-check input { width: 20px; height: 20px; margin: 0.2rem 0 0; flex: none; accent-color: var(--ui-brand); }
.field-check label { font-weight: 500; margin: 0; flex: 1; min-height: 28px; }
.field-check .hint { flex-basis: 100%; margin-left: 2rem; }
.field-inline { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.field-inline label { margin: 0; }
.field-inline input, .field-inline select { flex: 1; min-width: 12rem; }
.grid-2, .grid-3 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
.grid-plz { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0 0.75rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.segmented { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 12px; background: #edf1f6; border: 1px solid var(--ui-line); }
.segmented label { position: relative; display: flex; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0.3rem 0.9rem; cursor: pointer;
  font-weight: 550; font-size: 0.93rem; color: var(--ui-text-2); border-radius: 9px; transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.segmented span:hover { color: var(--ui-text); }
.segmented input:checked + span { background: var(--ui-surface); color: var(--ui-brand); box-shadow: var(--ui-shadow-s); }
.segmented input:focus-visible + span { outline: 3px solid #2f74b5; outline-offset: 0; }
.segmented-small span { min-height: 32px; padding: 0.2rem 0.65rem; font-size: 0.85rem; }
.segmented-wrap { display: flex; }

.check-inline { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; font-size: 0.9rem; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--ui-brand); }

/* ------------------------------------------------------------- dialogs */
.dialog {
  border: 1px solid var(--ui-line); border-radius: var(--ui-radius-l); padding: 0; width: min(36rem, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  box-shadow: var(--ui-shadow-l); color: var(--ui-text); background: var(--ui-surface);
}
.dialog-wide { width: min(46rem, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(15, 27, 45, 0.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in 0.18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.dialog-inner { padding: 1.5rem 1.5rem 1.25rem; }
.dialog h2 { margin-top: 0; font-size: 1.25rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; margin-top: 1.25rem; }
.dialog ol, .dialog ul { padding-left: 1.25rem; }
.dialog textarea.output { min-height: 16rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.85rem; }

.toast-region { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 0.5rem; width: min(30rem, calc(100vw - 32px)); }
.toast {
  background: rgba(15, 27, 45, 0.94); color: #fff; padding: 0.8rem 1.1rem; border-radius: 12px;
  box-shadow: var(--ui-shadow-l); font-size: 0.93rem; animation: toast-in 0.2s ease-out;
}
.toast-warn { background: #7a5200; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- start page */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(47, 116, 181, 0.16), transparent 60%),
    radial-gradient(40rem 26rem at -10% 20%, rgba(31, 78, 121, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border-bottom: 1px solid var(--ui-line);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 78, 121, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
}
.hero-inner { position: relative; max-width: 76rem; margin: 0 auto; padding: 3rem 16px 3rem; display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 0 1.1rem; padding: 0.3rem 0.8rem 0.3rem 0.45rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ui-brand); background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d3e1ef; border-radius: 999px; box-shadow: var(--ui-shadow-s);
}
.eyebrow-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ui-brand-soft); color: var(--ui-brand); }
.eyebrow-dot .icon { width: 13px; height: 13px; }
.hero h1 { font-size: 2.25rem; line-height: 1.1; font-weight: 750; letter-spacing: -0.028em; max-width: 42rem; margin-bottom: 1rem; text-wrap: balance; }
.hero h1 .accent {
  display: block;
  background: var(--ui-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.12rem; line-height: 1.65; margin-bottom: 1.25rem; }
.promise {
  display: flex; gap: 0.65rem; align-items: flex-start; max-width: 40rem; margin: 0 0 1.5rem;
  padding: 0.8rem 1rem; border-radius: var(--ui-radius); font-weight: 500; font-size: 0.95rem;
  background: rgba(231, 246, 238, 0.85); border: 1px solid #bfe3cd; color: #134a2c;
}
.promise .icon { margin-top: 0.15rem; color: var(--ui-ok); width: 1.25em; height: 1.25em; }
.cta { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.cta-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 0.9rem; }
.cta-links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.cta-links a:hover { text-decoration: underline; }
.hero .hint { max-width: 40rem; }

/* Decorative document mock-up (aria-hidden). */
.hero-visual { position: relative; min-height: 360px; display: none; }
.mock-paper {
  position: absolute; width: 300px; height: 400px; border-radius: 10px; background: #fff;
  box-shadow: var(--ui-shadow-l); border: 1px solid #e6ecf3; padding: 26px 24px;
}
.mock-back { top: 34px; left: 50%; margin-left: -110px; transform: rotate(6deg); opacity: 0.85; }
.mock-front { top: 10px; left: 50%; margin-left: -190px; transform: rotate(-3deg); }
.mock-name { display: block; width: 58%; height: 14px; border-radius: 4px; background: var(--ui-brand); margin-bottom: 8px; }
.mock-sub { display: block; width: 40%; height: 7px; border-radius: 4px; background: #c7d3e1; margin-bottom: 22px; }
.mock-h { display: block; width: 34%; height: 8px; border-radius: 4px; background: var(--ui-brand-bright); opacity: 0.75; margin: 16px 0 10px; }
.mock-line { display: block; height: 6px; border-radius: 3px; background: #e3e9f1; margin-bottom: 8px; }
.mock-line.w90 { width: 90%; } .mock-line.w80 { width: 80%; } .mock-line.w70 { width: 70%; } .mock-line.w60 { width: 60%; } .mock-line.w50 { width: 50%; }
.mock-row { display: grid; grid-template-columns: 22% 1fr; gap: 10px; }
.mock-row .mock-line:first-child { background: #d5deea; }
.mock-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--ui-line); border-radius: 12px; box-shadow: var(--ui-shadow);
  font-size: 0.85rem; font-weight: 600; color: var(--ui-text); white-space: nowrap;
}
.mock-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #1e9e5a; box-shadow: 0 0 0 4px rgba(30, 158, 90, 0.15); }
.mock-badge .icon { color: var(--ui-brand-bright); }
.mock-badge-1 { top: 40px; right: 0; }
.mock-badge-2 { bottom: 70px; left: 0; }
.mock-badge-3 { bottom: 8px; right: 30px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.stats li { background: rgba(255, 255, 255, 0.8); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 0.8rem 1rem; box-shadow: var(--ui-shadow-s); }
.stats strong { display: block; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; color: var(--ui-brand); line-height: 1.1; }
.stats span { font-size: 0.85rem; color: var(--ui-muted); }

.section { max-width: 76rem; margin: 0 auto; padding: 3.5rem 16px 0; }
.section-head { max-width: 40rem; margin-bottom: 1.5rem; }
.section-head h2 { font-size: 1.75rem; letter-spacing: -0.03em; margin: 0 0 0.4rem; }
.section-head p { color: var(--ui-text-2); margin: 0; }
.section-kicker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-brand-bright); margin-bottom: 0.4rem; }

.features { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; }
.feature {
  position: relative; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius-l);
  padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--ui-shadow-s); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--ui-shadow); border-color: #d6e1ed; }
.feature h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }
.feature p { color: var(--ui-text-2); margin: 0; font-size: 0.97rem; }
.feature-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.9rem; border-radius: 12px;
  background: var(--ui-brand-soft); color: var(--ui-brand); border: 1px solid #d6e5f3;
}
.feature-icon .icon { width: 22px; height: 22px; }

.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
.steps-list li {
  counter-increment: s; position: relative; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius-l);
  padding: 1.15rem 1.2rem 1.15rem 4.1rem; box-shadow: var(--ui-shadow-s); font-weight: 500; color: var(--ui-text-2); min-height: 4.2rem; display: flex; align-items: center;
}
.steps-list li::before {
  content: counter(s); position: absolute; left: 1.1rem; top: 50%; margin-top: -1.2rem;
  width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--ui-gradient); color: #fff;
  display: inline-grid; place-items: center; font-weight: 800; font-size: 1rem; box-shadow: 0 4px 12px rgba(31, 78, 121, 0.25);
}

.privacy-card {
  display: grid; gap: 1rem; align-items: start; background: var(--ui-surface); border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-l); padding: 1.5rem; box-shadow: var(--ui-shadow-s); grid-template-columns: 1fr;
}
.privacy-card .feature-icon { margin: 0; background: var(--ui-ok-soft); color: var(--ui-ok); border-color: #c9ead7; }
.privacy-card h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.privacy-card p { margin: 0; color: var(--ui-text-2); }

.cta-band {
  position: relative; overflow: hidden; margin: 3.5rem auto 0; max-width: calc(76rem - 32px);
  background: var(--ui-gradient); color: #fff; border-radius: 24px; padding: 2.25rem 1.5rem;
  display: grid; gap: 1.25rem; align-items: center; box-shadow: 0 20px 40px rgba(31, 78, 121, 0.25);
}
.cta-band::after {
  content: ''; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%); pointer-events: none;
}
.cta-band h2 { color: #fff; margin: 0 0 0.35rem; font-size: 1.6rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.86); }
.cta-band .btn { background: #fff; color: var(--ui-brand); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); position: relative; z-index: 1; }
.cta-band .btn:hover { color: var(--ui-brand-strong); filter: none; background: #f4f8fc; }
.page-index main { padding-bottom: 1rem; }
.home-wrap { padding: 0 16px; }

@media (min-width: 560px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.8rem; }
  .privacy-card { grid-template-columns: auto 1fr; padding: 1.75rem 2rem; }
  .cta-band { grid-template-columns: 1fr auto; padding: 2.5rem 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); padding: 4.5rem 24px 4rem; }
  .hero-visual { display: block; }
  .hero h1 { font-size: 3.05rem; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .steps-list { grid-template-columns: repeat(4, 1fr); }
  .steps-list li { flex-direction: column; align-items: flex-start; padding: 4.4rem 1.2rem 1.2rem; }
  .steps-list li::before { top: 1.2rem; margin-top: 0; }
}

/* ------------------------------------------------------- content pages */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.table-wrap { overflow-x: auto; border-radius: var(--ui-radius); border: 1px solid var(--ui-line); box-shadow: var(--ui-shadow-s); background: var(--ui-surface); }
.data-table { width: 100%; border-collapse: collapse; background: var(--ui-surface); font-size: 0.93rem; }
.data-table th, .data-table td { border-bottom: 1px solid var(--ui-line); padding: 0.65rem 0.85rem; text-align: left; vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { background: var(--ui-surface-2); font-weight: 600; }
.rule-list { padding-left: 1.4rem; }
.rule-list li { margin-bottom: 0.7rem; }
.rule-list li::marker { color: var(--ui-brand-bright); font-weight: 700; }
.pair { display: grid; gap: 0.5rem; grid-template-columns: 1fr; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 0.9rem 1.1rem; margin: 0 0 0.65rem; box-shadow: var(--ui-shadow-s); }
.pair-neg { color: #8a1c14; }
.pair-neg::before { content: '✗ '; font-weight: 700; }
.pair-pos { color: #145a32; }
.pair-pos::before { content: '✓ '; font-weight: 700; }
.pair-why { font-size: 0.875rem; color: var(--ui-muted); }
@media (min-width: 768px) { .pair { grid-template-columns: 1fr 1fr; } .pair-why { grid-column: 1 / -1; } }
.ausfuellen { background: #fff1a8; color: #5c4300; font-weight: 700; padding: 0 0.25rem; border-radius: 3px; }
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal p { max-width: 46rem; color: var(--ui-text-2); }

/* ------------------------------------------------------------- library */
.lib-filters {
  display: grid; gap: 0 0.75rem; grid-template-columns: 1fr; background: var(--ui-surface); border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-l); padding: 1rem 1.1rem 0.25rem; margin: 1.25rem 0; box-shadow: var(--ui-shadow-s);
}
@media (min-width: 768px) { .lib-filters { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.lib-meta { font-size: 0.9rem; color: var(--ui-muted); margin: 0.5rem 0; }
.lib-list { display: grid; gap: 0.75rem; }
.bs-card { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 1rem 1.1rem; box-shadow: var(--ui-shadow-s); transition: border-color 0.15s, box-shadow 0.15s; }
.bs-card:hover { border-color: #d0dcea; box-shadow: var(--ui-shadow); }
.bs-card p.bs-text { margin: 0 0 0.6rem; }
.bs-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.76rem; margin-bottom: 0.5rem; }
.tag { background: #eef2f7; color: var(--ui-text-2); border-radius: 999px; padding: 0.12rem 0.6rem; font-weight: 550; }
.tag-ton { background: var(--ui-brand-soft); color: var(--ui-brand-strong); }
.bs-hint { font-size: 0.85rem; color: var(--ui-muted); margin: 0 0 0.4rem; }
.bs-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
mark.ph { background: #fff1a8; color: var(--ui-text); border-radius: 4px; padding: 0 3px; }
.tabs { display: inline-flex; gap: 3px; padding: 3px; margin: 1rem 0; flex-wrap: wrap; background: #edf1f6; border: 1px solid var(--ui-line); border-radius: 12px; }
.tabs button { min-height: 40px; border: 0; background: transparent; padding: 0 1rem; font: inherit; font-weight: 600; font-size: 0.93rem; color: var(--ui-text-2); border-radius: 9px; cursor: pointer; }
.tabs button:hover { color: var(--ui-text); }
.tabs button[aria-selected="true"] { color: var(--ui-brand); background: var(--ui-surface); box-shadow: var(--ui-shadow-s); }
.verb-cat { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 0.9rem 1.1rem; margin-bottom: 0.75rem; box-shadow: var(--ui-shadow-s); }
.verb-cat h3 { margin-top: 0; }
.verb-list { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.verb-list li { background: var(--ui-surface-2); border: 1px solid var(--ui-line); border-radius: 8px; padding: 0.15rem 0.55rem; font-size: 0.9rem; }

/* ------------------------------------------------------------- check.php */
.check-table td.ok { color: #145a32; font-weight: 700; }
.check-table td.warn { color: #7a5200; font-weight: 700; }
.check-table td.fail { color: #a1261c; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
}
