/* =============================================
   SEO Bayreuth – style.css
   DSGVO-konform: Keine externen Requests
   ============================================= */

/* --- Font Faces (self-hosted, latin) --- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-medium.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-bold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-bold.woff2') format('woff2');
}

/* --- Custom Properties --- */
:root {
  --navy: #0B1120;
  --navy-light: #131C31;
  --blue: #3B82F6;
  --blue-hover: #2563EB;
  --blue-soft: #DBEAFE;
  --blue-glow: rgba(59, 130, 246, .15);
  --green: #10B981;
  --green-soft: #D1FAE5;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1140px;
  --gap: 2rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }
b, strong { font-weight: 600; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); letter-spacing: -.01em; }
h4 { font-size: 1.125rem; }

p + p { margin-top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--navy);
  color: var(--slate-300);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}
.section-dark .eyebrow {
  color: var(--blue);
}

.section-light {
  background: var(--slate-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  margin-top: 1rem;
  color: var(--slate-500);
  font-size: 1.0625rem;
}
.section-dark .section-header p {
  color: var(--slate-400);
}

/* --- Grid Utilities --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9375rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,130,246,.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-800);
  border: 1.5px solid var(--slate-200);
}
.btn-secondary:hover {
  border-color: var(--slate-300);
  color: var(--slate-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover {
  background: #1fbc59;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-900);
  text-decoration: none;
}
.logo:hover { color: var(--slate-900); }
.logo svg { width: 32px; height: 32px; }

.nav-links {
  display: none;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--slate-900); }

.nav-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-700);
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: .25rem;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}
.mobile-menu .btn {
  margin-top: 1rem;
  justify-content: center;
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .mobile-toggle { display: none; }
}

/* --- Hero --- */
.hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(175deg, var(--slate-50) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-content { max-width: 620px; }

.hero h1 {
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--blue);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-visual {
  display: none;
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: flex; justify-content: center; align-items: center; }
}

/* --- Stats --- */
.stats-bar {
  border-top: 1px solid var(--slate-200);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-item span {
  font-size: .8125rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: .75rem; }
.card p { color: var(--slate-500); font-size: .9375rem; }

/* Dark card variant */
.section-dark .card {
  background: var(--navy-light);
  border-color: rgba(255,255,255,.08);
}
.section-dark .card:hover {
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.section-dark .card p { color: var(--slate-400); }

/* --- Process Steps --- */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3 { margin-bottom: .5rem; }
.step-content p { color: var(--slate-500); font-size: .9375rem; }

.process-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 {
  margin-bottom: .5rem;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .25rem;
  line-height: 1;
}
.pricing-card .price-period {
  font-size: .8125rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}
.pricing-card .price-desc {
  font-size: .9375rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-200);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
  flex: 1;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9375rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.feature-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--green);
  margin-top: 2px;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* --- FAQ --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--slate-300); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  text-align: left;
  gap: 1rem;
  line-height: 1.4;
}
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  transition: transform var(--transition);
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-600);
  font-size: .9375rem;
  line-height: 1.7;
}

/* --- Neighborhoods / Local --- */
.local-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 640px) {
  .local-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .local-grid { grid-template-columns: repeat(4, 1fr); }
}
.local-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--slate-700);
  text-align: center;
  transition: all var(--transition);
}
.local-item:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: var(--slate-400); font-size: 1.0625rem; margin-bottom: 2rem; }

/* --- Footer --- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 3rem 0 1.5rem;
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: var(--slate-400);
  font-size: .875rem;
}
.footer-links a:hover { color: var(--white); }

/* --- Table --- */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9375rem;
}
.seo-table th,
.seo-table td {
  padding: .875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}
.seo-table th {
  font-weight: 600;
  color: var(--slate-800);
  background: var(--slate-50);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo-table td { color: var(--slate-600); }

/* --- Inline List --- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: 1.25rem 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9375rem;
  color: var(--slate-700);
}
.check-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--green);
  margin-top: 3px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Print --- */
@media print {
  .site-header, .mobile-toggle, .mobile-menu, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  section { padding: 1rem 0; }
}
