/* ============================================================
   malteschober.de – Wahlkampf-Website
   Farben & Stil nach Flyer: Petrol / Navy / Gelb
   NMR Marketing · 2026
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-v25-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-v25-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-v25-latin-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat-v23-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design-Token ---------- */
:root {
  --petrol: #1E8A9C;
  --petrol-dunkel: #16707F;
  --navy: #12384F;
  --navy-tief: #0C2838;
  --gelb: #F5B301;
  --weiss: #FFFFFF;
  --grau-flaeche: #F1F4F5;
  --grau-linie: #D8E0E3;
  --text: #16303F;
  --text-hell: #4A6373;

  --schrift: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;

  --breite: 1080px;
  --radius: 10px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--schrift);
  font-weight: 500;
  font-size: 1.125rem;          /* 18px Basis – Zielgruppe 50+ */
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-dunkel); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gelb);
  outline-offset: 3px;
}

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 900; line-height: 1.12; margin: 0 0 .75rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petrol-dunkel);
  margin-bottom: .6rem;
}
.section { padding: 4rem 0; }
.section--grau { background: var(--grau-flaeche); }
.section--navy { background: var(--navy); color: var(--weiss); }
.section--navy .eyebrow { color: var(--gelb); }

/* Handschrift-Sticker „Malte macht's" */
.sticker {
  display: inline-block;
  font-family: var(--hand);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  background: var(--gelb);
  padding: .1em .55em .18em;
  border-radius: 6px;
  transform: rotate(-3deg);
  line-height: 1.1;
  box-shadow: 0 3px 10px rgba(12, 40, 56, .18);
}

/* ---------- Kopfleiste ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--weiss);
  border-bottom: 3px solid var(--gelb);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .65rem 1.25rem;
  max-width: var(--breite); margin: 0 auto;
}
.topbar__name { font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; color: var(--weiss); text-decoration: none; white-space: nowrap; }
.topbar__name span { color: var(--gelb); }
.topbar__cta {
  background: var(--gelb); color: var(--navy);
  font-weight: 700; text-decoration: none;
  padding: .5rem .9rem; border-radius: 6px;
  white-space: nowrap; font-size: .95rem;
}
.topbar__cta:hover { background: #FFC722; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-tief) 70%);
  color: var(--weiss);
  overflow: hidden;
}
.hero__inner {
  display: grid; gap: 2rem;
  padding: 3rem 0 3.5rem;
  align-items: center;
}
@media (min-width: 820px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 4rem 0; }
}
.hero__claim { color: var(--gelb); }
.hero__sub {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700; margin: .25rem 0 1.25rem;
}
.hero__wahltag { color: #BFD4DE; font-weight: 500; margin-bottom: 1.5rem; }
.hero__wahltag strong { color: var(--weiss); }
.hero__foto { position: relative; }
.hero__foto img {
  border-radius: var(--radius);
  border: 4px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.hero__foto .sticker { position: absolute; bottom: -14px; left: 10px; }

.countdown {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin: 0 0 1.75rem;
}
.countdown__box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  min-width: 78px;
  padding: .6rem .5rem;
  text-align: center;
}
.countdown__zahl { display: block; font-size: 1.9rem; font-weight: 900; color: var(--gelb); line-height: 1; }
.countdown__label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #BFD4DE; }

.btn {
  display: inline-block;
  font-weight: 700; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 8px;
  font-size: 1.05rem;
}
.btn--gelb { background: var(--gelb); color: var(--navy); }
.btn--gelb:hover { background: #FFC722; }
.btn--ghost { border: 2px solid rgba(255,255,255,.5); color: var(--weiss); }
.hero .btn { margin: 0 .6rem .6rem 0; }
.btn--ghost:hover { border-color: var(--gelb); color: var(--gelb); }
.btn--navy { background: var(--navy); color: var(--weiss); }
.btn--navy:hover { background: var(--navy-tief); }

/* ---------- Das bin ich ---------- */
.ueber { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .ueber { grid-template-columns: .9fr 1.1fr; gap: 3rem; } }
.ueber__foto img { border-radius: var(--radius); box-shadow: 0 12px 34px rgba(12,40,56,.16); }
.fakten {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; gap: .5rem;
}
@media (min-width: 560px) { .fakten { grid-template-columns: 1fr 1fr; } }
.fakten li {
  background: var(--grau-flaeche);
  border-left: 4px solid var(--petrol);
  border-radius: 6px;
  padding: .55rem .8rem;
  font-size: 1rem; font-weight: 700; color: var(--navy);
}

