/*
  Wob-O-Mat – Stadtjugendring Wolfsburg
  Corporate-Design-Farben:
  Grün dunkel: #39B54A
  Grün hell:   #80C342
  Grau:        #DCDDDE
*/

:root {
  --green-dark: #39B54A;
  --green-light: #80C342;
  --grey: #DCDDDE;
  --grey-light: #F3F4F4;
  --text: #151515;
  --white: #FFFFFF;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Kopfbereich mit Logo und Schutzzone */
.site-header {
  background: var(--white);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.stjr-brand {
  display: inline-block;
  line-height: 0;
}

.stjr-brand img {
  display: block;
  width: min(330px, 72vw);
  height: auto;
}

/* Hero im STJR-Grün mit 36°-Geometrie */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green-light) 100%);
  color: var(--white);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  left: -24vw;
  top: -44vw;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(36deg);
}

.hero::after {
  width: 55vw;
  height: 55vw;
  right: -30vw;
  bottom: -32vw;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-36deg);
}

.hero-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero-shape-one {
  left: -10%;
  bottom: -58%;
  width: 62%;
  height: 120%;
  background: rgba(0, 0, 0, 0.035);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-shape-two {
  right: -8%;
  top: -80%;
  width: 50%;
  height: 150%;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(36deg);
}

.hero-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 66px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(0.78rem, 1.2vw, 0.94rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
}

/* WahlKompass */
.wahlkompass-section {
  position: relative;
  background: var(--grey-light);
  padding: 44px 20px 58px;
}

.wahlkompass-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 22px;
  background: var(--green-dark);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.wahlkompass-wrap {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.wahlkompass-frame {
  display: block;
  width: 100%;
  height: 750px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--grey);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}


.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a:last-child {
  margin-left: 8px;
}

.footer-inner a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 88px;
  }

  .stjr-brand img {
    width: min(285px, 78vw);
  }

  .hero-inner {
    width: min(100% - 28px, var(--max-width));
    padding: 42px 0 50px;
  }

  .eyebrow {
    max-width: 320px;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .wahlkompass-section {
    padding: 32px 8px 40px;
  }

  .wahlkompass-wrap {
    padding: 6px;
  }

  .wahlkompass-frame {
    height: 820px;
    border-radius: 8px;
  }

  .footer-inner {
    width: min(100% - 28px, var(--max-width));
    min-height: auto;
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-links a:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
