/* style.css — Jugendbegegnung Augsburg↔SCD Tansania. Tokens 1:1 aus der Referenz
   "Jugendbegegnung Website.dc.html" übernommen, gleiche Designfamilie wie
   pem-augsburg.shtools.org (claude-design-2026-08-10/elkb). */

/* Self-gehostete Schriften (OFL-Lizenz, static/fonts/), kein Google-Fonts-CDN mehr —
   vermeidet die IP-Übermittlung an Google beim Seitenaufruf (LG München I, 3 O 17493/20). */
@font-face { font-family: 'Literata'; src: url('/static/fonts/literata-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/static/fonts/literata-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/static/fonts/literata-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/static/fonts/literata-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/static/fonts/ibm-plex-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/static/fonts/ibm-plex-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/static/fonts/ibm-plex-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/static/fonts/ibm-plex-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/static/fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/static/fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F2EE;
  --flaeche: #EFE9F1;
  --lavendel: #E3DCE6;
  --tinte: #221A28;
  --text: #3A3040;
  --sekundaer: #5C5263;
  --violett: #5E2B71;
  --gold: #E2A63D;
  --violett-hell: #B18BC4;
  --weiss: #FFFFFF;
  --dunkel-lila: #93889B;
  --footer-text: #B8ABC0;
  --footer-line: #4A3F52;
  --footer-muted: #93889B;
  --gruen: #1E7A3C;
  --gruen-flaeche: #E7F3EA;
  --amber: #B0851F;
  --amber-flaeche: #FAF3DF;
  --rot: #C02718;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--tinte);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.5;
}

a { color: var(--tinte); }
a:hover { color: var(--violett); }

h1, h2, h3 { font-family: 'Literata', Georgia, serif; margin: 0; font-weight: 600; }

img { max-width: 100%; display: block; }

.mono { font-family: 'IBM Plex Mono', monospace; }

/* ---------- Header / Nav ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid var(--tinte);
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--tinte); }
.brand:hover { color: var(--tinte); }

.brand-mark {
  display: grid;
  grid-template-columns: 13px 13px;
  grid-template-rows: 13px 13px;
  gap: 3px;
  flex: 0 0 auto;
}
.brand-mark span:nth-child(1) { background: #43184F; }
.brand-mark span:nth-child(2) { background: #8A56A0; }
.brand-mark span:nth-child(3) { background: var(--violett-hell); }
.brand-mark span:nth-child(4) { background: var(--gold); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Literata', Georgia, serif; font-size: 20px; font-weight: 600; }
.brand-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--sekundaer); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--tinte);
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  padding: 9px 13px;
  cursor: pointer;
  color: var(--tinte);
}

.main-nav { display: flex; gap: 32px; align-items: center; font-size: 16px; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--tinte); }

.btn-insta-nav {
  text-decoration: none !important;
  font-weight: 700;
  background: var(--violett);
  color: var(--paper) !important;
  padding: 12px 24px;
  border-radius: 6px;
}
.btn-insta-nav:hover { background: #4a2260; }

.lang-switch { font-family: 'IBM Plex Mono', monospace; font-size: 14px; display: flex; gap: 8px; }
.lang-switch a { text-decoration: none; color: var(--sekundaer); }
.lang-switch a.active { font-weight: 700; color: var(--violett); border-bottom: 2px solid var(--violett); padding-bottom: 1px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--weiss);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--tinte);
    z-index: 60;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--lavendel); }
  .btn-insta-nav { margin-top: 12px; text-align: center; }
  .lang-switch { padding: 14px 0 0; }
}

/* ---------- Layout helpers ---------- */
.wrap { padding-left: 48px; padding-right: 48px; }
main { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 72px 48px 40px; display: flex; flex-direction: column; gap: 40px; }
.hero h1 {
  font-size: clamp(40px, 8vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--violett); }
.hero-sub { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-end; }
.hero-sub p { margin: 0; font-size: 20px; line-height: 1.6; max-width: 500px; color: var(--text); text-wrap: pretty; }
.hero-stats {
  display: flex; gap: 40px; font-family: 'IBM Plex Mono', monospace; font-size: 14px;
  color: var(--sekundaer); text-transform: uppercase; letter-spacing: 0.06em; flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats span:first-child { color: var(--tinte); font-weight: 500; }

.hero-image { padding: 0 48px; }
.hero-image-inner { position: relative; height: 520px; overflow: hidden; }
.hero-image-inner img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-caption {
  position: absolute; left: 20px; bottom: 16px;
  background: var(--paper); padding: 8px 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px;
}
@media (max-width: 640px) { .hero-image-inner { height: 300px; } }

/* ---------- Marquee (Aktivitäten) ---------- */
@keyframes jb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-band {
  margin-top: 64px;
  border-top: 1px solid var(--tinte);
  border-bottom: 1px solid var(--tinte);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex; width: max-content; animation: jb-marquee 26s linear infinite;
  font-family: 'Literata', Georgia, serif; font-size: 22px; font-weight: 600; white-space: nowrap;
}
.marquee-track span.item { padding-right: 48px; }
.marquee-track span.sep { padding-right: 48px; color: var(--violett); }
.marquee-track span.sep.gold { color: var(--gold); }

/* ---------- Section headings ---------- */
.section-head {
  padding: 88px 48px 40px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
}
.section-head h2 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sekundaer);
}
.section-head .note { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--sekundaer); }