/* ---------- Kompetenzen ---------- */
.kacheln { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .kacheln { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .kacheln { grid-template-columns: repeat(5, 1fr); } }
.kachel {
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
}
.kachel__haken {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gelb);
  display: grid; place-items: center;
  margin-bottom: .8rem;
}
.kachel__haken svg { width: 22px; height: 22px; }
.kachel h3 { color: var(--navy); text-transform: uppercase; font-size: 1.05rem; }
.kachel p { font-size: .98rem; color: var(--text-hell); margin: 0; }

/* ---------- ABC-Akkordeon ---------- */
.abc { margin-top: 2rem; display: grid; gap: .65rem; }
.abc details {
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  overflow: hidden;
}
.abc summary {
  display: flex; align-items: center; gap: 1rem;
  cursor: pointer; list-style: none;
  padding: .9rem 1.1rem;
  font-weight: 700; font-size: 1.1rem; color: var(--navy);
  min-height: 56px;             /* große Klickfläche */
}
.abc summary::-webkit-details-marker { display: none; }
.abc__buchstabe {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--petrol); color: var(--weiss);
  font-weight: 900; font-size: 1.5rem;
  border-radius: 8px;
}
.abc summary::after {
  content: '+'; margin-left: auto;
  font-size: 1.6rem; font-weight: 700; color: var(--petrol);
  line-height: 1;
}
.abc details[open] summary::after { content: '–'; }
.abc details[open] summary { border-bottom: 1px solid var(--grau-linie); }
.abc__inhalt { padding: 1rem 1.25rem 1.25rem; color: var(--text); }
.abc__inhalt p:last-child { margin-bottom: 0; }

/* ---------- Transparenz (gelb abgesetzt) ---------- */
.section--gelb {
  background: var(--gelb);
  color: var(--navy);
}
.section--gelb .eyebrow { color: var(--navy); }
.klartext { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 820px) { .klartext { grid-template-columns: 1fr 1fr; } }
.klartext__karte {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 20px rgba(12,40,56,.10);
}
.klartext__karte h3 { color: var(--navy); }
.klartext__frage { font-weight: 900; font-size: 1.15rem; color: var(--petrol-dunkel); margin-bottom: .5rem; }
.transparenz__kontakt {
  margin-top: 2rem;
  font-size: 1.15rem; font-weight: 700;
}
.transparenz__kontakt a { color: var(--navy); }

/* ---------- Termine ---------- */
.termine { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; }
.termin {
  display: grid; grid-template-columns: 92px 1fr; gap: 1rem;
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  align-items: center;
}
.termin__datum {
  text-align: center; font-weight: 900; color: var(--weiss);
  background: var(--petrol); border-radius: 8px; padding: .5rem .25rem;
  line-height: 1.15;
}
.termin__tag { display: block; font-size: 1.5rem; }
.termin__monat { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.termin__titel { font-weight: 700; color: var(--navy); }
.termin__info { font-size: .98rem; color: var(--text-hell); }
.termine__leer { color: var(--text-hell); font-style: italic; }

/* ---------- Briefwahl ---------- */
.briefwahl__schritte {
  counter-reset: schritt;
  list-style: none; margin: 1.5rem 0 2rem; padding: 0;
  display: grid; gap: 1rem;
}
@media (min-width: 820px) { .briefwahl__schritte { grid-template-columns: repeat(3, 1fr); } }
.briefwahl__schritte li {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
}
.briefwahl__schritte li::before {
  counter-increment: schritt;
  content: counter(schritt);
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gelb); color: var(--navy);
  font-weight: 900; margin-bottom: .7rem;
}

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: 2rem; }
@media (min-width: 820px) { .kontakt { grid-template-columns: 1fr 1fr; } }
.kontakt a { color: var(--navy); font-weight: 700; }
.kontakt__block { font-size: 1.15rem; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--navy);
}
.social a:hover { background: var(--petrol-dunkel); }
.social svg { width: 24px; height: 24px; fill: var(--weiss); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-tief); color: #BFD4DE;
  padding: 2rem 0; font-size: .95rem;
}
.footer a { color: var(--weiss); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: .75rem; }

