/* =================================================================
   MA-CH – Mobilitäts ARchiv Schweiz
   Homepage stylesheet
   Referenz-Layout: 1440 px Viewport, 1358 px Inhaltsbreite
   ================================================================= */

/* ---------------------------- Tokens ---------------------------- */
:root {
  --navy:        #002b4d;   /* Headlines, Navigation                */
  --navy-btn:    #033b60;   /* Button-Fläche                        */
  --navy-deep:   #023459;   /* Footer                               */
  --red:         #e52d3b;   /* Akzent: Unterstriche, Pfeile, Dot    */
  --text:        #6e7378;   /* Fliesstext                           */
  --text-mute:   #8a9099;   /* Datum                                */
  --bg:          #ecedf2;   /* Seitenhintergrund                    */
  --bg-header:   #edeef3;   /* Kopfzeile                            */
  --band:        #dbdee3;   /* «Über MA-CH»-Band                    */
  --rule:        #c9ccd4;   /* Trennlinien hell                     */
  --rule-soft:   #b9bec7;   /* Kicker-Strich                        */

  --wrap:        1440px;    /* Container inkl. Padding              */
  --gutter:      41px;

  --ease:        cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Source Sans Pro", -apple-system,
               BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.71;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, address, figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------------------------- Layout ---------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------ Typo-Bausteine ------------------------ */
.kicker {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.4;
}
.kicker::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 15px;
  background: var(--rule-soft);
}
.kicker--hero {
  letter-spacing: .17em;
  margin-bottom: 32px;
}
.kicker--hero::after { display: none; }
.kicker--section { margin-bottom: 20px; }

.h2 {
  font-size: 32px;
  line-height: 1.17;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.005em;
  margin: 42px 0 25px;
}
.h2--lg { font-size: 44px; line-height: 1.14; }
.h2--flush { margin-top: 0; }

.text { max-width: 36ch; }
.text--sm { font-size: 17px; line-height: 1.6; }

/* Link mit rotem Unterstrich */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.link-underline:hover { color: var(--red); }
.link-underline--arrow:hover { gap: 22px; }

.arrow { width: 9px; height: 13px; color: var(--red); flex: none; }
.arrow--solo { width: 11px; height: 16px; }

