:root {
  --blue: #087db6;
  --red: #d92731;
  --green: #15a75c;
  --yellow: #f3d20b;
  --ink: #10252d;
  --cream: #f3f2eb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  background-color: var(--yellow);
  color: #10252d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top.visible:hover {
  transform: translateY(-4px);
}

.scroll-top:focus-visible {
  outline: 3px solid #10252d;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 25px;
  }
}
.beitrag-bild {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0;
  object-fit: cover;
}
button,
a {
  font: inherit;
}
img,
video,
iframe {
  max-width: 100%;
}
.top {
  height: 82px;
  padding: 0 clamp(20px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #dde3df;
}
.brand {
  border: 0;
  background: none;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.brand i {
  color: var(--blue);
  font-size: 34px;
  transform: rotate(-25deg);
}
.brand span {
  display: flex;
  flex-direction: column;
}
.brand b {
  font-size: 23px;
  letter-spacing: -1px;
}
.brand small {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 800;
}
.top nav {
  display: flex;
  gap: 25px;
}
.top nav button,
.sectionTitle button,
footer button {
  border: 0;
  background: none;
  font-weight: 700;
  color: #526067;
}
.top nav button.active {
  color: var(--red);
}
.hamb {
  display: none;
  border: 0;
  background: none;
  font-size: 27px;
}
.float-card {
  position: absolute;
  right: 6vw;
  bottom: 5vw;
  background: var(--yellow);
  color: var(--ink);
  padding: 24px 30px;
  z-index: 3;
  transform: rotate(3deg);
  animation: float 4s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 38px;
}

.float-card span {
  font-weight: 700;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}
.hero {
  height: calc(100svh - 82px);
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 25, 33, 0.92),
      rgba(5, 25, 33, 0.52) 55%,
      transparent
    ),
    linear-gradient(0deg, rgba(5, 25, 33, 0.5), transparent);
}
.heroText {
  position: relative;
  color: #fff;
  z-index: 1;
  margin: 0 0 clamp(50px, 8vw, 100px) clamp(24px, 8vw, 130px);
  max-width: 780px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 800;
}
.kicker:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--yellow);
  margin: 0 10px 3px 0;
}
.blue {
  color: var(--blue);
}
.hero h1,
.pageTitle h1 {
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.91;
  letter-spacing: -5px;
  margin: 18px 0 25px;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}
.heroText > p:not(.kicker) {
  font-size: 20px;
  line-height: 1.55;
  max-width: 640px;
}
.cta,
.join button,
.more {
  display: inline-block;
  border: 0;
  background: var(--yellow);
  color: #10252d;
  padding: 17px 23px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 18px;
}
.wrap {
  padding: clamp(70px, 9vw, 125px) clamp(22px, 8vw, 130px);
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.intro h2,
.sectionTitle h2,
.join h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
  margin: 16px 0;
}
.intro > div:last-child {
  font-size: 18px;
  line-height: 1.75;
  color: #4d5e65;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 60px clamp(22px, 4vw, 60px);
  background: #f5f2e9;
  color: #10252d;
}

.values article {
  padding: 60px 38px;
  min-height: 370px;
  border: none;
}

/* Demokratie stärken */
.values article:nth-child(1) {
  background: #15a75c;
  color: #ffffff;
}

/* Vielfalt leben */
.values article:nth-child(2) {
  background: #f4cf55;
  color: #10252d;
}

/* Haltung zeigen */
.values article:nth-child(3) {
  background: #ef5c57;
  color: #10252d;
}

.values h3 {
  margin-top: 35px;
  font-size: clamp(30px, 3vw, 52px);
  line-height: 1.1;
}

