/* === Reset & Variables === */
:root {
  --bg: #ffffff;
  --bg-light: #f7f7f7;
  --bg-dark: #111111;
  --fg: #111111;
  --fg-muted: #555555;
  --fg-subtle: #999999;
  --border: #e5e5e5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --section-pad: 80px 24px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

/* === Utilities === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fg);
  color: #fff;
  border: 2px solid var(--fg);
}
.btn-primary:hover { opacity: 0.8; }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
}
.btn-outline:hover { background: var(--fg); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .brand { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.logo-text .sub { font-size: 0.7rem; color: var(--fg-muted); font-weight: 400; letter-spacing: 0.04em; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--fg); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--fg);
}

/* === Hero === */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero .subline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding: 10px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.scroll-hint:hover { color: var(--fg); }

.scroll-hint svg { transition: transform 0.2s; }
.scroll-hint:hover svg { transform: translateY(2px); }

/* === Social Proof Section === */
.social-proof {
  padding: 64px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.social-proof-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}

.sp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

@media (max-width: 720px) {
  .sp-stats { grid-template-columns: 1fr; gap: 28px; }
}

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

.sp-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.sp-stat-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.sp-testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.sp-testimonial blockquote { margin: 0; padding: 0; }

.sp-testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 14px;
  color: var(--fg);
}

.sp-testimonial figcaption {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 600;
}

/* === Section Headings === */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* === Problem Section === */
.problem {
  padding: var(--section-pad);
}

.problem-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

.problem-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.problem-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--fg-muted);
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 0.925rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Solution Section === */
.solution {
  padding: var(--section-pad);
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.solution-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

.solution-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  transition: box-shadow 0.2s;
}
.solution-card:hover { box-shadow: var(--shadow); }

.solution-card .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--fg);
}

.solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.solution-card p {
  font-size: 0.925rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fg);
  color: #fff;
  border-radius: 2px;
  padding: 3px 10px;
}

.card-tag-waitlist {
  background: #e05a1a;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.card-tag-waitlist:hover {
  background: #c44e15;
  color: #fff;
  text-decoration: none;
}

/* Fokus-Variante: einzelne Karte zentriert */
.solution-grid-single {
  grid-template-columns: 1fr;
  max-width: 600px;
}

/* Teaser für kommende Tools */
.tool-teaser {
  max-width: var(--max-w);
  margin: 40px auto 0;
  text-align: center;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

.tool-teaser p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

/* === About Section === */
.about {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 48px;
}

.about-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.about-content .section-title { margin-bottom: 24px; }

.about-content p {
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--fg);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.about-link:hover { opacity: 0.7; }

/* === Contact Section === */
.contact {
  padding: var(--section-pad);
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.contact-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-cta-box {
  background: var(--fg);
  color: #fff;
  border-radius: 8px;
  padding: 36px;
  margin-bottom: 32px;
}
.contact-cta-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-cta-box p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 20px;
}
.contact-cta-box .btn {
  background: #fff;
  color: var(--fg);
  border: 2px solid #fff;
  width: 100%;
}
.contact-cta-box .btn:hover { opacity: 0.9; }

.contact-details { font-size: 0.9rem; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
}
.contact-detail-item:first-child { padding-top: 0; }
.contact-detail-item:last-child { border-bottom: none; }

.contact-detail-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--fg-subtle);
}

.contact-detail-item a:hover { text-decoration: underline; }

/* === Lead Form === */
.lead-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
}

.lead-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lead-form .form-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.925rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fg);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit { width: 100%; margin-top: 8px; }

.form-consent {
  font-size: 0.75rem;
  color: var(--fg-subtle);
  line-height: 1.5;
  margin-bottom: 12px;
}
.form-consent a { color: inherit; text-decoration: underline; }

.form-reassurance {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-subtle);
  margin-top: 12px;
}

/* === Footer === */
.site-footer {
  background: var(--fg);
  color: #fff;
  padding: 64px 24px 32px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}

.footer-logo-text .brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-logo-text .sub {
  font-size: 0.7rem;
  opacity: 0.55;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.875rem;
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  color: #fff;
}
.social-link:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-col ul li a:hover { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  opacity: 0.75;
  margin-bottom: 12px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.footer-contact-item a:hover { opacity: 1; text-decoration: underline; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* === Mobile Nav === */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* === Responsive === */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .problem-grid,
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img { display: none; }

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

  .stats-grid { grid-template-columns: 1fr; gap: 24px; }

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

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }

  .hero { padding: 64px 20px 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* === Waitlist Section — AIW-54 === */
.waitlist {
  padding: var(--section-pad);
  background: var(--bg-light);
}

.waitlist-inner {
  max-width: 680px;
  margin: 0 auto;
}

.waitlist-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.waitlist-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.waitlist-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: var(--fg);
}

.form-group-check { margin-top: 0.25rem; }

.wl-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.wl-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.wl-required { color: #c62828; }
.wl-optional { color: var(--fg-subtle); font-size: 0.82rem; }

.waitlist-form-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.btn-waitlist-cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

.waitlist-note {
  font-size: 0.78rem;
  color: var(--fg-subtle);
}

.waitlist-error {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: #c62828;
}

.waitlist-success {
  text-align: center;
  padding: 2rem 1rem;
}

.waitlist-success svg {
  display: block;
  margin: 0 auto 1rem;
  color: #2e7d32;
}

.waitlist-success h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.waitlist-success p {
  color: var(--fg-muted);
}

@media (max-width: 600px) {
  .waitlist-form-row { grid-template-columns: 1fr; }
  .waitlist-form { padding: 1.5rem; }
}
