/* ==========================================================================
   VFZGB · Verein zur Förderung von Zielen, Gesundheit und Bildung
   Stylesheet · Production
   ========================================================================== */

/* === FONTS (self-hosted) =============================================== */
/* Latin subset only (DE-CH content). Extended-latin omitted intentionally. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-700.woff2') format('woff2');
}

/* === DESIGN TOKENS ====================================================== */
:root {
  /* Brand */
  --brand-orange: #E87A12;
  --brand-orange-bright: #F39624;
  --brand-yellow: #F5B82B;
  --brand-yellow-light: #FBC332;

  /* Neutrals (warm) */
  --ink: #1A1410;
  --charcoal: #3A2F26;
  --ash: #6B5D52;
  --cream: #FAF6EE;
  --paper: #F2E9D7;
  --shell: #FEFCF7;

  /* Dark surfaces */
  --earth-dark: #2A1E14;
  --earth-darker: #1A1612;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --pad-h: clamp(24px, 5vw, 56px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET / BASE ======================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brand-yellow); color: var(--ink); }

/* === UTILITIES ========================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-h); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
  font-size: 14px;
  transform: translateY(-100%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* === NAVIGATION ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(250, 246, 238, 0);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(26,20,16,0.08);
}
.nav--solid {
  position: sticky;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(26,20,16,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 4px;
  mix-blend-mode: multiply;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--brand-orange); }
.nav-links a[aria-current="page"] { color: var(--brand-orange); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* === HERO =============================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--earth-darker);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.78) saturate(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,22,18,0.35) 0%, rgba(26,22,18,0.15) 30%, rgba(26,22,18,0.65) 100%),
    linear-gradient(90deg, rgba(26,22,18,0.50) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding: 120px 0 80px;
  max-width: 880px;
}
.hero-eyebrow {
  color: var(--brand-yellow);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand-yellow);
  display: block;
  font-size: 0.85em;
  margin-top: 0.08em;
}
.hero-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
  max-width: 620px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.75s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1.5s var(--ease) 1.2s both;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--cream), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 0.7; } }
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* === BUTTONS ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.005em;
}
.btn-primary { background: var(--brand-orange); color: var(--cream); }
.btn-primary:hover { background: var(--brand-orange-bright); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,122,18,0.3); }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,246,238,0.4);
}
.btn-secondary:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* === SECTIONS =========================================================== */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-head {
  margin-bottom: clamp(48px, 7vw, 80px);
  max-width: 760px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--brand-orange); }
.section-head .section-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ash);
  margin-top: 24px;
  font-weight: 400;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === VEREIN ============================================================= */
.verein { background: var(--cream); }
.verein-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.verein-body p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.verein-body p:last-child { margin-bottom: 0; }
.verein-body .first-line {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.verein-body .first-line em { font-style: italic; color: var(--brand-orange); }
.verein-body strong { color: var(--ink); font-weight: 500; }

.pillars {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.5vw, 40px);
  align-items: end;
  max-width: 440px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ash);
}
.pillar-bar {
  width: clamp(28px, 4.5vw, 44px);
  height: clamp(140px, 18vw, 200px);
  background: linear-gradient(180deg, var(--brand-yellow) 0%, var(--brand-orange) 65%, #C8650A 100%);
  border-radius: 4px 4px 2px 2px;
  box-shadow:
    0 12px 24px -8px rgba(232, 122, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset -3px 0 6px -2px rgba(120, 60, 0, 0.18);
  position: relative;
}
.pillar-bar::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  height: 8px;
  background: var(--earth-dark);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.pillar-bar::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: -14px;
  right: -14px;
  height: 10px;
  background: var(--earth-darker);
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.pillar-label {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 12px;
  letter-spacing: -0.005em;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.visible .pillar-bar {
    animation: pillarRise 0.9s var(--ease) both;
    transform-origin: bottom;
  }
  .reveal.visible .pillar:nth-child(2) .pillar-bar { animation-delay: 0.12s; }
  .reveal.visible .pillar:nth-child(3) .pillar-bar { animation-delay: 0.24s; }
}
@keyframes pillarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* === HAUPTBEREICHE ====================================================== */
.themen { background: var(--paper); }
.themen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.thema-card {
  background: var(--shell);
  border-radius: 6px;
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.thema-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-orange);
  opacity: 0.9;
}
.thema-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26,20,16,0.08);
}
.thema-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--brand-orange);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.thema-card h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 28px;
}
.thema-card h3 em { font-style: italic; color: var(--brand-orange); }
.thema-list { list-style: none; margin-bottom: 16px; }
.thema-list li {
  position: relative;
  padding: 18px 0;
  border-top: 1px solid rgba(26,20,16,0.08);
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
}
.thema-list li:last-child { border-bottom: 1px solid rgba(26,20,16,0.08); }
.thema-list a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,122,18,0.35);
  transition: text-decoration-color 0.2s var(--ease);
}
.thema-list a:hover { text-decoration-color: var(--brand-orange); }
.thema-footnote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ash);
  margin-top: 28px;
  line-height: 1.5;
}

