/* ============================================================
   Sveov Forms – Design-System
   Basiert auf dem Sveov-Design (dunkel, minimalistisch, große
   Typografie) – Akzentfarbe: Orange.
   ============================================================ */

:root {
  --bg: #050506;
  --bg-elev: #0c0c0f;
  --panel: #111114;
  --panel-2: #16161a;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f5f5f7;
  --text-soft: #c9c9d1;
  --muted: #86868b;
  --accent: #f97316;
  --accent-soft: #fdba74;
  --amber: #f59e0b;
  --gradient: linear-gradient(120deg, #f97316 0%, #fb923c 45%, #f59e0b 100%);
  --gradient-btn: linear-gradient(135deg, #ea580c, #f97316);
  --success: #30d158;
  --danger: #ff453a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 60px rgba(249, 115, 22, 0.16);
  --font: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Geist Mono", "Roboto Mono", "Cascadia Code", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(249, 115, 22, 0.35); color: #fff; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.02em; }
p + p { margin-top: 0.9em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--bg-elev); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; font-size: 1.12rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(249, 115, 22, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); }
.btn-danger {
  background: rgba(255, 69, 58, 0.12);
  color: #ff8a80;
  border-color: rgba(255, 69, 58, 0.3);
}
.btn-danger:hover { background: rgba(255, 69, 58, 0.2); }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.88rem; }
.btn-xs { padding: 0.28rem 0.8rem; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.65);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
}
.brand {
  display: inline-flex;
  /* Textteile (Sveov, Punkt, Forms) exakt auf einer Schriftlinie */
  align-items: baseline;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none !important;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  align-self: center; /* Logo-Quadrat bleibt mittig, Text sitzt auf der Baseline */
  margin-right: 0.6rem;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}