/* Buttons */
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 17px 27px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color .25s var(--ease);
}
.btn--navy { background: var(--navy-btn); color: #fff; }
.btn--navy:hover { background: #01507f; }

.btn-row { display: flex; align-items: center; gap: 22px; }
.btn-row .arrow { transition: transform .25s var(--ease); }
.btn-row:hover .arrow { transform: translateX(5px); }

/* ---------------------------- Header ---------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-header);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 2px 20px rgba(0, 43, 77, .12); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 129px;
}

.logo { flex: none; }
.logo img, .logo svg { width: 229px; height: auto; display: block; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 49px; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  position: relative;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__chevron { width: 12px; height: 8px; transition: transform .25s var(--ease); }
.nav__item--has-sub:hover .nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.subnav {
  position: absolute;
  top: calc(100% + 16px);
  left: -22px;
  min-width: 250px;
  padding: 9px 0;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 43, 77, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item--has-sub:hover .subnav,
.nav__item--has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav a {
  display: block;
  padding: 10px 26px;
  font-size: 15.5px;
  color: var(--navy);
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.subnav a:hover { background: #f2f4f7; padding-left: 32px; }

.search-btn {
  flex: none;
  margin-left: 57px;
  padding: 6px;
  color: var(--navy);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.search-btn svg { width: 25px; height: 25px; display: block; }
.search-btn:hover { color: var(--red); transform: scale(1.08); }

/* Suchleiste */
.search { border-top: 1px solid rgba(0, 43, 77, .1); background: var(--bg-header); }
.search__inner { padding-block: 26px; }
.search__form { display: flex; align-items: center; gap: 16px; }
.search__icon { width: 22px; height: 22px; color: var(--navy); flex: none; }
.search__form input {
  flex: 1;
  min-width: 0;
  padding: 13px 4px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font: inherit;
  font-size: 19px;
  color: var(--navy);
}
.search__form input::placeholder { color: #989ea6; }
.search__form input:focus { outline: none; border-bottom-color: var(--red); }

/* Burger */
.burger { display: none; flex: none; width: 30px; height: 22px; position: relative; }
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
.burger.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 603px;
  display: flex;
  align-items: flex-start;
  padding-top: 81px;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: no-repeat 33% center / cover;
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(236, 238, 243, .99)   0%,
      rgba(236, 238, 243, .97)  24%,
      rgba(236, 238, 243, .80)  38%,
      rgba(236, 238, 243, .30)  52%,
      rgba(236, 238, 243, 0)    66%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__slides { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
  pointer-events: none;
}
.hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.hero__title {
  font-size: 58px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -.014em;
  color: var(--navy);
  margin-bottom: 55px;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  padding: 0;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.hero__dot:hover { transform: scale(1.35); }
.hero__dot.is-active { background: var(--red); box-shadow: none; }

/* ----------------------------- News ----------------------------- */
.news { padding: 53px 0 82px; }

.news__top {
  display: grid;
  grid-template-columns: 238fr 469fr 328fr;
  column-gap: 47px;
  align-items: start;
}

.news__col--rule {
  border-left: 1px solid var(--rule);
  padding-left: 18px;
  align-self: stretch;
  display: flex;
}

.news__figure { overflow: hidden; }
.news__figure img { width: 100%; transition: transform .8s var(--ease); }
.news__figure:hover img { transform: scale(1.04); }

.news__col .link-underline { margin-top: 50px; }
.news__col .btn-row { margin-top: 48px; }

/* Eyecatcher: dunkelblaue Box in der rechten Spalte */
.eyecatcher {
  flex: 1;
  background: var(--navy-deep);
  padding: 26px 32px 30px 32px;
}
.eyecatcher .kicker { color: #fff; }
.eyecatcher .kicker::after { background: rgba(255, 255, 255, .5); }
.eyecatcher .h2 { color: #fff; margin: 26px 0 15px; }
.eyecatcher .text { color: rgba(255, 255, 255, .86); max-width: 284px; }
.eyecatcher .link-underline { margin-top: 21px; color: #fff; }
.eyecatcher .link-underline:hover { color: var(--red); }

.kicker--section { margin-top: 39px; }

/* Karten */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 47px;
}

.card__media { display: block; overflow: hidden; margin-bottom: 25px; }
.card__media img {
  width: 100%;
  aspect-ratio: 330 / 165;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card__media:hover img { transform: scale(1.05); }

.card__date {
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
  line-height: 1.4;
}
.card__title {
  font-size: 25px;
  line-height: 1.26;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 9px;
}
.card__title a { transition: color .25s var(--ease); }
.card__title a:hover { color: var(--red); }
.card .text { max-width: none; margin-bottom: 15px; }

/* ---------------------------- Über ------------------------------ */
.about__band {
  background: var(--band);
  padding: 56px 25px 86px 60px;
  display: grid;
  grid-template-columns: 347fr 618fr;
  column-gap: 78px;
  align-items: start;
}
.about__text { padding-top: 22px; }
.about__text .h2 { margin: 44px 0 36px; }
.about__text .text { max-width: 40ch; }
.about__text .btn-row { margin-top: 42px; }

.about__figure { overflow: hidden; }
.about__figure img { width: 100%; transition: transform .9s var(--ease); }
.about__figure:hover img { transform: scale(1.03); }

/* --------------------------- Partner ---------------------------- */
.partners { padding: 78px 0 32px; }

.partners__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 24px;
  margin-top: 40px;
}
.partners__list img {
  height: 99px;
  width: auto;
  opacity: .92;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.partners__list a:hover img { opacity: 1; transform: translateY(-3px); }

/* ---------------------------- Footer ---------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .82);
  padding: 60px 0 52px;
  font-size: 17px;
  line-height: 1.76;
}

.footer__top {
  display: grid;
  grid-template-columns: 250fr 320fr 460fr 260fr;
  column-gap: 22px;
  align-items: start;
  padding-bottom: 24px;
}

.footer__brand img, .footer__brand svg { width: 209px; height: auto; display: block; margin-top: 2px; }

.footer__head {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}
.footer__col p { max-width: 33ch; }

.footer__contact { display: grid; grid-template-columns: auto auto; column-gap: 48px; }
.footer__contact address { white-space: nowrap; }
.footer__reach { display: flex; flex-direction: column; }
.footer__reach a { transition: color .25s var(--ease); }
.footer__reach a:hover { color: #fff; }

.footer__col--social { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 58px; }

.social { display: flex; gap: 19px; margin-top: 8px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { background: var(--red); transform: translateY(-3px); }
.social svg { width: 22px; height: 22px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 34px;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer__legal a { transition: color .25s var(--ease); }
.footer__legal a:hover { color: #fff; }

/* ================================================================
   INHALTSSEITEN
   ================================================================ */

/* Markenband über dem Seitenkopf – Strassenkurve aus dem Signet */
.page-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 290px;
  display: flex;
  align-items: center;
  padding: 54px 0;
}
.page-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/swoosh.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 64%;
  opacity: .2;
  pointer-events: none;
}
.page-band__inner { position: relative; z-index: 2; width: 100%; }
.page-band .kicker { color: #fff; }
.page-band .page-head__title { color: #fff; margin-top: 0; }
.page-band .article__meta { color: rgba(255, 255, 255, .62); margin-bottom: 26px; }

/* Pro Bereich ein anderer Anschnitt der Kurve */
.page-band--news::after           { background-position: right 34%; transform: scaleY(-1); }
.page-band--mitgliedschaft::after { background-position: right 84%; }
.page-band--kontakt::after        { background-position: right 46%; }
.page-band--article::after        { background-position: right 72%; opacity: .15; }
.page-band--legal::after          { background-position: left  28%; transform: scaleY(-1); opacity: .12; }

/* Seitenkopf */
.page-head { padding: 74px 0 0; }
.page-band + .page-head { padding-top: 44px; }
.page-head__title {
  font-size: 44px;
  line-height: 1.14;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin: 30px 0 0;
  max-width: 20ch;
}
.page-head__lead {
  font-size: 19px;
  line-height: 1.68;
  margin-top: 26px;
  max-width: 62ch;
}
.page-head__lead:first-child { margin-top: 0; }

/* Bereichsnavigation (Über MA-CH) */
.subnav-bar {
  margin-top: 46px;
  border-bottom: 1px solid var(--rule);
}
.subnav-bar ul { display: flex; flex-wrap: wrap; gap: 40px; }
.subnav-bar a {
  display: block;
  position: relative;
  padding: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .25s var(--ease);
}
.subnav-bar a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.subnav-bar a:hover::after,
.subnav-bar a.is-active::after { transform: scaleX(1); }

/* Inhaltssektionen */
.section { padding: 74px 0; }
.section--tight { padding: 56px 0; }
.section--band { background: var(--band); }
.section + .section { padding-top: 0; }
.section--band + .section,
.section.section--band { padding-top: 74px; }

.split {
  display: grid;
  grid-template-columns: 238fr 47fr 1073fr;
  align-items: start;
}
.split > :first-child { grid-column: 1; }
.split > :last-child { grid-column: 3; }
.split__aside .kicker { position: sticky; top: 160px; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 47px; }

/* Fliesstext */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 24px; }
.prose h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  margin-top: 46px;
}
.prose h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 40px;
}
.prose strong { color: var(--navy); font-weight: 600; }
.prose a:not(.btn):not(.link-underline) {
  color: var(--navy);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}
.prose a:not(.btn):not(.link-underline):hover { color: var(--red); }
.prose ul { padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--red);
}
.prose dl { display: grid; grid-template-columns: 210px 1fr; gap: 14px 28px; }
.prose dt { color: var(--navy); font-weight: 600; }
.prose dd { margin: 0; }

/* Artikelnummerierung Statuten */
.articles { max-width: 70ch; }
.articles__item { border-top: 1px solid var(--rule); padding: 30px 0; }
.articles__item:last-child { border-bottom: 1px solid var(--rule); }
.articles__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}
.articles__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  margin: 8px 0 14px;
}
.articles__part {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--navy);
  margin: 64px 0 22px;
  scroll-margin-top: 150px;
}
.articles__part:first-child { margin-top: 0; }
.articles__part span { color: var(--red); }
.articles__item { scroll-margin-top: 150px; }
.articles__item > * + * { margin-top: 14px; }
.articles__item > .articles__title { margin-top: 8px; }
.articles__sub {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px !important;
}
.articles__list { padding-left: 26px; }
.articles__list > li { margin-top: 8px; padding-left: 6px; }
.articles__list > li::marker { color: var(--navy); font-weight: 600; }
.articles__list--alpha { list-style: lower-alpha; }
.articles__list li > .articles__list, .articles__list li > p { margin-top: 8px; }
.articles__list--bullet { list-style: none; padding-left: 0; }
.articles__list--bullet > li { position: relative; padding-left: 26px; }
.articles__list--bullet > li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--red);
}
.articles a { color: var(--navy); border-bottom: 1px solid var(--red); }
.articles__sign { border-top: 1px solid var(--rule); padding-top: 30px; margin-top: 30px; }
.articles__sign dl { display: flex; flex-wrap: wrap; gap: 14px 64px; margin-top: 18px; }
.articles__sign dt { color: var(--navy); font-weight: 600; }
.articles__sign dd { margin: 4px 0 0; }