/* === ZITAT ============================================================== */
.quote-section {
  background: var(--earth-darker);
  padding: clamp(120px, 18vw, 200px) 0;
  position: relative;
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  top: -120px;
  left: 5%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(280px, 38vw, 480px);
  line-height: 1;
  color: var(--brand-orange);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.quote-content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--pad-h);
}
.quote-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 40px;
}
.quote-content blockquote em { font-style: italic; color: var(--brand-yellow); }
.quote-attribution {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}
.quote-attribution::before, .quote-attribution::after {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(232,122,18,0.5);
}

/* === KONTAKT ============================================================ */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact-info-item { margin-bottom: 32px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
}
.contact-info-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}
.contact-info-value a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(26,20,16,0.25);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.contact-info-value a:hover {
  color: var(--brand-orange);
  text-decoration-color: var(--brand-orange);
}
.contact-intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--charcoal);
}
.article-note {
  font-size: 14px;
  color: var(--ash);
  font-style: italic;
}

/* === PAGE HEADER (legal pages) ========================================== */
.page-header {
  background: var(--paper);
  padding: calc(64px + 80px) 0 clamp(48px, 8vw, 80px);
  border-bottom: 1px solid rgba(26,20,16,0.08);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(245,184,43,0.12), transparent 60%);
  pointer-events: none;
}
.page-header-content { position: relative; max-width: 880px; }
.page-header .eyebrow { margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.page-header h1 em { font-style: italic; color: var(--brand-orange); }
.page-header .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--charcoal);
  margin-top: 28px;
  max-width: 640px;
}

/* === ARTICLE ============================================================ */
.article { padding: clamp(64px, 10vw, 120px) 0; }
.article-content { max-width: 760px; }
.article-content > p:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 40px;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
  scroll-margin-top: 100px;
}
.article-content h2:first-of-type { margin-top: 0; }
.article-content h2 .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-style: normal;
  color: var(--brand-orange);
  margin-right: 14px;
  letter-spacing: 0.04em;
  vertical-align: 0.18em;
}
.article-content h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-content p,
.article-content li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.article-content ul,
.article-content ol { padding-left: 24px; margin-bottom: 18px; }
.article-content li { margin-bottom: 6px; }
.article-content li::marker { color: var(--brand-orange); }
.article-content a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,122,18,0.35);
  transition: text-decoration-color 0.2s var(--ease);
  word-break: break-word;
}
.article-content a:hover { text-decoration-color: var(--brand-orange); }
.article-content strong { font-weight: 500; color: var(--ink); }
.placeholder {
  background: rgba(245,184,43,0.25);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.92em;
  font-style: normal;
  border: 1px dashed rgba(232,122,18,0.5);
}
.address {
  display: block;
  font-style: normal;
  line-height: 1.65;
  margin: 12px 0 24px;
  padding-left: 16px;
  border-left: 2px solid var(--brand-orange);
}
.meta {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(26,20,16,0.1);
  font-size: 13px;
  color: var(--ash);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* === FOOTER ============================================================= */
.footer {
  background: var(--earth-darker);
  color: rgba(250,246,238,0.6);
  padding: 64px 0 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,238,0.1);
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand img { height: 36px; width: 36px; border-radius: 3px; mix-blend-mode: screen; opacity: 0.85; }
.footer-brand-text { font-family: var(--font-display); font-size: 18px; color: var(--cream); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  max-width: 360px;
  color: rgba(250,246,238,0.7);
}
.footer-links { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.footer-links a { color: rgba(250,246,238,0.75); font-size: 14px; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--brand-orange); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(250,246,238,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* === MOBILE ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 80%;
    max-width: 360px;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 0;
    transition: right 0.4s var(--ease);
    box-shadow: -16px 0 32px rgba(26,20,16,0.12);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 18px;
    font-family: var(--font-display);
    border-bottom: 1px solid rgba(26,20,16,0.08);
    width: 100%;
    color: var(--charcoal);
  }
  .nav-links a::after { display: none; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 16, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 49;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }

  .verein-grid, .themen-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* === 404 / ERROR PAGE =================================================== */
.error-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.error-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(245,184,43,0.18), transparent 60%);
  pointer-events: none;
}
.error-content {
  position: relative;
  max-width: 720px;
}
.error-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(140px, 22vw, 240px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--brand-orange);
  opacity: 0.22;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  user-select: none;
}
.error-content .eyebrow { margin-bottom: 16px; }
.error-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.error-content h1 em { font-style: italic; color: var(--brand-orange); }
.error-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: 40px;
  max-width: 560px;
}
.error-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-secondary-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26,20,16,0.25);
}
.btn-secondary-dark:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* === PRINT ============================================================== */
@media print {
  .nav, .footer, .hero-scroll, .skip-link { display: none; }
  body { background: white; color: black; }
  .article-content { max-width: none; }
}