/* ---------- News-Grid ---------- */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; padding: 0 48px; }
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card-img { height: 280px; overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body { display: flex; flex-direction: column; gap: 8px; }
.news-meta { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--sekundaer); }
.news-title { font-family: 'Literata', Georgia, serif; font-weight: 600; line-height: 1.2; }
.news-card:first-child .news-title { font-size: 28px; line-height: 1.15; }
.news-card:not(:first-child) .news-title { font-size: 21px; }
.news-desc { font-size: 16px; line-height: 1.6; color: var(--text); }
.news-card:first-child .news-desc { font-size: 17px; }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---------- Split-Row (Termine + Instagram) ---------- */
.split-row { display: flex; flex-wrap: wrap; gap: 48px; padding: 88px 48px 0; align-items: flex-start; }

.termine-col { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; }
.termine-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 16px; }
.termine-head h2 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sekundaer);
}
.termine-head .note { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--sekundaer); }
.termine-list { border-top: 1px solid var(--tinte); }
.termine-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0;
  border-bottom: 1px solid var(--lavendel); align-items: baseline;
}
.termine-date { font-family: 'IBM Plex Mono', monospace; font-size: 15px; color: var(--violett); font-weight: 500; }
.termine-title { font-size: 18px; font-weight: 700; }
.termine-contact { margin: 0; padding-top: 14px; font-size: 15px; line-height: 1.6; color: var(--sekundaer); }
.termine-contact a, .termine-contact .mono { color: var(--violett); }

.insta-card {
  flex: 1 1 360px; min-width: 0; border: 1px solid var(--tinte); background: var(--weiss);
  padding: 32px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--tinte);
}
.insta-card:hover { color: var(--tinte); }
.insta-head { display: flex; align-items: center; gap: 14px; }
.insta-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; border: 2px solid var(--violett); flex: 0 0 auto; }
.insta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.insta-handle { display: flex; flex-direction: column; gap: 2px; }
.insta-handle .h { font-size: 17px; font-weight: 700; }
.insta-handle .meta { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--sekundaer); }
.insta-desc { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insta-photo { aspect-ratio: 1; overflow: hidden; }
.insta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta-cta { align-self: flex-start; border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 17px; font-weight: 700; }

/* ---------- Zyklus (So läuft das Ganze) ---------- */
.zyklus { padding: 104px 48px 0; display: flex; flex-direction: column; gap: 36px; }
.zyklus-lead {
  margin: 0; font-family: 'Literata', Georgia, serif; font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35; font-weight: 500; max-width: 900px; text-wrap: pretty;
}
.zyklus-lead .accent { color: var(--violett); }
.zyklus-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.zyklus-line { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--lavendel); }
.zyklus-step { display: flex; flex-direction: column; gap: 12px; position: relative; }
.zyklus-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--violett); }
.zyklus-dot.open { border: 1px solid var(--violett); background: var(--paper); }
.zyklus-tag { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.1em; color: var(--violett); }
.zyklus-tag.muted { color: var(--dunkel-lila); }
.zyklus-title { font-family: 'Literata', Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.2; }
.zyklus-text { font-size: 16px; line-height: 1.65; color: var(--sekundaer); text-wrap: pretty; }
@media (max-width: 800px) {
  .zyklus-steps { grid-template-columns: 1fr 1fr; }
  .zyklus-line { display: none; }
}
@media (max-width: 500px) { .zyklus-steps { grid-template-columns: 1fr; } }

