/* ============================================================
   Kerstin Ringel – Bewerbung um die Landtagskandidatur 2027
   Design-System: siehe CLAUDE.md fuer Farb-/Typo-Regeln
   ============================================================ */

/* ── FONTS (lokal gehostet, keine Google-Server) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexserif-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexserif-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plexserif-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plexserif-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexserif-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexserif-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── DESIGN TOKENS ── */
:root {
  --tuerkis:     #52b7c1;
  --tuerkis-60:  #a7d5dc;
  --tuerkis-25:  #ddeef1;
  --tuerkis-10:  #f2f8fa;
  --blau:        #2d3c4b;
  --blau-60:     #737986;
  --blau-25:     #bec1c7;
  --blau-10:     #e5e5e9;
  --gold:        #ffa600;
  --weiss:       #ffffff;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 400;
  color: var(--blau);
  background: var(--weiss);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--blau);
  padding: 12px 20px;
  z-index: 2000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ── LAYOUT HELPERS ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
section { padding: clamp(56px, 8vw, 100px) 0; }

/* ── HEADLINES ── */
.hl {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.22;
  margin-bottom: 20px;
  color: var(--blau);
}
.hl.sm { font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.3; margin-bottom: 10px; }
.hero-name { color: var(--weiss); }

.subline {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  display: block;
  width: fit-content;
  padding: 0.35em 0.6em;
  margin-bottom: 12px;
}
.subline:last-of-type { margin-bottom: 28px; }
.subline.gold { background: var(--gold); color: var(--blau); }
.subline.weiss { background: var(--weiss); color: var(--blau); }

.fliesstext p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 18px;
}

/* ── BOGEN (dekoratives Ornament, max. 2x auf der Seite) ── */
.bogen {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 0;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--blau);
}
.btn-primary:hover { background: var(--blau); color: var(--weiss); }

.btn-secondary {
  background: transparent;
  color: var(--blau);
  border: 2px solid var(--blau);
  padding: 12px 28px;
}
.btn-secondary:hover { background: var(--blau); color: var(--weiss); }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--weiss);
  border-bottom: 1px solid var(--blau-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 60px);
}
.wortmarke {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  background: var(--blau);
  color: var(--weiss);
  padding: 0.32em 0.5em;
  text-decoration: none;
}
nav.hauptnav {
  display: flex;
  gap: 8px;
}
nav.hauptnav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--blau);
  padding: 8px 14px;
  transition: color 0.2s ease;
}
nav.hauptnav a:hover { color: var(--tuerkis); }
nav.hauptnav a.kontakt-link {
  background: var(--gold);
  color: var(--blau);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--blau);
  display: block;
}

/* ── HERO ── */
#hero {
  position: relative;
  background: var(--tuerkis);
  overflow: hidden;
  padding: 0;
}
#hero .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-text { order: 1; }
.hero-foto-wrap { order: 2; position: relative; }
.hero-foto {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  display: block;
}
@media (min-width: 901px) {
  .hero-foto { aspect-ratio: unset; height: min(600px, 72vh); }
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Bogen in der Hero, unten rechts */
.hero-bogen {
  right: -60px;
  bottom: -40px;
  width: 380px;
  height: 260px;
}

/* Störer */
.stoerer {
  position: absolute;
  right: 14%;
  bottom: 16%;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--gold);
  transform: rotate(10deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  z-index: 2;
}
.stoerer-inner {
  transform: rotate(-10deg);
}
.stoerer-haupt {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--weiss);
  letter-spacing: 0.01em;
}
.stoerer-sub {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  font-size: 10.5px;
  color: var(--blau);
  margin-top: 4px;
}

/* ── WARUM ICH MICH BEWERBE ── */
#warum { background: var(--weiss); }
.wib-persoenlich {
  font-family: 'IBM Plex Serif', serif;
  font-size: 19px;
  color: var(--blau);
  margin-top: 28px;
}
.unterschrift { max-width: 200px; margin-top: 24px; display: block; }

