/**
 * Theme Name: SB Base FG
 * Theme URI: https://sbdruck.com
 * Description: Projektspezifischer, updatefester Seitenrahmen für Friedliches Geiselhöring auf SB Base.
 * Author: SBDruck / Siegfried Birl
 * Template: sb-base-theme
 * Version: 0.1.29
 * Requires at least: 6.6
 * Requires PHP: 8.0
 * Text Domain: sb-base-fg
 */

@font-face {
  font-family: "FG Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/oswald-300.ttf") format("truetype");
}

@font-face {
  font-family: "FG Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/open-sans-normal-latin.woff2") format("woff2");
}

/* Rechtstexte und Kalenderarchiv. */
.fg-legal-hero .sb-base-module-hero__inner,
.fg-calendar-hero .sb-base-module-hero__inner {
  min-height: clamp(300px, 38vw, 430px);
}

.fg-legal-hero .sb-base-module-hero__copy,
.fg-calendar-hero .sb-base-module-hero__copy {
  box-sizing: border-box;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(3.75rem, 7vw, 6rem) 1.5rem;
}

.fg-legal-hero .sb-base-module-hero__copy h1,
.fg-calendar-hero .sb-base-module-hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
}

.fg-legal-section {
  background:
    radial-gradient(circle at 92% 8%, rgb(8 127 145 / 8%), transparent 26rem),
    #f3f7f8 !important;
}

.fg-legal-copy,
.fg-privacy-review-note {
  border: 1px solid rgb(17 24 32 / 9%);
  border-top: 4px solid var(--fg-cyan);
  background: #fff;
  box-shadow: 0 22px 55px rgb(17 24 32 / 8%);
}

.fg-legal-copy {
  padding: clamp(1.5rem, 4vw, 3.75rem);
  color: #27313a;
  font-size: 1rem;
  line-height: 1.78;
}

.fg-legal-copy :where(p, ul, ol) {
  margin-block: 0 1.25rem;
}

.fg-privacy-copy :where(p:not(:first-of-type), li, blockquote) {
  text-align: justify;
  text-justify: inter-word;
}

.fg-privacy-copy p:first-of-type {
  -webkit-hyphens: none;
  hyphens: none;
  text-align: left;
}

.fg-legal-copy :where(ul, ol) {
  padding-left: 1.45rem;
}

.fg-legal-copy li + li {
  margin-top: .5rem;
}

.fg-legal-copy h2 {
  margin: 3.5rem 0 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--fg-line);
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.3rem);
  line-height: 1.16;
}

.fg-legal-copy h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.fg-legal-copy h3 {
  margin: 2.25rem 0 .8rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.25rem, 2.7vw, 1.65rem);
  line-height: 1.25;
}

.fg-legal-copy h4 {
  margin: 1.6rem 0 .65rem;
  color: var(--fg-ink);
  font-size: 1.05rem;
}

.fg-legal-copy hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--fg-line);
}

.fg-legal-copy a {
  color: var(--fg-teal);
  overflow-wrap: anywhere;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.fg-imprint-copy p {
  max-width: 78ch;
}

.fg-imprint-copy h2:nth-of-type(4) + p,
.fg-imprint-copy h2:nth-of-type(5) + p {
  text-align: justify;
  text-justify: inter-word;
}

.fg-imprint-copy p > strong:first-child {
  display: block;
  margin-bottom: .25rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: 1.12rem;
}

.fg-privacy-review-note {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.35rem;
  border-top-color: var(--fg-orange);
  color: #39444d;
}

.fg-privacy-review-note p {
  margin: 0;
}

.fg-events-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgb(32 197 216 / 22%), transparent 24rem),
    linear-gradient(135deg, #111820 0%, #162833 62%, #087f91 100%);
}

.fg-events-hero__inner {
  width: min(calc(100% - 3rem), 1180px);
  min-height: clamp(300px, 38vw, 430px);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.fg-events-hero__eyebrow {
  margin: 0 0 .75rem;
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fg-events-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: .98;
  text-transform: uppercase;
}

.fg-events-hero__lead {
  max-width: 43rem;
  margin: 1.2rem 0 0;
  color: #dce9ec;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.fg-events-shell {
  min-height: 22rem;
}

.fg-events-shell .tribe-events-header,
.fg-events-shell .tribe-events-c-top-bar {
  border-radius: 4px;
}

.fg-events-shell .tribe-events-calendar-list__event-row {
  padding-block: 1rem;
  border-bottom: 1px solid var(--fg-line);
}

@media (max-width: 720px) {
  .fg-legal-hero .sb-base-module-hero__inner,
  .fg-calendar-hero .sb-base-module-hero__inner,
  .fg-events-hero__inner {
    min-height: 290px;
  }

  .fg-legal-hero .sb-base-module-hero__copy,
  .fg-calendar-hero .sb-base-module-hero__copy {
    padding: 3.5rem 1.25rem;
  }

  .fg-legal-copy {
    padding: 1.4rem 1.1rem 1.8rem;
    font-size: .97rem;
    line-height: 1.72;
  }

  .fg-legal-copy h2 {
    margin-top: 2.7rem;
    overflow-wrap: anywhere;
  }

  .fg-events-hero__inner {
    width: calc(100% - 2.5rem);
    padding-block: 3.5rem;
  }
}

@font-face {
  font-family: "FG Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/oswald-400.ttf") format("truetype");
}

@font-face {
  font-family: "FG Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/oswald-700.ttf") format("truetype");
}

@font-face {
  font-family: "FG Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-400.ttf") format("truetype");
}

@font-face {
  font-family: "FG Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/roboto-700.ttf") format("truetype");
}

:root {
  --fg-ink: #111111;
  --fg-muted: #666666;
  --fg-paper: #fff;
  --fg-soft: #f4f4f4;
  --fg-cyan: #f5a623;
  --fg-cyan-dark: #d4891a;
  --fg-orange: #f5a623;
  --fg-line: #e8e8e8;
  --sb-base-font-body: "FG Open Sans", system-ui, sans-serif;
  --sb-base-font-heading: "FG Oswald", sans-serif;
  --sb-base-color-accent: var(--fg-orange);
}

body.sb-base-fg-site {
  color: var(--fg-ink);
  background: var(--fg-paper);
  font-family: "FG Open Sans", system-ui, sans-serif;
}

.sb-base-fg-site :where(h1, h2, h3, h4, h5, h6) {
  font-family: "FG Oswald", sans-serif;
}

.fg-site-header {
  z-index: 1000;
  border-bottom: 1px solid rgb(17 24 32 / 10%);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 8px 28px rgb(17 24 32 / 7%);
}

.fg-site-header__inner {
  width: min(calc(100% - 2.5rem), 1360px);
  min-height: 92px;
  grid-template-columns: minmax(235px, .85fr) auto auto;
  gap: clamp(1.1rem, 2vw, 2.4rem);
}

.fg-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .8rem;
  color: var(--fg-ink);
  text-decoration: none;
}

.fg-brand__image {
  display: block;
  width: 68px;
  height: 78px;
  object-fit: contain;
}

.fg-brand__text {
  display: grid;
  line-height: 1;
}