/* ---------- Newsletter-Box ---------- */
.newsletter-box {
  border: 2px solid var(--violett); background: var(--weiss); padding: 36px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.newsletter-left { display: flex; flex-direction: column; gap: 8px; flex: 1 1 380px; min-width: 0; }
.newsletter-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violett); }
.newsletter-left h3 { font-family: 'Literata', Georgia, serif; font-size: 28px; font-weight: 600; line-height: 1.15; }
.newsletter-left p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; flex: 1 1 340px; min-width: 0; }
.newsletter-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-fields input {
  flex: 1 1 150px; border: 1px solid var(--tinte); padding: 15px 16px; font-size: 16px;
  background: var(--weiss); color: var(--tinte); font-family: inherit; border-radius: 0; min-width: 0;
}
.newsletter-submit {
  background: var(--violett); color: var(--paper); padding: 15px 24px; border-radius: 6px;
  font-size: 17px; font-weight: 700; cursor: pointer; border: none; font-family: inherit;
}
.newsletter-submit:hover { background: #4a2260; }
.newsletter-hint { font-size: 14px; line-height: 1.55; color: var(--sekundaer); }
.newsletter-success {
  border: 1px solid var(--gruen); background: var(--gruen-flaeche); color: var(--gruen);
  padding: 14px 18px; font-size: 15px; line-height: 1.5; flex-basis: 100%;
}
.newsletter-error {
  border: 1px solid var(--rot); background: #FBEAEA; color: #7A2019;
  padding: 14px 18px; font-size: 15px; line-height: 1.5; flex-basis: 100%;
}
@media (max-width: 560px) { .newsletter-fields input { flex-basis: 100%; } }

/* ---------- Vision ---------- */
.vision { padding: 104px 48px 0; display: flex; flex-direction: column; gap: 36px; }
.vision-lead {
  margin: 0; font-family: 'Literata', Georgia, serif; font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25; font-weight: 500; max-width: 1000px; text-wrap: balance;
}
.vision-lead .accent { color: var(--violett); }
.vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.vision-card { background: var(--paper); border: 1px solid var(--tinte); padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.vision-num { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--violett); }
.vision-title { font-family: 'Literata', Georgia, serif; font-size: 24px; font-weight: 600; }
.vision-text { font-size: 16.5px; line-height: 1.65; color: var(--text); }

/* ---------- Spendenziele (Goals) ---------- */
.goals-list { margin: 0 48px; border-top: 1px solid var(--tinte); }
.goal-row {
  display: grid; grid-template-columns: 80px 1fr 300px 180px; gap: 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--tinte); text-decoration: none; color: inherit;
}
.goal-num { font-family: 'IBM Plex Mono', monospace; font-size: 16px; color: var(--sekundaer); }
.goal-titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.goal-titles .t { font-family: 'Literata', Georgia, serif; font-size: 28px; font-weight: 600; line-height: 1.1; }
.goal-titles .s { font-size: 16px; line-height: 1.55; color: var(--sekundaer); max-width: 560px; }
.goal-progress { display: flex; flex-direction: column; gap: 8px; }
.goal-bar { height: 4px; background: var(--lavendel); overflow: hidden; }
.goal-bar-fill { min-width: 4px; height: 100%; background: var(--violett); }
.goal-progress .stand { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--sekundaer); }
.goal-cta { justify-self: end; font-size: 17px; font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; white-space: nowrap; text-decoration: none; }
.goal-cta:hover { border-bottom-color: var(--violett); }
@media (max-width: 800px) {
  .goal-row { grid-template-columns: 1fr; gap: 12px; }
  .goal-num { display: none; }
  .goal-cta { justify-self: start; }
}
.goals-note {
  margin: 24px 48px 0; border: 1px solid var(--lavendel); background: var(--weiss);
  padding: 20px 24px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 900px;
}