/* ---------- Unterseiten (Transparenz / Impressum / Datenschutz) ---------- */
.unterseite { padding: 3rem 0 4rem; max-width: 820px; }
.unterseite h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--navy); }
.unterseite h2 { font-size: 1.25rem; text-transform: none; color: var(--navy); margin-top: 2rem; }
.unterseite .hinweisbox {
  background: var(--grau-flaeche);
  border-left: 5px solid var(--gelb);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-weight: 700; color: var(--navy);
}
.unterseite dl dt { font-weight: 700; color: var(--navy); margin-top: 1.25rem; }
.unterseite dl dd { margin: .25rem 0 0; }
.zurueck { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; }

/* ---------- Audio-Block (Radiointerview) ---------- */
.audio-block {
  margin-top: 1.75rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1rem;
  box-shadow: 0 10px 30px rgba(12,40,56,.18);
}
.audio-block__titel { color: var(--gelb); font-weight: 900; font-size: 1.1rem; text-transform: uppercase; margin: 0 0 .75rem; }
.audio-block audio { border-radius: 6px; }
.audio-block__hinweis { color: #BFD4DE; font-size: .9rem; margin: .5rem 0 0; }

/* ---------- Video-Sektion ---------- */
.videogrid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 760px) { .videogrid { grid-template-columns: repeat(3, 1fr); } }
.videokachel { margin: 0; }
.videokachel video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(12,40,56,.16);
}
.videokachel figcaption { margin-top: .6rem; font-weight: 700; color: var(--navy); }

/* ---------- Scroll-Reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.sichtbar { opacity: 1; transform: none; }

  .kachel__haken path { transition: stroke-dashoffset .7s ease .35s; }
  .kachel.sichtbar .kachel__haken path { stroke-dashoffset: 0 !important; }

  .hero .sticker {
    animation: sticker-pop .5s cubic-bezier(.34,1.56,.64,1) .6s backwards;
  }
  @keyframes sticker-pop {
    from { opacity: 0; transform: rotate(-3deg) scale(.6); }
    to   { opacity: 1; transform: rotate(-3deg) scale(1); }
  }

  .hero__claim, .hero__sub, .hero__wahltag, .countdown, .hero .btn {
    animation: hero-rein .7s ease backwards;
  }
  .hero__sub { animation-delay: .12s; }
  .hero__wahltag { animation-delay: .2s; }
  .countdown { animation-delay: .28s; }
  .hero .btn { animation-delay: .38s; }
  @keyframes hero-rein {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Fester Samstags-Termin ---------- */
.termin-fest {
  background: var(--gelb);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: 1.15rem;
  margin: 1.5rem 0 1rem;
  box-shadow: 0 6px 20px rgba(12,40,56,.10);
}

/* ---------- Video-Kacheln als Instagram-Links ---------- */
.videokachel { display: block; text-decoration: none; }
.videokachel__bild { position: relative; display: block; }
.videokachel__bild img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12,40,56,.16);
}
.videokachel__play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gelb);
  box-shadow: 0 6px 18px rgba(12,40,56,.3);
  transition: transform .25s ease;
}
.videokachel__play::after {
  content: ''; position: absolute; left: 28px; top: 22px;
  border-left: 24px solid var(--navy);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.videokachel:hover .videokachel__play { transform: scale(1.12); }
.videokachel__titel { display: block; margin-top: .7rem; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.videokachel__cta { display: block; font-size: .95rem; color: var(--petrol-dunkel); font-weight: 700; }