.fg-brand__text strong {
  max-width: 10rem;
  font-family: "FG Oswald", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.fg-brand__text small {
  margin-top: .42rem;
  color: var(--fg-cyan-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fg-brand__fallback {
  font-family: "FG Oswald", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fg-site-header__nav .fg-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(.9rem, 1.45vw, 1.55rem);
  list-style: none;
}

.fg-site-header__nav--mobile {
  display: none;
}

.fg-mobile-menu-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  align-items: center;
  justify-content: center;
  color: var(--fg-orange);
}

.fg-mobile-menu-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fg-site-header__nav a {
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .045em;
}

.fg-site-header__nav a::after {
  height: 3px;
  bottom: -.75rem;
  background: linear-gradient(90deg, var(--fg-cyan), var(--fg-orange));
}

.fg-site-header__nav .current-menu-item > a,
.fg-site-header__nav .current_page_item > a {
  color: var(--fg-cyan-dark);
}

.fg-site-header__cta {
  min-height: 48px;
  border-radius: 3px;
  background: var(--fg-ink);
  box-shadow: 5px 5px 0 var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .75rem;
}

.fg-site-header__cta span {
  color: var(--fg-cyan);
}

.fg-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  color: #d9e2e4;
  background: var(--fg-ink);
}

.fg-site-footer__accent {
  height: 6px;
  background: linear-gradient(90deg, var(--fg-cyan) 0 58%, var(--fg-orange) 58% 100%);
}

.fg-site-footer__grid {
  display: grid;
  width: min(calc(100% - 2.5rem), 1240px);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  grid-template-columns: 1.25fr .85fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.fg-brand--footer {
  color: #fff;
}

.fg-brand--footer .fg-brand__image {
  width: 76px;
  height: 88px;
}

.fg-brand--footer .fg-brand__text small {
  color: var(--fg-cyan);
}

.fg-site-footer__brand > p {
  margin: 1.35rem 0 0;
  color: #9eaaae;
  font-family: "FG Oswald", sans-serif;
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.fg-site-footer h2 {
  margin: .35rem 0 1.2rem;
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fg-site-footer p,
.fg-site-footer li {
  margin: 0;
  color: #aeb9bc;
  font-size: .86rem;
  line-height: 1.9;
}

.fg-site-footer a {
  color: #eef4f5;
  text-decoration: none;
}

.fg-site-footer a:hover,
.fg-site-footer a:focus-visible {
  color: var(--fg-cyan);
}

.fg-site-footer .fg-menu {
  display: grid;
  margin: 0;
  padding: 0;
  gap: .62rem;
  list-style: none;
}

.fg-site-footer__bottom {
  display: flex;
  min-height: 56px;
  padding: .9rem max(1.25rem, calc((100% - 1240px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #7e8a8e;
  font-size: .74rem;
}

.fg-events-shell {
  width: min(calc(100% - 2rem), 1220px);
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.fg-events-shell .tribe-common {
  font-family: "FG Open Sans", system-ui, sans-serif;
}

.fg-events-shell :where(.tribe-common h1, .tribe-common h2, .tribe-common h3) {
  font-family: "FG Oswald", sans-serif;
}

/* Erste native Builder-Inhaltsseite: Wofür wir stehen. */
body.sb-base-fg-site.sb-base-has-builder-layout main > .wp-block-post-title {
  display: none;
}

.fg-values-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgb(32 197 216 / 22%), transparent 29%),
    linear-gradient(135deg, #111820 0%, #162833 64%, #087f91 100%) !important;
}

.fg-values-hero::before,
.fg-values-hero::after {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fg-values-hero::before {
  top: -12rem;
  right: 6vw;
}

.fg-values-hero::after {
  right: -8rem;
  bottom: -15rem;
}

.fg-values-hero .sb-base-module-hero__inner {
  min-height: clamp(430px, 58vh, 620px);
}

.fg-values-hero .sb-base-module-hero__copy {
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8rem) 1.5rem;
}

.fg-values-hero .sb-base-module-hero__eyebrow {
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .9rem;
  letter-spacing: .16em;
}

.fg-values-hero .sb-base-module-hero__copy h1 {
  max-width: 11ch;
  color: #fff;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .98;
}

.fg-values-hero .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons) {
  max-width: 720px;
  color: #dce9ec;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.fg-values-hero .sb-base-module-button__link--primary {
  border-color: var(--fg-orange);
  color: var(--fg-ink) !important;
  background: var(--fg-orange);
  box-shadow: 5px 5px 0 var(--fg-cyan);
}

.fg-values-lead {
  position: relative;
}

.fg-values-lead::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 5px;
  background: var(--fg-cyan);
  content: "";
}

.fg-values-lead::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 5px;
  background: var(--fg-orange);
  content: "";
}

.fg-values-lead__text {
  color: #334049;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.85;
}

.fg-values-lead__text > div,
.fg-value-copy > div {
  text-align: justify !important;
  text-justify: inter-word;
}

.fg-values-lead__text p:first-child::first-letter {
  float: left;
  margin: .08em .14em 0 0;
  color: var(--fg-cyan-dark);
  font-family: "FG Oswald", sans-serif;
  font-size: 4.3rem;
  font-weight: 700;
  line-height: .78;
}

.fg-value-section {
  scroll-margin-top: 105px;
}

.fg-value-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 3rem), 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: rgb(17 24 32 / 9%);
  content: "";
}

.fg-value-marker-column {
  position: sticky;
  top: 125px;
}

.fg-value-container {
  grid-template-columns: minmax(0, 1fr);
  gap: 0 !important;
}

.fg-value-marker .sb-base-module-icon__inner > span {
  gap: .85rem;
}

.fg-value-marker .sb-base-module-icon__glyph {
  background: #fff;
  box-shadow: 0 16px 38px rgb(17 24 32 / 10%);
}

.fg-value-marker .sb-base-module-icon__label {
  display: none;
}

.fg-value-heading h2 {
  max-width: 30ch;
  margin: 0;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.55rem, 2vw, 1.875rem) !important;
  line-height: 1.18;
  text-wrap: balance;
}

.fg-value-copy {
  max-width: 790px;
  color: #36434c;
  font-size: 1.04rem;
  line-height: 1.85;
}

.fg-value-copy p,
.fg-value-copy ul {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.fg-value-copy li {
  margin-bottom: .6rem;
  padding-left: .3rem;
}

.fg-value-copy li::marker {
  color: var(--fg-cyan-dark);
}

/* Gemeinsame native Builder-Vorlage für Kandidatenprofile. */
.fg-profile-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(32 197 216 / 8%) 0 34%, transparent 34%),
    #f3f7f8 !important;
}

