/* ABS Fahrschule Theme — Global Styles */

@font-face {
  font-family: 'Obviously Narrow';
  src: url('../fonts/ObviouslyDemo-NarrowBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --navy: #000022;
  --blue: #0066FF;
  --blue-hover: #0052CD;
  --blue-deep: #00327C;
  --blue-mid: #002254;
  --white: #ffffff;
  --offwhite: #F3F3F3;
  --text: #000022;
  --text-muted: rgba(0,0,34,0.5);
  --text-on-dark: rgba(255,255,255,0.6);
  --accent: rgb(255, 87, 59);
  --accent-soft: rgba(255, 87, 59, 0.1);
  --accent-hover: rgb(230, 72, 46);
  --radius: 18px;
  --radius-pill: 50px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ GLOBAL HEADINGS ═══ */
.section-h1,
.section-h2 {
  font-family: 'Obviously Narrow', 'Arial Narrow', Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 12px;
}
.section-h1 { font-size: clamp(48px, 7vw, 88px); }
.section-h2 { font-size: clamp(40px, 6vw, 72px); }

/* Einheitlicher Rhythmus: section-h2 → direkt folgendes <p> / .section-sub.
   section-h2 selbst hat 12px margin-bottom (oben gesetzt).
   Das Folge-<p> bekommt 40px Abstand nach unten. */
.section-h2 + p,
.section-h2 + .section-sub {
  margin-bottom: 40px;
  line-height: 1.7;
}

.section-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,102,255,0.3);
}

.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,102,255,0.35);
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,102,255,0.3), 0 0 0 0 rgba(0,102,255,0.4); }
  50% { box-shadow: 0 4px 20px rgba(0,102,255,0.3), 0 0 0 8px rgba(0,102,255,0); }
}

.btn-hero-cta {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,102,255,0.3);
  animation: cta-glow 2.5s ease-in-out infinite;
}

.btn-hero-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,87,59,0.4);
  animation: none;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

.page-padding-bottom {
  padding-bottom: 80px;
}

/* Mobile Sticky CTA — hidden on desktop */
.mobile-sticky-cta {
  display: none;
}