/* ── DER WAHLKREIS ── */
#wahlkreis-info { background: var(--tuerkis-10); }
.wahlkreis-text {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

/* ── THEMEN ── */
#themen { background: var(--tuerkis-10); }
.themen-liste { border-top: 1px solid var(--blau-10); }
.thema-row {
  padding: 30px 0 30px 20px;
  border-bottom: 1px solid var(--blau-10);
  border-left: 3px solid var(--gold);
}
.thema-title {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}
.thema-text {
  font-family: 'IBM Plex Serif', serif;
  color: var(--blau);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 60ch;
}

/* ── WER ICH BIN ── */
#wer-ich-bin { background: var(--weiss); }
.wib-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.wib-foto {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 24px;
}
/* ── WERDEGANG (Timeline) ── */
#werdegang { background: var(--tuerkis-10); }
.timeline {
  border-left: 2px solid var(--tuerkis-60);
  margin-left: 8px;
  padding-left: 32px;
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
}
.timeline-jahr {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--blau);
  color: var(--weiss);
  padding: 0.15em 0.5em;
  margin-bottom: 8px;
}
.timeline-text {
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.95rem;
  color: var(--blau);
  line-height: 1.6;
}

/* ── ZITAT CDU (Tuerkis) ── */
#zitat-cdu {
  position: relative;
  background: var(--tuerkis);
  text-align: center;
  overflow: hidden;
}
.zitat-cdu-bogen {
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  width: 420px;
  height: 220px;
}
.zitat-cdu-text {
  position: relative;
  z-index: 1;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  color: var(--weiss);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto 20px;
}
.zitat-cdu-autor {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blau);
}

/* ── ENGAGEMENT ── */
#engagement { background: var(--weiss); }
.engagement-block { max-width: 720px; }
.engagement-list li {
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.92rem;
  color: var(--blau);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--blau-10);
  position: relative;
  line-height: 1.55;
}
.engagement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

/* ── KONTAKT (einzige dunkle Sektion) ── */
#kontakt { background: var(--blau); }
#kontakt .hl { color: var(--weiss); }
.kontakt-sub {
  font-family: 'IBM Plex Serif', serif;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--weiss);
  padding: 12px 14px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.datenschutz-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.datenschutz-check input { margin-top: 4px; flex-shrink: 0; }
.datenschutz-check a { color: var(--gold); }
.pflichthinweis {
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

/* ── FOOTER ── */
footer {
  background: var(--weiss);
  border-top: 1px solid var(--blau-10);
  padding: 32px clamp(20px, 5vw, 60px);
}
.footer-links {
  display: flex;
  gap: 22px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: var(--blau);
}
.footer-links a:hover { color: var(--tuerkis); }
.footer-disclaimer {
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.82rem;
  color: var(--blau-60);
  max-width: 70ch;
  margin-bottom: 10px;
}
.footer-visdp {
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.78rem;
  color: var(--blau-60);
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero-bogen { width: 300px; height: 210px; }
}

@media (max-width: 900px) {
  nav.hauptnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--blau-10);
    flex-direction: column;
    padding: 10px 0;
  }
  nav.hauptnav.open { display: flex; }
  nav.hauptnav a { padding: 14px 24px; }
  .burger { display: flex; }

  #hero .section-inner {
    grid-template-columns: 1fr;
  }
  .hero-foto-wrap { order: -1; }
  .hero-bogen { display: none; }

  .wib-grid { grid-template-columns: 1fr; }
  .zitat-cdu-bogen { width: 300px; height: 170px; top: -30px; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .thema-row { padding-left: 14px; }
  .stoerer {
    width: 108px;
    height: 108px;
    right: 8%;
    bottom: 8%;
  }
  .stoerer-haupt { font-size: 10px; }
  .stoerer-sub { font-size: 8.5px; }
}