.fg-profile-section::after {
  position: absolute;
  top: -14rem;
  right: -11rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgb(8 127 145 / 12%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fg-profile-container {
  position: relative;
  z-index: 1;
}

.fg-profile-media-column {
  position: sticky;
  top: 118px;
}

.fg-profile-image {
  position: relative;
  margin: 0;
}

.fg-profile-image::before {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -14px;
  width: 72%;
  height: 58%;
  background: linear-gradient(145deg, var(--fg-cyan), var(--fg-orange));
  content: "";
}

.fg-profile-image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top !important;
  background: #dfe8ea;
  box-shadow: 0 24px 55px rgb(17 24 32 / 16%);
}

.fg-profile-eyebrow {
  margin-bottom: .9rem;
}

.fg-profile-eyebrow h3 {
  margin: 0;
  font-family: "FG Oswald", sans-serif;
  font-size: .88rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fg-profile-heading h1 {
  max-width: 24ch;
  margin: 0;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 3rem) !important;
  line-height: 1.08;
  text-wrap: balance;
}

.fg-profile-copy {
  color: #334049;
  font-size: 1.02rem;
  line-height: 1.8;
}

.fg-profile-copy :where(p, li, blockquote) {
  text-align: justify;
  text-justify: inter-word;
}

.fg-profile-copy .kandidatenblock > h2:first-child {
  display: none;
}

.fg-profile-copy .kandidatenblock-steckbrief {
  margin: 2rem 0 2.4rem;
  padding: 1.7rem 1.8rem;
  border-left: 5px solid var(--fg-cyan);
  color: #293640;
  background: #fff;
  box-shadow: 0 15px 38px rgb(17 24 32 / 8%);
  line-height: 1.7;
  white-space: pre-line;
}

.fg-profile-copy .kandidatenblock-steckbrief strong {
  color: var(--fg-cyan-dark);
}

.fg-profile-copy hr {
  width: 4.5rem;
  margin: 2rem 0;
  border: 0;
  border-top: 3px solid var(--fg-orange);
}

.fg-profile-copy :where(h3, h4) {
  margin-top: 2.25rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
}

.fg-profile-copy li {
  margin-bottom: .55rem;
}

.fg-profile-copy li::marker {
  color: var(--fg-cyan-dark);
}

.fg-profile-back {
  margin-top: 2.3rem;
}

.fg-profile-back .sb-base-module-button__link {
  color: var(--fg-ink) !important;
  border-color: var(--fg-cyan-dark);
}

/* Kandidatenübersicht, Wahlprogramm und Vorstand. */
.fg-section-heading h2 {
  max-width: 23ch;
  margin: 0;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.45rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.018em;
  line-height: 1.08;
  text-wrap: balance;
}

.fg-section-lead {
  max-width: 790px;
  color: #42505a;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}

.fg-section-lead p {
  margin: 0;
}

.fg-candidates-hero {
  overflow: hidden;
  color: #fff;
  background-position: center 32% !important;
}

.fg-candidates-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 18 25 / 88%) 0%, rgb(8 18 25 / 68%) 48%, rgb(8 18 25 / 28%) 100%),
    linear-gradient(0deg, rgb(8 18 25 / 45%), transparent 55%);
  content: "";
}

.fg-candidates-hero__container {
  position: relative;
  z-index: 1;
}

.fg-candidates-hero .sb-base-module-hero__inner {
  min-height: clamp(520px, 68vh, 720px);
}

.fg-candidates-hero .sb-base-module-hero__copy {
  width: min(100%, 1230px);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
}

.fg-candidates-hero .sb-base-module-hero__eyebrow {
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .88rem;
  letter-spacing: .16em;
}

.fg-candidates-hero .sb-base-module-hero__copy h1 {
  color: #fff;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: .96;
}

.fg-candidates-hero .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons) {
  max-width: 640px;
  color: #e7eff1;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.fg-candidates-hero .sb-base-module-button__link--primary {
  color: var(--fg-ink) !important;
  background: var(--fg-orange);
  box-shadow: 5px 5px 0 var(--fg-cyan);
}

.fg-candidates-hero .sb-base-module-button__link--outline {
  border: 1px solid rgb(255 255 255 / 55%);
  color: #fff !important;
  background: rgb(255 255 255 / 8%);
}

.fg-candidates-section {
  position: relative;
}

.fg-section-intro {
  margin-bottom: 2.6rem;
}

:is(.fg-candidates-section, .fg-program-section, .fg-questions-section) .fg-section-lead > div,
.fg-questions-faq .sb-base-module-faq__answer :where(p, li, blockquote) {
  text-align: justify !important;
  text-justify: inter-word;
}

.fg-candidate-grid-row + .fg-candidate-grid-row {
  margin-top: 2rem;
}

.fg-candidate-card {
  display: flex;
  min-width: 0;
  padding: 1rem 1rem 1.35rem;
  border: 1px solid var(--fg-line);
  background: #fff;
  box-shadow: 0 18px 45px rgb(17 24 32 / 9%);
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}

.fg-candidate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgb(17 24 32 / 14%);
}

.fg-candidate-card__image {
  margin: 0 0 1.25rem;
  overflow: hidden;
  background: #dfe8ea;
}

.fg-candidate-card__image a {
  display: block;
}

.fg-candidate-card__image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top !important;
  transition: transform .35s ease;
}

.fg-candidate-card:hover .fg-candidate-card__image img {
  transform: scale(1.018);
}

.fg-candidate-card__name {
  margin: 0 .35rem .35rem;
}

.fg-candidate-card__name h3 {
  margin: 0;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
  line-height: 1.08;
}

.fg-candidate-card__button {
  margin: auto .35rem 0;
  padding-top: .45rem;
}

.fg-candidate-card__button .sb-base-module-button__link {
  color: var(--fg-cyan-dark) !important;
  font-family: "FG Oswald", sans-serif;
  letter-spacing: .075em;
}

.fg-candidate-card__button .sb-base-module-button__link::after {
  margin-left: .5rem;
  color: var(--fg-orange);
  content: "→";
}

.fg-program-section::before,
.fg-questions-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 5px;
  background: var(--fg-cyan);
  content: "";
}

.fg-program-section::after,
.fg-questions-section::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 5px;
  background: var(--fg-orange);
  content: "";
}

.fg-program-faq,
.fg-questions-faq {
  margin-top: 2.5rem;
}

.fg-program-faq .sb-base-module-faq__list,
.fg-questions-faq .sb-base-module-faq__list {
  border-top: 0;
}

.fg-program-faq .sb-base-module-faq__item,
.fg-questions-faq .sb-base-module-faq__item {
  margin-bottom: .8rem;
  border: 1px solid var(--fg-line);
  box-shadow: 0 10px 28px rgb(17 24 32 / 5%);
}

.fg-program-faq .sb-base-module-faq__item summary,
.fg-questions-faq .sb-base-module-faq__item summary {
  padding: 1.25rem 3.5rem 1.25rem 1.35rem;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 700;
  letter-spacing: .005em;
}

.fg-program-faq .sb-base-module-faq__item[open],
.fg-questions-faq .sb-base-module-faq__item[open] {
  border-left: 5px solid var(--fg-cyan);
}

.fg-program-faq .sb-base-module-faq__answer,
.fg-questions-faq .sb-base-module-faq__answer {
  padding: .1rem clamp(1.3rem, 3vw, 2.4rem) 1.65rem;
  color: #34424b;
  font-size: 1rem;
  line-height: 1.78;
}

.fg-program-faq .fg-acc-content {
  -webkit-hyphens: auto;
  hyphens: auto;
  text-align: justify;
  text-justify: inter-word;
}

.fg-program-faq .fg-acc-content :where(h2, h3, h4, h5, h6) {
  text-align: left;
}

.fg-program-faq .sb-base-module-faq__answer :where(h3, h4),
.fg-questions-faq .sb-base-module-faq__answer :where(h3, h4) {
  margin: 1.7rem 0 .65rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: 1.3rem;
  line-height: 1.25;
}

.fg-program-faq .sb-base-module-faq__answer li,
.fg-questions-faq .sb-base-module-faq__answer li {
  margin-bottom: .5rem;
}

.fg-program-faq .sb-base-module-faq__answer li::marker,
.fg-questions-faq .sb-base-module-faq__answer li::marker {
  color: var(--fg-cyan-dark);
}

.fg-program-gallery {
  margin-top: 2.2rem;
}

.fg-program-gallery .sb-base-module-gallery__grid {
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.fg-program-gallery .sb-base-module-gallery__item {
  border: 1px solid var(--fg-line);
  background: #f5f5f5;
  box-shadow: 0 18px 45px rgb(17 24 32 / 10%);
}

.fg-program-gallery .sb-base-module-gallery__item img {
  aspect-ratio: 1900 / 1354;
  object-fit: contain;
  filter: none;
}

.fg-program-gallery .sb-base-module-gallery__item:hover img {
  transform: none;
  filter: none;
}

.fg-questions-heading h2 {
  max-width: 27ch;
}

.fg-board-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 16% 22%, rgb(32 197 216 / 24%), transparent 27%),
    radial-gradient(circle at 83% 75%, rgb(255 159 24 / 18%), transparent 28%),
    #111820 !important;
}