.values p {
  font-size: 17px;
  line-height: 1.6;
  color: inherit;
}
.sectionTitle {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid > *,
.intro > *,
.join > *,
.member > *,
.sectionTitle > * {
  min-width: 0;
}
.card {
  background: #fff;
  padding: 28px;
  min-height: 350px;
  border-top: 5px solid var(--blue);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px #10252d0d;
}
.card:nth-child(3n + 2) {
  border-color: var(--red);
}
.card:nth-child(3n) {
  border-color: var(--green);
}
.card time {
  font-size: 12px;
  color: #718086;
  font-weight: 800;
}
.card h3 {
  font-size: 24px;
  line-height: 1.15;
}
.card > p {
  color: #53636a;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card details {
  margin-top: auto;
  border-top: 1px solid #e5e7e2;
  padding-top: 18px;
}
.card summary {
  list-style: none;
  color: var(--blue);
  font-weight: 800;
}
.card details div {
  line-height: 1.65;
  color: #53636a;
  overflow-wrap: anywhere;
}
.join {
  background: #f4cf55;
  color: #10252d;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8vw;
  max-width: calc(100% - 2 * clamp(22px, 4vw, 60px));
  margin-left: auto;
  margin-right: auto;
}
.join > div:last-child p {
  font-size: 20px;
  line-height: 1.6;
}
.join button {
  background: #fff;
  color: var(--ink);
}
.inner {
  min-height: 75vh;
}
.pageTitle {
  margin-bottom: 45px;
}
.search {
  width: min(620px, 100%);
  padding: 17px 20px;
  border: 1px solid #d7dfdb;
  background: #fff;
  margin-bottom: 35px;
  font-size: 16px;
}
.more {
  display: block;
  margin: 45px auto;
}
.member {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 7vw;
}
.member section article {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #ccd5d2;
}
.member article > b {
  color: var(#62a8c7);
}
.member h3 {
  margin: 0;
}
.member p {
  color: #52636a;
  line-height: 1.6;
}
.member aside {
  background: #f4cf55;
  color: #10252d;
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.member aside h2 {
  font-size: 40px;
  line-height: 1;
}
.member aside p {
  color: #10252d;
}
.member aside > a:not(.cta) {
  color: var(--yellow);
  font-weight: 800;
  margin: 18px 0;
}
.member aside small {
  color: #10252d;
}
.member aside .cta {
  background: #62a8c7;
  color: #ffffff;
}
.sourceText {
  margin-top: 50px;
  background: #fff;
  padding: 25px;
}
.sourceText summary {
  font-weight: 800;
}
.legal {
  max-width: 1100px;
  margin: auto;
}
.legal article {
  background: #fff;
  padding: clamp(25px, 6vw, 65px);
}
pre {
  font-family: "Inter", Arial, sans-serif;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
  word-break: break-word;
}
footer {
  background: var(--cream);
  color: #fff;
  padding: 55px clamp(22px, 8vw, 130px) 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
footer > b {
  font-size: 25px;
}
footer > span {
  color: #9dafb5;
}
footer div {
  grid-row: 1/3;
  grid-column: 2;
  display: flex;
  gap: 20px;
}
footer button {
  color: #fff;
}
footer small {
  grid-column: 1/-1;
  margin-top: 40px;
  border-top: 1px solid #1c3540;
  padding-top: 20px;
  color: #73888f;
}
@media (max-width: 850px) {
  .hamb {
    display: block;
  }
  .top nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
  }
  .top nav.open {
    display: flex;
  }
  .intro,
  .join,
  .member {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .values {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    gap: 0;
  }

  .values article {
    border: none;
    padding: 45px 30px;
    min-height: auto;
  }
  .pageTitle h1,
  .hero h1 {
    letter-spacing: -3px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer div {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    margin-top: 25px;
  }
}
@media (max-width: 520px) {
  .top {
    height: 72px;
  }
  .top nav {
    top: 72px;
  }
  .hero {
    height: calc(100svh - 72px);
  }
  .heroText {
    margin-left: 22px;
    margin-right: 22px;
  }
  .hero h1,
  .pageTitle h1 {
    font-size: clamp(40px, 13vw, 58px);
    letter-spacing: -2px;
    overflow-wrap: anywhere;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
    padding: 24px 20px;
  }
  .float-card {
    right: 22px;
    bottom: 22px;
    padding: 16px 20px;
  }
  .float-card strong {
    font-size: 30px;
  }
  .sectionTitle {
    align-items: start;
    flex-direction: column;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .member aside {
    padding: 28px 22px;
  }
}
.quote {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  padding: 45px;
  margin: 55px 0;
  background: var(--green);
  transform: rotate(-1deg);
}
.top a {
  text-decoration: none;
  color: inherit;
}
.sectionTitle > a {
  font-weight: 700;
  color: #526067;
  text-decoration: none;
}
.join a {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 17px 23px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 18px;
}
.legal article p {
  line-height: 1.7;
}
.hidden {
  display: none !important;
}
@media (max-width: 850px) {
  .top nav a {
    padding: 10px 0;
  }
}

/* Bildmarke und Fotobereich */
.top {
  height: 96px;
}
.brand {
  padding: 4px;
  gap: 0;
}
.brand img {
  display: block;
  width: 132px;
  height: 82px;
  object-fit: contain;
}
.brand i,
.brand span {
  display: none;
}
.hero {
  height: calc(100svh - 96px);
}
.hero > img {
  object-position: center 42%;
}
.life {
  background: var(--cream);
}
.life .sectionTitle > p {
  max-width: 560px;
  line-height: 1.7;
  color: #52636a;
}
.photoGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.photoGrid figure {
  position: relative;
  margin: 0;
  height: 430px;
  overflow: hidden;
  background: var(--ink);
}
.photoGrid .photoWide {
  grid-column: 1/-1;
  height: 500px;
}
.photoGrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.photoGrid figure:hover img {
  transform: scale(1.02);
}
.photoGrid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 24px 20px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(5, 25, 33, 0.82));
}
footer > img {
  width: 150px;
  height: 115px;
  object-fit: contain;
  border-radius: 2px;
  padding: 5px;
}
footer > b {
  display: none;
}
@media (max-width: 850px) {
  .top nav {
    top: 96px;
  }
  .photoGrid {
    grid-template-columns: 1fr;
  }
  .photoGrid .photoWide {
    grid-column: auto;
  }
  .photoGrid figure,
  .photoGrid .photoWide {
    height: 360px;
  }
}
@media (max-width: 520px) {
  .top {
    height: 82px;
  }
  .brand img {
    width: 108px;
    height: 70px;
  }
  .top nav {
    top: 82px;
  }
  .hero {
    height: calc(100svh - 82px);
  }
  .photoGrid figure,
  .photoGrid .photoWide {
    height: 280px;
  }
}

/* Kontaktformular */
.contactPage {
  max-width: 1100px;
  margin: auto;
}
.contactPage .pageTitle > p:not(.kicker) {
  font-size: 18px;
  line-height: 1.6;
  color: #52636a;
  margin: 8px 0;
}
.contactPage .pageTitle a,
.contactForm a {
  color: var(--blue);
}
.contactForm {
  background: #fff;
  padding: clamp(24px, 5vw, 58px);
  box-shadow: 0 12px 30px #10252d0d;
}
.contactForm > label,
.formGrid label,
.captchaBox label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  font-weight: 700;
}
.contactForm label span b {
  color: var(--red);
}
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #bfcac6;
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}
.contactForm input:focus,
.contactForm textarea:focus {
  outline: 3px solid #087db633;
  border-color: var(--blue);
}
.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.consent {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px !important;
  font-weight: 400 !important;
}
.consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
.captchaBox {
  background: var(--cream);
  border-left: 5px solid var(--yellow);
  padding: 22px;
  margin: 28px 0;
}
.captchaBox label {
  max-width: 360px;
  margin-bottom: 8px;
}
.captchaBox small {
  color: #5a686e;
}
.requiredHint {
  font-size: 13px;
  color: #68777d;
}
.submitButton {
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 17px 24px;
  font-weight: 800;
}
.submitButton:hover {
  background: #b91f28;
}
.formNotice {
  padding: 24px;
  margin-bottom: 24px;
}
.formNotice h2 {
  margin-top: 0;
}
.formNotice.success {
  background: #ddf5e7;
  border-left: 5px solid var(--green);
}
.formNotice.error {
  background: #ffe5e7;
  border-left: 5px solid var(--red);
}
.trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.top nav a.active {
  color: var(--red);
}

/* Bilderkarussell in den Beiträgen */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel-track img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 420px;
  object-fit: cover;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 37, 45, 0.75);
  font-size: 24px;
  line-height: 44px;
  cursor: pointer;
}
.carousel-prev {
  left: 12px;
}
.carousel-next {
  right: 12px;
}
.carousel-prev:hover,
.carousel-next:hover,
.carousel-prev:focus-visible,
.carousel-next:focus-visible {
  background: rgba(16, 37, 45, 0.95);
}
@media (max-width: 600px) {
  .carousel-track img {
    height: 260px;
  }
}

@media (max-width: 700px) {
  .formGrid {
    grid-template-columns: 1fr;
  }
}