/* ---------- Footer (dunkle CTA-Band) ---------- */
.footer-cta { margin-top: 104px; background: var(--tinte); color: var(--paper); padding: 88px 48px 48px; display: flex; flex-direction: column; gap: 48px; }
.footer-cta-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-end; }
.footer-cta-title { font-size: clamp(44px, 6vw, 96px); line-height: 1.0; letter-spacing: -0.015em; font-weight: 600; }
.footer-cta-title .accent-gold { color: var(--gold); }
.footer-side { display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.footer-side p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--footer-text); }
.footer-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; border-radius: 6px; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; font-family: inherit; text-align: center; }
.btn-gold { background: var(--gold); color: var(--tinte); padding: 17px 30px; }
.btn-gold:hover { background: #cf9530; color: var(--tinte); }
.btn-outline-light { border: 2px solid var(--paper); color: var(--paper); padding: 15px 28px; background: transparent; }
.btn-outline-light:hover { background: var(--paper); color: var(--tinte); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--footer-line); padding-top: 24px; font-size: 15px; color: var(--footer-muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--footer-muted); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }

@media (max-width: 640px) {
  .hero, .hero-image, .section-head, .news-grid, .split-row, .zyklus, .vision,
  .goals-list, .goals-note, .footer-cta { padding-left: 20px; padding-right: 20px; }
  .goals-list { margin-left: 20px; margin-right: 20px; }
  .site-header { padding-left: 20px; padding-right: 20px; }
}

/* ==================== Newsletter-Bestätigungsseite ==================== */
.confirm-page { padding: 96px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 720px; }
.confirm-page h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; }
.confirm-page p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.confirm-page .back { margin-top: 12px; }

/* ==================== Rechtsseiten (Impressum/Datenschutz) ==================== */
.page-head { padding: 72px 48px 48px; display: flex; flex-direction: column; gap: 24px; }
.page-head h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.05; }
.page-head > p { margin: 0; font-size: 20px; line-height: 1.65; max-width: 680px; color: var(--text); }

.content-block { padding: 0 48px 72px; display: flex; flex-direction: column; gap: 40px; max-width: 900px; }
.content-block h2 { font-size: 26px; margin-top: 8px; }
.content-block p { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0; }
.content-block ul { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.7; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.kv-list { display: flex; flex-direction: column; }
.kv-list .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--lavendel); }
.kv-list .row .k { font-size: 16px; font-weight: 700; }
.kv-list .row .v { font-size: 16px; color: var(--text); }
.back-link { display: inline-block; margin: 0 48px 48px; font-size: 15px; color: var(--sekundaer); text-decoration: none; }
.back-link:hover { color: var(--violett); }

@media (max-width: 640px) {
  .page-head, .content-block, .back-link { padding-left: 20px; padding-right: 20px; margin-left: 0; margin-right: 0; }
}

/* ==================== Admin-Bereich ==================== */
.admin-body { font-family: 'IBM Plex Sans', system-ui, sans-serif; color: var(--tinte); background: var(--paper); min-height: 100vh; margin: 0; }

