:root {
  --bg: #0f5f96;
  --surface: #ffffff;
  --surface-strong: #179fdb;
  --surface-soft: #0f5f96;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.16);
  --blue: #179fdb;
  --blue-deep: #0f5f96;
  --blue-soft: #179fdb;
  --red: #d50e1d;
  --red-deep: #ac0c18;
  --shadow: 0 22px 60px rgba(7, 36, 72, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #179fdb 0, #179fdb 162px, #0f5f96 162px, #0f5f96 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: #179fdb;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.site-header__inner,
.hero__content,
.home-panels,
.news-strip,
.content-wrap,
.page-hero,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  justify-content: space-between;
  position: relative;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-brand__logo {
  width: 58px;
  height: auto;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.site-brand__text strong,
.hero h1,
.page-hero h1,
.section-heading h2,
.panel h2,
.post-card h2,
.post-card h3,
.content-card h1,
.content-card h2,
.content-card h3,
.site-nav__link {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.01em;
}

.site-brand__text strong {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 0.98;
  white-space: normal;
}

.site-brand__text span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.1;
}

.site-header__toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: space-between;
}

.site-nav__list,
.sub-menu,
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  justify-content: center;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.72rem 0.78rem;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  font-size: 1.02rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav__item:hover > .site-nav__link,
.site-nav__item.current-menu-item > .site-nav__link,
.site-nav__item.current-menu-ancestor > .site-nav__link {
  background: rgba(15, 95, 150, 0.22);
  color: #fff;
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 240px;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(10, 35, 66, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav__item:hover > .sub-menu,
.site-nav__item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav__meta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-nav__mail {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: #0f5f96;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.hero {
  position: relative;
  padding: 5rem 0 2rem;
}

.hero__backdrop {
  width: min(calc(100% - 2rem), var(--max));
  height: 560px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(15, 95, 150, 0.92), rgba(15, 95, 150, 0.84)),
    url('/wp-content/uploads/branding/banner.png') center/cover no-repeat;
  box-shadow: none;
}

.hero__content {
  margin-top: -430px;
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 4rem 3.5rem;
}

.hero__eyebrow,
.section-kicker {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  max-width: 11ch;
  margin: 1rem 0 0.8rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
}

.hero__lead,
.page-hero__lead {
  max-width: 54rem;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.button--primary {
  background: #179fdb;
  color: #fff;
  box-shadow: none;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.home-panels,
.news-strip,
.content-wrap {
  margin-bottom: 2rem;
}

.panel,
.content-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.panel--light,
.content-card {
  background: #0f5f96;
  color: #fff;
}

.panel--dark {
  background: #0f5f96;
  color: #fff;
}

.panel + .panel {
  margin-top: 1.3rem;
}

.panel__intro {
  margin-bottom: 1.5rem;
}

.panel h2,
.section-heading h2,
.content-card h1,
.content-card h2 {
  margin: 0.45rem 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.info-grid,
.post-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.post-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  text-decoration: none;
}

.info-card {
  min-height: 220px;
  background: rgba(23, 159, 219, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.info-card--accent {
  background: #179fdb;
  color: #fff;
}

.info-card__label,
.post-card__meta {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.info-card--accent .info-card__label,
.panel--dark .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.info-card strong,
.feature-chip,
.post-card h2,
.post-card h3 {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.5rem;
  line-height: 1;
}

.feature-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: flex-start;
}

.feature-chip {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.panel__split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}

.news-strip {
  padding: 0 0 1rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.post-card {
  background: rgba(255, 255, 255, 0.96);
  color: #0f2340;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  overflow: hidden;
}

.post-card__media {
  display: block;
  margin: -1.4rem -1.4rem 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-soft);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.afd-enkreis-card__media img,
.afd-member-card__media img,
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card a {
  text-decoration: none;
}

.post-grid--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero {
  padding: 2.2rem 0 0.35rem;
  color: #fff;
  position: relative;
  overflow: visible;
}

.page-hero::before {
  content: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  margin-left: 0.2rem;
}

.page-hero h1 {
  max-width: none;
  margin-top: 0.8rem;
  margin-bottom: 0.45rem;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.page-hero .section-kicker {
  margin-top: 0;
}

.content-card {
  line-height: 1.75;
  font-size: 1.08rem;
}

.content-card--article {
  max-width: 860px;
}

.content-card a:not(.button) {
  color: #8ad9ff;
}

.content-card ul {
  padding-left: 1.2rem;
}

.legal-copy {
  display: grid;
  gap: 1.1rem;
}

.legal-copy > :first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  font-size: 1.04rem;
  line-height: 1.8;
}

.legal-copy h2,
.legal-copy h3,
.legal-copy h4 {
  color: #fff;
  line-height: 1.2;
}

.legal-copy h2 {
  margin-top: 2.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-copy h3 {
  margin-top: 1.7rem;
}

.legal-copy h4 {
  margin-top: 1.2rem;
}

.legal-copy ul,
.legal-copy ol {
  margin: 0.3rem 0 0.8rem 1.35rem;
  padding: 0;
}

.legal-copy a {
  color: #8ad9ff;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

body.page-id-28 .content-card,
body.page-id-29 .content-card,
body.page-id-27 .content-card {
  background: #0f5f96;
  color: #ffffff;
}

body.page-id-28 .content-card h1,
body.page-id-28 .content-card h2,
body.page-id-28 .content-card h3,
body.page-id-28 .content-card h4,
body.page-id-29 .content-card h1,
body.page-id-29 .content-card h2,
body.page-id-29 .content-card h3,
body.page-id-29 .content-card h4,
body.page-id-27 .content-card h1,
body.page-id-27 .content-card h2,
body.page-id-27 .content-card h3,
body.page-id-27 .content-card h4,
body.page-id-28 .legal-copy h2,
body.page-id-28 .legal-copy h3,
body.page-id-28 .legal-copy h4,
body.page-id-29 .legal-copy h2,
body.page-id-29 .legal-copy h3,
body.page-id-29 .legal-copy h4 {
  color: #ffffff;
}

body.page-id-28 .content-card p,
body.page-id-28 .content-card li,
body.page-id-29 .content-card p,
body.page-id-29 .content-card li,
body.page-id-27 .content-card p,
body.page-id-27 .content-card li {
  color: rgba(255, 255, 255, 0.86);
}

body.page-id-28 .content-card a:not(.button),
body.page-id-29 .content-card a:not(.button),
body.page-id-27 .content-card a:not(.button),
body.page-id-28 .legal-copy a,
body.page-id-29 .legal-copy a {
  color: #8ad9ff;
}

body.page-id-28 .legal-copy h2,
body.page-id-29 .legal-copy h2 {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.6rem;
  margin-top: 1.4rem;
}

.contact-panel,
.contact-form-shell {
  border-radius: 28px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
}

.contact-panel h2,
.contact-form-shell h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.contact-intro {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-points + .contact-intro {
  margin-top: 1.1rem;
}

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-point {
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-point strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.contact-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.contact-point a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.contact-form-shell {
  background: rgba(8, 30, 54, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-form-shell > p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-form-shell .wpcf7 {
  margin-top: 1rem;
}

.contact-form-shell label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.contact-form-shell .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.45rem;
}

.contact-form-shell input[type="text"],
.contact-form-shell input[type="email"],
.contact-form-shell textarea {
  width: 100%;
  padding: 0.98rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #0f2340;
  font: inherit;
}

.contact-form-shell textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-shell input[type="submit"] {
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #179fdb;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(23, 159, 219, 0.24);
}

.contact-form-shell .wpcf7-spinner {
  margin: 0.6rem 0 0 0.6rem;
}

.contact-form-shell .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  border-radius: 16px;
  color: #fff;
}

@media (max-width: 920px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 3rem;
  padding: 2.6rem 0 0;
  background: #0f5f96;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  background: #179fdb;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.article-hero-image {
  margin: -2.4rem -2.4rem 1.5rem;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--blue-soft);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-nav__link,
.site-footer__contact a {
  color: #fff;
  text-decoration: none;
}

.site-footer__contact .afd-manage-consent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 95, 150, 0.25);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.afd-cookie-banner[hidden],
.afd-cookie-modal[hidden] {
  display: none !important;
}

.afd-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
}

.afd-cookie-banner__inner {
  width: min(calc(100% - 0rem), 1180px);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  background: rgba(8, 30, 54, 0.96);
  color: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.afd-cookie-banner__copy p,
.afd-cookie-option p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.afd-cookie-banner__copy a {
  color: #8ad9ff;
}

.afd-cookie-banner__actions,
.afd-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.afd-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.afd-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 24, 0.72);
}

.afd-cookie-modal__dialog {
  position: relative;
  width: min(calc(100% - 2rem), 720px);
  margin: 8vh auto 0;
  padding: 1.5rem;
  border-radius: 24px;
  background: #0f5f96;
  color: #fff;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.afd-cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.afd-cookie-modal__header h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
}

.afd-cookie-modal__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.afd-cookie-modal__content {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.afd-cookie-option {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.afd-cookie-option strong {
  display: block;
}

.afd-cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: #179fdb;
}

.afd-cookie-option__state {
  color: #8ad9ff;
  font-weight: 700;
  white-space: nowrap;
}

.afd-cookie-modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .site-header__toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(6, 30, 58, 0.98);
    box-shadow: var(--shadow);
    margin-left: 0;
    gap: 0.8rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list,
  .panel__split,
  .info-grid,
  .post-grid,
  .post-grid--archive,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-nav__list {
    display: grid;
    gap: 0.25rem;
    justify-content: stretch;
  }

  .site-nav .sub-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.35rem;
    padding: 0.35rem 0 0.35rem 0.8rem;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
  }

  .site-nav .menu-item-has-children.is-submenu-open > .sub-menu,
  .site-nav .menu-item-has-children.current-menu-ancestor > .sub-menu,
  .site-nav .menu-item-has-children.current-menu-item > .sub-menu {
    display: block;
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    position: relative;
    z-index: 2;
  }

  .site-nav__meta {
    display: block;
  }

  .site-nav__mail {
    display: block;
    width: 100%;
    white-space: normal;
    border-radius: 18px;
    padding: 0.9rem 1rem;
  }

  .hero__backdrop {
    height: 500px;
  }

  .hero__content {
    margin-top: -390px;
    padding: 0 1.4rem 2.6rem;
  }

  .page-hero > * {
    width: 100%;
    margin-left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .hero__content,
  .home-panels,
  .news-strip,
  .content-wrap,
  .page-hero,
  .site-footer__inner {
    width: min(calc(100% - 1rem), var(--max));
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__backdrop {
    height: 360px;
    border-radius: 24px;
  }

  .hero__content {
    margin-top: -290px;
    padding: 0 0.35rem 1.6rem;
  }

  .site-header__inner {
    min-height: 74px;
    gap: 0.65rem;
  }

  .site-brand {
    min-width: 0;
    gap: 0.6rem;
  }

  .site-brand__logo {
    width: 44px;
    flex: 0 0 auto;
  }

  .site-brand__text {
    min-width: 0;
  }

  .site-brand__text strong {
    font-size: 1.1rem;
    line-height: 1.02;
  }

  .site-brand__text span {
    font-size: 0.78rem;
  }

  .page-hero::before {
    height: 340px;
    margin-bottom: -285px;
  }

  .page-hero > * {
    margin-left: 0;
  }

  .page-hero {
    padding-top: 1.55rem;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    line-height: 0.95;
  }

  .page-hero__lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .section-kicker,
  .hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.42rem 0.72rem;
  }

  .panel,
  .content-card,
  .contact-panel,
  .contact-form-shell,
  .site-footer__inner {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .content-card,
  .contact-form-shell,
  .contact-panel {
    font-size: 1rem;
  }

  .post-card {
    padding: 1rem;
  }

  .post-card__media {
    margin: -1rem -1rem 0.9rem;
  }

  .contact-form-shell textarea {
    min-height: 150px;
  }

  .button,
  .contact-form-shell input[type="submit"] {
    width: 100%;
  }

  .site-footer {
    padding-top: 1rem;
  }

  .afd-cookie-banner__inner,
  .afd-cookie-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .afd-cookie-modal__dialog {
    margin-top: 4vh;
    padding: 1.1rem;
  }
}

@media (max-width: 420px) {
  .site-header__inner,
  .hero__content,
  .home-panels,
  .news-strip,
  .content-wrap,
  .page-hero,
  .site-footer__inner {
    width: min(calc(100% - 0.75rem), var(--max));
  }

  .site-brand__text strong {
    font-size: 0.98rem;
  }

  .site-brand__text span {
    font-size: 0.72rem;
  }

  .site-header__toggle {
    width: 44px;
    height: 44px;
  }

  .hero__content {
    margin-top: -265px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .panel h2,
  .section-heading h2,
  .content-card h1,
  .content-card h2,
  .contact-panel h2,
  .contact-form-shell h2 {
    font-size: 1.85rem;
  }
}
