/* Datei: styles.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background: #f5f7fb;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827;
}

.logo-dot {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff);
}

.logo-text {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(77, 150, 255, 0.1);
  color: #1d4ed8;
  transform: translateY(-1px);
  outline: none;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.hero-list {
  margin: 0 0 1.6rem;
  padding-left: 1.2rem;
  color: #4b5563;
}

.hero-list li + li {
  margin-top: 0.35rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4d96ff, #6bcbff);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.23);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
  outline: none;
}

.btn-secondary {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary:not(:disabled):hover,
.btn-secondary:not(:disabled):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.35);
  outline: none;
}

/* Hero Color Preview */
.hero-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.color-card {
  border-radius: 1.1rem;
  padding: 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.color-card-1 {
  background: #ff6b6b;
}
.color-card-2 {
  background: #ffd93d;
  color: #1f2933;
}
.color-card-3 {
  background: #6bcb77;
}
.color-card-4 {
  background: #4d96ff;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section p {
  margin-bottom: 1rem;
  color: #4b5563;
}

/* Bullets */
.bullet-grid {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
}

.bullet-grid li + li {
  margin-top: 0.25rem;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #f9fafb;
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

/* Highlight Section */
.section-highlight {
  background: radial-gradient(circle at top left, rgba(77, 150, 255, 0.08), transparent 55%),
              rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
}

.section-highlight h2,
.section-highlight h3 {
  color: #f9fafb;
}

.section-highlight p {
  color: #e5e7eb;
}

/* Captcha Box */
.captcha-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.captcha-row {
  margin: 0.75rem 0 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.18rem;
}

.email-container {
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-all;
}

.email-container a {
  color: #60a5fa;
  text-decoration: underline;
}

.email-container a:hover,
.email-container a:focus-visible {
  color: #bfdbfe;
  outline: none;
}

.hint-text {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #0b1120;
  color: #9ca3af;
  padding: 1.3rem 0 1.6rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.85rem;
}

/* Responsive */
@media (min-width: 768px) {
  .hero {
    padding: 4rem 0 3.25rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav {
    flex-wrap: wrap;
  }
}
