@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #2daae1;
  --primary-dark: #1a8bc4;
  --accent: #00d4ff;
  --dark: #0a0e27;
  --dark-soft: #151b35;
  --bg: #fafbfd;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 20px;
  --shadow-soft: 0 8px 32px rgba(10, 14, 39, 0.08);
  --shadow-hard: 0 20px 60px rgba(10, 14, 39, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(250, 251, 253, 0.95);
  box-shadow: var(--shadow-soft);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--dark);
}

.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1c0e37;
  /* Vanta Waves wird als Canvas darüber gelegt */
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tag {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px rgba(45, 170, 225, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(45, 170, 225, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.trust-bar {
  max-width: 1320px;
  margin: -60px auto 0;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

.trust-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow-hard);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.trust-icon i {
  font-size: 22px;
  line-height: 1;
}

.services {
  padding: 140px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 41, 59, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.bento-item:hover::before {
  transform: scaleX(1);
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hard);
  border-color: var(--primary);
}

.bento-medium {
  min-height: 240px;
}

.bento-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}

.bento-icon i {
  font-size: 28px;
  line-height: 1;
}

.bento-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.bento-item p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
}

.why-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: 100px 40px;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}

.why-list {
  display: grid;
  gap: 20px;
}

.why-item {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(30, 41, 59, 0.08);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.why-item:hover {
  transform: translateX(8px);
  border-color: var(--primary);
}

.why-item strong {
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  border: 1px solid rgba(30, 41, 59, 0.08);
}

.contact-form h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(30, 41, 59, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 170, 225, 0.1);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 40px 40px;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Mobile Navigation */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-hard);
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    width: 100%;
    text-align: left;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .trust-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  /* Touch-Targets mindestens 44x44px */
  .btn,
  .nav-links a,
  .course-link a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Verbesserte Lesbarkeit auf Mobile */
  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  h3 {
    font-size: clamp(20px, 5vw, 24px);
  }
}


/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-container {
  max-width: 600px;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 32px;
}

.cookie-header h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}

.cookie-header h3 i {
  color: var(--primary);
}

.cookie-header p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.cookie-options {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.cookie-option {
  background: rgba(30, 41, 59, 0.03);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(30, 41, 59, 0.05);
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.cookie-option p.small {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 30px;
}

.cookie-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cookie-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 24px;
}

.cookie-actions .btn-ghost {
  color: var(--text);
  border: 1px solid rgba(30, 41, 59, 0.1);
}

.cookie-link {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}