.fg-board-hero .sb-base-module-hero__inner {
  min-height: clamp(390px, 52vh, 570px);
}

.fg-board-hero .sb-base-module-hero__copy {
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.fg-board-hero .sb-base-module-hero__eyebrow {
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  letter-spacing: .16em;
}

.fg-board-hero .sb-base-module-hero__copy h1 {
  max-width: 14ch;
  color: #fff;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.fg-board-hero .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons) {
  max-width: 660px;
  color: #dce9ec;
  font-size: 1.16rem;
  line-height: 1.7;
}

.fg-board-grid {
  margin-top: 2.7rem;
}

.fg-board-grid .sb-base-module-team__grid {
  align-items: stretch;
}

.fg-board-grid .sb-base-module-team__item {
  border: 0;
  box-shadow: 0 18px 45px rgb(17 24 32 / 10%);
}

.fg-board-grid .sb-base-module-team__media {
  aspect-ratio: 2 / 3;
  background: #dfe8ea;
}

.fg-board-grid .sb-base-module-team__media img,
.fg-board-grid .sb-base-module-team__item:hover .sb-base-module-team__media img {
  object-position: center top;
  filter: none;
}

.fg-board-grid .sb-base-module-team__body {
  padding: 1.35rem 1.4rem 1.55rem;
}

.fg-board-grid .sb-base-module-team__body h3 {
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: 1.7rem;
  line-height: 1.12;
}

.fg-board-grid .sb-base-module-team__role {
  margin: .45rem 0 1rem;
  color: var(--fg-cyan-dark);
  font-family: "FG Oswald", sans-serif;
  font-size: .78rem;
}

.fg-board-grid .sb-base-module-team__contact {
  overflow-wrap: anywhere;
}

.fg-board-grid .sb-base-module-team__contact a {
  color: var(--fg-ink);
}

/* Fachseiten: Anträge sowie Archiv & Chronik. */
.fg-special-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 20%, rgb(32 197 216 / 22%), transparent 28%),
    radial-gradient(circle at 86% 82%, rgb(255 159 24 / 16%), transparent 30%),
    #111820 !important;
}

.fg-special-hero .sb-base-module-hero__inner {
  min-height: clamp(430px, 58vh, 620px);
}

.fg-special-hero .sb-base-module-hero__copy {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
}

.fg-special-hero .sb-base-module-hero__eyebrow {
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .85rem;
  letter-spacing: .16em;
}

.fg-special-hero .sb-base-module-hero__copy h1 {
  max-width: 14ch;
  color: #fff;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: .98;
}

.fg-special-hero .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons) {
  max-width: 760px;
  color: #dce9ec;
  font-size: clamp(1.05rem, 1.7vw, 1.23rem);
  line-height: 1.7;
}

.fg-applications-counter .fgas-counter-card {
  max-width: 760px;
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgb(17 24 32 / 10%);
}

.fg-applications-list {
  margin-top: 2rem;
}

.fg-applications-list .fgas-list-wrap {
  margin-bottom: 0;
}

.fg-chronicle-intro-text {
  color: #34424b;
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.85;
}

.fg-chronicle-intro-text p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.fg-chronicle-content::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 5px;
  background: var(--fg-cyan);
  content: "";
}

.fg-chronicle-content::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 5px;
  background: var(--fg-orange);
  content: "";
}

.fg-chronicle-archive .sb-archiv-wrap {
  --sb-at-orange: var(--fg-orange);
  --sb-at-black: var(--fg-ink);
  --sb-at-grey: #fff;
  padding-inline: 0;
  font-family: "FG Open Sans", system-ui, sans-serif;
}

.fg-chronicle-archive .sb-archiv-section-head h2 {
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.fg-chronicle-archive .sb-archiv-card-body > p {
  text-align: justify;
  text-justify: inter-word;
}

.fg-form-section .fg-wpforms-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 5px solid var(--fg-orange);
  background: #fff;
  box-shadow: 0 24px 60px rgb(17 24 32 / 10%);
}

.fg-wpforms-card .wpforms-container,
.fg-wpforms-card .wpforms-container-full {
  margin: 0;
}

