/* ===== VARIABLEN ===== */
:root {
  --purple: #7c3aed;
  --blue: #3B82F6;
  --bg: #fbfbfd;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, #7c3aed, #3B82F6);
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
}

/* ===== RESET & BASIS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }

/* ===== TYPOGRAFIE ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
p { color: var(--text-muted); line-height: 1.75; }
strong { color: var(--text); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: #f5f5f7; }
.section--dark { background: #1d1d1f; color: #f5f5f7; }
.section--dark p { color: #a1a1a6; }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 253, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}

.nav__logo {
  font-weight: 700; font-size: 1.05rem;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  white-space: nowrap;
}

.nav__links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text); opacity: 0.75;
}
.nav__links a:hover { opacity: 1; color: var(--purple); }
.nav__links a.active { opacity: 1; color: var(--purple); }

.nav__cta {
  background: var(--gradient);
  color: #fff !important;
  opacity: 1 !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: opacity var(--transition), transform var(--transition);
}
.nav__cta:hover { opacity: 0.9 !important; transform: translateY(-1px); color: #fff !important; }

/* Hamburger */
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.nav__mobile {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 24px 20px;
  background: rgba(251,251,253,0.97);
  border-bottom: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem; font-weight: 500; color: var(--text);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile .nav__cta {
  background: var(--gradient); color: #fff !important;
  text-align: center; padding: 12px; border-radius: var(--radius-sm);
  border-bottom: none !important;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, rgba(59,130,246,0.05) 50%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px; letter-spacing: 0.05em; text-transform: uppercase;
}

.hero h1 { margin-bottom: 20px; }

.hero__sub {
  font-size: 1.2rem; max-width: 640px; margin: 0 auto 40px;
  color: var(--text-muted);
}

.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); cursor: pointer; border: none;
}

.btn--primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.4);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== KARTEN ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.2);
}

.card__icon {
  font-size: 2.2rem; margin-bottom: 16px;
  display: inline-block;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.92rem; }

.card--gradient {
  background: var(--gradient); color: #fff; border: none;
}
.card--gradient h3, .card--gradient p { color: #fff; }
.card--gradient p { opacity: 0.85; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ===== TABELLEN ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--card-bg); }
th {
  background: #f5f5f7; text-align: left;
  padding: 14px 18px; font-size: 0.85rem; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 18px; font-size: 0.9rem;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f9f9fb; }

/* ===== FAQ / AKKORDEON ===== */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 1rem; color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--purple);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body { padding: 0 24px 20px; }
.faq-body p { font-size: 0.95rem; }

/* ===== PROZESS-STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__num {
  width: 56px; height: 56px;
  background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #fff;
  flex-shrink: 0; margin-top: 4px;
}
.step h3 { margin-bottom: 8px; }

/* ===== TRUST-BAR ===== */
.trust-bar {
  background: #f5f5f7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-bar__inner {
  display: flex; align-items: center; gap: 32px;
  justify-content: center; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.trust-bar__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
}
.trust-bar__item span:first-child { font-size: 1.1rem; }

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  padding: 14px 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { margin: 0 8px; }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.page-header .label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 12px;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { max-width: 620px; font-size: 1.1rem; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
}
.highlight-box h3 { color: var(--purple); margin-bottom: 10px; }
.highlight-box p { color: var(--text); }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center; padding: 80px 24px;
  background: var(--gradient); color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 32px; }
.btn--white {
  background: #fff; color: var(--purple);
  font-weight: 700;
}
.btn--white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--purple);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: #1d1d1f; color: #f5f5f7;
  padding: 48px 0 32px;
}

.footer__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}

.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__brand p {
  color: #a1a1a6; font-size: 0.875rem; margin-top: 8px; max-width: 280px;
}

.footer__logo {
  font-weight: 700; font-size: 1.05rem;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.footer__links { display: flex; gap: 48px; flex-wrap: wrap; }

.footer__col h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #a1a1a6; margin-bottom: 14px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: #d1d1d6; font-size: 0.9rem; transition: color var(--transition); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid #3d3d42; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { color: #6e6e73; font-size: 0.82rem; }
.footer__bottom a { color: #6e6e73; font-size: 0.82rem; }
.footer__bottom a:hover { color: #fff; }

/* ===== IMPRESSUM / DATENSCHUTZ ===== */
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 12px 0 16px 24px; color: var(--text-muted); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--purple); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }

  .step { grid-template-columns: 56px 1fr; gap: 16px; }

  .footer__top { flex-direction: column; gap: 32px; }
  .footer__links { gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.9rem; }
  .hero__sub { font-size: 1.05rem; }
}
