:root {
  --bg: #070b14;
  --bg-glow: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.16), transparent 45%), radial-gradient(circle at 82% 10%, rgba(6, 182, 212, 0.12), transparent 40%);
  --surface: #0f172a;
  --surface-alt: #162033;
  --surface-glass: rgba(15, 23, 42, 0.82);
  --ink: #f1f5f9;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-soft: rgba(59, 130, 246, 0.14);
  --cyan: #22d3ee;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background-color: var(--bg);
  background-image: var(--bg-glow);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #67e8f9; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Topbar */
.topbar {
  background: #04070e;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.region-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}
.region-pill {
  color: var(--ink-soft);
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.75rem;
}
.region-pill.active, .region-pill:hover {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

/* Header */
.site-header {
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; color: #ffffff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--cyan);
  text-decoration: none;
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.35);
}
.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
.btn-emerald:hover { background: linear-gradient(135deg, #047857 0%, #059669 100%); color: #ffffff; }
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(56, 189, 248, 0.4); color: #ffffff; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
}

/* Main Layout */
main { padding: 28px 0 68px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--muted); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.badge-blue { background: var(--primary-soft); color: #93c5fd; border-color: rgba(59, 130, 246, 0.35); }
.badge-green { background: var(--emerald-soft); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.35); }
.badge-amber { background: var(--amber-soft); color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); }

h1, h2, h3 {
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.75rem, 3.3vw, 2.45rem); margin: 0 0 18px; }
h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin: 36px 0 14px;
  padding: 12px 0 6px 14px;
  border-top: none;
  border-left: 4px solid var(--cyan);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 65%);
  border-radius: 0 8px 8px 0;
}
h3 { font-size: 1.12rem; margin: 22px 0 8px; color: #7dd3fc; }

/* Rank #0 Kurz-Fazit */
.kurz-fazit {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-left: 5px solid var(--cyan);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 24px;
  box-shadow: var(--shadow);
}
.kurz-fazit-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 6px;
}
.kurz-fazit p { margin: 0; color: var(--ink); font-weight: 500; }

/* Hero Media */
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card figcaption {
  padding: 11px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

/* Interactive Tool / Konfigurator Panels */
.panel {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.panel-title { margin: 0; font-size: 1.18rem; color: #ffffff; background: none; padding: 0; border: none; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
label.field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
select, input[type="text"], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #070b14;
}
select:focus, input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
textarea { font-family: var(--font-mono); font-size: 0.84rem; min-height: 150px; }

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-btn {
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink-soft);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.choice-btn:hover { border-color: rgba(56, 189, 248, 0.45); color: #ffffff; }
.choice-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.25));
  border-color: var(--cyan);
  color: #ffffff;
}

.preview-box {
  background: #04070e;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  margin: 12px 0;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
  min-width: 540px;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--surface-alt);
  color: #ffffff;
  font-weight: 700;
}
tr:hover td { background: rgba(255, 255, 255, 0.02); }
tr:last-child td { border-bottom: none; }

/* Pricing Section & Cards */
.mini-pricing-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.mini-tier {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
  color: var(--ink);
  display: block;
}
.mini-tier:hover { border-color: var(--cyan); text-decoration: none; }
.mini-tier.featured {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(6, 182, 212, 0.18));
  border-color: var(--cyan);
}
.mini-tier span { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.mini-tier strong { display: block; font-size: 0.98rem; color: #ffffff; font-weight: 800; }

.pricing-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(7, 11, 20, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0 0 28px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}
.pricing-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.pricing-section-head h2 { background: none; border: none; padding: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 4px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
}
.price-card.featured {
  border-color: var(--cyan);
  border-top: 4px solid var(--cyan);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, #0f172a 42%);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.18);
}
.price-val { font-size: 1.9rem; font-weight: 800; color: #ffffff; margin: 8px 0 4px; letter-spacing: -0.02em; }
.price-sub { font-size: 0.84rem; color: var(--muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: grid;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.35;
}
.pf-check { color: var(--emerald); font-weight: 800; flex-shrink: 0; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.trust-item {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.82rem;
}
.trust-item strong { display: block; color: #ffffff; margin-bottom: 2px; }
.trust-item span { color: var(--muted); }

/* Article Layout & Cards */
.article-body {
  max-width: 860px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.callout {
  padding: 14px 18px;
  border-radius: 10px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}
.callout-green { background: var(--emerald-soft); border-color: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.callout-amber { background: var(--amber-soft); border-color: rgba(245, 158, 11, 0.35); color: #fde68a; }

.svg-diagram {
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 18px 0;
  overflow-x: auto;
}

.check-list {
  padding-left: 20px;
  margin: 12px 0;
}
.check-list li { margin-bottom: 7px; }

pre.code-block {
  background: #04070e;
  color: #e2e8f0;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

/* FAQ Accordion */
.faq-list { display: grid; gap: 10px; margin: 16px 0 28px; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
}
details.faq-item summary {
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}
details.faq-item p { margin: 10px 0 0; }

/* Internal Link Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  color: #ffffff;
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-card small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  color: var(--muted);
}
.related-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #04070e;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 40px 0 80px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid h4 { color: #ffffff; margin: 0 0 10px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--ink-soft); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  padding: 10px 16px;
  z-index: 50;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #070b14;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .mobile-sticky-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .article-body { padding: 18px 16px; }
}

@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .mini-pricing-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { font-size: 0.74rem; padding: 5px 0; }
  main { padding: 18px 0 64px; }
}