.fg-wpforms-card .wpforms-title {
  margin: 0 0 .65rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

/* WPForms Modern setzt für den Formulartitel eine feste 29-Pixel-Zeilenhöhe
 * mit höherer Spezifität. Bei der großen FG-Überschrift rutscht dadurch die
 * Beschreibung nach oben. Diese Regel hält Titel und Einleitung sauber
 * getrennt, ohne die eigentlichen Formularfelder zu verändern. */
.fg-wpforms-card div.wpforms-container-full .wpforms-form .wpforms-head-container .wpforms-title {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  line-height: 1.08 !important;
}

.fg-wpforms-card div.wpforms-container-full .wpforms-form .wpforms-head-container .wpforms-description {
  margin: 0 !important;
  line-height: 1.7 !important;
}

.fg-wpforms-card .wpforms-description {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fg-wpforms-card .wpforms-field {
  padding-block: .65rem;
}

.fg-wpforms-card .wpforms-field-label {
  margin-bottom: .45rem;
  color: var(--fg-ink);
  font-size: .92rem;
  font-weight: 700;
}

.fg-wpforms-card div.wpforms-container-full input[type="text"],
.fg-wpforms-card div.wpforms-container-full input[type="email"],
.fg-wpforms-card div.wpforms-container-full input[type="number"],
.fg-wpforms-card div.wpforms-container-full select,
.fg-wpforms-card div.wpforms-container-full textarea {
  max-width: none;
  border: 1px solid #bcc9cd;
  border-radius: 2px;
  color: var(--fg-ink);
  background: #fff;
  box-shadow: inset 0 1px 2px rgb(17 24 32 / 4%);
}

.fg-wpforms-card div.wpforms-container-full input:focus,
.fg-wpforms-card div.wpforms-container-full select:focus,
.fg-wpforms-card div.wpforms-container-full textarea:focus {
  border-color: var(--fg-cyan-dark);
  outline: 3px solid rgb(32 197 216 / 20%);
  box-shadow: none;
}

.fg-wpforms-card .wpforms-field-checkbox ul {
  display: grid;
  gap: .65rem;
}

.fg-wpforms-card .wpforms-field-checkbox li {
  display: grid;
  align-items: start;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: .55rem;
}

.fg-wpforms-card .wpforms-field-checkbox input {
  margin-top: .24rem;
}

.fg-wpforms-card .wpforms-field-description a {
  color: var(--fg-cyan-dark);
  font-weight: 700;
  text-underline-offset: .2em;
}

.fg-wpforms-card div.wpforms-container-full button[type="submit"] {
  min-height: 48px;
  padding: .85rem 1.7rem !important;
  border: 2px solid var(--fg-orange) !important;
  border-radius: 4px !important;
  color: #111 !important;
  background: var(--fg-orange) !important;
  box-shadow: none !important;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.fg-wpforms-card div.wpforms-container-full button[type="submit"]:hover,
.fg-wpforms-card div.wpforms-container-full button[type="submit"]:focus-visible {
  border-color: #d4891a !important;
  color: #111 !important;
  background: #d4891a !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.fg-wpforms-card div.wpforms-container-full button[type="submit"]:focus-visible {
  outline: 3px solid rgb(32 197 216 / 35%);
  outline-offset: 3px;
}

.fg-support-information .fg-support-intro {
  margin-bottom: 2.25rem;
  font-size: 1.08rem;
}

.fg-support-information .fg-support-intro p,
.fg-support-information .fg-support-reasons h2:nth-of-type(2) + p {
  text-align: justify;
  text-justify: inter-word;
}

.fg-support-reasons h2 {
  margin-top: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.fg-support-reasons li + li {
  margin-top: .55rem;
}

.fg-post-archive-list .sb-base-module-posts__item > p {
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 1160px) {
  .fg-site-header__inner {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }

  .fg-site-header .sb-base-preset-header__toggle {
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--fg-line);
    border-radius: 3px;
    opacity: 1;
    background: #fff;
  }

  .fg-site-header .sb-base-preset-header__toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--fg-ink);
  }

  .fg-site-header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: .6rem max(1rem, calc((100% - 1240px) / 2));
    border-top: 1px solid var(--fg-line);
    background: #fff;
    box-shadow: 0 18px 36px rgb(17 24 32 / 13%);
  }

  .fg-site-header__nav.is-open {
    display: block;
  }

  .fg-site-header__nav .fg-menu {
    display: grid;
    gap: 0;
  }

  .fg-site-header__nav a {
    display: flex;
    min-height: 44px;
    padding: .46rem 0;
    border-bottom: 1px solid var(--fg-line);
    box-sizing: border-box;
    align-items: center;
    gap: .58rem;
  }

  .fg-site-header__nav--mobile .fg-mobile-menu-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-basis: 1.2rem;
  }

  .fg-site-header__nav--mobile .fg-menu.fg-menu--mobile {
    gap: 0;
  }

  .fg-site-header__nav a::after {
    display: none;
  }

  .fg-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fg-board-grid .sb-base-module-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fg-candidate-grid-row {
    grid-template-columns: 1fr;
  }

  .fg-candidate-card {
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .fg-site-header__inner {
    width: calc(100% - 1.5rem);
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .fg-brand__image {
    width: 53px;
    height: 61px;
  }

  .fg-brand__text strong {
    max-width: 8.5rem;
    font-size: .94rem;
  }

  .fg-brand__text small {
    display: none;
  }

  .fg-site-header__cta {
    display: none;
  }

  .fg-site-footer__grid {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
  }

  .fg-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .fg-values-hero .sb-base-module-hero__inner {
    min-height: 390px;
  }

  .fg-values-hero .sb-base-module-hero__copy {
    padding: 4rem 1.25rem 4.5rem;
  }

  .fg-values-hero .sb-base-module-hero__copy h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .fg-values-lead {
    padding-top: 3.8rem !important;
    padding-bottom: 3.8rem !important;
  }

  .fg-value-section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .fg-value-container {
    grid-template-columns: 1fr;
    gap: 1.6rem !important;
  }

  .fg-value-marker-column {
    position: static;
  }

  .fg-value-marker .sb-base-module-icon__inner > span {
    align-items: flex-start;
  }

  .fg-value-marker .sb-base-module-icon__glyph {
    width: 58px;
    height: 58px;
  }

  .fg-value-heading h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.65rem) !important;
  }

  .fg-value-copy {
    font-size: 1rem;
    line-height: 1.75;
  }

  .fg-profile-section {
    padding-top: 3.5rem !important;
    padding-bottom: 4.5rem !important;
    background: #f3f7f8 !important;
  }

  .fg-profile-container {
    grid-template-columns: 1fr;
    gap: 3.25rem !important;
  }

  .fg-profile-media-column {
    position: static;
    width: min(100%, 370px);
    margin-inline: auto;
  }

  .fg-profile-heading h1 {
    font-size: clamp(1.9rem, 7.8vw, 2.35rem) !important;
  }

  .fg-profile-copy .kandidatenblock-steckbrief {
    padding: 1.35rem 1.25rem;
  }

  .fg-candidates-hero {
    background-position: 62% center !important;
  }

  .fg-candidates-hero::before {
    background: linear-gradient(90deg, rgb(8 18 25 / 90%), rgb(8 18 25 / 55%));
  }

  .fg-candidates-hero .sb-base-module-hero__inner {
    min-height: 470px;
  }

  .fg-candidates-hero .sb-base-module-hero__copy {
    padding: 4.5rem 1.25rem;
  }

  .fg-candidates-hero .sb-base-module-hero__copy h1 {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .fg-section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
  }

  .fg-board-hero .sb-base-module-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 3.2rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .fg-program-faq .sb-base-module-faq__item summary,
  .fg-questions-faq .sb-base-module-faq__item summary {
    padding: 1.1rem 3rem 1.1rem 1rem;
  }

  .fg-program-faq .sb-base-module-faq__answer,
  .fg-questions-faq .sb-base-module-faq__answer {
    padding: 0 1rem 1.35rem;
    line-height: 1.7;
  }

  .fg-program-gallery .sb-base-module-gallery__grid,
  .fg-board-grid .sb-base-module-team__grid {
    grid-template-columns: 1fr;
  }

  .fg-board-grid .sb-base-module-team__item {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .fg-special-hero .sb-base-module-hero__inner {
    min-height: 410px;
  }

  .fg-special-hero .sb-base-module-hero__copy {
    padding: 4rem 1.25rem;
  }

  .fg-special-hero .sb-base-module-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .fg-form-section .fg-wpforms-card {
    padding: 1.35rem 1.1rem 1.6rem;
  }

  .fg-wpforms-card div.wpforms-container-full .wpforms-field-row-block {
    width: 100%;
    margin-left: 0;
  }

  .fg-wpforms-card div.wpforms-container-full .wpforms-field-row-block + .wpforms-field-row-block {
    margin-top: .75rem;
  }
}

/* Letzte WPBakery-freie Einzelinhalte. */
.fg-event-description-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.fg-event-description-copy {
  font-size: 1.05rem;
  line-height: 1.75;
}

.fg-event-description-copy p:first-child {
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.fg-event-description-media .gallery {
  margin: 0 !important;
}

.fg-event-description-media .gallery-item {
  width: 100% !important;
  margin: 0 !important;
}

.fg-event-description-media img {
  width: 100%;
  height: auto;
  border: 0 !important;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgb(17 24 32 / 12%);
}

.fg-blogbeitrag01 > h2:first-child {
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
}

.fg-blogbeitrag01 > p {
  line-height: 1.78;
}

@media (max-width: 720px) {
  .fg-event-description-grid {
    grid-template-columns: 1fr;
  }
}

/* Native Startseite. */
.fg-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center center !important;
}

.fg-home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 87%) 35%, rgb(255 255 255 / 34%) 64%, rgb(17 24 32 / 8%) 100%);
  content: "";
  pointer-events: none;
}

.fg-home-hero .sb-base-builder-container {
  position: relative;
  z-index: 1;
  min-height: clamp(520px, 56vw, 680px);
}

.fg-home-hero-copy {
  justify-content: center;
}

.fg-home-hero-heading h1,
.fg-home-hero-place h2,
.fg-home-hero-tagline h3 {
  font-family: "FG Oswald", sans-serif;
  text-transform: uppercase;
}

.fg-home-hero-heading h1 {
  margin: 0;
  font-size: clamp(3.15rem, 5.4vw, 5.6rem) !important;
  font-weight: 400 !important;
  line-height: .95;
}

