/* ==========================================================================
   SCHWABACH-SEO.DE — Hauptstylesheet v2
   Palette: Dunkelblau + Weiß | Font: Schibsted Grotesk (self-hosted)
   DSGVO-konform: Null externe Requests
   ========================================================================== */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/SchibstedGrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/SchibstedGrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-900: #0B1D3A;
  --navy-800: #122B52;
  --navy-700: #1A3A6B;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-300: #60A5FA;
  --blue-100: #DBEAFE;
  --pale-bg: #F0F4FA;
  --white: #FFFFFF;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --green-500: #10B981;
  --orange-500: #F59E0B;
  --font-main: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(11,29,58,0.08);
  --shadow-md: 0 4px 16px rgba(11,29,58,0.10);
  --shadow-lg: 0 8px 32px rgba(11,29,58,0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-400); }
a:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-main); color: var(--navy-900); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: 1rem; }
strong, b { font-weight: 600; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--section-padding); }

.section-label {
  display: inline-block; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro { font-size: 1.0625rem; color: var(--gray-600); max-width: 680px; margin-bottom: 3rem; }

.bg-pale { background: var(--pale-bg); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p, .bg-navy span, .bg-navy li { color: rgba(255,255,255,0.85); }
.bg-navy .section-label { color: var(--blue-300); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,29,58,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--white); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em;
}
.nav-logo svg { width: 28px; height: 28px; }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

/* FIX: Kein auffälliger Button mehr in der Nav – nur ein einfacher Link */
.nav-cta {
  color: var(--blue-300) !important;
  font-weight: 600;
  font-size: 0.875rem;
}
.nav-cta:hover { color: var(--white) !important; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius-sm); font-family: var(--font-main);
  font-size: 1rem; font-weight: 600; line-height: 1; cursor: pointer; border: none;
  transition: all var(--transition); min-height: 48px; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--blue-400); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--navy-900); border: 1.5px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #20BD5A; color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy-900); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 9rem 1.5rem 5rem;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }

/* FIX: Subtitle deutlich kleiner, besonders mobil */
.hero h1 span {
  display: block; color: var(--blue-300);
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}

.hero-text {
  font-size: 1.0625rem; color: rgba(255,255,255,0.85); line-height: 1.75;
  max-width: 620px; margin-bottom: 2.5rem;
}

/* ===== STATS ===== */
.stats-strip { padding: 3rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.stat-item strong { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--blue-500); letter-spacing: -0.03em; }
.stat-item span { font-size: 0.8125rem; color: var(--gray-500); font-weight: 500; }

/* ===== CARD GRID ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.75rem; transition: all var(--transition);
}
.card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; color: var(--blue-500); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--gray-600); font-size: 0.9375rem; margin-bottom: 0; }

/* ===== STEPS ===== */
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-item { text-align: center; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-500); color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem;
}
.step-item h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.step-item p { font-size: 0.9375rem; color: var(--gray-600); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.price-card {
  background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 2rem 1.75rem; transition: all var(--transition); position: relative;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.price-card.featured { border-color: var(--blue-500); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue-500); color: var(--white); padding: 0.2rem 0.875rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.price-card .price { font-size: 2.25rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; margin-bottom: 0.2rem; }
.price-card .price-sub { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.price-features { list-style: none; margin-bottom: 1.5rem; }
.price-features li {
  display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.4rem 0;
  font-size: 0.875rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { width: 16px; height: 16px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; }

/* ===== NEIGHBORHOODS ===== */
.neighborhood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.neighborhood-tag {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1rem;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700); transition: all var(--transition);
}
.neighborhood-tag:hover { border-color: var(--blue-500); color: var(--blue-500); }
.neighborhood-tag svg { width: 14px; height: 14px; color: var(--blue-400); flex-shrink: 0; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
.about-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-300) 100%);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.about-avatar svg { width: 72px; height: 72px; color: var(--navy-900); }

/* ===== TABLE — FIX: dunkle Schrift auf hellem Hintergrund ===== */
.comparison-table {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.comparison-table th, .comparison-table td {
  padding: 0.875rem 1.25rem; text-align: left; font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}
.comparison-table thead th {
  background: var(--navy-800); color: var(--white); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em;
}
/* FIX: Lesbare dunkle Textfarbe in Tabellen-Body */
.comparison-table tbody td { color: var(--gray-700); }
.comparison-table tbody td strong { color: var(--navy-900); }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-100); }
.comparison-table tbody tr:hover { background: var(--blue-100); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-main); font-size: 1rem; font-weight: 600;
  color: var(--navy-900); text-align: left; line-height: 1.4; min-height: 48px;
}
.faq-question:hover { color: var(--blue-500); }
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gray-400); transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; }
.review-stars { color: var(--orange-500); margin-bottom: 0.5rem; display: flex; gap: 2px; }
.review-stars svg { width: 16px; height: 16px; }
.review-text { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 0.75rem; font-style: italic; }
.review-author { font-size: 0.8125rem; font-weight: 600; color: var(--navy-900); }
.review-role { font-size: 0.75rem; color: var(--gray-500); }

/* ===== CTA BAND ===== */
.cta-band { padding: 4rem 1.5rem; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 2rem; font-size: 1.0625rem; }
.cta-band .btn-group { justify-content: center; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.6); padding: 3.5rem 1.5rem 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  max-width: var(--max-width); margin: 0 auto; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 0.8125rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-col h4 { color: var(--white); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.375rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.8125rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }
.footer-seo-text {
  max-width: var(--max-width); margin: 1.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem; line-height: 1.8; color: rgba(255,255,255,0.35);
}

.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.9375rem; }
.check-list li svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 7rem 1.5rem 3rem; }
.legal-page .container { max-width: 800px; }
.legal-page h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.legal-page h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-page p, .legal-page li { font-size: 0.9375rem; line-height: 1.8; }
.legal-page ul { margin-left: 1.5rem; margin-bottom: 1rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .price-card:last-child { grid-column: span 2; max-width: 420px; margin: 0 auto; }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .neighborhood-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --section-padding: 3rem 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 60px; left: 0; right: 0; background: var(--navy-900);
    padding: 1rem 1.5rem; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open li { padding: 0.625rem 0; }
  .hero { padding: 7rem 1.25rem 3.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero h1 span { font-size: clamp(0.95rem, 3.5vw, 1.25rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .price-card:last-child { grid-column: auto; max-width: none; }
  .steps-list { grid-template-columns: 1fr; }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table th, .comparison-table td { padding: 0.625rem 0.75rem; }
}
@media (max-width: 480px) {
  .neighborhood-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .cta-band, .btn-group { display: none; }
  body { color: #000; background: #fff; }
  section { padding: 1.5rem 0; }
}
