/* /public/landingpage.css */
:root {
  --bg: #0d0c1d;
  --fg: #f9fafb;
  --muted: #a0a0c0;
  --accentA: #be93fd;
  --accentB: #f9a8d4;
  --border: rgba(255, 255, 255, 0.12);
  --maxw: 1120px;
  --radius-lg: 14px;
}

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-v19-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-v19-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/fonts/inter-v19-latin-800.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.cosmos-layer{ position: fixed; inset: 0; z-index: -10; }
#stars-far{ background-image: radial-gradient(circle at 20% 80%, var(--accentA), transparent 40%), radial-gradient(circle at 80% 30%, var(--accentC), transparent 40%); opacity: .10; }
#stars-mid{ background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 80% 60%, #fff, transparent); background-size: 300px 300px; opacity: .35; }
#stars-near{ background-image: radial-gradient(2px 2px at 10% 80%, #fff, transparent), radial-gradient(2px 2px at 90% 10%, #fff, transparent); background-size: 500px 500px; opacity: .75; }

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem; /* Etwas mehr Standard-Padding */
}

/* Header */
.site-header {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--fg);
}
.brand img {
    height: 32px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
}
.headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 0.5rem; /* Reduzierter Abstand */
    max-width: 20ch;
}
/* KORREKTUR: Styling für den neuen h2-Untertitel */
.hero h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--muted);
    margin: 0 0 1.5rem 0;
}
.subheadline {
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto;
}
.cta-button {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  border: 2px solid transparent;
  background: transparent;
  color: #0a0615;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(90deg, var(--accentA), var(--accentB));
  z-index: -1;
  border-radius: 999px;
  transition: all 0.2s ease-in-out;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(190, 147, 253, 0.3);
}

/* Allgemeine Section Styles */
.features, .how-it-works, .faq {
    padding: 5rem 0; /* Mehr vertikaler Abstand */
    border-top: 1px solid var(--border);
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}
.step-item {
    text-align: center;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-image: linear-gradient(135deg, var(--accentA), var(--accentB));
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.step-item h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}
.step-item p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr); /* Desktop: 2 Spalten */
}
.feature-item {
    background: rgba(24, 24, 38, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}
.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}
.feature-item p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.feature-item strong {
    color: var(--accentA); /* Hebt GPT-5 hervor */
}

/* FAQ Section */
.faq {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--fg);
}
.faq-item p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.5rem;
}
.site-footer a:hover {
  color: var(--fg);
  text-decoration: underline;
}

/* Animation Helfer */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== COOKIE BANNER STYLES (FINAL V2.0) ========== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: rgba(13, 12, 29, 0.9); color: var(--fg); padding: 1rem 1.5rem; z-index: 1000; backdrop-filter: blur(10px); border-top: 1px solid var(--border); transform: translateY(100%); transition: transform 0.5s ease-in-out; display: none; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cookie-banner-text { margin: 0; color: var(--muted); font-size: 0.9rem; }
.cookie-banner-link { color: var(--accentA); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn { padding: 0.6rem 1.2rem; border: none; border-radius: 999px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; }
.cookie-btn.primary { background-image: linear-gradient(90deg, var(--accentA), var(--accentB)); color: #0a0615; }
.cookie-btn.secondary { background-color: rgba(255, 255, 255, 0.1); color: var(--fg); }
.cookie-btn:hover { transform: scale(1.05); }
.cookie-trigger { position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px; background-color: transparent; border: 2px solid var(--accentB); border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; z-index: 999; transition: all 0.2s ease; }
.cookie-trigger:hover { transform: scale(1.1); border-color: var(--accentA); }
.cookie-trigger.visible { display: flex; }
.modal-overlay { position: fixed; inset: 0; background-color: rgba(13, 12, 29, 0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }
.modal-overlay.visible { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.modal-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; width: 90%; max-width: 500px; text-align: center; transform: scale(0.95); transition: transform 0.3s ease; }
.modal-overlay.visible .modal-content { transform: scale(1); }
.modal-content h3 { margin: 0 0 1rem 0; font-size: 1.5rem; }
.modal-content p { color: var(--muted); line-height: 1.6; }
.modal-content a { color: var(--accentA); }
.modal-actions { margin-top: 2rem; }
.cookie-category { margin-top: 1.5rem; padding: 1rem; text-align: left; background-color: rgba(0,0,0,0.2); border-radius: 8px; }
.cookie-category-header { display: flex; align-items: center; gap: 0.75rem; }
.cookie-category-header label { font-size: 1.1rem; }
.cookie-category-header input { width: 18px; height: 18px; }
.cookie-category-description { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; padding-left: 37px; }


/* ========== MOBILE OPTIMIERUNGEN ========== */
@media (max-width: 767px) {
  .container {
    padding: 0 1.5rem; /* Konsistenter, großzügiger Rand */
  }
  .hero {
    padding: 3rem 0;
  }
  .headline {
      margin-bottom: 1rem;
  }
  .subheadline {
    font-size: 1.1rem;
  }
  .features, .how-it-works, .faq {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }
  .features-grid {
      grid-template-columns: 1fr;
  }
  .feature-item {
    padding: 1.5rem;
  }
  
  /* KORREKTUR: Mobile Ansicht für "How it works" */
  .steps-grid {
      grid-template-columns: 1fr; /* Steps untereinander */
      gap: 2.5rem; /* Mehr Abstand zwischen den Steps */
  }
  .step-item {
      display: grid;
      grid-template-columns: 48px 1fr; /* Icon und Text nebeneinander */
      grid-template-rows: auto auto;
      gap: 0 1rem;
      text-align: left;
      align-items: center;
  }
  .step-number {
      grid-row: 1 / 3; /* Erstreckt sich über beide Textzeilen */
      margin: 0;
  }
  .step-item h3 {
      grid-column: 2;
      grid-row: 1;
      margin: 0;
  }
  .step-item p {
      grid-column: 2;
      grid-row: 2;
  }
  
  .faq-item {
      padding: 1.25rem 0;
  }

  .cookie-banner-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; }
}