.fg-home-hero-place h2 {
  margin: .12em 0 .36em;
  font-size: clamp(3.3rem, 5.8vw, 6.1rem) !important;
  line-height: .94;
}

.fg-home-hero-tagline h3 {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.55vw, 1.25rem) !important;
  letter-spacing: .02em;
}

.fg-home-hero-text {
  max-width: 40rem;
  margin-bottom: .45rem;
  color: #263039;
  font-size: 1.08rem;
  line-height: 1.72;
}

.fg-home-hero-button {
  display: inline-block;
  width: auto;
  margin: .45rem .6rem 0 0;
}

.fg-home-hero-button--secondary .sb-base-module-button__link {
  border-color: var(--fg-ink);
  color: var(--fg-ink);
  background: rgb(255 255 255 / 35%);
}

.fg-home-hero-button--secondary .sb-base-module-button__link:hover,
.fg-home-hero-button--secondary .sb-base-module-button__link:focus-visible {
  color: #fff;
  background: var(--fg-ink);
}

.fg-home-hero-counter-column {
  justify-content: center;
}

.fg-home-counter .fgas-counter-card {
  width: min(100%, 390px);
  max-width: none;
  margin-left: auto;
  padding: clamp(1.45rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 70%);
  box-shadow: 0 28px 70px rgb(17 24 32 / 18%);
}

.fg-home-values {
  border-bottom: 1px solid var(--fg-line);
}

.fg-home-values-grid .sb-base-module-icon-box__grid {
  gap: 0;
}

.fg-home-values-grid .sb-base-module-icon-box__item {
  min-height: 100%;
  padding: 2rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--fg-line);
}

.fg-home-values-grid .sb-base-module-icon-box__item:last-child {
  border-right: 0;
}

.fg-home-values-grid .sb-base-module-icon-box__icon {
  color: var(--fg-orange);
}

