/* ═══════════════════════════════════════════════════
   B & H – Schulbegleitung Hannover
   Gemeinsame Styles · Alle Seiten
═══════════════════════════════════════════════════ */

/* ── Lokale Fonts (DSGVO-konform) ──────────────────── */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/outfit-v15-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/outfit-v15-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/outfit-v15-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/outfit-v15-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter';  font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-v20-latin-regular.woff2')  format('woff2'); }
@font-face { font-family: 'Inter';  font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-v20-latin-500.woff2')  format('woff2'); }
@font-face { font-family: 'Inter';  font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-v20-latin-600.woff2')  format('woff2'); }

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

:root {
  --teal:        #0d9488;
  --teal-mid:    #14b8a6;
  --teal-light:  #ccfbf1;
  --teal-bg:     #f0fdfa;
  --teal-dark:   #0f766e;
  --teal-darker: #115e59;
  --amber:       #f59e0b;
  --amber-light: #fef3c7;
  --text:        #0f172a;
  --text-soft:   #64748b;
  --text-muted:  #94a3b8;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --border:      #e2e8f0;
  --border-soft: #f1f5f9;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 6px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,.10);
  --shadow-teal: 0 4px 20px rgba(13,148,136,.18);
  --max-width:   1080px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  line-height: 1.2;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-teal);
}
.nav-logo-icon svg { width: 20px; height: 20px; stroke: white; fill: none; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}
.nav-logo-text span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-weight: 500;
  font-size: .88rem;
  color: var(--text-soft);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-bg);
}
.nav-links .nav-contact {
  background: var(--teal);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-teal);
  transition: background .18s, box-shadow .18s;
}
.nav-links .nav-contact:hover {
  background: var(--teal-dark);
  color: var(--white);
}
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Page Header ─────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 56px 28px 48px;
}
.page-header-inner { max-width: var(--max-width); margin: auto; }
.breadcrumb { font-size: .78rem; opacity: .55; margin-bottom: 12px; }
.breadcrumb a { opacity: .8; }
.breadcrumb a:hover { opacity: 1; }
.page-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.page-header p { opacity: .78; font-size: .95rem; max-width: 520px; }

/* ── Sections ────────────────────────────────────── */
.section { padding: 80px 28px; }
.section-inner { max-width: var(--max-width); margin: auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-intro {
  font-size: .96rem;
  color: var(--text-soft);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 24px rgba(13,148,136,.28); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); }
.btn-white:hover { background: var(--teal-bg); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: #d97706; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ── Pill / Badge ────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-bg);
  color: var(--teal-dark);
  border: 1px solid var(--teal-light);
  font-weight: 600;
  font-size: .78rem;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .02em;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .02em;
}
.badge-teal { background: var(--teal-bg); color: var(--teal-dark); }
.badge-amber { background: var(--amber-light); color: #92400e; }
.badge-slate { background: #f1f5f9; color: #475569; }

/* ── Footer ──────────────────────────────────────── */
footer {
  background: #0c1a19;
  color: rgba(255,255,255,.55);
  padding: 56px 28px 32px;
}
.footer-inner { max-width: var(--max-width); margin: auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-brand strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 10px;
}
.footer-brand p { font-size: .83rem; line-height: 1.7; }
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .83rem; transition: color .18s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); margin-left: 16px; transition: color .18s; }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { width: 100%; padding: 10px 12px; }
  .nav-links.open .nav-contact { text-align: center; margin-top: 8px; }
  .section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 20px; }
}