/* Vorstand */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 47px 38px; }
.board__item { border-top: 2px solid var(--navy); padding-top: 22px; }
.board__role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}
.board__name {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  margin: 10px 0 12px;
}
.board__meta { font-size: 15.5px; }
.board__meta a { border-bottom: 1px solid var(--rule); }
.board__meta a:hover { color: var(--navy); border-bottom-color: var(--red); }

/* Faktenblöcke */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.facts__item { border-top: 1px solid var(--rule); padding-top: 24px; }
.facts__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 12px;
}
.facts__no {
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
  display: block;
  margin-bottom: 14px;
}
.facts__label { font-size: 15.5px; }

/* Aufmacher der Newsübersicht */
.feature {
  display: grid;
  grid-template-columns: 469fr 469fr;
  column-gap: 47px;
  align-items: center;
}
.feature__media { display: block; overflow: hidden; }
.feature__media img { width: 100%; transition: transform .8s var(--ease); }
.feature__media:hover img { transform: scale(1.04); }
.feature__body .card__tag { margin-bottom: 10px; }

/* Ablauf in Schritten */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  counter-reset: step;
}
.steps__item {
  counter-increment: step;
  border-top: 2px solid var(--navy);
  padding-top: 24px;
}
.steps__item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 18px;
}
.steps__title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.steps__text { font-size: 15.5px; }

