/* =============================================
   candolab.de — Stylesheet
   ============================================= */

:root {
  --color-bg:        #0a0a0f;
  --color-surface:   #12121a;
  --color-border:    #1e1e2e;
  --color-accent:    #5b8ef0;
  --color-accent-2:  #7c3aed;
  --color-text:      #e8e8f0;
  --color-muted:     #7070a0;
  --font:            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius:          12px;
  --max-width:       1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
  text-decoration: none;
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-text);
  text-decoration: none;
}

.logo span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  /* Logo hat dunkle Farben → auf dunklem Hintergrund weiß machen */
  filter: brightness(0) invert(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav-lang {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.nav-lang:hover {
  color: var(--color-text);
  border-color: var(--color-muted);
  text-decoration: none;
}

.nav-badge {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-logo {
  max-width: 380px;
  width: 80%;
  height: auto;
  margin: 0 auto 2.5rem;
  display: block;
  /* Logo hat dunkle Farben → auf dunklem Hintergrund weiß machen */
  filter: brightness(0) invert(1);
}

.hero-eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* =============================================
   SIGNUP FORM
   ============================================= */

.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.signup-form input[type="email"]::placeholder {
  color: var(--color-muted);
}

.btn-primary {
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.form-note {
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Netlify success message */
.form-success {
  display: none;
  color: #4ade80;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* =============================================
   FEATURES
   ============================================= */

.features {
  max-width: var(--max-width);
  margin: 5rem auto;
  padding: 0 2rem;
}

.section-label {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* =============================================
   DIVIDER / SECTION BREAK
   ============================================= */

.divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  border: none;
  border-top: 1px solid var(--color-border);
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta {
  text-align: center;
  max-width: var(--max-width);
  margin: 5rem auto;
  padding: 0 2rem;
}

.cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  border-top: 1px solid var(--color-border);
  margin-top: 5rem;
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* =============================================
   IMPRESSUM / DATENSCHUTZ SEITEN
   ============================================= */

.page-content {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 2rem 6rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2.5rem;
}

.page-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.page-content p,
.page-content li {
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content a {
  word-break: break-all;
}

.placeholder {
  background: rgba(91, 142, 240, 0.15);
  border: 1px dashed var(--color-accent);
  color: var(--color-accent);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.9em;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.5rem 3rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .nav-links {
    display: none;
  }
}