.fg-home-values-grid h3 {
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.fg-home-values-grid .sb-base-module-icon-box__text {
  color: #3d4851;
  line-height: 1.72;
}

.fg-home-topics .sb-base-builder-container,
.fg-home-topics-shortcode,
.fg-home-topics-shortcode > div {
  max-width: none;
  padding: 0;
}

.fg-home-news-heading h2 {
  margin-bottom: .45rem;
  color: var(--fg-ink);
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1;
  text-transform: uppercase;
}

.fg-home-news-lead {
  max-width: 48rem;
  margin-bottom: 2.4rem;
  color: #4d5961;
  font-size: 1.08rem;
  line-height: 1.7;
}

.fg-home-news-grid .sb-base-module-posts__grid {
  gap: 1.35rem;
}

.fg-home-news-grid .sb-base-module-posts__item {
  overflow: hidden;
  border: 1px solid rgb(17 24 32 / 8%);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 38px rgb(17 24 32 / 8%);
}

.fg-home-news-grid .sb-base-module-posts__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.fg-home-news-grid .sb-base-module-posts__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.fg-home-news-grid .sb-base-module-posts__item:hover .sb-base-module-posts__media img {
  transform: scale(1.025);
}

.fg-home-news-grid .sb-base-module-posts__item > :not(.sb-base-module-posts__media) {
  margin-right: 1.25rem;
  margin-left: 1.25rem;
}

.fg-home-news-grid .sb-base-module-posts__item > time {
  display: block;
  margin-top: 1.15rem;
  color: var(--fg-teal);
  font-family: "FG Oswald", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fg-home-news-grid .sb-base-module-posts__item h3 {
  margin-top: .55rem;
  font-family: "FG Oswald", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.fg-home-news-grid .sb-base-module-posts__item h3 a {
  color: var(--fg-ink);
  text-decoration: none;
}

.fg-home-news-grid .sb-base-module-posts__item > p {
  color: #52606a;
  line-height: 1.62;
}

.fg-home-news-grid .sb-base-module-posts__more {
  display: inline-flex;
  margin-bottom: 1.35rem;
  color: var(--fg-teal);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .fg-home-hero .sb-base-builder-container {
    grid-template-columns: 1fr;
    gap: 2.5rem !important;
  }

  .fg-home-hero::before {
    background: linear-gradient(90deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 72%));
  }

  .fg-home-counter .fgas-counter-card {
    margin-left: 0;
  }

  .fg-home-values-grid .sb-base-module-icon-box__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fg-home-values-grid .sb-base-module-icon-box__item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .fg-home-hero {
    padding-top: 3.5rem !important;
    padding-bottom: 3.75rem !important;
    background-position: 61% center !important;
  }

  .fg-home-hero .sb-base-builder-container {
    min-height: 0;
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  .fg-home-hero::before {
    background: rgb(255 255 255 / 88%);
  }

  .fg-home-hero-heading h1,
  .fg-home-hero-place h2 {
    overflow-wrap: anywhere;
  }

  .fg-home-hero-button {
    display: block;
    margin-right: 0;
  }

  .fg-home-hero-button .sb-base-module-button__link {
    justify-content: center;
    width: 100%;
  }

  .fg-home-values-grid .sb-base-module-icon-box__grid {
    grid-template-columns: 1fr;
  }

  .fg-home-values-grid .sb-base-module-icon-box__item {
    padding: 1.5rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--fg-line);
  }

  .fg-home-values-grid .sb-base-module-icon-box__item:last-child {
    border-bottom: 0;
  }

  .fg-home-news {
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
  }
}

/* =====================================================
   STARTSEITE – VISUELLE PARITÄT ZUM BISHERIGEN AUFTRITT
   Version 0.1.10
   ===================================================== */

.sb-base-fg-site :where(p, li, a, button, input, textarea, select) {
  font-family: "FG Open Sans", system-ui, sans-serif;
}

.fg-site-header {
  border-bottom: 0;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 2px 12px rgb(0 0 0 / 8%);
}

.fg-site-header__inner {
  width: min(calc(100% - 3rem), 1380px);
  min-height: 118px;
  grid-template-columns: minmax(280px, .95fr) auto auto;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.fg-brand {
  gap: .75rem;
}

.fg-brand__image {
  width: 70px;
  height: 84px;
}

.fg-brand__text strong {
  max-width: 11rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.fg-brand__text small {
  margin-top: .3rem;
  color: var(--fg-orange);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .09em;
}

.fg-site-header__nav .fg-menu {
  gap: clamp(.8rem, 1.35vw, 1.45rem);
}

.fg-site-header__nav a {
  color: #111;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.fg-site-header__nav a::after {
  height: 2px;
  bottom: -.65rem;
  background: var(--fg-orange);
}

.fg-site-header__nav .current-menu-item > a,
.fg-site-header__nav .current_page_item > a,
.fg-site-header__nav a:hover,
.fg-site-header__nav a:focus-visible {
  color: var(--fg-orange);
}

.fg-site-header__cta {
  min-height: 44px;
  padding-inline: 1.35rem;
  border-radius: 4px;
  color: #fff;
  background: var(--fg-orange);
  box-shadow: none;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .045em;
}

.fg-site-header__cta:hover,
.fg-site-header__cta:focus-visible {
  color: #fff;
  background: #d4891a;
}

.fg-site-header__cta span {
  color: #fff;
}

.fg-home-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-position: center 30% !important;
}

.fg-home-hero::before {
  width: 78%;
  right: auto;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, rgb(255 255 255 / 88%) 55%, rgb(255 255 255 / 22%) 82%, transparent 100%);
}

.fg-home-hero .sb-base-builder-container {
  box-sizing: border-box;
  width: min(100%, 1400px);
  max-width: 1400px;
  min-height: 620px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.fg-home-hero-copy {
  max-width: 700px;
}

.fg-home-hero-heading h1,
.fg-home-hero-place h2 {
  font-size: clamp(3.2rem, 4.75vw, 4.25rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .012em;
}

.fg-home-hero-heading h1 {
  margin: 0 0 .08em;
  color: #111;
}

.fg-home-hero-place h2 {
  margin: 0 0 .34em;
  color: var(--fg-orange);
}

.fg-home-hero-tagline h3 {
  margin: 0 0 .7rem;
  color: #111;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

.fg-home-hero-text {
  max-width: 44rem;
  margin-bottom: .65rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.65;
}

.fg-home-hero-button {
  margin: .4rem .7rem 0 0;
}

.fg-home-hero-button .sb-base-module-button__link {
  min-height: 48px;
  padding: .85rem 1.7rem;
  border-radius: 4px;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.fg-home-hero-button--primary .sb-base-module-button__link {
  border-color: var(--fg-orange);
  color: #111 !important;
  background: var(--fg-orange);
}

.fg-home-hero-button--primary .sb-base-module-button__link:hover,
.fg-home-hero-button--primary .sb-base-module-button__link:focus-visible {
  border-color: #d4891a;
  color: #111 !important;
  background: #d4891a;
}

.fg-home-hero-button--secondary .sb-base-module-button__link {
  border: 2px solid #111;
  color: #111 !important;
  background: transparent;
}

.fg-home-hero-button--secondary .sb-base-module-button__link:hover,
.fg-home-hero-button--secondary .sb-base-module-button__link:focus-visible {
  border-color: #111;
  color: #fff !important;
  background: #111;
}

.fg-home-counter .fgas-counter-card {
  width: min(100%, 360px);
  margin-right: clamp(0rem, 2vw, 2rem);
  padding: 1.55rem 1.7rem;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgb(0 0 0 / 13%);
}

.fg-home-values {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
  border-bottom: 0;
}

.fg-home-values .sb-base-builder-container {
  width: min(100%, 1380px);
  max-width: 1380px;
}

.fg-home-values-grid .sb-base-module-icon-box__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fg-home-values-grid .sb-base-module-icon-box__item,
.fg-home-values-grid .sb-base-module-icon-box__grid--minimal .sb-base-module-icon-box__item {
  display: grid;
  min-height: 170px;
  box-sizing: border-box;
  padding: 1.55rem 1.25rem;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 1.15rem;
  align-items: start;
  border: 0;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgb(0 0 0 / 6%);
}

.fg-home-values-grid .sb-base-module-icon-box__icon {
  display: grid;
  width: 70px;
  height: 70px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--fg-orange);
}

.fg-home-values-grid .sb-base-module-icon-box__svg {
  width: 30px;
  height: 30px;
}

.fg-home-values-grid h3 {
  margin: .1rem 0 .55rem;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.fg-home-values-grid .sb-base-module-icon-box__text {
  color: #444;
  font-size: .78rem;
  line-height: 1.65;
}

.fg-home-topics {
  background-color: #fbf3e6 !important;
}

.fg-home-topics .sbtp-start-section {
  padding-top: 58px;
  padding-bottom: 64px;
}

.fg-home-news {
  padding-top: 58px !important;
  padding-bottom: 72px !important;
  background-color: #fff !important;
}

.fg-home-news .sb-base-builder-container {
  width: min(100%, 1480px);
  max-width: 1480px;
  padding-right: 28px !important;
  padding-left: 28px !important;
}

.fg-home-news-heading h2 {
  margin: 0 0 .4rem;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  letter-spacing: .025em;
}

.fg-home-news-lead {
  margin-bottom: 2rem;
  color: #666;
  font-size: .95rem;
}

.fg-home-news-grid .sb-base-module-posts__grid {
  gap: 1.35rem;
}

.fg-home-news-grid .sb-base-module-posts__item {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fg-home-news-grid .sb-base-module-posts__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 13%);
}

.fg-home-news-grid .sb-base-module-posts__media {
  aspect-ratio: 16 / 9;
  filter: grayscale(100%) brightness(1.1);
  transition: filter .35s ease;
}

.fg-home-news-grid .sb-base-module-posts__item:hover .sb-base-module-posts__media {
  filter: none;
}

.fg-home-news-grid .sb-base-module-posts__item > :not(.sb-base-module-posts__media) {
  margin-right: 1.35rem;
  margin-left: 1.35rem;
}

.fg-home-news-grid .sb-base-module-posts__item > time {
  margin-top: 1.25rem;
  color: #999;
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .67rem;
  letter-spacing: .08em;
}

.fg-home-news-grid .sb-base-module-posts__item h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.75em;
  margin-top: .7rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fg-home-news-grid .sb-base-module-posts__item > p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.25em;
  color: #555;
  font-size: .78rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fg-home-news-grid .sb-base-module-posts__more {
  margin-top: .25rem;
  margin-bottom: 1.35rem;
  color: var(--fg-orange);
  font-family: "FG Open Sans", system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 700;
}

.fg-site-footer {
  color: #e8e8e8;
  background: #111;
}

.fg-site-footer__accent {
  height: 4px;
  background: var(--fg-orange);
}

.fg-site-footer__grid {
  padding-top: 3.5rem;
  padding-bottom: 3.15rem;
}

.fg-brand--footer .fg-brand__text small,
.fg-site-footer h2 {
  color: var(--fg-orange);
}

.fg-site-footer a:hover,
.fg-site-footer a:focus-visible {
  color: var(--fg-orange);
}

@media (max-width: 1100px) {
  .fg-site-header__inner {
    min-height: 96px;
    grid-template-columns: minmax(240px, 1fr) auto;
  }

  .fg-site-header__cta {
    display: none;
  }

  .fg-home-values-grid .sb-base-module-icon-box__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fg-site-header__inner {
    width: calc(100% - 2rem);
    min-height: 82px;
  }

  .fg-brand__image {
    width: 52px;
    height: 62px;
  }

  .fg-brand__text strong {
    font-size: .86rem;
  }

  .fg-brand__text small {
    font-size: .55rem;
  }

  .fg-home-hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-position: 61% center !important;
  }

  .fg-home-hero::before {
    width: 100%;
    background: rgb(255 255 255 / 82%);
  }

  .fg-home-hero .sb-base-builder-container {
    min-height: 0;
    padding: 3.8rem 1.25rem 4rem !important;
    gap: 2.25rem !important;
  }

  .fg-home-hero-heading h1,
  .fg-home-hero-place h2 {
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(2.4rem, 12.2vw, 3.15rem) !important;
  }

  .fg-home-hero-tagline h3 {
    font-size: .9rem !important;
  }

  .fg-home-hero-text {
    font-size: .9rem;
  }

  .fg-home-hero-button {
    display: block;
    margin-right: 0;
  }

  .fg-home-counter .fgas-counter-card {
    width: 100%;
    margin: 0;
  }

  .fg-home-values {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .fg-home-values .sb-base-builder-container {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .fg-home-values-grid .sb-base-module-icon-box__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fg-home-values-grid .sb-base-module-icon-box__item,
  .fg-home-values-grid .sb-base-module-icon-box__grid--minimal .sb-base-module-icon-box__item {
    display: flex;
    min-height: 220px;
    padding: 1rem .55rem;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    text-align: center;
  }

  .fg-home-values-grid .sb-base-module-icon-box__icon {
    width: 55px;
    height: 55px;
  }

  .fg-home-values-grid .sb-base-module-icon-box__svg {
    width: 24px;
    height: 24px;
  }

  .fg-home-values-grid h3 {
    margin: .15rem 0 .15rem;
    font-size: .74rem;
    letter-spacing: 0;
  }

  .fg-home-values-grid .sb-base-module-icon-box__text {
    font-size: .68rem;
    line-height: 1.5;
  }

  .fg-home-topics .sbtp-start-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .fg-home-news {
    padding-top: 42px !important;
    padding-bottom: 52px !important;
  }

  .fg-home-news .sb-base-builder-container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .fg-home-news-heading h2 {
    font-size: 2rem !important;
  }

  .fg-home-news-grid .sb-base-module-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SICHTKORREKTUREN STARTSEITE UND MOBILE NAVIGATION
   Version 0.1.16
   ===================================================== */

.fg-social-dock {
  position: fixed;
  z-index: 900;
  bottom: 30px;
  left: 50%;
  max-width: calc(100vw - 24px);
  transform: translateX(-50%);
}

.fg-social-dock ul {
  display: flex;
  margin: 0;
  padding: 5px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgb(17 17 17 / 9%);
  border-radius: 6px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 4px 18px rgb(17 17 17 / 24%);
  list-style: none;
  backdrop-filter: blur(8px);
}

.fg-social-dock li {
  position: relative;
  margin: 0;
}

.fg-social-dock__link {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
  color: var(--fg-orange);
  background: #fff;
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.fg-social-dock__link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fg-social-dock__link > span {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: min(240px, calc(100vw - 32px));
  padding: .42rem .58rem;
  transform: translate(50%, 4px);
  border-radius: 3px;
  color: #fff;
  background: #111;
  box-shadow: 0 4px 14px rgb(0 0 0 / 20%);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.fg-social-dock__link:hover,
.fg-social-dock__link:focus-visible {
  color: #fff;
  background: var(--fg-orange);
  outline: none;
  transform: translateY(-2px);
}

.fg-social-dock__link:hover > span,
.fg-social-dock__link:focus-visible > span {
  transform: translate(50%, 0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1160px) {
  .fg-site-header__nav--mobile {
    max-height: calc(100vh - 118px);
    max-height: calc(100dvh - 118px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1100px) {
  .fg-site-header__nav--mobile {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
  }
}

@media (max-width: 720px) {
  .fg-site-header__nav--mobile {
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
  }

  .fg-social-dock {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .fg-social-dock ul {
    gap: 3px;
    padding: 4px;
  }

  .fg-social-dock__link {
    width: 34px;
    height: 34px;
  }

  .fg-social-dock__link svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg-social-dock__link,
  .fg-social-dock__link > span {
    transition: none;
  }
}

/* =====================================================
   EINHEITLICHER KOMPAKTER UNTERSEITEN-HERO
   Version 0.1.19
   ===================================================== */

:root {
  --fg-subpage-hero-height: 210px;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero,
  .fg-events-hero
) {
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgb(32 197 216 / 16%), transparent 22rem),
    linear-gradient(135deg, #111820 0%, #162833 72%, #18343b 100%) !important;
  background-image:
    radial-gradient(circle at 88% 18%, rgb(32 197 216 / 16%), transparent 22rem),
    linear-gradient(135deg, #111820 0%, #162833 72%, #18343b 100%) !important;
}

:is(.fg-values-hero, .fg-candidates-hero, .fg-board-hero, .fg-special-hero)::before,
:is(.fg-values-hero, .fg-candidates-hero, .fg-board-hero, .fg-special-hero)::after {
  display: none;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__inner,
.fg-events-hero__inner {
  box-sizing: border-box;
  width: 100%;
  height: var(--fg-subpage-hero-height);
  min-height: var(--fg-subpage-hero-height);
  max-height: var(--fg-subpage-hero-height);
  grid-template-columns: 1fr;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__copy,
.fg-events-hero__inner {
  box-sizing: border-box;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 1.45rem 1.5rem;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__eyebrow,
.fg-events-hero__eyebrow {
  margin: 0 0 .45rem;
  color: var(--fg-orange);
  font-family: "FG Oswald", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__copy h1,
.fg-events-hero h1 {
  max-width: none;
  margin: 0 0 .55rem;
  color: #fff;
  font-family: "FG Oswald", sans-serif;
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1;
  text-align: left;
  text-transform: none;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons),
.fg-events-hero__lead {
  max-width: 760px;
  margin: 0;
  color: #dce9ec;
  font-size: 1rem;
  line-height: 1.45;
  text-align: left;
}

:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons) p {
  margin: 0;
}

/* Unterseiten beginnen direkt mit dem Inhalt; CTAs stehen im passenden Abschnitt. */
:is(
  .fg-values-hero,
  .fg-candidates-hero,
  .fg-board-hero,
  .fg-special-hero
) .sb-base-module-hero__buttons {
  display: none;
}

@media (max-width: 720px) {
  :root {
    --fg-subpage-hero-height: 210px;
  }

  :is(
    .fg-values-hero,
    .fg-candidates-hero,
    .fg-board-hero,
    .fg-special-hero
  ) .sb-base-module-hero__copy,
  .fg-events-hero__inner {
    width: 100%;
    padding: 1.2rem 1.25rem;
  }

  :is(
    .fg-values-hero,
    .fg-candidates-hero,
    .fg-board-hero,
    .fg-special-hero
  ) .sb-base-module-hero__copy h1,
  .fg-events-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.65rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  :is(
    .fg-values-hero,
    .fg-candidates-hero,
    .fg-board-hero,
    .fg-special-hero
  ) .sb-base-module-hero__copy > div:not(.sb-base-module-hero__buttons),
  .fg-events-hero__lead {
    font-size: .92rem;
    line-height: 1.38;
  }
}

/* Mobile Sichtkorrekturen nach der ersten produktiven Abnahme (0.1.28).
 * Dieser Block steht absichtlich ganz am Dateiende und gewinnt damit gegen
 * ältere, historisch zusammengeführte Responsive-Regeln. */
@media (max-width: 720px) {
  /* Die Markenunterzeile gehört auch mobil sichtbar zur Wortmarke. */
  .fg-site-header .fg-brand__text small {
    display: block;
    margin-top: .24rem;
    color: var(--fg-orange);
    font-size: clamp(.55rem, 2.6vw, .68rem);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.15;
    text-transform: uppercase;
  }

  /* WPForms hält Vor- und Nachname mobil zweispaltig. Daher darf nur das
   * zweite Feld keinen zusätzlichen vertikalen Versatz erhalten. */
  .fg-wpforms-card div.wpforms-container-full .wpforms-field-name .wpforms-field-row-block + .wpforms-field-row-block {
    margin-top: 0;
  }

  /* Die Desktopwerte bleiben unverändert; nur die mobile Themenstatistik
   * erhält die ausdrücklich gewünschte, deutlich größere Beschriftung. */
  html body .sbtp-archive-page .sbtp-statsbar .sbtp-statbox,
  html body .sbtp-archive-page .sbtp-statsbar > div {
    min-height: 128px !important;
    padding: 24px 22px !important;
    grid-template-columns: minmax(42px, auto) minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  html body .sbtp-archive-page .sbtp-statsbar .sbtp-statbox strong,
  html body .sbtp-archive-page .sbtp-statsbar strong {
    font-size: 56px !important;
  }

  html body .sbtp-archive-page .sbtp-statsbar .sbtp-statbox span,
  html body .sbtp-archive-page .sbtp-statsbar span {
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  html body .sbtp-archive-page .sbtp-statsbar .sbtp-statbox i {
    font-size: 36px !important;
  }
}
