/* ── HERO ─────────────────────────────────────────────── */
#home {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #bfdbfe 0%, #bae6fd 42%, #99f6e4 100%);
  padding: 80px 5vw 60px; position: relative; overflow: hidden;
}
#home::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 65% 50%, rgba(56,189,248,0.28) 0%, transparent 60%);
  pointer-events: none;
}
#home::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='0.04'/></svg>");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.99fr;
  grid-template-rows: auto auto;
  gap: 0 75px;
  align-items: center; max-width: 1200px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-left   { grid-column: 1; grid-row: 1; padding-bottom: 28px; }
.hero-right  { grid-column: 2; grid-row: 1 / 3; }
.hero-btns   { grid-column: 1; grid-row: 2; }
.hero-label {
  font-size: 15px; font-weight: 700; letter-spacing: .12em;
  color: #2563eb; text-transform: uppercase; margin-bottom: 18px;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 58px); font-weight: 700;
  line-height: 1.1; color: #0f172a; margin-bottom: 20px; text-wrap: pretty;
}
.hero-headline em { font-style: normal; color: #2563eb; }
.hero-sub {
  font-size: 17px; line-height: 1.65; color: #475569;
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── SCREENSHOT ───────────────────────────────────────── */
.hero-screenshot {
  width: 92%; display: block; margin-left: auto; border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

/* ── SCROLL HINT ──────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 15px; font-weight: 500; color: #1e3a8a;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; letter-spacing: 0.02em; z-index: 1;
}
.scroll-hint a{
  text-decoration: none;
  color: #1e3a8a;
}
.scroll-arrow {
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 40%, 100% { transform: translateY(0); }
  70%           { transform: translateY(8px); }
}

/* ── FEATURES ─────────────────────────────────────────── */
#features { background: linear-gradient(160deg, #f0f9ff 0%, #f0fdf4 100%); }
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 60px;
}
.features-list { display: flex; flex-direction: column; gap: 22px; }
.features-sub { margin-bottom: 40px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: white; border: 1px solid #e2e8f0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-text h3 { font-size: 15px; font-weight: 600; color: #0f172a; margin-bottom: 5px; }
.feature-text p  { font-size: 14px; color: #64748b; line-height: 1.55; }
.features-visual {
  background: white; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0; overflow: hidden;
}
.fv-header {
  background: #0f172a; padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
}
.fv-dot { width: 10px; height: 10px; border-radius: 50%; }
.fv-dot-red    { background: #ef4444; }
.fv-dot-yellow { background: #f59e0b; }
.fv-dot-green  { background: #22c55e; }
.fv-title {
  color: rgba(255,255,255,0.5); font-size: 12px;
  margin-left: auto; font-family: 'DM Mono', monospace;
}
.fv-body {
  padding: 20px; font-family: 'DM Mono', monospace;
  font-size: 11px; line-height: 1.7;
  overflow-x: auto; white-space: nowrap;
}
.fv-row { display: flex; min-width: max-content; }
.csv-col-name   { color: #0ea5e9; }
.csv-col-val    { color: #22c55e; }
.csv-col-sep    { color: #64748b; }
.csv-header-row { color: #f59e0b; font-weight: 500; }
.fv-more        { color: #475569; margin-top: 8px; font-size: 12px; }

/* ── VERGLEICH ────────────────────────────────────────── */
#vergleich { background: white; }
.comp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 50px;
}
.comp-card {
  border-radius: 16px; padding: 28px; border: 1px solid;
  background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.comp-card.good { border-color: #bbf7d0; }
.comp-card.bad  { border-color: #fecaca; }
.comp-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.comp-card-title {
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.comp-card.good .comp-card-title { color: #166534; }
.comp-card.bad  .comp-card-title { color: #991b1b; }
.comp-badge {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 20px; flex-shrink: 0;
}
.comp-badge-good { background: #dcfce7; color: #166534; }
.comp-badge-bad  { background: #fee2e2; color: #991b1b; }
.comp-items { display: flex; flex-direction: column; gap: 14px; }
.comp-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.comp-card.good .comp-item { color: #166534; }
.comp-card.bad  .comp-item { color: #991b1b; }
.comp-icon { flex-shrink: 0; margin-top: 1px; font-size: 15px; }

/* ── IMPRESSUM ────────────────────────────────────────── */
#impressum { background: #f1f5f9; }
.impressum-box { max-width: 600px; }
.impressum-box h2 { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.impressum-box p  { font-size: 14px; color: #64748b; line-height: 1.7; margin-bottom: 8px; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 820px) {
  #home { min-height: auto; padding: 100px 5vw 64px; }
  .hero-inner {
    display: flex; flex-direction: column; gap: 24px;
    align-items: stretch;
  }
  .hero-left   { padding-bottom: 0; }
  .hero-right  { order: 2; }
  .hero-btns   { order: 3; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-screenshot { display: block; width: 100%; margin: 0; }
  .hero-sub { font-size: 15px; }
  .scroll-hint { bottom: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .features-visual { width: 100%; }
  .comp-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(28px, 8vw, 38px); }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .comp-card { padding: 22px 18px; }
  .scroll-hint { display: none; }
}
