/* Everypost – Landing Page Styles
   Reines CSS, keine Abhängigkeiten. Farben als Variablen auf :root, Dark-Mode via prefers-color-scheme. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8f9fd;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #5b6577;
  --border: #e5e8f0;
  --accent: #2a78d6;
  --accent-2: #7b5cf5;
  --accent-ink: #ffffff;
  --accent-soft: rgba(42, 120, 214, 0.10);
  --accent-soft-2: rgba(123, 92, 245, 0.10);
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --header-bg: rgba(255, 255, 255, 0.82);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020;
    --bg-soft: #0f1630;
    --surface: #141c36;
    --surface-2: #182143;
    --text: #eef2ff;
    --text-soft: #c7cfe6;
    --muted: #99a3c2;
    --border: #243052;
    --accent: #4a90e8;
    --accent-2: #9b82ff;
    --accent-soft: rgba(74, 144, 232, 0.16);
    --accent-soft-2: rgba(155, 130, 255, 0.16);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(11, 16, 32, 0.82);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg-soft: #0f1630;
  --surface: #141c36;
  --surface-2: #182143;
  --text: #eef2ff;
  --text-soft: #c7cfe6;
  --muted: #99a3c2;
  --border: #243052;
  --accent: #4a90e8;
  --accent-2: #9b82ff;
  --accent-soft: rgba(74, 144, 232, 0.16);
  --accent-soft-2: rgba(155, 130, 255, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(11, 16, 32, 0.82);
  color-scheme: dark;
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0; }

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

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(42, 120, 214, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(42, 120, 214, 0.36); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--accent); }

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(42, 120, 214, 0.3);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-actions .btn-ghost { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface);
}
.lang-switch a, .lang-switch span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a:hover { text-decoration: none; color: var(--accent); }
.lang-switch [aria-current="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-menu {
  display: none;
  padding: 8px 0 18px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  display: block;
  padding: 12px 6px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { text-decoration: none; color: var(--accent); }
.mobile-menu .btn {
  display: flex;
  margin-top: 14px;
  padding: 14px 22px;
  border-bottom: 0;
}
.mobile-menu .btn-primary { color: var(--accent-ink); }
.nav-open .mobile-menu { display: block; }

@media (max-width: 599px) {
  .nav-actions .btn-primary { display: none; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-actions .btn-ghost { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 80%;
  background:
    radial-gradient(60% 50% at 20% 20%, var(--accent-soft), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, var(--accent-soft-2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 { margin: 14px 0 20px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.hero-note span::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  margin-right: 6px;
}

.hero-art {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.hero-art svg { width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero { padding: 88px 0 56px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-art { max-width: none; }
}

/* Illustration: sanfte Bewegung */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes dashmove {
  to { stroke-dashoffset: -40; }
}
.hero-art .card-float { animation: floaty 5s ease-in-out infinite; }
.hero-art .card-float.d2 { animation-delay: -1.5s; }
.hero-art .card-float.d3 { animation-delay: -3s; }
.hero-art .flow { stroke-dasharray: 6 8; animation: dashmove 2.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-art .card-float, .hero-art .flow { animation: none; }
}

/* ---------- Plattform-Leiste ---------- */

.platforms {
  padding: 24px 0 8px;
}
.platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.platforms-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  list-style: none;
  margin: 0; padding: 0;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.platform svg { width: 26px; height: 26px; }

/* ---------- Funktionen ---------- */

.features-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- So funktioniert's ---------- */

.how {
  background: var(--bg-soft);
}
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(42, 120, 214, 0.28);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Preise ---------- */

