@import url("cookieconsent.css");

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #3b82f6;
  --cta: #16a34a;
  --cta-hover: #15803d;
  --text-main: #1f2937;
  --text-light: #4b5563;
  --text-lighter: #9ca3af;
  --bg-body: #ffffff;
  --bg-subtle: #f3f4f6;
  --bg-card: #ffffff;
  --white: #ffffff;
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --container-width: 1200px;
  --header-height: 80px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-bold {
  font-weight: 700;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-4 {
  margin-top: 40px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.btn,
.header-cta {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover,
.header-cta:hover {
  background-color: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  box-shadow: none;
  width: 100%;
}

.btn:active,
.header-cta:active {
  transform: translateY(0);
}

#leadForm .btn {
  background-color: var(--cta);
  border-color: var(--cta);
  color: #fff !important;
  box-shadow: var(--shadow-md);
}

#leadForm .btn:hover {
  background-color: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100% !important;
}

header {
  height: var(--header-height);
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-dot-de {
  color: var(--primary);
}

.nav-links {
  display: none;
}

.mobile-nav-toggle {
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-pill {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
}

.header-cta {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s, color 0.2s;
}

.header-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero {
  padding: calc(var(--header-height) + 40px) 0 40px 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  text-align: center;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-light);
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-main);
}

.icon-check {
  color: var(--success);
  font-weight: bold;
  flex-shrink: 0;
}

.form-card {
  background: var(--bg-card);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-subtle);
  position: relative;
  z-index: 10;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.form-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  text-align: center;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
}

.form-consent a {
  color: var(--primary);
  text-decoration: underline;
}

.form-consent-checkbox {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-consent-checkbox.is-invalid {
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-consent-checkbox.is-valid {
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
  background: #f9fafb;
}

.form-input:focus {
  outline: 0;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input.is-valid {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.form-input.is-invalid {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-lighter);
  margin-top: 16px;
  text-align: center;
}

.form-hint {
  font-size: 0.8rem;
  color: #b45309;
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.form-hint.visible {
  max-height: 60px;
  opacity: 1;
  transform: translateY(0);
}

.form-message {
  padding: 20px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  display: none;
  line-height: 1.6;
}

.form-message-success {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
}

.form-message-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}


.features {
  padding: 80px 0;
  background: var(--bg-body);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.steps {
  padding: 60px 0 80px 0;
  background: var(--primary-light);
}

.steps-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 20px;
  pointer-events: none;
}

.step-content {
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--primary-dark);
}

.step-text {
  color: var(--text-light);
}

.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--bg-subtle);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--bg-subtle);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.faq-summary {
  font-weight: 600;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
}

details[open] .faq-summary::after {
  content: "-";
}

.faq-text {
  padding: 0 20px 20px 20px;
  color: var(--text-light);
  line-height: 1.6;
}

footer {
  background: #111827;
  color: #9ca3af;
  padding: 80px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-title {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.legal-hero {
  padding: 120px 0 40px;
  background: var(--primary-light);
}

.legal-hero .section-title {
  margin-bottom: 10px;
}

.legal-hero .section-desc {
  margin-bottom: 0;
}

.legal-content {
  padding: 40px 0 80px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
  color: var(--primary-dark);
}

.legal-card h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--text-main);
}

.legal-card p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.legal-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-light);
}

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

.legal-card a {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .btn {
    width: auto;
  }

  .btn-full {
    width: 100% !important;
  }

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

  .nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
  }

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

  .mobile-nav-toggle {
    display: none;
  }

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

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .hero-content {
    text-align: left;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-list {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