.brand-dot { color: var(--accent); }
.brand-suffix { color: var(--muted); font-weight: 500; margin-left: 0.45rem; font-size: 1.1rem; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) {
  color: rgba(245, 245, 247, 0.75);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav a.active { color: #fff; font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(560px 340px at 50% 0%, rgba(249, 115, 22, 0.15), transparent 65%),
    radial-gradient(800px 420px at 78% 18%, rgba(245, 158, 11, 0.1), transparent 60%),
    radial-gradient(700px 380px at 20% 22%, rgba(234, 88, 12, 0.08), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  backdrop-filter: blur(8px);
  margin-bottom: 1.8rem;
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.8);
}
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero h1 .grad {
  background: linear-gradient(120deg, #f97316, #fdba74, #f59e0b, #fb923c, #f97316);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 18s ease-in-out infinite;
}
@keyframes grad-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero .lead {
  margin: 1.4rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.4rem; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.8rem, 5vw, 4.5rem); margin-top: 3rem; }
.hero-stats strong { display: block; font-size: 1.45rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.hero-stats span { font-size: 0.86rem; color: var(--muted); }

/* Code-Fenster im Hero */
.code-window {
  max-width: 720px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  background: #0e0e12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  overflow: hidden;
  text-align: left;
}
.code-window .bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line-soft);
}
.code-window .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.code-window .bar i:nth-child(1) { background: #ff5f57; }
.code-window .bar i:nth-child(2) { background: #febc2e; }
.code-window .bar i:nth-child(3) { background: #28c840; }
.code-window .bar span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-left: 0.5rem; }

/* ---------- Codeblöcke ---------- */
pre.code {
  background: #0b0b0e;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e8e8ed;
  overflow-x: auto;
  white-space: pre;
}
.code-window pre.code { border: 0; border-radius: 0; }
pre.code .tag { color: var(--accent-soft); }
pre.code .attr { color: #9ad1ff; }
pre.code .str { color: #a8e5a3; }
pre.code .com { color: #6b6b73; }
.copy-wrap { position: relative; }
.copy-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Karten & Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
/* Grid-Kinder dürfen schrumpfen – sonst sprengen breite Codeblöcke das Raster */
.grid-2 > *, .grid-3 > * { min-width: 0; }

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover { border-color: rgba(255, 255, 255, 0.16); }
.card h3 { margin: 1.1rem 0 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card.static:hover { transform: none; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: var(--accent-soft);
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Checkliste ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; color: var(--text-soft); }
.checklist li strong { color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2330d158" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat;
  border: 1px solid rgba(48, 209, 88, 0.25);
}
.checklist.neg li::before {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

/* ---------- Preise ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; align-items: stretch; max-width: 860px; margin-inline: auto; }
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: rgba(249, 115, 22, 0.5);
  background:
    radial-gradient(400px 220px at 50% 0%, rgba(249, 115, 22, 0.1), transparent 70%),
    var(--panel);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.12);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
}
.price-card h3 { font-size: 1.3rem; }
.price-card .price-sub { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 1.4rem; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--text); letter-spacing: -0.04em; }
.price small { display: block; margin-top: 0.15rem; font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .checklist { margin: 1.4rem 0 2rem; }
.price-card .checklist li { font-size: 0.92rem; margin-bottom: 0.55rem; }
.price-card .btn { margin-top: auto; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(249, 115, 22, 0.2), transparent 70%),
    radial-gradient(500px 280px at 85% 110%, rgba(245, 158, 11, 0.14), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 36rem; margin-inline: auto; color: var(--muted); font-size: 1.06rem; }
.cta-band .btn { margin-top: 2rem; }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.form-field label .req { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
}
.form-field select option { background: var(--panel-2); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(134, 134, 139, 0.7); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}
.form-hint { font-size: 0.78rem; color: var(--muted); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); grid-column: 1 / -1; }
.form-consent input, .check-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }

/* ---------- Alerts / Flash ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.alert-success { background: rgba(48, 209, 88, 0.1); border: 1px solid rgba(48, 209, 88, 0.35); color: #6ee597; }
.alert-error { background: rgba(255, 69, 58, 0.1); border: 1px solid rgba(255, 69, 58, 0.35); color: #ff8a80; }
.alert-warn { background: rgba(255, 214, 10, 0.08); border: 1px solid rgba(255, 214, 10, 0.3); color: #ffd60a; }

/* ---------- Auth-Karten ---------- */
.auth-wrap { max-width: 440px; margin: clamp(3rem, 8vw, 5rem) auto; padding: 0 1.25rem; }
.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.auth-card h1 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.auth-card .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.auth-card .form-field { margin-bottom: 1rem; }
.auth-alt { text-align: center; margin-top: 1.4rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Dashboard ---------- */
.dash-nav {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
}
.dash-nav .container { display: flex; gap: 0.3rem; }
.dash-nav a {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.dash-nav a:hover { color: var(--text); }
.dash-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.page-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2.2rem 0 1.6rem; }
.page-title h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.stat b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.stat span { font-size: 0.82rem; color: var(--muted); }
.stat.hl { border-color: rgba(249, 115, 22, 0.35); }
.stat.hl b { color: var(--accent); }

/* Balkendiagramm (Einsendungen pro Tag) */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  padding: 0.5rem 0.2rem 0;
}
.bars .bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.bars .bar-col i {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  opacity: 0.85;
}
.bars .bar-col:hover i { opacity: 1; }
.bars .bar-col .tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text);
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
  z-index: 5;
}
.bars .bar-col:hover .tip { display: block; }
.bars-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-family: var(--mono); padding-top: 0.4rem; }

/* Tabellen */
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
table.data td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--text-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(255, 255, 255, 0.02); }
table.data a { font-weight: 500; }
.cell-muted { color: var(--muted); font-size: 0.82rem; }
.cell-mono { font-family: var(--mono); font-size: 0.8rem; }

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  white-space: nowrap;
}
.badge-new { background: rgba(249, 115, 22, 0.14); color: var(--accent-soft); border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-progress { background: rgba(10, 132, 255, 0.12); color: #7db4ff; border: 1px solid rgba(10, 132, 255, 0.3); }
.badge-done { background: rgba(48, 209, 88, 0.12); color: #6ee597; border: 1px solid rgba(48, 209, 88, 0.3); }
.badge-spam { background: rgba(255, 69, 58, 0.12); color: #ff8a80; border: 1px solid rgba(255, 69, 58, 0.3); }
.badge-neutral { background: rgba(255, 255, 255, 0.06); color: var(--text-soft); border: 1px solid var(--line); }
.badge-premium { background: var(--gradient-btn); color: #fff; border: 0; }
.badge-lead { background: rgba(255, 214, 10, 0.12); color: #ffd60a; border: 1px solid rgba(255, 214, 10, 0.3); }

/* Toolbar (Filter) */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.toolbar input, .toolbar select {
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--accent); }
.toolbar select option { background: var(--panel-2); }

.pagination { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 1.4rem; font-size: 0.9rem; }
.pagination a, .pagination span.cur {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  text-decoration: none !important;
}
.pagination span.cur { background: var(--gradient-btn); color: #fff; border-color: transparent; }

/* Settings-Sektionen */
.settings-section {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.4rem;
}
.settings-section > h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.settings-section > .sub { font-size: 0.87rem; color: var(--muted); margin-bottom: 1.3rem; }
.settings-section .form-field { margin-bottom: 1rem; }
.settings-section.danger { border-color: rgba(255, 69, 58, 0.3); }

.kv { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 0.5rem 1.2rem; font-size: 0.92rem; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--text); word-break: break-word; }

.note-item { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 0.7rem; }
.note-item .meta { font-size: 0.76rem; color: var(--muted); margin-bottom: 0.3rem; font-family: var(--mono); }
.note-item p { font-size: 0.92rem; white-space: pre-line; }

.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; font-family: var(--mono); font-size: 0.95rem; color: var(--text); background: rgba(255, 214, 10, 0.06); border: 1px solid rgba(255, 214, 10, 0.3); border-radius: var(--radius-sm); padding: 1.2rem; margin: 1rem 0; }

/* ---------- Rechtstexte ---------- */
.legal-page { max-width: 800px; padding-bottom: 4rem; }
.legal-page h1 { margin: 2.5rem 0 2rem; font-size: clamp(2rem, 5vw, 3rem); }
.legal-page h2 { font-size: 1.35rem; margin: 2.2rem 0 0.8rem; }
.legal-page h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--text-soft); }
.legal-page ul { margin: 0.6rem 0; }
.placeholder-note {
  background: rgba(255, 214, 10, 0.07);
  border: 1px solid rgba(255, 214, 10, 0.3);
  color: #ffd60a;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  margin: 2rem 0;
}
mark.ph { background: rgba(255, 214, 10, 0.16); color: #ffd60a; border-radius: 4px; padding: 0.05em 0.3em; font-style: normal; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  font-size: 0.93rem;
  margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer h4 { color: var(--text); font-size: 0.92rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--text); }
.footer-about { max-width: 300px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; font-size: 0.82rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .grad { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 13, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1.2rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line-soft); }
  .main-nav .btn { margin-top: 1rem; }
  .grid-3, .grid-2, .pricing-grid, .form-grid, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .kv dt { margin-top: 0.6rem; }
}