.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin: 0 auto 36px;
}
.billing-switch label {
  position: relative;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.billing-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-switch input:checked + span { color: var(--text); }
.billing-switch label:has(input:checked) {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.billing-switch .save {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}
.pricing-switch-wrap { display: flex; justify-content: center; }

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.plan.popular {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name { font-size: 1.05rem; font-weight: 700; }
.plan-desc { color: var(--muted); font-size: 0.92rem; margin-top: 4px; min-height: 2.9em; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px;
}
.plan-price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price .currency { font-size: 1.4rem; font-weight: 700; }
.plan-price .period { color: var(--muted); font-size: 0.95rem; }
.plan-billing {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1.4em;
}
.plan-features {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.plan-features li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a78d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 22px;
}

/* ---------- Vergleich ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare th:first-child, .compare td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-soft);
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
}
.compare thead th {
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--surface-2);
}
.compare thead th:first-child { background: var(--surface-2); }
.compare thead th.popular-col { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.compare .yes svg { width: 13px; height: 13px; }
.compare .no { color: var(--muted); opacity: 0.6; }

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a78d6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- CTA ---------- */

.cta {
  padding: 0 0 72px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 52px 24px;
  text-align: center;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-lg);
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 100%, rgba(255,255,255,0.25), transparent 70%);
  pointer-events: none;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin-top: 12px; color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.cta-box .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.cta-box .btn-secondary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.cta-box .hero-actions { justify-content: center; position: relative; z-index: 1; }
@media (min-width: 720px) { .cta-box { padding: 64px 48px; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p { margin-top: 10px; max-width: 320px; }
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Rechtsseiten (Platzhalter) ---------- */

.legal {
  padding: 64px 0 96px;
  min-height: 60vh;
}
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.legal p { color: var(--muted); font-size: 1.05rem; }
.legal .notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.legal .back { display: inline-block; margin-top: 28px; font-weight: 600; }

/* ---------- Hilfsklassen ---------- */

.center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
}

/* ---------- Rechtstexte: Impressum, Datenschutz, AGB ---------- */

.legal-draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.5);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.legal-draft strong { color: var(--text); }
.legal .meta { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

.legal-toc {
  margin: 32px 0 40px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.legal-toc h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 12px;
}
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin: 4px 0; break-inside: avoid; font-size: 0.95rem; }
.legal-toc a { font-weight: 500; }

.legal .legal-body h2 { font-size: 1.5rem; margin: 48px 0 12px; scroll-margin-top: 90px; }
.legal .legal-body h3 { font-size: 1.12rem; margin: 28px 0 8px; scroll-margin-top: 90px; }
.legal .legal-body p,
.legal .legal-body li,
.legal .legal-body address { color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
.legal .legal-body p { margin: 0 0 14px; }
.legal .legal-body ul,
.legal .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal .legal-body li { margin: 6px 0; }
.legal .legal-body address { font-style: normal; margin: 0 0 14px; }
.legal .legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
.legal .legal-body th,
.legal .legal-body td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-soft);
  line-height: 1.55;
}
.legal .legal-body th { color: var(--text); font-weight: 600; background: var(--surface-2); }
.legal .legal-body .box {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin: 16px 0 24px;
}
.legal .legal-body .box p:last-child { margin-bottom: 0; }
.legal .legal-body mark {
  background: rgba(234, 179, 8, 0.22);
  color: inherit;
  padding: 0 4px;
  border-radius: 4px;
}
.legal .legal-body .toplink { display: inline-block; margin-top: 10px; font-size: 0.9rem; font-weight: 500; }

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal .legal-body table { display: block; overflow-x: auto; }
}

/* Early-Access-Band, Warteliste, Produkt-Screenshots, Video, Vertrauen */
.early-band { background: linear-gradient(90deg, var(--accent), #7b5cf5); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; }
.early-band strong { font-weight: 700; }
.waitlist-form { margin-top: 22px; max-width: 520px; }
.waitlist-label { display: block; font-size: 14px; font-weight: 600; color: var(--text, #0f172a); margin-bottom: 8px; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist-row input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border, #cbd5e1); font: inherit; font-size: 15px; background: var(--surface, #fff); color: inherit; }
.waitlist-row .btn { white-space: nowrap; }
.form-msg { margin: 8px 0 0; font-size: 13.5px; color: #b91c1c; min-height: 1em; }
.form-msg.ok { color: #15803d; }
.waitlist-form--light { margin: 22px auto 0; }
.waitlist-form--light .waitlist-label { color: inherit; }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 32px 0 8px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 20px 50px rgba(15, 23, 42, .18); }
.shots figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2, #475569); }
.video-wrap { margin: 40px auto 0; max-width: 900px; }
.video-wrap video { width: 100%; height: auto; border-radius: 16px; background: #0f172a; box-shadow: 0 20px 50px rgba(15, 23, 42, .18); }
.video-note { text-align: center; font-size: 13.5px; color: var(--text-2, #475569); margin-top: 10px; }
.trust { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust li { border: 1px solid var(--border, #e2e8f0); border-radius: 14px; padding: 14px 16px; background: var(--surface, #fff); display: flex; flex-direction: column; gap: 4px; }
.trust strong { font-size: 15px; }
.trust span { font-size: 13px; color: var(--text-2, #475569); }
@media (max-width: 980px) { .shots { grid-template-columns: repeat(3, 1fr); } .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; } .shots figure:nth-child(5) { display: none; } .waitlist-row { flex-direction: column; } .trust { grid-template-columns: 1fr; } }