.admin-header {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 40px;
  border-bottom: 1px solid var(--tinte); flex-wrap: wrap; gap: 16px;
}
.admin-brand { display: flex; align-items: center; gap: 14px; }
.admin-brand-mark {
  display: grid; grid-template-columns: 11px 11px; grid-template-rows: 11px 11px; gap: 3px; flex: 0 0 auto;
}
.admin-brand-mark span:nth-child(1) { background: #43184F; }
.admin-brand-mark span:nth-child(2) { background: #8A56A0; }
.admin-brand-mark span:nth-child(3) { background: var(--violett-hell); }
.admin-brand-mark span:nth-child(4) { background: var(--gold); }
.admin-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.admin-brand-text .t { font-family: 'Literata', Georgia, serif; font-size: 18px; font-weight: 600; }
.admin-brand-text .s { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--sekundaer); }

.admin-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-actions .source { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--sekundaer); }
.btn-admin-outline {
  cursor: pointer; border: 1px solid var(--tinte); padding: 11px 18px; border-radius: 6px;
  font-size: 15px; font-weight: 600; background: var(--paper); color: var(--tinte); text-decoration: none; font-family: inherit;
}
.btn-admin-outline:hover { background: var(--flaeche); color: var(--tinte); }
.btn-admin-primary {
  cursor: pointer; background: var(--violett); color: var(--paper); padding: 12px 22px; border-radius: 6px;
  font-size: 15px; font-weight: 700; text-decoration: none; border: none; font-family: inherit;
}
.btn-admin-primary:hover { background: #4a2260; color: var(--paper); }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--tinte); border-bottom: 1px solid var(--tinte); }
.admin-stat { background: var(--paper); padding: 28px 32px; display: flex; flex-direction: column; gap: 4px; }
.admin-stat .num { font-family: 'Literata', Georgia, serif; font-size: 38px; font-weight: 600; line-height: 1; }
.admin-stat .num.confirmed { color: var(--gruen); }
.admin-stat .num.pending { color: var(--amber); }
.admin-stat .num.eligible { color: var(--violett); }
.admin-stat .label { font-size: 15px; color: var(--sekundaer); }
@media (max-width: 800px) { .admin-stats { grid-template-columns: 1fr 1fr; } }

.admin-filter-row { padding: 28px 40px 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filter-chip {
  cursor: pointer; border: 2px solid var(--lavendel); background: transparent; color: var(--tinte);
  padding: 8px 16px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-block;
}
.admin-filter-chip.active { border-color: var(--violett); background: var(--flaeche); color: var(--violett); }
.admin-filter-note { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--sekundaer); }

.admin-table { margin: 0 40px 48px; border-top: 1px solid var(--tinte); overflow-x: auto; }
.admin-table-head, .admin-row {
  display: grid; grid-template-columns: 44px 1.2fr 1.4fr 130px 130px 150px; gap: 20px; min-width: 720px;
}
.admin-table-head {
  padding: 14px 0; border-bottom: 1px solid var(--tinte); font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sekundaer);
}
.admin-row { padding: 16px 0; border-bottom: 1px solid var(--lavendel); align-items: baseline; }
.admin-row .idx { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--sekundaer); }
.admin-row .name { font-size: 16px; font-weight: 600; }
.admin-row .mail { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.admin-row .born { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--text); }
.admin-row .age { font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.admin-row .age.ok { color: var(--gruen); }
.admin-row .age.nok { color: var(--rot); }
.admin-status { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 4px; justify-self: start; }
.admin-status.confirmed { color: var(--gruen); background: var(--gruen-flaeche); }
.admin-status.pending { color: var(--amber); background: var(--amber-flaeche); }
.admin-status.unsubscribed { color: var(--sekundaer); background: var(--lavendel); }
.admin-table .footnote { margin: 0; padding: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--sekundaer); max-width: 760px; }

.admin-empty { padding: 48px 40px; color: var(--sekundaer); font-size: 16px; }

/* Admin-Login */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login-box { border: 1px solid var(--tinte); background: var(--weiss); padding: 40px; display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 380px; }
.admin-login-box h1 { font-size: 24px; }
.admin-login-box .field { display: flex; flex-direction: column; gap: 7px; }
.admin-login-box label { font-size: 15px; font-weight: 700; }
.admin-login-box input {
  border: 1px solid var(--tinte); padding: 13px 14px; font-size: 16px; background: var(--paper);
  font-family: inherit; color: var(--tinte); border-radius: 0;
}
.admin-login-box .error { border-left: 4px solid var(--rot); background: #FBEAEA; color: #7A2019; padding: 12px 16px; font-size: 15px; }
