/* Local Font Definitions - DSGVO-konform */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f2f6fb;
  --bg-deep: #e7eef7;
  --ink: #0f172a;
  --muted: #334155;
  --accent: #2f6fed;
  --accent-2: #0f3d4a;
  --card: #ffffff;
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 5% 15%, #e2ebf8, transparent 52%),
    radial-gradient(circle at 92% 18%, #d8e2f1, transparent 56%),
    var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  z-index: -2;
}

.orb-1 {
  top: -80px;
  left: -80px;
  background: #f3b39a;
}

.orb-2 {
  bottom: -120px;
  right: -120px;
  background: #9ed0c5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 24px, rgba(19, 19, 19, 0.04) 25px),
    linear-gradient(90deg, transparent 24px, rgba(19, 19, 19, 0.04) 25px);
  background-size: 25px 25px;
  opacity: 0.35;
  z-index: -3;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, rgba(231, 240, 252, 0.92), rgba(244, 247, 252, 0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 111, 237, 0.18);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.logo-link:hover {
  transform: translateY(-2px);
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.logo-sub {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.logo-link:hover .logo-sub {
  opacity: 1;
  color: var(--accent);
}


.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  transition: color 0.4s ease;
}

.nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-primary {
  background: linear-gradient(135deg, #2f6fed, #6aa2ff);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
}

.hero {
  padding: 60px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.trust {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
}

.hero-card .card {
  background: var(--card);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.hero-card {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-card h3 {
  font-size: 1.25rem;
}

.card ul {
  padding-left: 18px;
  margin: 16px 0 20px;
}

.card li {
  margin-bottom: 8px;
}

.card-cta {
  display: grid;
  gap: 10px;
}

.card-cta .btn {
  width: 100%;
}

.micro {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

.section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 40px;
}

.pill-grid,
.offer-grid,
.benefit-grid,
.training-grid,
.faq-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pill,
.offer,
.benefit,
.training-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--stroke);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pill:hover,
.offer:hover,
.benefit:hover,
.training-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.offer ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.section-accent {
  background: var(--bg-deep);
}

.section-dark {
  background: #143b38;
  color: #f5f5f5;
}

.section-dark .eyebrow {
  color: #f6c4b3;
}

.section-dark .training-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .btn-ghost {
  background: #fff;
  color: #143b38;
  border-color: #fff;
}

.benefit-grid .benefit {
  border-left: 4px solid var(--accent);
}

.comparison {
  margin-top: 32px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--stroke);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.comparison h4 {
  margin-bottom: 12px;
}

.highlight {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-center .lead {
  margin-bottom: 32px;
}

.cta-actions {
  margin-bottom: 24px;
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.faq-grid details {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--stroke);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
}

.legal-grid {
  align-items: start;
}

.legal-grid.compact {
  gap: 16px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo .logo-img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .hero {
    padding-top: 70px;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .cta-meta {
    flex-direction: column;
  }
  .highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legal pages styling */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  text-decoration: none;
}

.legal-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
