/* ============================================================
   Anthrovita Akademie – Stylesheet
   Design-Tokens & Werte aus dem offiziellen Design-Handoff.
   Schrift: Open Sans, SELBST GEHOSTET (kein Google-Fonts-CDN -> DSGVO).
   ============================================================ */

/* ── Selbst gehostete Schriften ────────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/open-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/open-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/open-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/open-sans-800.woff2') format('woff2');
}

/* ── Design-Tokens ─────────────────────────────────────────── */
:root {
  --accent: #ED751C;
  --accent-hover: #D4630F;
  --ink: #1A1714;
  --body: #55514B;
  --muted: #837D74;
  --beige: #F5F2EC;
  --row-hover: #FAF8F3;
  --line: #EDE8DE;
  --line-2: #E0DAD0;
  --line-3: #F0ECE3;
  --shadow-card: 0 2px 10px rgba(26, 23, 20, .05);
  --shell: 1180px;
}

/* ── Grundlagen ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.shell { max-width: var(--shell); margin: 0 auto; padding-left: 44px; padding-right: 44px; }

/* ── Wiederkehrende Elemente ───────────────────────────────── */
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin: 0 0 14px;
}
.eyebrow-muted { color: var(--muted); }
.eyebrow-dot { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

.section-title {
  font-weight: 800; font-size: 32px; letter-spacing: -.01em; margin: 0; color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  font-family: inherit; font-weight: 700; cursor: pointer; border: 0;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.btn-pill {
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 11px 22px; font-size: 14px;
}
.btn-pill:hover { background: var(--accent-hover); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.lnk { position: relative; text-decoration: none; cursor: pointer; }
.lnk::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.lnk:hover::after { width: 100%; }
.lnk-strong { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line-3);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { height: 40px; width: auto; }
.nav-sep { width: 1px; height: 26px; background: var(--line-2); display: inline-block; }
.nav-eyebrow {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent);
}
.nav-menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr .82fr; gap: 48px; align-items: center;
  padding-top: 48px; padding-bottom: 56px;
}
.hero-title { font-weight: 800; font-size: 50px; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 22px; }
.hero-lead { font-size: 17px; color: var(--body); margin: 0 0 30px; max-width: 430px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-image {
  height: 380px; border-radius: 200px 200px 16px 16px;
  background: var(--beige) url('/assets/hero-haende.png') center / cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

/* ── Sektionen ─────────────────────────────────────────────── */
.section { padding-top: 54px; padding-bottom: 54px; }
.section-beige { background: var(--beige); }

/* Drei Themen-Karten */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-num {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 18px;
}
.num-1 { background: #ED751C14; color: #ED751C; }
.num-2 { background: #2E73B514; color: #2E73B5; }
.num-3 { background: #6E9A1214; color: #6E9A12; }
.card-title { font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.card-text { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }

/* ── Termine ───────────────────────────────────────────────── */
.termine-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-block; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  transition: all .2s ease;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.termine-list { display: block; }
.event {
  display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: start;
  padding: 22px 0; border-top: 1px solid var(--line); transition: background .2s ease;
}
.event:hover { background: var(--row-hover); }
/* Wichtig: überschreibt das display:grid oben, sonst greift das hidden-Attribut
   (Filter) nicht, weil Autoren-CSS Vorrang vor dem Browser-Standard hat. */
.event[hidden] { display: none; }
.event-date { text-align: center; padding-top: 4px; }
.event-day { font-size: 42px; font-weight: 800; line-height: 1; }
.event-mon { font-size: 11px; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-top: 5px; }
.event-title { font-size: 21px; font-weight: 700; margin: 11px 0 6px; }
.event-meta { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.event-desc { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; max-width: 560px; }
.event .btn-sm { margin-top: 14px; }
.empty { color: var(--muted); font-size: 15px; padding: 22px 0; border-top: 1px solid var(--line); }

/* Typ-Badges – feste Klassen je Kategorie (keine Inline-Styles -> strenge CSP) */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.cat-netzwerk    { color: #ED751C; background: #ED751C1A; }
.cat-einfuehrung { color: #2E73B5; background: #2E73B51A; }
.cat-schule      { color: #6E9A12; background: #6E9A121A; }
.cat-soziales    { color: #02B2F2; background: #02B2F21A; }

/* ── Kontakt / Newsletter ──────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.contact-lead { font-size: 15px; color: var(--body); margin: 12px 0 22px; max-width: 380px; }
.contact-hint { font-size: 12px; color: var(--muted); margin: 12px 0 0; max-width: 380px; }
.contact-card { border-left: 1px solid var(--line-2); padding-left: 40px; }
.contact-name { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.contact-detail { font-size: 14px; color: var(--body); line-height: 1.7; margin: 0; }
.contact-detail a { color: var(--body); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }
.contact-claim { margin-top: 18px; font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 700; }

/* ── Fußzeile ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line-3); background: #fff; padding: 34px 0; }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 30px; width: auto; }
.footer-claim { font-size: 11px; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin: 0; }
.footer-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--muted); margin: 0; }

/* ── Inhaltsseiten (Impressum/Datenschutz) ─────────────────── */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 44px 72px; }
.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15px; color: var(--body); line-height: 1.7; }
.legal a { color: var(--accent); }
.legal .todo {
  background: #FFF6EC; border: 1px solid #F3D3AE; border-radius: 8px;
  padding: 2px 7px; font-weight: 700; color: #B5560C; font-size: .92em;
}
.legal .lead { font-size: 16px; }

/* ── Responsiv ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .shell { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
  .hero-title { font-size: 38px; }
  .hero-image { height: 300px; border-radius: 140px 140px 16px 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; padding-top: 28px; }
}
/* Ab Tablet-Breite die Textlinks ausblenden – Newsletter-Button bleibt sichtbar.
   Die Menüpunkte sind reine Sprungmarken und durch Scrollen erreichbar. */
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .event { grid-template-columns: 64px 1fr; gap: 16px; }
  .event-day { font-size: 34px; }
  .legal { padding: 32px 24px 56px; }
}
/* Auf sehr schmalen Screens nur Logo + Newsletter-Button – das Wort-Label entfällt */
@media (max-width: 520px) {
  .nav-sep, .nav-eyebrow { display: none; }
}