/* Häufige Fragen */
.faq { max-width: 900px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 50px 24px 0;
  font-size: 19px;
  line-height: 1.45;
  color: var(--navy);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__body { padding: 0 50px 28px 0; max-width: 68ch; }
.faq__body > * + * { margin-top: 16px; }

/* Mitlaufendes Inhaltsverzeichnis */
.toc { position: sticky; top: 168px; }
.toc__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.toc li + li { margin-top: 4px; }
.toc a {
  display: block;
  padding: 6px 0 6px 16px;
  border-left: 2px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.45;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.toc a:hover { color: var(--navy); border-left-color: var(--red); }

/* Statement / Zitat */
.statement {
  border-top: 2px solid var(--navy);
  padding-top: 34px;
  max-width: 24ch;
}
.statement blockquote {
  margin: 0;
  font-size: 30px;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -.005em;
}
.statement figcaption {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}

/* Newsübersicht */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 47px; }
.filter {
  padding: 11px 20px;
  border: 1px solid var(--rule);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--navy);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.card__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.card[hidden] { display: none; }
.cards--page { row-gap: 62px; }

/* Artikel */
.article { max-width: 72ch; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.article__figure { margin: 47px 0; }
.article__figure img { width: 100%; }
.article__figure figcaption { font-size: 14px; margin-top: 14px; color: var(--text-mute); }
.article__back { margin-top: 56px; }

/* Formulare */
.form { max-width: 780px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.field--full { grid-column: 1 / -1; }

.field label:not(.check),
.fieldset__legend {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.req { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(2, 52, 89, .12);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }
.field__hint { font-size: 14px; margin-top: 8px; }

.fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: grid; gap: 12px; }
.choice,
.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  cursor: pointer;
}
.choice input,
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--navy-deep);
}
.choice { border: 1px solid var(--rule); padding: 16px 18px; background: #fff; transition: border-color .2s var(--ease); }
.choice:hover { border-color: var(--navy); }
.choice span b { color: var(--navy); font-weight: 600; display: block; }

.form__actions { display: flex; align-items: center; gap: 22px; margin-top: 38px; }

.form__note {
  margin-top: 26px;
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  background: #fff;
  font-size: 15.5px;
}
.form__note[hidden] { display: none; }
.form__note strong { color: var(--navy); }

/* Kontaktkarte */
.infocard { background: var(--navy-deep); color: rgba(255, 255, 255, .86); padding: 40px 38px; }
.infocard .kicker { color: #fff; }
.infocard .kicker::after { background: rgba(255, 255, 255, .5); }
.infocard h2 { color: #fff; }
.infocard a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.infocard a:hover { border-bottom-color: var(--red); }
.infocard dl { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 32px 0 0; }
.infocard dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}
.infocard dd { margin: 0; }

/* CTA-Streifen */
.cta-strip {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .86);
  padding: 62px 0;
}
.cta-strip .kicker { color: #fff; }
.cta-strip .kicker::after { background: rgba(255, 255, 255, .5); }
.cta-strip .h2 { color: #fff; }
.cta-strip .link-underline { color: #fff; }
.cta-strip .link-underline:hover { color: var(--red); }
.cta-strip__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }

/* ------------------------ Scroll-Reveal ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------- Responsive -------------------------- */
@media (max-width: 1340px) {
  :root { --gutter: 34px; }
  .nav__list { gap: 34px; }
  .search-btn { margin-left: 34px; }
  .hero__title { font-size: 52px; }
  .h2--lg { font-size: 38px; }
}

@media (max-width: 1120px) {
  .news__top { column-gap: 32px; }
  .btn { padding: 15px 20px 14px; font-size: 12px; letter-spacing: .1em; }
  .btn-row { gap: 16px; }
  .news__col--rule { padding-left: 14px; }
  .eyecatcher { padding: 24px 32px 28px 28px; }
  .header__inner { height: 108px; }
  .logo img, .logo svg { width: 196px; }
  .nav__list { gap: 26px; }
  .nav__link { font-size: 13.5px; letter-spacing: .08em; }
  .search-btn { margin-left: 24px; }
  .hero { min-height: 500px; }
  .hero__title { font-size: 45px; }
  body { font-size: 15px; }
  .h2 { font-size: 28px; }
  .h2--lg { font-size: 34px; }
  .card__title { font-size: 20px; }
  .footer { font-size: 15.5px; }
  .footer__head { font-size: 15.5px; }
}

@media (max-width: 940px) {
  :root { --gutter: 26px; }

  .page-head { padding-top: 52px; }
  .page-band { min-height: 220px; padding: 40px 0; }
  .page-band + .page-head { padding-top: 32px; }
  .feature { grid-template-columns: 1fr; row-gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .statement { max-width: none; }
  .statement blockquote { font-size: 24px; }
  .page-head__title { font-size: 34px; }
  .page-head__lead { font-size: 17px; }
  .section { padding: 54px 0; }
  .section--band { padding-top: 54px; }
  .split { grid-template-columns: 1fr; row-gap: 30px; }
  .split > :first-child, .split > :last-child { grid-column: 1; }
  .split__aside .kicker { position: static; }
  .cols-2 { grid-template-columns: 1fr; gap: 34px; }
  .board { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .facts { grid-template-columns: 1fr; gap: 26px; }
  .prose dl { grid-template-columns: 1fr; gap: 4px 0; }
  .prose dt { margin-top: 14px; }
  .cta-strip__inner { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .infocard { padding: 34px 28px; }

  .header__inner { height: 84px; }
  .logo img, .logo svg { width: 168px; }
  .burger { display: block; }
  .search-btn { margin-left: auto; }

  .nav {
    position: fixed;
    inset: 84px 0 auto;
    margin: 0;
    background: var(--bg-header);
    box-shadow: 0 18px 34px rgba(0, 43, 77, .14);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 26px 22px; }
  .nav__link { padding: 15px 0; font-size: 14.5px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--red); }
  .subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 10px 14px;
    min-width: 0;
  }
  .subnav a { padding: 7px 0; }

  .hero { min-height: 430px; }
  .hero__title { font-size: 38px; margin-bottom: 40px; }
  .hero__veil {
    background: linear-gradient(90deg,
      rgba(236,238,243,.98) 0%, rgba(236,238,243,.92) 46%,
      rgba(236,238,243,.5) 72%, rgba(236,238,243,.1) 100%);
  }
  .hero__dots { right: 16px; }

  .news { padding: 62px 0 66px; }
  .news__top { grid-template-columns: 1fr; row-gap: 46px; }
  .news__col--rule { border-left: 0; padding-left: 0; }
  .news__figure { order: -1; }
  .text { max-width: 54ch; }
  .kicker--section { margin-top: 56px; }

  .cards { grid-template-columns: 1fr 1fr; gap: 36px; }

  .about__band { grid-template-columns: 1fr; padding: 40px 26px 46px; row-gap: 34px; }
  .about__figure { order: -1; }

  .partners { padding: 56px 0 60px; }
  .partners__list img { height: 48px; }

  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__col--social { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .page-head__title { font-size: 28px; }
  .page-band { min-height: 180px; padding: 32px 0; }
  .faq summary { font-size: 17px; }
  .form__grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .subnav-bar ul { gap: 22px; }
  .form__actions { flex-wrap: wrap; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  body { font-size: 15px; }

  .hero { min-height: 400px; padding: 54px 0; }
  .hero__title { font-size: 31px; margin-bottom: 34px; }
  .kicker { font-size: 12px; }
  .kicker--hero { margin-bottom: 20px; }

  .h2, .h2--lg { font-size: 26px; }
  .card__title { font-size: 19px; }

  .cards { grid-template-columns: 1fr; gap: 42px; }
  .partners__list { justify-content: center; gap: 32px 36px; }
  .partners__list img { height: 40px; }

  .footer { font-size: 15px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__contact { grid-template-columns: 1fr; row-gap: 14px; }
  .footer__contact address { white-space: normal; }
  .search__form input { font-size: 16px; }
}

/* ------------------------------------------------------------------
   Startseite: Kopfzeile liegt transparent über dem Hero-Bild und
   erhält ihren Hintergrund erst beim Scrollen (Klasse is-stuck).
   Der negative Aussenabstand entspricht der Höhe der Kopfzeile.
   ------------------------------------------------------------------ */
.page-home .header {
  background: transparent;
  margin-bottom: -129px;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.page-home .header.is-stuck { background: var(--bg-header); }
.page-home .hero { padding-top: calc(81px + 129px); min-height: calc(603px + 129px); }

@media (max-width: 1120px) {
  .page-home .header { margin-bottom: -108px; }
  .page-home .hero { padding-top: calc(81px + 108px); min-height: calc(500px + 108px); }
}
@media (max-width: 940px) {
  .page-home .header { margin-bottom: -84px; }
  .page-home .hero { padding-top: calc(81px + 84px); min-height: calc(430px + 84px); }
}
@media (max-width: 620px) {
  .page-home .hero { padding: calc(54px + 84px) 0 54px; min-height: calc(400px + 84px); }
}

/* Startseite: sanfter weisser Glow für die Hauptnavigation (nicht im Dropdown,
   nicht im mobilen Menü) – verbessert die Lesbarkeit über dem Hero-Bild. */
@media (min-width: 941px) {
  .page-home .nav__link {
    text-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 14px rgba(255, 255, 255, .7);
  }
  .page-home .nav__chevron {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9));
  }
}

/* Seitenkopf mit Call-to-Action rechts neben dem Einleitungstext (Mitgliedschaft) */
.page-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px 56px;
}
.page-head__cta { flex: none; }
@media (max-width: 940px) {
  .page-head__row { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   WordPress-Ergänzungen
   ================================================================= */

/* Kopfzeile unter der Admin-Leiste (nur für angemeldete Personen) */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Bilder im Blockeditor (News) wie .article__figure */
.article .wp-block-image { margin: 47px 0; }
.article .wp-block-image img { width: 100%; height: auto; }
.article .wp-block-image figcaption,
.article .wp-element-caption { font-size: 14px; margin-top: 14px; color: var(--text-mute); }
.article .wp-block-quote { border-left: 2px solid var(--red); padding-left: 24px; color: var(--navy); }
.article .wp-block-separator { border: 0; border-top: 1px solid var(--rule); }
.article .wp-block-embed iframe { width: 100%; }
.article ol { padding-left: 26px; }

/* Statuten: Text aus dem Editor (ohne eigene Klassen) */
.articles__item ol { padding-left: 26px; }
.articles__item ol > li { margin-top: 8px; padding-left: 6px; }
.articles__item ol > li::marker { color: var(--navy); font-weight: 600; }
.articles__item ol[type="a"] { list-style-type: lower-alpha; }
.articles__item li > ol, .articles__item li > ul, .articles__item li > p { margin-top: 8px; }
.articles__item ul { list-style: none; padding-left: 0; }
.articles__item ul > li { position: relative; padding-left: 26px; margin-top: 8px; }
.articles__item ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--red);
}
.articles__item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
}

/* Suchseite */
.search-results .search__form, .section .search__form input[type="search"] { font: inherit; }

/* Links in den Spalten («Wie können wir helfen?») */
.facts__label a { color: var(--navy); border-bottom: 1px solid var(--red); }
.facts__label a:hover { color: var(--red); }

/* Bilder aus dem klassischen Editor (News) wie .article__figure */
.article .wp-caption { width: auto !important; max-width: 100%; margin: 47px 0; }
.article .wp-caption img,
.article p > img.size-large,
.article p > img.size-full { width: 100%; height: auto; }
.article .wp-caption-text { font-size: 14px; margin-top: 14px; color: var(--text-mute); }
.article .alignleft { float: left; margin: 6px 28px 16px 0; max-width: 50%; }
.article .alignright { float: right; margin: 6px 0 16px 28px; max-width: 50%; }
.article .aligncenter { margin-inline: auto; }
.article blockquote { border-left: 2px solid var(--red); padding-left: 24px; margin: 0; color: var(--navy); }

/* News: Titel ohne erzwungene Umbrüche dürfen breiter laufen als die kurzen Seitentitel */
.page-band--article .page-head__title { max-width: 30ch; }

/* Cookie-Hinweis */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 -4px 24px rgba(0, 43, 77, .18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  padding-block: 22px;
}
.consent__text { font-size: 15px; line-height: 1.6; max-width: 78ch; }
.consent__text a { color: #fff; border-bottom: 1px solid var(--red); white-space: nowrap; }
.consent__actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent__btn {
  min-width: 138px;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.consent__btn:hover { background: rgba(255, 255, 255, .12); }
.consent__btn--yes { background: #fff; color: var(--navy); border-color: #fff; }
.consent__btn--yes:hover { background: var(--bg); }
.footer__consent {
  font: inherit;
  color: inherit;
  margin-left: 22px;
  padding: 0;
  opacity: .9;
}
.footer__consent:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .consent__inner { flex-direction: column; align-items: stretch; }
  .consent__actions .consent__btn { flex: 1; min-width: 0; }
}

/* Formular: Erfolgsmeldung grün (Fehler bleiben rot) */
.form__note--ok { border-left-color: #2e8540; background: #eef7f0; }
.form__note--ok strong { color: #1e5c2c; }

/* Verborgene E-Mail-Adressen: Text steht rückwärts im Quelltext */
.mail-rev { unicode-bidi: bidi-override; direction: rtl; }

/* Rückmeldung steht über den Formularfeldern */
.form > .form__note { margin: 0 0 30px; }
