/* === telefon-ki-assistent.de === */
:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f7;
  --text-secondary: #8e8e93;
  --text-tertiary: #636366;
  --blue: #007AFF;
  --green: #30D158;
  --purple: #BF5AF2;
  --orange: #FF9F0A;
  --gradient: linear-gradient(135deg, #007AFF, #BF5AF2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- NAV --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px;
}
nav .logo {
  font-size: 18px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
nav .logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
nav ul a:hover { color: var(--text); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,122,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 24px;
}
.hero h1 .gradient {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 20px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 14px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #0062cc; text-decoration: none; color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.06); color: var(--text);
  padding: 14px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  border: 1px solid var(--border); cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* --- FEATURES --- */
.features { padding: 80px 0; }
.features h2 { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; }
.features .subtitle { text-align: center; color: var(--text-secondary); font-size: 18px; margin-bottom: 60px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: background 0.2s, border-color 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- HOW IT WORKS --- */
.how-it-works { padding: 80px 0; }
.how-it-works h2 { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 60px; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* --- CTA --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gradient);
}
.cta-box h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.cta-box p { color: var(--text-secondary); font-size: 18px; margin-bottom: 32px; }

/* --- DEMO BOOKING FORM --- */
.demo-booking { padding: 80px 0; }
.demo-booking .cta-box { text-align: left; }
.demo-booking .cta-box h2 { text-align: center; }
.demo-booking .cta-box > p { text-align: center; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  font-size: 15px; color: var(--text);
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.15);
}
.form-group input::placeholder { color: var(--text-tertiary); }
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
  margin-top: 16px; padding: 14px 20px; border-radius: 10px;
  font-size: 15px; text-align: center;
}
.form-message.success {
  background: rgba(48,209,88,0.12); color: var(--green);
  border: 1px solid rgba(48,209,88,0.25);
}
.form-message.error {
  background: rgba(255,69,58,0.12); color: #FF453A;
  border: 1px solid rgba(255,69,58,0.25);
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* --- TRUST / DSGVO --- */
.trust-section { padding: 80px 0; }
.trust-section h2 { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; }
.trust-section .subtitle { text-align: center; color: var(--text-secondary); font-size: 18px; margin-bottom: 60px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.trust-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.trust-icon { font-size: 40px; margin-bottom: 16px; }
.trust-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
footer .inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
footer .links { display: flex; gap: 24px; }
footer .links a { color: var(--text-secondary); font-size: 13px; }
footer .links a:hover { color: var(--text); }
footer .copy { color: var(--text-tertiary); font-size: 13px; }

/* --- LEGAL PAGES --- */
.legal-page { padding: 120px 0 60px; }
.legal-page h1 { font-size: 36px; font-weight: 700; margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  nav ul {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10,10,15,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  nav.open ul { display: flex; }
  nav ul li { width: 100%; }
  nav ul a {
    display: block; padding: 14px 24px; font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  nav ul li:last-child a { border-bottom: none; }
  nav ul a:hover { background: rgba(255,255,255,0.04); }
}
