/* Young Boys Reutlingen: Design-Tokens, abgeleitet aus dem Webflow-Original (Relume-Variablen).
   Nur hier werden Farben, Schriften, Abstaende und Radien definiert. */
:root {
  /* Farben */
  --yb-dark-blue: #1d2144;        /* Hintergrund Standard-Sektionen, Nav, Footer, "background-color-black" im Original */
  --yb-dark-blue-bg: #12152a;     /* color-scheme-1--dark-blue-background, "background-color-dark-blue" */
  --yb-gold: #b9a67d;
  --yb-light-blue: #c4e6f6;       /* color-scheme-1--light-blue */
  --yb-light-blue-2: #dceaf2;     /* Tabellenkopf der Statistik-Modale, Bildflaechen Mobil */
  --yb-white: #fff;
  --yb-black: #000;
  --yb-neutral-dark: #444;
  --yb-neutral: #666;
  --yb-neutral-light: #aaa;
  --yb-neutral-lighter: #ccc;
  --yb-neutral-lightest: #eee;
  --yb-text: var(--yb-dark-blue);
  --yb-overlay-dark-25: #00000040;
  --yb-overlay-dark-30: #0000004d;
  --yb-overlay-dark-50: #00000080;
  --yb-overlay-dark-60: #0009;

  /* Schrift */
  --yb-font-heading: "Anton SC", Arial, sans-serif;
  --yb-font-body: "Inter", Arial, sans-serif;

  /* Abstaende (Relume margin/padding Skala) */
  --yb-space-tiny: .25rem;
  --yb-space-xxsmall: .5rem;
  --yb-space-xsmall: 1rem;
  --yb-space-small: 1.5rem;
  --yb-space-medium: 2rem;
  --yb-space-large: 3rem;
  --yb-space-xlarge: 4rem;
  --yb-space-xxlarge: 5rem;
  --yb-space-huge: 6rem;
  --yb-space-xhuge: 7rem;
  --yb-space-xxhuge: 8rem;

  /* Sektions-Padding */
  --yb-section-small: 3rem;
  --yb-section-medium: 5rem;
  --yb-section-large: 180px;
  --yb-section-xlarge: 240px;

  /* Raster */
  --yb-container-large: 1600px;
  --yb-container-medium: 64rem;
  --yb-container-small: 48rem;
  --yb-gutter: 5%;
  --yb-max-width-large: 48rem;
  --yb-max-width-small: 30rem;

  /* Radien und Linien (Original: 0) */
  --yb-radius: 0px;
  --yb-border-width: 1px;
}
@media screen and (max-width: 991px) {
  :root {
    --yb-space-large: 2.5rem; --yb-space-xlarge: 3.5rem; --yb-space-xxlarge: 4.5rem; --yb-space-huge: 5rem; --yb-space-xhuge: 6rem; --yb-space-xxhuge: 7rem;
    --yb-section-medium: 4rem; --yb-section-large: 6rem; --yb-section-xlarge: 6rem;
  }
}
@media screen and (max-width: 767px) {
  :root {
    --yb-space-xsmall: .75rem; --yb-space-small: 1.25rem; --yb-space-medium: 1.5rem; --yb-space-large: 2rem; --yb-space-xlarge: 2.5rem; --yb-space-xxlarge: 3rem; --yb-space-huge: 3.5rem; --yb-space-xhuge: 4rem; --yb-space-xxhuge: 4.5rem;
    --yb-section-small: 2rem; --yb-section-medium: 3rem; --yb-section-large: 4rem; --yb-section-xlarge: 4rem;
  }
}

/* Basis: Schriften, Reset, Typografie-Klassen, Buttons, Raster-Hilfsklassen.
   Klassennamen bewusst wie im Original (Relume), damit Vergleich und Pflege einfach bleiben. Kein Webflow-CSS uebernommen. */
@font-face { font-family: "Anton SC"; src: url("../../files/theme/fonts/AntonSC-Regular.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../files/theme/fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../files/theme/fonts/Inter-Variable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { height: 100%; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100%; background: var(--yb-white); color: var(--yb-text); font-family: var(--yb-font-body); font-size: 1rem; line-height: 1.5; overflow-x: clip; }
img, picture, video, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
img { border: 0; height: auto; }
figure { margin: 0; }
figure, picture { display: contents; } /* Contao-figure()-Wrapper aus dem Boxmodell nehmen, Original hat nackte img */
a { color: inherit; text-decoration: underline; background: transparent; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--yb-font-heading); font-weight: 700; margin: 0; line-height: 1.2; }
h1, h2, h3, h4 { text-transform: uppercase; }
h1 { font-size: 3.5rem; } h2 { font-size: 3rem; } h3 { font-size: 2.5rem; } h4 { font-size: 2rem; line-height: 1.3; } h5 { font-size: 1.5rem; line-height: 1.4; } h6 { font-size: 1.25rem; line-height: 1.4; }
strong { font-weight: 700; }
/* Contao-Eigenheiten neutralisieren */
.block { overflow: visible; }
.invisible, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mod_article, .ce_rsce { position: relative; }
#main .inside, #container { margin: 0; padding: 0; }
#wrapper { max-width: none; }

/* Typografie-Klassen (Werte aus dem Original) */
.heading-style-h1 { color: var(--yb-white); text-transform: uppercase; font-size: 210px; font-weight: 700; line-height: .9; font-family: var(--yb-font-heading); }
.heading-style-h2 { text-transform: uppercase; font-size: 150px; font-weight: 700; line-height: 95%; font-family: var(--yb-font-heading); }
.heading-style-h3 { text-transform: uppercase; font-size: 90px; font-weight: 700; line-height: 1.2; font-family: var(--yb-font-heading); }
.heading-style-h4 { color: var(--yb-white); text-transform: uppercase; font-size: 45px; font-weight: 700; line-height: 1.3; font-family: var(--yb-font-heading); }
.heading-style-h5 { text-transform: uppercase; font-size: 24px; font-weight: 700; line-height: 1.4; font-family: var(--yb-font-heading); }
.heading-style-h6 { font-size: 1.25rem; font-weight: 700; line-height: 1.4; font-family: var(--yb-font-heading); }
.text-size-large { font-size: 39px; font-weight: 300; }
.text-size-medium { font-size: 18px; }
.text-size-regular { font-size: 1rem; }
.text-size-small { font-family: var(--yb-font-body); font-size: 12px; font-weight: 700; }
.text-size-tiny { color: var(--yb-white); font-size: .75rem; }
.text-weight-semibold { font-weight: 600; }
.text-align-center { text-align: center; }
.text-align-left { text-align: left; }
.text-align-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.text-color-white { color: var(--yb-white); }
.text-color-gold { color: var(--yb-gold); }
.text-color-black { color: var(--yb-black); }
.text-link { text-decoration: underline; }
.text-rich-text h2, .text-rich-text h3, .text-rich-text h4 { margin-top: 1.5rem; margin-bottom: 1rem; }
.text-rich-text h5, .text-rich-text h6 { margin-top: 1.25rem; margin-bottom: 1rem; }
.text-rich-text p { margin-bottom: 1rem; }
.text-rich-text a { text-decoration: underline; }
.text-rich-text ul, .text-rich-text ol { padding-left: 1.25rem; margin-top: 1rem; margin-bottom: 1rem; overflow: hidden; } /* gemessen am Original, overflow wie Webflow (verhindert Margin-Collapse) */
.text-rich-text li { margin-top: .25rem; margin-bottom: .25rem; padding-left: .5rem; }
.text-rich-text a { overflow-wrap: anywhere; }

/* Hintergruende (Namen wie im Original: "background-color-black" ist dort das Dunkelblau) */
.background-color-black { background-color: var(--yb-dark-blue); }
.background-color-dark-blue { background-color: var(--yb-dark-blue-bg); }
.background-color-gold { background-color: var(--yb-gold); }
.background-color-light-blue { background-color: var(--yb-light-blue); }
.background-color-blue { background-color: var(--yb-light-blue); }
.background-color-white { background-color: var(--yb-white); }

/* Raster */
.padding-global { color: var(--yb-text); background-color: var(--yb-dark-blue); border: 1px solid var(--yb-dark-blue); padding-left: var(--yb-gutter); padding-right: var(--yb-gutter); }
.padding-global.white { background-color: var(--yb-white); }
.container-large { width: 100%; max-width: var(--yb-container-large); margin-left: auto; margin-right: auto; }
.container-large-2 { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; }
.container-medium { width: 100%; max-width: var(--yb-container-medium); margin: 0 auto; }
.container-small { width: 100%; max-width: var(--yb-container-small); margin: 0 auto; }
.max-width-large { width: 100%; max-width: var(--yb-max-width-large); }
.max-width-small { width: 100%; max-width: var(--yb-max-width-small); }
.align-center { margin-left: auto; margin-right: auto; }
.padding-section-small { padding-top: var(--yb-section-small); padding-bottom: var(--yb-section-small); }
.padding-section-medium { padding-top: var(--yb-section-medium); padding-bottom: var(--yb-section-medium); }
.padding-section-large { padding-top: var(--yb-section-large); padding-bottom: var(--yb-section-large); }
.padding-section-xlarge { padding-top: var(--yb-section-xlarge); padding-bottom: var(--yb-section-xlarge); }
.padding-section-small.no-padding-top, .padding-section-medium.no-padding-top, .padding-section-large.no-padding-top, .padding-section-xlarge.no-padding-top { padding-top: 0; }
.padding-section-small.no-padding-bottom, .padding-section-medium.no-padding-bottom, .padding-section-xlarge.no-padding-bottom { padding-bottom: 0; }
.padding-section-large.no-padding-bottom { padding-bottom: 60px; } /* Original: 60px, nicht 0 */
.margin-bottom { margin-top: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.margin-top { margin-bottom: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.margin-tiny { margin: var(--yb-space-tiny); } .margin-xxsmall { margin: var(--yb-space-xxsmall); } .margin-xsmall { margin: var(--yb-space-xsmall); } .margin-small { margin: var(--yb-space-small); } .margin-medium { margin: var(--yb-space-medium); } .margin-large { margin: var(--yb-space-large); } .margin-xlarge { margin: var(--yb-space-xlarge); } .margin-xxlarge { margin: var(--yb-space-xxlarge); } .margin-huge { margin: var(--yb-space-huge); } .margin-xhuge { margin: var(--yb-space-xhuge); }
.margin-right { margin-top: 0 !important; margin-bottom: 0 !important; margin-left: 0 !important; }
.margin-bottom.margin-medium { margin: 0 0 30px; } /* Original-Sonderfall */
.padding-vertical { padding-left: 0 !important; padding-right: 0 !important; }
.padding-bottom { padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.padding-top { padding-bottom: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.padding-xxsmall { padding: .5rem; } .padding-medium { padding: 2rem; } .padding-xxlarge { padding: 5rem; } .padding-xhuge { padding: 7rem; } .padding-xxhuge { padding: 10rem; }
.display-inlineflex { display: inline-flex; align-items: flex-end; }
.flex-column { display: flex; flex-flow: column; align-items: flex-start; }
.display-inlineflex.flex-column { flex-flow: row; }
.hide { display: none !important; }

/* Buttons */
.button, .button-3 { border: 1px solid var(--yb-black); background-color: var(--yb-black); color: var(--yb-white); text-align: center; padding: .75rem 1.5rem; text-decoration: none; display: inline-block; cursor: pointer; font-family: var(--yb-font-body); line-height: inherit; }
.button.is-secondary { border-color: var(--yb-gold); background-color: var(--yb-dark-blue); color: var(--yb-gold); letter-spacing: .8px; text-transform: uppercase; padding: 21px 45px; font-size: 12px; font-weight: 600; }
.button.is-outline { border-color: var(--yb-dark-blue); background-color: transparent; color: var(--yb-dark-blue); letter-spacing: .8px; text-transform: uppercase; padding: 21px 45px; font-size: 12px; font-weight: 600; }
.button-3.is-secondary { background-color: transparent; color: var(--yb-black); }
.button-3.is-secondary.is-alternate { border-color: var(--yb-gold); background-color: var(--yb-dark-blue); color: var(--yb-gold); letter-spacing: .6px; text-transform: uppercase; vertical-align: baseline; border-radius: 1px; margin-top: 0; padding: 21px 45px; font-size: 12px; font-weight: 600; display: inline-block; }
.button-group { display: flex; flex-wrap: wrap; align-items: center; grid-column-gap: 1rem; grid-row-gap: 1rem; column-gap: 1rem; row-gap: 1rem; }
.button-group.align-center, .button-group.is-center { justify-content: center; }
.button-group.is-right { justify-content: flex-end; }

/* Hover nur auf der Startseite (Webflow-Interaktion ist dort auf die Seite begrenzt) */
.startseite .button.is-secondary { transition: background-color .3s, color .3s; }
.startseite .button.is-secondary:hover { background-color: var(--yb-gold); color: var(--yb-dark-blue); }

/* Formulare (Original form_input) */
.form_input { border: 1px solid var(--yb-black); background-color: var(--yb-white); height: auto; min-height: 2.75rem; color: var(--yb-black); border-radius: 0; margin-bottom: 0; padding: .5rem .75rem; font-size: 1rem; line-height: 1.6; width: 100%; font-family: inherit; }
.form_input::placeholder { color: var(--yb-neutral); opacity: 1; }
.form_input:focus { outline: 0; }
body.yb-tastatur .form_input:focus { outline: 2px solid var(--yb-gold); outline-offset: 2px; } /* Fokusrahmen nur bei Tastaturbedienung, Original zeigt keinen */

/* Responsiv */
@media screen and (max-width: 991px) {
  .padding-xxlarge { padding: 4.5rem; } .padding-xhuge { padding: 6rem; } .padding-xxhuge { padding: 7.5rem; }
  h1 { font-size: 3.25rem; } h2 { font-size: 2.75rem; } h3 { font-size: 2.25rem; } h4 { font-size: 1.75rem; }
  .heading-style-h1 { font-size: 3.25rem; } .heading-style-h2 { font-size: 2.75rem; } .heading-style-h3 { font-size: 2.25rem; } .heading-style-h4 { font-size: 1.75rem; }
}
@media screen and (max-width: 767px) {
  .padding-medium { padding: 1.5rem; } .padding-xxlarge { padding: 3rem; } .padding-xhuge { padding: 4rem; } .padding-xxhuge { padding: 5rem; }
  h1 { font-size: 2.5rem; } h2 { font-size: 2.25rem; } h3 { font-size: 2rem; } h4 { font-size: 1.5rem; line-height: 1.4; } h5 { font-size: 1.25rem; } h6 { font-size: 1.125rem; }
  .heading-style-h1 { font-size: 2.5rem; } .heading-style-h2 { font-size: 2.25rem; } .heading-style-h3 { font-size: 2rem; } .heading-style-h4 { font-size: 1.5rem; line-height: 1.4; } .heading-style-h5 { font-size: 1.25rem; } .heading-style-h6 { font-size: 1.125rem; }
  .text-size-large { font-size: 1.125rem; } .text-size-medium { font-size: 1rem; }
}
@media screen and (max-width: 479px) {
  h1 { font-size: 2.5rem; }
  .heading-style-h3 { font-size: 45px; } .heading-style-h4 { font-size: 30px; }
  .button.is-secondary, .button.is-outline { padding: 18px 30px; }
  .button-3.is-secondary.is-alternate { padding-top: 16px; padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Layout: Kopf (navbar2_component, Modul "Navigation") und Fuss (footer5_component, Element rsce_yb_footer).
   Werte aus dem Webflow-Original (navbar2.css, nav-button.css, is-page-height.css, footer5.css).
   Breakpoints wie Original: 991 / 767 / 479 px. */

/* ===== Kopf ================================================================= */
#header, #header > .inside { position: relative; z-index: 1000; }

.navbar2_component {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4.5rem;
  padding-left: var(--yb-gutter);
  padding-right: 0;
  background-color: var(--yb-dark-blue);
  color: var(--yb-white);
  font-family: var(--yb-font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: clip; /* Burger-Icon ragt wie im Original 8px ueber den Rand, ohne Seitenueberlauf */
}

.navbar2_container {
  display: grid;
  grid-template-columns: .375fr 1fr .375fr;
  grid-template-rows: auto;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.navbar2_logo-link { display: block; position: relative; width: 112px; height: 112px; padding-left: 0; color: inherit; text-decoration: none; }
.navbar2_logo { display: inline-block; width: 112px; height: 112px; max-width: 100%; vertical-align: middle; }

.navbar2_menu { justify-self: center; position: static; }
.navbar2_menu-list { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; }
.navbar2_menu-item { margin: 0; padding: 0; }

/* Links und aktive Seite (<strong>) identisch: Original hebt die aktive Seite nicht hervor */
.navbar2_link {
  display: block;
  position: relative;
  padding: .5rem 1rem;
  color: var(--yb-white);
  font-size: 18px; /* navbar2.css; nur die Webflow-Startseite hat per Inline-Style 16px, alle anderen Seiten 18px */
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}
a.navbar2_link:hover { color: var(--yb-white); }
/* Aktive Seite (Contao: <strong aria-current>) wie Original w--current: unterstrichen, Browser-Standard fuer Staerke und Abstand */
strong.navbar2_link, .navbar2_link[aria-current="page"] { color: var(--yb-white); text-decoration: underline; }

.navbar2_button-wrapper { display: flex; justify-self: end; gap: 1rem; margin-left: 1rem; }

/* Burger (nur bis 991 px sichtbar) */
.navbar2_menu-button {
  display: none;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1.5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.menu-icon2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-right: -.5rem;
}
.menu-icon2_line-top,
.menu-icon2_line-middle,
.menu-icon2_line-bottom {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--yb-white);
  transition: transform .4s ease, opacity .4s ease;
}
.menu-icon2_line-middle { margin-top: 6px; margin-bottom: 6px; }
.is-open .menu-icon2_line-top { transform: translateY(8px) rotate(45deg); }
.is-open .menu-icon2_line-middle { opacity: 0; }
.is-open .menu-icon2_line-bottom { transform: translateY(-8px) rotate(-45deg); }

/* Tickets-Kasten */
.nav-button { display: none; background-color: var(--yb-light-blue); text-decoration: none; }
.nav-button.hide-on-mobile { display: block; flex-shrink: 0; } /* Tickets-Kasten nie stauchen, auch bei mehr Menuepunkten */
.nav-button-typo {
  display: block;
  padding: 5px 45px;
  color: var(--yb-gold);
  font-family: var(--yb-font-heading);
  font-size: 70px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.navbar2_menu-item-tickets { display: none; }

@media screen and (max-width: 991px) {
  .navbar2_container { display: flex; }

  .navbar2_button-wrapper { align-items: center; }
  .navbar2_menu-button { display: block; }

  /* Menue als Vollhoehen-Overlay unter der Leiste. Die Liste faehrt wie im Original von oben ein. */
  .navbar2_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-self: stretch; /* sonst zentriert Chrome das absolut positionierte Menue schmal */
    height: 100dvh;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .4s;
  }
  .is-open .navbar2_menu { visibility: visible; pointer-events: auto; transition-delay: 0s; }

  .navbar2_menu-list {
    display: block;
    height: 100%;
    overflow: auto;
    padding: 1rem var(--yb-gutter) 6.5rem;
    border-bottom: 1px solid var(--yb-black);
    background-color: var(--yb-gold);
    color: var(--yb-dark-blue);
    text-align: center;
    transform: translateY(-100%);
    transition: transform .4s ease;
  }
  .is-open .navbar2_menu-list { transform: none; }

  .navbar2_link { padding: .75rem 0; color: var(--yb-dark-blue); text-align: center; }
  a.navbar2_link:hover { color: var(--yb-dark-blue); }
  /* Original: w--current bleibt auch im goldenen Menue weiss (schwacher Kontrast, 1:1 uebernommen) */
  strong.navbar2_link, .navbar2_link[aria-current="page"] { color: var(--yb-white); }

  .navbar2_menu-item-tickets { display: block; }
  .nav-button { display: block; }
  .nav-button.hide-on-mobile { display: none; }
}

@media screen and (max-width: 767px) {
  .navbar2_component { min-height: 4rem; }
  .navbar2_menu-list { padding-bottom: 6rem; }
}

@media screen and (max-width: 479px) {
  .navbar2_component { min-height: auto; padding: 12px var(--yb-gutter); }
  .navbar2_logo-link { width: auto; height: auto; }
  .navbar2_logo { width: 60px; height: 60px; }
  .navbar2_menu-list { padding-left: 0; padding-right: 0; }
  .navbar2_menu .nav-button { position: relative; margin-top: 1rem; }
  .nav-button-typo { padding-top: 20px; padding-bottom: 20px; font-size: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar2_menu, .navbar2_menu-list, .menu-icon2_line-top, .menu-icon2_line-middle, .menu-icon2_line-bottom { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ===== Fuss ================================================================= */
.footer5_component.background-color-black { background-color: var(--yb-dark-blue-bg); }
.footer5_component a { text-decoration: none; }

/* Original: padding-xxhuge = 10rem / 7.5rem / 5rem (Padding-Skala, nicht die Margin-Skala aus tokens.css) */
.footer5_component .padding-vertical.padding-xxhuge { padding-top: 10rem; padding-bottom: 10rem; }
.footer5_slogan { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }

.footer-head-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  gap: 1rem 2rem;
  align-items: start;
}
.footer-link-block,
.footer-link-block-social {
  display: flex;
  gap: 4px;
  font-family: var(--yb-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  text-decoration: none;
}
.footer-link-block { font-size: 45px; }
.footer-link-block-social { font-size: 24px; }

.footer5_top-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  gap: 1rem 2rem;
  align-items: start;
}
.footer5_link-list { display: flex; flex-direction: column; align-items: flex-start; }
.footer5_link {
  padding-top: 4px;
  padding-bottom: 4px;
  color: var(--yb-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
}

.footer5_bottom-wrapper { display: flex; justify-content: space-between; align-items: center; }
.footer5_legal-list { display: flex; justify-content: center; gap: 0 1.5rem; white-space: normal; }
.footer5_credit-text { font-size: .875rem; }
.footer5_credit-text.text-color-white { font-size: 12px; line-height: 1.5; letter-spacing: .6px; text-transform: uppercase; }

@media screen and (max-width: 991px) {
  .footer5_component .padding-vertical.padding-xxhuge { padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .footer-head-wrapper { grid-template-columns: 1fr 1fr 1fr; row-gap: 3rem; }
  .footer5_top-wrapper { grid-template-columns: 1fr 1fr 1fr; row-gap: 3rem; }
  .footer5_bottom-wrapper { flex-direction: column-reverse; justify-content: flex-start; align-items: flex-start; }
}

@media screen and (max-width: 767px) {
  .footer5_component .padding-vertical.padding-xxhuge { padding-top: 5rem; padding-bottom: 5rem; }
  /* Original: padding-medium = 1.5rem unter 768 px (fehlt in base.css) */
  .footer5_component .padding-top.padding-medium { padding-top: 1.5rem; }
  .footer-head-wrapper { row-gap: 2.5rem; }
  .footer5_top-wrapper { row-gap: 2.5rem; }
  .footer5_legal-list { flex-flow: column; gap: 1rem 0; }
  .footer5_credit-text { order: 1; margin-top: 1rem; }
  .footer5_bottom-wrapper { padding-bottom: 1rem; }
}

@media screen and (max-width: 479px) {
  .footer-head-wrapper { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .footer-link-block { font-size: 30px; }
  .footer5_top-wrapper { grid-template-columns: 1fr; row-gap: 2.5rem; }
}

/* Einwilligung: Optik des Cookiebanners (oveleon/contao-cookiebar, Template cookiebar/default/young_boys)
   und Basis der Platzhalter fuer eingebettete Inhalte (.yb-embed, Verhalten in files/theme/js/consent.js).
   Struktur, Animation und Ein-/Ausblenden kommen aus dem Vendor-CSS (simple.css), hier nur Farben, Schrift, Abstaende.
   Alle Selektoren mit .yb-consent, damit sie unabhaengig von der Ladereihenfolge gegen das Vendor-CSS gewinnen. */

/* ---------- Banner ---------- */
.contao-cookiebar.yb-consent {
  --ccb-backdrop: var(--yb-overlay-dark-60);
  --ccb-bg: var(--yb-dark-blue);
  --ccb-clr: var(--yb-white);
  --ccb-text: var(--yb-white);
  --ccb-bdr: var(--yb-neutral-dark);
  --ccb-cookies-bg: var(--yb-dark-blue-bg);
  --ccb-cookies-bdr: var(--yb-dark-blue);
  --ccb-info-bg: var(--yb-dark-blue);
  --ccb-info-bdr: var(--yb-neutral-dark);
  --ccb-detail-clr: var(--yb-light-blue);
  --ccb-detail-clr-hvr: var(--yb-gold);
  --ccb-checked-clr: var(--yb-gold);
  --ccb-checked-bg: var(--yb-dark-blue);
  --ccb-unchecked-clr: var(--yb-neutral-light);
  --ccb-unchecked-bg: var(--yb-dark-blue);
  --ccb-disabled-clr: var(--yb-neutral);
  --ccb-disabled-bg: var(--yb-dark-blue-bg);
  --ccb-focus-clr: var(--yb-light-blue);
  --ccb-box-shadow: var(--yb-overlay-dark-50);
  --ccb-max-width: 52rem;
  font-family: var(--yb-font-body);
  color: var(--yb-white);
  padding: var(--yb-space-xsmall);
}
.contao-cookiebar.yb-consent .cc-inner {
  width: 100%;
  padding: var(--yb-space-medium);
  border-radius: var(--yb-radius);
  border-top: 3px solid var(--yb-gold);
  font-size: 1rem;
  line-height: 1.5;
}
.contao-cookiebar.yb-consent p { color: var(--yb-white); line-height: 1.5; }
.contao-cookiebar.yb-consent a { color: var(--yb-gold); text-decoration: underline; }
.contao-cookiebar.yb-consent a:hover { color: var(--yb-light-blue); }
.contao-cookiebar.yb-consent .cc-head p { margin: 0 0 var(--yb-space-xsmall); font-size: .9375rem; }
.contao-cookiebar.yb-consent .cc-head > :last-child { margin-bottom: var(--yb-space-small); }
.contao-cookiebar.yb-consent .cc-head .yb-consent__title {
  font-family: var(--yb-font-heading);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--yb-gold);
  margin: 0 0 var(--yb-space-xxsmall);
  padding-right: 2rem;
}
.contao-cookiebar.yb-consent .cc-close { color: var(--yb-gold) !important; font-size: 1.125rem; inset: .75rem .75rem auto auto; }

/* Drei gleichwertige Buttons: gleiche Groesse, gleiche Farbe, gleiche Reihenfolge-Gewichtung (kein Dark Pattern) */
.contao-cookiebar.yb-consent .cc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--yb-space-xxsmall);
  text-align: left;
}
.contao-cookiebar.yb-consent .cc-btn,
.contao-cookiebar.yb-consent .cc-btn.success,
.contao-cookiebar.yb-consent .cc-btn.deny,
.contao-cookiebar.yb-consent .cc-btn.info,
.contao-cookiebar.yb-consent .cc-btn.save {
  --ccb-btn-bg: var(--yb-dark-blue);
  --ccb-btn-bg-hvr: var(--yb-gold);
  --ccb-btn-bdr: var(--yb-gold);
  --ccb-btn-clr: var(--yb-gold);
  flex: 1 1 0;
  min-width: 12rem;
  width: auto;
  margin: 0;
  padding: 16px 24px;
  border: 1px solid var(--yb-gold);
  border-radius: var(--yb-radius);
  background: var(--yb-dark-blue);
  color: var(--yb-gold);
  font-family: var(--yb-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  transition: background-color .2s, color .2s;
}
.contao-cookiebar.yb-consent .cc-btn:hover,
.contao-cookiebar.yb-consent .cc-btn:focus-visible {
  background: var(--yb-gold);
  color: var(--yb-dark-blue);
}
.contao-cookiebar.yb-consent .cc-btn.info.cc-active { background: var(--yb-gold); color: var(--yb-dark-blue); }
.contao-cookiebar.yb-consent .cc-focus:not(.cc-hide-focus):focus-visible { outline: 2px solid var(--yb-light-blue); outline-offset: 2px; }
/* Beim Oeffnen setzt die Cookiebar den Fokus programmatisch auf das erste Element (cc-hide-focus): ohne Ring bis zur ersten Tab-Taste */
.contao-cookiebar.yb-consent .cc-hide-focus:focus { outline: none; }

/* Einstellungen (aufgeklappte Gruppen) */
.contao-cookiebar.yb-consent .cc-groups { flex: 1 1 100%; padding-top: var(--yb-space-xsmall); }
.contao-cookiebar.yb-consent .cc-groups .cc-btn.save { width: 100%; margin-top: var(--yb-space-xxsmall); }
.contao-cookiebar.yb-consent .cc-group { border-radius: var(--yb-radius); border-color: var(--yb-neutral-dark); margin-bottom: var(--yb-space-xxsmall); }
.contao-cookiebar.yb-consent .cc-group > label { margin: 4px 12px; font-weight: 600; }
.contao-cookiebar.yb-consent .cc-cookies { border-radius: 0; }
.contao-cookiebar.yb-consent .cc-cookies > p,
.contao-cookiebar.yb-consent .cc-cookie p { font-size: .875rem; color: var(--yb-neutral-lightest); }
.contao-cookiebar.yb-consent .cc-cookie label.cookie { font-weight: 600; }
.contao-cookiebar.yb-consent .cc-cookie-info { border-radius: var(--yb-radius); font-size: .8125rem; color: var(--yb-neutral-lightest); }
.contao-cookiebar.yb-consent .cc-cookie-info > div > span { color: var(--yb-gold); }

/* Links Datenschutz, Impressum */
.contao-cookiebar.yb-consent .cc-info { margin-top: var(--yb-space-xsmall); text-align: left; }
.contao-cookiebar.yb-consent .cc-info > a { font-size: .8125rem; color: var(--yb-light-blue); text-decoration: underline; margin-right: 5px; }
.contao-cookiebar.yb-consent .cc-info > a:hover { color: var(--yb-gold); }

@media screen and (max-width: 767px) {
  .contao-cookiebar.yb-consent { padding: 0; }
  .contao-cookiebar.yb-consent .cc-inner { padding: var(--yb-space-small) var(--yb-space-xsmall); }
  .contao-cookiebar.yb-consent .cc-head .yb-consent__title { font-size: 1.5rem; }
  .contao-cookiebar.yb-consent .cc-head p { font-size: .875rem; }
  .contao-cookiebar.yb-consent .cc-btn { flex-basis: 100%; min-width: 0; }
}

/* ---------- Eingebettete Inhalte (Vertrag: docs/bauanleitung-elemente.md) ----------
   consent.js setzt --yb-embed-ratio (aus data-yb-ratio, Prozent) bzw. --yb-embed-height (fussball.de, feste Hoehe)
   und die Klassen is-ratio, is-fixed, is-loaded. Element-Agents stylen nur Details (Text, Button-Abstaende). */
.yb-embed { position: relative; width: 100%; }
.yb-embed.is-ratio { height: 0; padding-top: var(--yb-embed-ratio, 56.25%); }
.yb-embed.is-fixed { height: var(--yb-embed-height, 600px); }
.yb-embed.is-ratio > .yb-embed__placeholder,
.yb-embed.is-ratio > .yb-embed__content { position: absolute; inset: 0; }
.yb-embed.is-fixed > .yb-embed__placeholder,
.yb-embed.is-fixed > .yb-embed__content { height: 100%; }

.yb-embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--yb-space-xsmall);
  min-height: 16rem;
  padding: var(--yb-space-medium) var(--yb-gutter);
  background-color: var(--yb-dark-blue);
  color: var(--yb-white);
  font-family: var(--yb-font-body);
  text-align: center;
}
.yb-embed.is-ratio > .yb-embed__placeholder { min-height: 0; }
.yb-embed .yb-embed__placeholder[hidden] { display: none !important; }
.yb-embed__placeholder p { margin: 0; max-width: 36rem; font-size: .875rem; line-height: 1.5; }
.yb-embed__placeholder a { color: var(--yb-gold); text-decoration: underline; }
.yb-embed__title { font-family: var(--yb-font-heading); font-size: 1.25rem; line-height: 1.2; text-transform: uppercase; color: var(--yb-gold); }

.yb-embed__content { width: 100%; }
.yb-embed__content > iframe { display: block; width: 100%; height: 100%; border: 0; }
.yb-embed[data-yb-embed="fussball"] .yb-embed__content > iframe { border: 1px solid #CECECE; } /* Originalwert fussball.de-Widget */

@media screen and (max-width: 479px) {
  .yb-embed__placeholder { padding: var(--yb-space-small) var(--yb-space-xsmall); gap: var(--yb-space-xxsmall); }
  .yb-embed__placeholder p { font-size: .8125rem; }
  .yb-embed.is-ratio > .yb-embed__placeholder .button-3 { padding: 12px 20px; }
}

/* Akkordeon (Original section_faq2). Gilt auch fuer das FAQ-Modul Saisonberichte (gleiches Markup, siehe files/theme/js/akkordeon.js).
   Werte aus faq2.css, accordion.css, icon-embed.css und den Mobil-Patches des Originals (Inline-Styles, max-width 767px). */
.section_faq2 { color: var(--yb-dark-blue); background-color: var(--yb-white); }
.section_faq2.background-color-light-blue { background-color: var(--yb-light-blue); }
.section_faq2.background-color-black { background-color: var(--yb-dark-blue); }

.faq2_list { border-bottom: var(--yb-border-width) solid var(--yb-black); }
.faq2_list.no-border { border-bottom-style: none; }
.faq2_accordion { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }

.faq2_question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  padding: 30px 5%;
  border-top: var(--yb-border-width) solid var(--yb-black);
  cursor: pointer;
}
.faq2_question.white-border { border-top-color: var(--yb-white); }
.faq2_question:focus { outline: none; }
.faq2_question:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: -2px; }

.accordion-title {
  font-family: var(--yb-font-heading);
  color: var(--yb-dark-blue);
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.5;
}
.accordion-title.text-color-white { color: var(--yb-white); }
.accordion-title.heading-style-h3 { font-size: 90px; line-height: 1.2; }

.faq2_icon-wrapper {
  display: flex;
  justify-content: center;
  align-self: flex-start;
  align-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  transition: transform .4s ease;
  transform: rotate(0deg);
}
/* Original: Drehung um 180 Grad beim Oeffnen (Plus bleibt optisch Plus) */
.faq2_question[aria-expanded="true"] .faq2_icon-wrapper { transform: rotate(var(--yb-faq-icon-rotate, 180deg)); }
.icon-embed-small {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--yb-dark-blue);
}
.icon-embed-small.white { color: var(--yb-white); }
.icon-embed-small svg { width: 100%; height: 100%; }

/* Antwort: Hoehe per grid-template-rows 0fr -> 1fr (400 ms ease wie Original) */
.faq2_answer {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 5%;
  padding-right: 5%;
  overflow: hidden;
  transition: grid-template-rows .4s ease;
}
.faq2_question[aria-expanded="true"] + .faq2_answer,
.faq2_answer.is-open { grid-template-rows: 1fr; }
.faq2_answer-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .4s;
}
.faq2_question[aria-expanded="true"] + .faq2_answer > .faq2_answer-inner,
.faq2_answer.is-open > .faq2_answer-inner { visibility: visible; transition-delay: 0s; }
.faq2_answer .margin-bottom.margin-medium { margin-bottom: 30px; } /* Original: margin-bottom.margin-medium = 30px auf allen Breiten */
.faq2_answer .faq2_bild { display: inline-block; vertical-align: middle; width: 100%; max-width: 100%; height: auto; } /* Original: Webflow-CDN liefert die Bilder in Viewportbreite, sie fuellen die volle Breite */
.faq2_answer .heading-style-h5 { color: inherit; }

/* Karte mit Buttons und Kartenbild (Original layout635 innerhalb der Jugend-Eintraege) */
.faq2_answer .layout635_component { display: grid; grid-template-columns: 1fr; column-gap: 2rem; row-gap: 2rem; }
.faq2_answer .layout635_card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: stretch;
  column-gap: 15px;
  row-gap: 15px;
  overflow: hidden;
  border-radius: var(--yb-radius);
  background-color: transparent;
}
.faq2_answer .layout635_card-content { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.faq2_answer .layout635_card-content.background-color-black { background-color: var(--yb-dark-blue); }
.faq2_answer .layout635_image-wrapper { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.faq2_answer .layout635_image-wrapper.background-color-gold { background-color: var(--yb-gold); }
.faq2_answer .layout635_image { display: block; width: 100%; height: 750px; aspect-ratio: 1; object-fit: cover; }

@media screen and (max-width: 991px) {
  .faq2_answer .layout635_card-content { padding: 2rem; }
}
@media screen and (max-width: 767px) {
  .section_faq2, .faq2_component, .faq2_list, .faq2_accordion, .faq2_question { max-width: 100%; overflow-x: clip; }
  .faq2_question { align-items: center; gap: 16px; min-height: 104px; padding: 1rem 20px; }
  .faq2_question .accordion-title.heading-style-h3 {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100vw - 96px);
    font-size: clamp(44px, 13vw, 58px);
    line-height: .96;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .faq2_icon-wrapper, .faq2_question .icon-embed-small { flex: 0 0 28px; width: 28px; height: 28px; min-width: 28px; margin-left: auto; }
  .faq2_answer .layout635_card { grid-template-columns: 1fr; }
  .faq2_answer .layout635_component { column-gap: 1.5rem; row-gap: 1.5rem; }
  .faq2_answer .layout635_card-content { padding: 1.5rem; }
  /* Original: Mobil-Patch ybr_mobile_no_letterbox (Bild quadratisch, nicht beschnitten) */
  .faq2_answer .layout635_image-wrapper { height: auto; min-height: 0; overflow: hidden; }
  .faq2_answer .layout635_image { width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center center; }
}
@media screen and (max-width: 380px) {
  .faq2_question .accordion-title.heading-style-h3 { font-size: clamp(40px, 12.5vw, 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .faq2_answer, .faq2_answer-inner, .faq2_icon-wrapper { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* rsce_yb_cta_bild (Original section_layout37, Werte aus layout37.css plus Inline-Patches des Originals) */
.section_layout37 { position: relative; }
.layout37_background-image-wrapper { position: absolute; inset: 0; z-index: 0; background-color: var(--yb-dark-blue); }
.layout37_background-image-wrapper.background-color-gold { background-color: var(--yb-gold); }
.layout37_background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.layout37_component { position: relative; z-index: 1; }
.section_layout37 .align-center.logo { width: 144px; height: 144px; }
/* Logo der Gold-Variante: Original-SVG ist 144 x 144 px; ausgetauschte Rastergrafiken auf dieselbe Box begrenzen */
.section_layout37 .layout37_component img.align-center:not(.logo) { width: auto; height: auto; max-width: 144px; max-height: 144px; }
.section_layout37 .heading-style-h2.text-color-gold { font-size: 132px; }
.section_layout37 .heading-style-h3.text-color-black { color: var(--yb-dark-blue); line-height: 92%; }
.section_layout37 .text-size-medium { color: var(--yb-white); }
.section_layout37 .text-size-medium.text-color-black { color: var(--yb-dark-blue); }

@media screen and (max-width: 767px) {
  .section_layout37 .padding-section-xlarge { padding-top: 56px; padding-bottom: 56px; }
  .section_layout37 .heading-style-h2.text-color-gold, .section_layout37 .heading-style-h3.text-color-black { font-size: clamp(38px, 11vw, 52px); line-height: .98; overflow-wrap: anywhere; }
  .section_layout37 .button, .section_layout37 .button-3 { max-width: 100%; white-space: normal; }
  /* Sponsoring-Seite: im Original eigener Mobile-Patch (unten 72 px, Button-Abstand 28 px) */
  .section_layout37.cta-sponsoring .padding-section-xlarge { padding-bottom: 72px; }
  .section_layout37.cta-sponsoring .margin-top.margin-medium { margin-top: 28px; }
}
@media screen and (max-width: 380px) {
  .section_layout37 .heading-style-h2.text-color-gold, .section_layout37 .heading-style-h3.text-color-black { font-size: clamp(34px, 10.5vw, 46px); }
}

/* Original: .container-large-2 max-width 80rem (base.css setzt 1600px) */
.section_layout37 .container-large-2 { max-width: 80rem; }
.section_layout37 .margin-bottom.margin-medium { margin: 0 0 30px; } /* Original: .margin-bottom.margin-medium fest 30px */

/* Galerie: Slider (Original section_gallery20) und Kachelraster (Original section_gallery2) mit Lightbox.
   Werte aus gallery20.css, gallery2.css, .slider-arrow und den Webflow-Slider-Standards (w-slider-nav-invert).
   Originalwerte ohne Token: Punkte #222 (aktiv) und #2226, Lightbox-Hintergrund #000000e6 (Webflow-Lightbox). */
.section_gallery20 { overflow: hidden; color: var(--yb-dark-blue); background-color: var(--yb-white); }
.section_gallery20.background-color-black { background-color: var(--yb-dark-blue); }
.section_gallery20 .heading-style-h4.text-color-white { line-height: 1.2; }

.gallery20_slider {
  position: relative;
  height: auto;
  padding-bottom: 5rem;
  background-color: transparent;
  text-align: left;
  outline: none;
}
.gallery20_slider:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: 6px; }
.gallery20_mask { position: relative; overflow: visible; }
.gallery20_track {
  display: flex;
  transform: translate3d(calc(var(--yb-slider-index, 0) * -100% + var(--yb-slider-drag, 0px)), 0, 0);
  transition: transform .5s ease;
  touch-action: pan-y;
}
.gallery20_slider.is-dragging .gallery20_track { transition: none; }
.gallery20_slide { flex: 0 0 100%; min-width: 0; padding-right: 2rem; }
.gallery20_image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--yb-radius);
  opacity: .3;
  transition: opacity .5s ease;
}
.gallery20_slide.is-active .gallery20_image-wrapper { opacity: 1; }
.gallery20_image {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pfeile */
.slider-arrow {
  position: absolute;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--yb-black);
  border-radius: 100%;
  background-color: var(--yb-neutral-lightest);
  color: var(--yb-dark-blue);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.slider-arrow.is-bottom-previous { inset: auto 4rem 0 auto; }
.slider-arrow.is-bottom-next { inset: auto 0 0 auto; z-index: 4; }
.slider-arrow:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: 2px; }
.slider-arrow:disabled { opacity: .4; cursor: default; }
.slider-arrow-icon_default { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 1rem; height: 1rem; }
.slider-arrow-icon_default svg { width: 100%; height: 100%; }

/* Punkte */
.gallery20_slide-nav {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 2;
  height: 1.75rem;
  margin: auto;
  padding-top: 10px;
  font-size: .5rem;
  line-height: 1;
}
.gallery20_dot {
  font: inherit;
  display: inline-block;
  position: relative;
  width: 1em;
  height: 1em;
  margin: 0 3px .5em;
  padding: 0;
  border: 0;
  border-radius: 100%;
  background-color: #2226;
  cursor: pointer;
  vertical-align: top;
  transition: background-color .1s;
}
.gallery20_dot.is-active { background-color: #222; }
.gallery20_dot:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--yb-white); }

/* Kachelraster */
.section_gallery2 { color: var(--yb-dark-blue); background-color: var(--yb-white); }
.section_gallery2.background-color-light-blue { background-color: var(--yb-light-blue); }
.gallery2_component { max-width: none; margin-left: 15px; margin-right: 15px; }
.gallery2_grid-list { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; column-gap: 2rem; row-gap: 2rem; }
.gallery2_row { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; column-gap: 15px; row-gap: 15px; padding-top: 15px; padding-bottom: 15px; }
.gallery2_lightbox-link { display: block; width: 100%; height: 100%; max-width: 100%; cursor: zoom-in; }
.gallery2_lightbox-link:focus-visible { outline: 2px solid var(--yb-dark-blue); outline-offset: 2px; }
.gallery2_image-wrapper { width: 100%; overflow: hidden; border-radius: var(--yb-radius); }
.gallery2_image { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* Lightbox (files/theme/js/lightbox.js) */
.yb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
}
.yb-lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease-out, visibility 0s linear 0s; }
.yb-lightbox:focus { outline: none; }
.yb-lightbox__backdrop { position: absolute; inset: 0; background-color: #000000e6; }
.yb-lightbox__figure { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; margin: 0; max-width: calc(100vw - 10rem); }
.yb-lightbox__image { display: block; max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; }
.yb-lightbox__counter { color: var(--yb-white); font-family: var(--yb-font-body); font-size: .875rem; }
.yb-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: .5rem;
  border: 0;
  background: transparent;
  color: var(--yb-white);
  cursor: pointer;
}
.yb-lightbox__close:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: 2px; }
.yb-lightbox .slider-arrow.yb-lightbox__prev { inset: 50% auto auto 1.5rem; transform: translateY(-50%); }
.yb-lightbox .slider-arrow.yb-lightbox__next { inset: 50% 1.5rem auto auto; transform: translateY(-50%); }
.yb-lightbox.is-single .yb-lightbox__prev,
.yb-lightbox.is-single .yb-lightbox__next { display: none; }

@media screen and (max-width: 991px) {
  .section_gallery20 .heading-style-h4.text-color-white { font-size: 30px; }
}
@media screen and (max-width: 767px) {
  .gallery20_slide { padding-right: 1.5rem; }
  .gallery2_grid-list { grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 1.5rem; }
  .gallery2_row { grid-template-columns: 1fr; grid-template-rows: auto auto; column-gap: 1.5rem; row-gap: 1.5rem; }
  .yb-lightbox__figure { max-width: 100vw; padding: 0 .75rem; }
  .yb-lightbox .slider-arrow.yb-lightbox__prev { inset: auto auto 1.5rem 1.5rem; transform: none; }
  .yb-lightbox .slider-arrow.yb-lightbox__next { inset: auto 1.5rem 1.5rem auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery20_track, .gallery20_image-wrapper, .yb-lightbox { transition-duration: 0s !important; }
}

/* rsce_yb_hero: Original section_header50 (Variante vollbild) und section_layout528 (Variante geteilt).
   Werte aus header50.css, layout528.css, image-overlay.css und dem Endzustand der Mobile-Patches des Originals
   (ybr_mobile_no_letterbox_patch, ybr_image_fit_overlay_patch, Inline-Style ybr-mobile): dort per JS, hier reines CSS. */

/* Zeile ueber der Ueberschrift: Original .heading-style-h4.text-color-white */
.section_header50 .heading-style-h4.text-color-white,
.section_layout528 .heading-style-h4.text-color-white { line-height: 1.2; }

/* ---------- Vollbild ---------- */
.section_header50 { position: relative; }
.section_header50.text-color-white { display: flex; align-items: flex-end; min-height: 800px; }
.header50_component { position: relative; z-index: 1; }
.header50_background-image-wrapper { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.header50_background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Overlay: im Original per Patch auf allen Breiten ausgeblendet, hier nur per Option */
.section_header50 .image-overlay-layer-3 { display: none; position: absolute; inset: 0; z-index: 1; background-color: var(--yb-overlay-dark-50); pointer-events: none; }
.section_header50.has-overlay .image-overlay-layer-3 { display: block; }

/* ---------- Geteilt ---------- */
.section_layout528.backgroud-color-dark-blue { background-color: var(--yb-dark-blue); }
.layout528_component { display: flex; flex-flow: row; justify-content: flex-start; align-items: flex-end; }
.layout528_content { max-width: none; margin-left: 5vw; margin-right: 5rem; }
.layout528_image-wrapper { position: relative; width: 100%; height: 100%; min-height: 800px; overflow: hidden; }
.layout528_image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

@media screen and (max-width: 991px) {
  .section_header50 .heading-style-h4.text-color-white,
  .section_layout528 .heading-style-h4.text-color-white { font-size: 30px; }
  .section_layout528 .heading-style-h1.text-color-white { font-size: 90px; }
  .layout528_component { flex-flow: wrap; padding-top: 45px; }
  .layout528_content { margin-left: 5%; margin-right: 5%; }
  .layout528_image-wrapper { min-height: 0; }
  .layout528_image { position: static; height: auto; }
}

@media screen and (max-width: 767px) {
  /* Endzustand der Mobile-Patches: Sektion so hoch wie das Bild im Seitenverhaeltnis, Bild komplett sichtbar, Text unten auf dem Bild */
  .section_header50.text-color-white { display: block; min-height: 0; overflow: hidden; background-color: var(--yb-dark-blue); }
  .header50_background-image-wrapper { position: relative; inset: auto; }
  .header50_background-image { position: static; width: 100%; height: auto; object-fit: contain; object-position: center center; }
  .section_header50 .image-overlay-layer-3,
  .section_header50.has-overlay .image-overlay-layer-3 { display: none; }
  .section_header50 > .padding-global { position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 1; width: 100%; padding-bottom: 20px; border: 0; background-color: transparent; }
  .section_header50 .max-width-large > :last-child { margin-bottom: 0; }
}

/* Intro (Original section_header49) und Grundlage der Statistik-Leiste (rsce_yb_statistik).
   Sichtbare Flaeche ist im Original das innere padding-global: ohne Zusatzklasse dunkelblau, mit „test“ hellblau.
   Werte aus header49.css und den Mobil-Patches des Originals (Inline-Styles, max-width 767px). */
.section_header49.background-color-light-blue { background-color: var(--yb-light-blue); }
.section_header49.background-color-black { background-color: var(--yb-dark-blue); }
.section_header49.background-color-gold { background-color: var(--yb-gold); }

.section_header49.is-hellblau .header49_flaeche,
.yb-statistik .header49_flaeche { background-color: var(--yb-light-blue); border-color: transparent; }
.section_header49.is-gold .header49_flaeche { background-color: var(--yb-gold); border-color: transparent; }

.header49_content {
  display: grid;
  grid-template-columns: .25fr .75fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  align-items: start;
  column-gap: 5.4rem;
  row-gap: 0;
}
.header49_content.narrow { column-gap: 0; grid-template-columns: .5fr .75fr; }

/* Text */
.text-size-medium-2 { color: var(--yb-white); font-size: 1.125rem; }
.section_header49.is-hellblau .text-size-medium-2,
.section_header49.is-gold .text-size-medium-2 { color: var(--yb-dark-blue); }
.section_header49.is-dunkelblau .text-size-regular { color: var(--yb-white); }
.max-width-medium { width: 100%; max-width: 35rem; }
.header49_text p { margin: 0; }
.header49_text a { color: inherit; }

/* Ueberschriften: H4 bleibt wie im Original auch auf Hellblau weiss, H3/H5 erben die Textfarbe */
.section_header49 .heading-style-h3,
.section_header49 .heading-style-h5 { color: inherit; }
.section_header49.is-dunkelblau .heading-style-h3,
.section_header49.is-dunkelblau .heading-style-h5 { color: var(--yb-white); }

/* Statistik-Leiste */
.flex-row { display: flex; justify-content: space-between; align-items: stretch; }

@media screen and (max-width: 991px) {
  .header49_content { column-gap: 3rem; row-gap: 2rem; }
}
@media screen and (max-width: 767px) {
  .header49_content { grid-template-columns: 1fr; column-gap: 1.25rem; row-gap: 1.25rem; }
  .text-size-medium-2 { font-size: 1rem; }

  /* Mobil-Patches des Originals (gelten fuer alle section_header49) */
  .section_header49 .flex-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .section_header49 .header49_content { grid-template-columns: 1fr; gap: 14px; }
  .section_header49 .header49_content .max-width-medium { max-width: 100%; }
  .section_header49 .header49_content h1,
  .section_header49 .header49_content h2,
  .section_header49 .header49_content h3 { text-wrap: balance; }
  /* Original: H4 wird mobil dunkelblau, auch auf dunkelblauer Flaeche (GEA, Werte & Verantwortung) */
  .section_header49 .heading-style-h4 {
    width: 100%;
    height: auto;
    color: var(--yb-dark-blue);
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
  /* Bewusste Abweichung: auf dunkelblauer Flaeche bleibt die H4 weiss, sonst ist sie unsichtbar (Fehler im Original) */
  .section_header49.background-color-black .heading-style-h4 { color: var(--yb-white); }
  .section_header49 a,
  .section_header49 .button,
  .section_header49 .button-3 {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}
@media screen and (max-width: 380px) {
  .section_header49 a,
  .section_header49 .button,
  .section_header49 .button-3 { min-height: 58px; }
}

/* Variante „zentriert“ (Original div.section-network, Sponsoring „Freunde der Young Boys Club“) */
.section-network.background-color-gold { background-color: var(--yb-gold); }
.section-network .padding-global.gold { background-color: var(--yb-gold); } /* Rand bleibt wie im Original dunkelblau (1px) */
.section-network .padding-global.hellblau { background-color: var(--yb-light-blue); }
.section-network.is-dunkelblau .network_component { color: var(--yb-white); }
.network_component { display: flex; flex-flow: column; align-items: center; }
.network_component > .team2_list { width: 100%; }
.network_logo { display: inline-block; max-width: 100%; height: auto; }
.network_component .heading-style-h3,
.network_component .heading-style-h4,
.network_component .heading-style-h5 { color: inherit; }
.network_text p { margin: 0; }
.network_text a, .network_component .team2_title-wrapper .text-size-small a { color: inherit; }

/* rsce_yb_karten_raster: Partner-Karten und Ankerleiste (Original section_layout226, Sponsoring-Seite).
   Werte aus layout226.css, webflow.css (.logo, .text-block, .padding-top) und dem Mobil-Patch sponsoren__style2 des Originals.
   Alle Selektoren beginnen mit .section_layout226 (die News-Liste nutzt dieselben Klassen in eigenem CSS). */

.section_layout226 { background-color: var(--yb-white); color: var(--yb-dark-blue); padding-left: 15px; padding-right: 15px; }
.section_layout226.background-color-black { background-color: var(--yb-dark-blue); padding-bottom: 15px; }
.section_layout226.background-color-black.is-padding-top { padding-top: 60px; }
.section_layout226 .heading-style-h3.text-color-white { line-height: 92%; }

/* Raster: Spalten 1fr (Mindestbreite aus dem Inhalt wie im Original), Karten oben ausgerichtet und gestreckt */
.section_layout226 .layout226_list-2 { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; grid-auto-columns: 1fr; column-gap: 15px; row-gap: 15px; place-items: start center; }
.section_layout226 .layout226_list-2._6-row { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }
.section_layout226 .layout226_item { justify-self: stretch; text-align: center; }
.section_layout226 .layout226_item.background-color-gold { background-color: var(--yb-gold); padding: 15px; }
.section_layout226 .layout226_item.background-color-white { background-color: var(--yb-white); padding: 15px; }

.section_layout226 .margin-bottom.margin-small.logo { width: auto; height: auto; max-height: 80px; }
.section_layout226 .text-size-regular.text-weight-semibold { font-family: var(--yb-font-body); }
.section_layout226 .layout226_link { display: inline-block; max-width: 100%; color: inherit; text-decoration: underline; }
.section_layout226 .text-block { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2px; text-transform: uppercase; }

/* Optionale feste Logo-Breite (Original: sizes="…, 192px" bei einzelnen Logos), auf dem Smartphone greift der Mobil-Patch */
@media screen and (min-width: 768px) {
  .section_layout226 .margin-bottom.margin-small.logo.has-width { width: var(--yb-logo-width); }
}

@media screen and (max-width: 991px) {
  /* Original: Hilfsklasse .padding-top setzt ab Tablet den seitlichen Abstand auf 0 */
  .section_layout226.background-color-black.is-padding-top { padding-left: 0; padding-right: 0; }
  .section_layout226 .layout226_list-2 { column-gap: 2rem; }
}

/* Bewusste Abweichung vom Original: dort 6 Spalten auch bei 768 bis 991 px, die Seite laeuft seitlich auf ca. 1342 px hinaus. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .section_layout226 .layout226_list-2._6-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 767px) {
  .section_layout226 .layout226_list-2 { row-gap: 3rem; grid-template-columns: 1fr; }

  /* Mobil-Patch des Originals */
  .section_layout226.is-padding-top .layout226_list-2 { width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .section_layout226.is-padding-top .layout226_list-2._6-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 15px; row-gap: 15px; }
  .section_layout226.is-padding-top .layout226_item.background-color-gold,
  .section_layout226.is-padding-top .layout226_item.background-color-white { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 250px; padding: 22px 12px; overflow: visible; text-align: center; }
  .section_layout226.is-padding-top .layout226_item.background-color-gold { min-height: 300px; }
  .section_layout226.is-padding-top .layout226_item .logo { width: 100%; max-width: 96px; height: 76px; object-fit: contain; margin-left: auto; margin-right: auto; margin-bottom: 14px; }
  .section_layout226.is-padding-top .layout226_item .text-size-regular,
  .section_layout226.is-padding-top .layout226_item h3 { width: 100%; max-width: 100%; font-size: clamp(18px, 5.6vw, 22px); line-height: 1.05; text-align: center; overflow-wrap: anywhere; word-break: normal; }
  .section_layout226.is-padding-top .layout226_item .button { display: inline-flex; align-items: center; justify-content: center; width: auto; max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .section_layout226.is-padding-top .layout226_item .layout226_link { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; font-size: 11px; line-height: 1.2; }
}

@media screen and (max-width: 479px) {
  .section_layout226.background-color-black.is-padding-top { padding-left: 15px; padding-right: 15px; }
  .section_layout226.background-color-black.is-padding-top.hide-on-mobile { display: none; }
  .section_layout226 .layout226_list-2 { column-gap: 15px; row-gap: 15px; grid-template-columns: 1fr; }
}

@media screen and (max-width: 380px) {
  .section_layout226.is-padding-top .layout226_list-2._6-row { grid-template-columns: 1fr; }
}

/* rsce_yb_kontakt_formular (Original section_contact9, Werte aus contact9.css).
   Das Formular selbst stylt forms.css (.yb-form--kontakt). */
.section_contact9.background-color-blue { background-color: var(--yb-light-blue); }
.contact9_content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-columns: 1fr; column-gap: 15px; row-gap: 0; align-items: stretch; padding: 15px; }
.contact9_content > * { min-width: 0; }
.contact9_image-wrapper { overflow: hidden; border-radius: var(--yb-radius); }
.contact9_image { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.contact9_content-left.background-color-black { padding: 40px; }
.section_contact9 .heading-style-h2-2 { font-size: 3rem; line-height: 1.2; }
.section_contact9 .text-size-medium-2 { color: var(--yb-white); font-size: 1.125rem; }
.contact9_form-block { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 0; }

@media screen and (max-width: 991px) {
  .contact9_content { column-gap: 3rem; }
  .section_contact9 .heading-style-h2-2 { font-size: 2.75rem; }
}
@media screen and (max-width: 767px) {
  .contact9_content { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .section_contact9 .heading-style-h2-2 { font-size: 2.25rem; }
  .section_contact9 .text-size-medium-2 { font-size: 1rem; }
}
@media screen and (max-width: 479px) {
  .contact9_content { column-gap: 15px; row-gap: 15px; }
  .contact9_content-left.background-color-black { padding-left: 30px; padding-right: 30px; }
}
.section_contact9 .margin-bottom.margin-medium { margin: 0 0 30px; } /* Original: .margin-bottom.margin-medium fest 30px */

/* rsce_yb_kontakt_info (Original section_layout232, Werte aus layout232.css) */
.section_layout232 { background-color: var(--yb-dark-blue); color: var(--yb-white); }
.layout232_list { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-columns: 1fr; column-gap: 3rem; row-gap: 4rem; place-items: start; }
.layout232_item { display: flex; flex-direction: column; align-items: center; width: 100%; }
.layout232_item .margin-bottom.margin-xsmall { align-self: stretch; text-align: left; }
.layout232_text { align-self: stretch; }
.layout232_text p { margin: 0; }
.layout232_text a { color: inherit; text-decoration: none; }
.layout232_grafik { width: 100%; height: auto; }

@media screen and (max-width: 991px) {
  .layout232_list { column-gap: 2rem; }
}
@media screen and (max-width: 767px) {
  .layout232_list { grid-template-columns: 1fr; row-gap: 3rem; }
}

/* Original: .padding-section-large.no-padding-bottom hat unten 60px (base.css setzt 0) */
.section_layout232 .padding-section-large.no-padding-bottom { padding-bottom: 60px !important; }

/* rsce_yb_logo_leiste (Original section_logo1, Werte aus logo1.css plus Inline-Patches des Originals) */
.section_logo1 { background-color: var(--yb-white); color: var(--yb-dark-blue); border: 1px solid var(--yb-white); }
.section_logo1 .heading-style-h4.gold { color: var(--yb-black); }
.logo1_list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 2rem; row-gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.logo1_logo { width: auto; height: auto; max-height: 5rem; }
.logo1_link { display: contents; }

@media screen and (max-width: 767px) {
  .section_logo1 .padding-section-large { padding-top: 40px; padding-bottom: 40px; }
  .section_logo1 .heading-style-h4.gold { max-width: 340px; margin-left: auto; margin-right: auto; font-size: clamp(26px, 7.2vw, 30px); line-height: 1.12; }
  .section_logo1 .logo1_list { display: grid; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 24px 16px; padding-top: 28px; padding-bottom: 0; }
  .section_logo1 .logo1_logo { display: block; width: 100%; max-width: 138px; height: 86px; max-height: none; object-fit: contain; margin: 0 auto; }
}
@media screen and (max-width: 380px) {
  .section_logo1 .heading-style-h4.gold { font-size: clamp(24px, 7.6vw, 28px); }
  .section_logo1 .logo1_logo { max-width: 124px; height: 78px; }
}

/* Original: .container-large-2 max-width 80rem (base.css setzt 1600px), .padding-global.white behaelt den dunkelblauen 1px-Rahmen */
.section_logo1 .container-large-2 { max-width: 80rem; }
.section_logo1 .padding-global.white { border-color: var(--yb-dark-blue); }
.section_logo1 .margin-bottom.margin-medium { margin: 0 0 30px; } /* Original: .margin-bottom.margin-medium fest 30px */

/* rsce_yb_newsletter (Original section_cta26, Werte aus cta26.css plus Inline-Patches des Originals).
   Das Formular selbst stylt forms.css (.yb-form--newsletter). */
.section_cta26 { position: relative; background-color: var(--yb-dark-blue); color: var(--yb-white); }
.section_cta26 .cta26_text p { margin: 0; }
.cta26_form-block { max-width: 30rem; margin: 0 auto; }
.section_cta26 .cta26_hinweis p { margin: 0; }
.section_cta26 .text-link, .section_cta26 .cta26_hinweis a { color: var(--yb-gold); text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-width: 479px) {
  .section_cta26 .heading-style-h2.text-color-white { font-size: 60px; }
}

/* Original: .container-large-2 max-width 80rem (base.css setzt 1600px) */
.section_cta26 .container-large-2 { max-width: 80rem; }
/* Nach erfolgreicher Anmeldung: Bestaetigung ersetzt Formular und Hinweis (wie Original w-form-done) */
.cta26_form-block:has(.form-confirmation) .cta26_hinweis { display: none; }

/* Personenraster (Original team2_*) und Raster „Überschrift links, Personen rechts“ (header49_content-2).
   Genutzt von rsce_yb_akkordeon und rsce_yb_intro (Partial templates/yb_personen.html.twig). */
.team2_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  column-gap: 15px;
  row-gap: 15px;
}
.team2_item {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
}
.team2_item .margin-bottom.margin-xsmall,
.team2_item .margin-bottom.margin-tiny { text-align: left; flex: 0 auto; }
.team2_image-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: var(--yb-radius);
}
.team2_image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: grayscale(1);
}
.team2_title-wrapper {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
}
.text-size-large-2 { font-size: 18px; font-weight: 300; }
.team2_title-wrapper .text-size-small a { color: inherit; }
.team2_title-wrapper .text-size-small p { margin: 0; }
.text-link:where(.team2_kontakt *) {
  display: inline-block;
  max-width: 100%;
  color: var(--yb-gold);
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: underline;
}

/* Überschrift links, Personen rechts */
.header49_content-2 {
  display: grid;
  grid-template-columns: .5fr 2fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  align-items: start;
  column-gap: 5rem;
  row-gap: 4rem;
}

@media screen and (max-width: 991px) {
  .team2_list { grid-template-columns: 1fr 1fr; }
  .header49_content-2 { column-gap: 3rem; row-gap: 2rem; }
}
@media screen and (max-width: 767px) {
  .team2_list { grid-template-columns: 1fr; row-gap: 3rem; }
  .team2_image-wrapper { height: 100%; }
  .text-size-large-2 { font-size: 1.125rem; }
  .header49_content-2 { grid-template-columns: 1fr; column-gap: 1.25rem; row-gap: 1.25rem; }
}

/* rsce_yb_saison_stats: Original section_stats8 (stats8.css, w-node place-self, Inline-Style ybr-mobile der Startseite).
   Im Original liegt die News-Leiste (section_layout673) innerhalb dieser Sektion; hier nur der Statistik-Teil. */
.section_stats8 { padding: 0 15px 15px; }
.section_stats8.background-color-gold { background-color: var(--yb-gold); }
.stats8_component_er { display: flex; justify-content: space-between; padding: 45px; background-color: var(--yb-gold); }
.section_stats8 .heading-style-h4 { color: var(--yb-white); }
.section_stats8 .underline { text-decoration: underline; }
.stats8_list { display: flex; column-gap: 45px; row-gap: 3rem; place-items: start; width: auto; }
/* Bewusste Abweichung: Original laeuft zwischen ca. 768 und 1300 px rechts aus der Seite (bei 768 px bis 997 px Breite).
   Hier bricht die Leiste in eine zweite Reihe um, solange sie nicht in eine Zeile passt; bei 1440 px unveraendert einzeilig. */
.stats8_list { flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
/* Eingebundenes Modul (News-Top-Meldung, section_layout673) wie im Original innerhalb der Sektion:
   ab 768 px ueber die volle Breite (margin -15px, Gold nur unten), darunter mit Goldrahmen links, rechts, unten. */
.section_stats8 .section_layout673.background-color-black { margin-left: -15px; margin-right: -15px; padding: 15px; }
.stats8_item { display: block; width: auto; flex: 0 1 auto; padding-left: 0; text-align: right; place-self: start end; }
.stats8_number { font-family: var(--yb-font-heading); font-size: 153px; font-weight: 700; line-height: 95%; }
.stats8_number.text-align-left { display: inline-block; text-align: right; vertical-align: super; font-size: 120px; }
.stats8_item .text-size-small.uppercase { letter-spacing: .4px; text-transform: uppercase; line-height: 1.2; }

@media screen and (max-width: 991px) {
  .stats8_list { column-gap: 2rem; }
  .stats8_number { font-size: 4rem; }
}
@media screen and (max-width: 767px) {
  .stats8_list { row-gap: 2rem; }
  .stats8_number { font-size: 3.5rem; }
  /* Inline-Style ybr-mobile des Originals */
  .section_stats8 { padding-bottom: 0; }
  .section_stats8 .section_layout673.background-color-black { margin-left: 0; margin-right: 0; padding: 12px 15px; }
  .stats8_component_er { padding-top: 34px; padding-bottom: 34px; }
  .stats8_list { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; align-items: start; justify-items: center; }
  .stats8_item { min-width: 0; text-align: center; }
  .stats8_item .margin-bottom, .stats8_number.text-align-left { text-align: center; }
  .stats8_number.text-align-left { font-size: clamp(56px, 16vw, 64px); line-height: .95; }
  .stats8_item .text-size-small.uppercase { font-size: 10px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
  .stats8_item:last-child { grid-column: 1 / -1; justify-self: center; max-width: 120px; }
}
@media screen and (max-width: 479px) {
  .stats8_component_er { flex-flow: column; padding-left: 15px; padding-right: 15px; }
  .stats8_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: 1fr; }
  .stats8_item { width: 100%; }
}
@media screen and (max-width: 380px) {
  .stats8_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .stats8_number.text-align-left { font-size: clamp(52px, 15vw, 58px); }
}

/* Variante schlicht (Verein „Erfolge“): Komponente ohne section_stats8, Inline-Style verein__style5 des Originals */
@media screen and (max-width: 767px) {
  .stats8_component_er.is-schlicht .stats8_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; justify-items: center; align-items: start; height: auto; }
  .stats8_component_er.is-schlicht .stats8_item.is-leer { display: none; }
  .stats8_component_er.is-schlicht .stats8_item:last-child { grid-column: auto; max-width: none; justify-self: auto; }
  .stats8_component_er.is-schlicht .stats8_item,
  .stats8_component_er.is-schlicht .stats8_number.text-align-left,
  .stats8_component_er.is-schlicht .stats8_item h3,
  .stats8_component_er.is-schlicht .stats8_item .margin-bottom { width: 100%; text-align: center; }
}


/* rsce_yb_split: Karte mit Bild (Original section_layout635).
   Werte aus layout635.css, match.css, webflow.css (Tabelle, Tag, Modal) und den Mobil-Patches des Originals
   (Inline-Styles home__style2 / sponsoren__style2, Skripte ybr_image_fit_overlay_patch und ybr_mobile_no_letterbox_patch).
   Alle Selektoren beginnen mit .section_layout635. */

/* ---------- Sektion und Raster ---------- */
.section_layout635 { background-color: var(--yb-white); color: var(--yb-dark-blue); padding: 15px; }
.section_layout635.background-color-black { background-color: var(--yb-dark-blue); }
.section_layout635.background-color-gold { background-color: var(--yb-gold); }
.section_layout635.background-color-light-blue { background-color: var(--yb-light-blue); }
/* Abstands-Optionen hier selbst definiert (base.css setzt .no-padding-top nur noch fuer .padding-section-*) */
.section_layout635.no-padding-top { padding-top: 0; }
.section_layout635.no-padding-bottom { padding-bottom: 0; }

.section_layout635 .layout635_component { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; grid-auto-columns: 1fr; column-gap: 2rem; row-gap: 2rem; }
.section_layout635 .layout635_card { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-columns: 1fr; column-gap: 15px; row-gap: 15px; align-items: stretch; overflow: hidden; }
.section_layout635 .layout635_card.no-padding { column-gap: 0; row-gap: 0; }
.section_layout635 .layout635_card.is-image-left > .layout635_image-wrapper { order: -1; }

.section_layout635 .layout635_card-content { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.section_layout635 .layout635_card-content.background-color-light-blue { background-color: var(--yb-light-blue); height: 750px; }
.section_layout635 .layout635_card-content.background-color-black { background-color: var(--yb-dark-blue); }
.section_layout635 .layout635_card-content.matches { justify-content: space-between; align-items: stretch; align-self: stretch; }

.section_layout635 .layout635_image-wrapper { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.section_layout635 .layout635_image-wrapper.background-color-gold { background-color: var(--yb-gold); }
.section_layout635 .layout635_image-wrapper.background-color-light-blue { background-color: var(--yb-light-blue); }
.section_layout635 .layout635_image { position: static; width: 100%; height: 750px; aspect-ratio: 1; object-fit: cover; }

/* Buttons mittig ueber dem Bild (Original .button-group.align-center.absolute, Position ergibt sich aus der Flex-Zentrierung) */
.section_layout635 .button-group.align-center.absolute { position: absolute; }
.section_layout635 button.button-3 { font-size: 12px; margin: 0; }

/* Kopf: Tag und Ueberschriften */
.section_layout635 .tag.is-text { display: inline-block; padding: 0; border: 0; background: transparent; color: var(--yb-dark-blue); font-size: 18px; font-weight: 400; }
.section_layout635 .tag.is-text.text-color-white { color: var(--yb-white); }
.section_layout635 .heading-style-h3.text-color-white { line-height: 92%; }
.section_layout635 .heading-style-h4.text-align-center { color: var(--yb-dark-blue); }
.section_layout635 .heading-style-h4.text-color-white { color: var(--yb-white); line-height: 1.2; }

/* ---------- Tabelle (webflow.css .table-*) ---------- */
.section_layout635 .table-wrapper.max-width-small { margin-left: auto; margin-right: auto; }
.section_layout635 .table-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-columns: 1fr; column-gap: 16px; row-gap: 16px; padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--yb-dark-blue); }
.section_layout635 .table-row.last-child { border-bottom: 1px solid var(--yb-dark-blue); }
.section_layout635 .table-row.text-color-white { border-top-color: var(--yb-white); }
.section_layout635 .table-row.text-color-white.last-child { border-bottom-color: var(--yb-white); }
.section_layout635 .table-row.no-padding { padding-top: 0; padding-bottom: 0; }
.section_layout635 .table-row > div { align-self: center; }
.section_layout635 .table-heading { font-size: 18px; }
.section_layout635 .text-align-right.heading-style-h5 { font-family: var(--yb-font-heading); font-size: 24px; }
.section_layout635 .text-align-right.heading-style-h4 { font-family: var(--yb-font-heading); color: var(--yb-dark-blue); }
.section_layout635 .text-align-right.heading-style-h4.text-color-white { color: var(--yb-white); }

/* Redaktionshinweis, wenn das eingebundene Modul nichts ausgibt */
.section_layout635 .yb-split-hinweis { padding: 1rem; border: 1px dashed currentColor; font-size: 14px; }

/* ---------- Fenster fussball.de (Original modal1_component, Verhalten in files/theme/js/modal.js) ---------- */
.section_layout635 .modal1_component { position: fixed; inset: 0; z-index: 99; display: none; justify-content: center; align-items: center; width: 100vw; height: 100vh; }
.section_layout635 .modal1_component.is-open { display: flex; animation: yb-split-modal-fade .3s ease; }
.section_layout635 .modal1_component.is-open .modal1_content-wrapper { animation: yb-split-modal-slide .4s ease; }
.section_layout635 .modal1_content-wrapper { position: relative; display: block; width: 100%; max-width: 48rem; height: auto; max-height: 80vh; padding: 4rem; overflow: scroll; background-color: var(--yb-dark-blue-bg); }
.section_layout635 .modal1_background-overlay { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; background-color: var(--yb-overlay-dark-25, #00000040); }
.section_layout635 .modal1_close-button { position: absolute; top: 1rem; right: 1rem; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.section_layout635 .icon-embed-small-2 { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 2rem; height: 2rem; }
.section_layout635 .modal1_content-wrapper .margin-large { margin: var(--yb-space-large); }
.section_layout635 .modal1_content-wrapper .margin-xsmall { margin: var(--yb-space-xsmall); }
.section_layout635 .modal1_content-wrapper .margin-bottom { margin-top: 0; margin-left: 0; margin-right: 0; }

/* Widget: feste Hoehe wie das iframe im Original (height="1889"), Platzhalter fuellt dieselbe Flaeche, Text oben */
.section_layout635 .fussball-widget-wrapper .yb-embed { height: 1889px; }
.section_layout635 .fussball-widget-wrapper .yb-embed__placeholder { height: 100%; justify-content: flex-start; padding-top: var(--yb-space-xlarge); }

@keyframes yb-split-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes yb-split-modal-slide { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }

/* ---------- Tablet ---------- */
@media screen and (max-width: 991px) {
  .section_layout635 .layout635_card-content { padding: 2rem; }
  /* Bewusste Abweichung vom Original: dort fest 750 px, bei 768 px ragt der EVENTS-Inhalt (803 px) aus der Karte. Hier waechst die Karte mit. */
  .section_layout635 .layout635_card-content.background-color-light-blue { height: auto; min-height: 750px; }
  .section_layout635 .heading-style-h4.text-color-white { font-size: 30px; }
  .section_layout635 .modal1_content-wrapper { width: 90%; max-width: none; padding-left: 3rem; padding-right: 3rem; }
}

/* ---------- Smartphone (inkl. Mobil-Patches des Originals) ---------- */
@media screen and (max-width: 767px) {
  .section_layout635 { padding-bottom: 0; }
  .section_layout635 .layout635_component { column-gap: 1.5rem; row-gap: 1.5rem; }
  .section_layout635 .layout635_card { grid-template-columns: 1fr; }
  .section_layout635 .layout635_card.is-image-left > .layout635_image-wrapper { order: 0; }
  .section_layout635 .layout635_card-content { padding: 1.5rem; }
  .section_layout635 .layout635_card-content.background-color-light-blue { height: auto; min-height: 0; }
  .section_layout635 .layout635_card-content.matches { min-height: 340px; padding-top: 24px; padding-bottom: 24px; }

  /* Bild quadratisch und vollstaendig (object-fit: contain), Flaeche daneben transparent bzw. Gold / Hellblau */
  .section_layout635 .layout635_image-wrapper { height: auto; min-height: 0; overflow: hidden; background-color: transparent; }
  .section_layout635 .layout635_image-wrapper.background-color-gold { background-color: var(--yb-gold); }
  .section_layout635 .layout635_image-wrapper.background-color-light-blue { background-color: var(--yb-light-blue-2); }
  .section_layout635 .layout635_image { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center center; }

  /* Sektion ohne Abstand oben ("Last Matches", "let's talk numbers") */
  .section_layout635.no-padding-top .layout635_card-content { height: auto; min-height: 260px; padding: 28px 24px; justify-content: center; overflow: visible; }
  .section_layout635.no-padding-top .layout635_card-content:not(.matches) { min-height: 0; }
  .section_layout635.no-padding-top .layout635_card-content:not(.matches):first-child { padding-bottom: 0; }
  .section_layout635.no-padding-top .layout635_card-content:not(.matches):first-child .margin-bottom { margin-bottom: 0; }
  .section_layout635.no-padding-top .layout635_card-content .heading-style-h2 { font-size: clamp(32px, 9vw, 40px); line-height: 1; }
  .section_layout635.no-padding-top .table-row { column-gap: 16px; row-gap: 16px; align-items: center; }
  .section_layout635.no-padding-top .heading-style-h4 { font-size: clamp(25px, 7vw, 30px); line-height: 1.05; }

  /* Dunkelblaue Sektion mit hellblauer Karte (Herren, U23, Events) */
  .section_layout635.background-color-black .layout635_card-content.background-color-light-blue { min-height: 0; padding-top: 28px; padding-bottom: 28px; }
  .section_layout635.background-color-black .layout635_card-content.background-color-light-blue .button-group { column-gap: 12px; row-gap: 12px; }

  /* Option "Mobil: breite Buttons" (Original: Herren-Sektion mit SpielerStatistik-Link) */
  .section_layout635.is-buttons-wide .layout635_card > .layout635_card-content { height: auto; min-height: 300px; padding: 32px 20px; justify-content: center; }
  .section_layout635.is-buttons-wide .button-group { column-gap: 12px; row-gap: 12px; align-items: center; }
  .section_layout635.is-buttons-wide .button-3 { width: min(100%, 230px); margin-left: auto; margin-right: auto; }
  .section_layout635.is-buttons-wide .layout635_image-wrapper,
  .section_layout635.is-buttons-wide .layout635_image { height: 360px; min-height: 0; }

  .section_layout635 .modal1_component { align-items: flex-start; }
  .section_layout635 .modal1_content-wrapper { width: 100%; height: 100vh; max-height: none; padding-bottom: 7rem; padding-left: 5%; padding-right: 5%; }
}

@media screen and (max-width: 479px) {
  .section_layout635 .layout635_card-content.matches { height: auto; }
  .section_layout635 .heading-style-h2.text-color-white { font-size: 60px; }
}

/* Statistik-Fenster (Original yb-modal, yb.css, yb_modals_styles-1.6.0.js und Inline-Styles der Seite Verein).
   Leiste: el-intro.css (section_header49, flex-row). Sichtbarkeit und Ueberblendung: modal.css.
   Originalwerte ohne Token: Overlay #0009 (= --yb-overlay-dark-60), Tabellenkopf-Schrift #1a2540, Linie #eee (= --yb-neutral-lightest),
   Medaillen #D4AF37 / #96A2B2 / #B06C38. */
.yb-statistik .flex-row .heading-style-h4 { margin: 0; }

.yb-modal:not(.modal1_component) { padding: 20px; }
.yb-modal__overlay { position: absolute; inset: 0; background-color: var(--yb-overlay-dark-60); cursor: pointer; }
.yb-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  padding: 40px 32px 32px;
  overflow-y: auto;
  background-color: var(--yb-white);
  border-radius: 8px;
  box-shadow: 0 20px 60px var(--yb-overlay-dark-30);
  color: var(--yb-dark-blue);
  font-family: var(--yb-font-body);
}
.yb-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 4px 10px;
  border: 0;
  border-radius: 4px;
  background-color: var(--yb-dark-blue);
  color: var(--yb-white);
  font-family: var(--yb-font-body);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.yb-modal__close:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: 2px; }
.yb-modal__title {
  margin: 0 0 20px;
  font-family: var(--yb-font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
.yb-modal__content { font-size: 16px; line-height: 1.5; }
.yb-modal__bild { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }

/* Tabellen */
.yb-stats-table { width: 100%; font-family: inherit; font-size: 14px; line-height: 1.4; }
.yb-stats-table__head,
.yb-stats-row {
  display: grid;
  grid-template-columns: repeat(var(--yb-stats-cols, 5), minmax(0, 1fr));
  align-items: center;
  column-gap: 0;
  row-gap: 0;
  width: 100%;
  padding: 0 20px;
}
.yb-stats-table[data-variant="ts"][data-cols="7"] .yb-stats-table__head,
.yb-stats-table[data-variant="ts"][data-cols="7"] .yb-stats-row {
  grid-template-columns: minmax(36px, auto) minmax(90px, 1.2fr) minmax(90px, 1.2fr) minmax(55px, .7fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(90px, .9fr);
}
.yb-stats-table[data-variant="es"][data-cols="5"] .yb-stats-table__head,
.yb-stats-table[data-variant="es"][data-cols="5"] .yb-stats-row {
  grid-template-columns: minmax(36px, auto) minmax(90px, 1.2fr) minmax(90px, 1.2fr) minmax(70px, .8fr) minmax(110px, 1fr);
}
.yb-stats-table__head {
  background-color: var(--yb-light-blue-2);
  color: #1a2540;
  border-radius: 6px 6px 0 0;
  font-weight: 600;
}
.yb-stats-table__head > *,
.yb-stats-row .yb-stats-cell {
  padding: 10px 14px 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.yb-stats-table__head > :nth-child(n+4),
.yb-stats-row .yb-stats-cell:nth-child(n+4) { text-align: center; padding-right: 0; }
.yb-stats-rows { width: 100%; max-height: 420px; overflow-x: hidden; overflow-y: auto; }
.yb-stats-row { border-bottom: 1px solid var(--yb-neutral-lightest); font-size: 14px; }
/* Original: die leere Musterzeile bleibt als 21 px hohe Leerzeile unter dem Kopf stehen */
.yb-stats-row.is-template { min-height: 21px; }

.yb-stats-row.is-gold { background: linear-gradient(90deg, rgba(212, 175, 55, .24) 0%, rgba(212, 175, 55, .05) 70%); box-shadow: inset 3px 0 0 #D4AF37; }
.yb-stats-row.is-silver { background: linear-gradient(90deg, rgba(150, 162, 178, .26) 0%, rgba(150, 162, 178, .05) 70%); box-shadow: inset 3px 0 0 #96A2B2; }
.yb-stats-row.is-bronze { background: linear-gradient(90deg, rgba(176, 108, 56, .22) 0%, rgba(176, 108, 56, .05) 70%); box-shadow: inset 3px 0 0 #B06C38; }
.yb-stats-row.is-gold .yb-stats-cell:first-child,
.yb-stats-row.is-silver .yb-stats-cell:first-child,
.yb-stats-row.is-bronze .yb-stats-cell:first-child { font-weight: 700; }

@media (max-width: 600px) {
  .yb-stats-table[data-variant="ts"] .yb-stats-table__head,
  .yb-stats-table[data-variant="ts"] .yb-stats-row { grid-template-columns: 32px 1fr 1fr 50px; }
  .yb-stats-table[data-variant="es"] .yb-stats-table__head,
  .yb-stats-table[data-variant="es"] .yb-stats-row { grid-template-columns: 32px 1fr 1fr 60px; }
  .yb-stats-table__head > :nth-child(n+5),
  .yb-stats-row .yb-stats-cell:nth-child(n+5) { display: none; }
}

/* rsce_yb_team_karten: Original section_layout523 (layout523.css, card-footer.css, Inline-Style der Startseite
   ".layout523_card ..." und Endzustand der Mobile-Patches: Karte so hoch wie das Bild, Bild komplett sichtbar). */
.section_layout523 { background-color: var(--yb-white); color: var(--yb-text); }
.layout523_grid-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.layout523_content-right { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.layout523_card { position: relative; display: flex; flex-flow: column; justify-content: center; align-items: stretch; padding: 3rem; overflow: hidden; border-radius: var(--yb-radius); }
.layout523_card.text-color-white { height: 750px; color: var(--yb-white); }
.layout523_background-image-wrapper { position: absolute; inset: 0; z-index: 0; background-color: var(--yb-dark-blue); }
.layout523_background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.section_layout523 .image-overlay-layer { display: none; } /* im Original per Patch auf allen Breiten ausgeblendet */
.layout523_card-content { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.layout523_card .heading-style-h3 { color: var(--yb-gold); }
.layout523_card .margin-top.margin-medium.card-footer { display: flex; justify-content: space-between; align-items: stretch; margin-top: 10px; }
.layout523_card .text-size-large { color: var(--yb-white); font-size: 1.25rem; margin-bottom: 0; }

@media screen and (max-width: 991px) {
  .layout523_card { padding: 2rem; }
}
@media screen and (max-width: 767px) {
  /* Karte so hoch wie das Bild im Seitenverhaeltnis (Original: JS-Patch setzt Hoehe = Breite x Bildverhaeltnis) */
  .layout523_grid-list { gap: 1.5rem; }
  .layout523_content-right { align-items: start; }
  .layout523_card { padding: 0; display: grid; }
  .layout523_card.text-color-white { height: auto; }
  .layout523_background-image-wrapper { position: relative; inset: auto; grid-area: 1 / 1; }
  .layout523_background-image { position: static; width: 100%; height: auto; object-fit: contain; object-position: center center; }
  .layout523_card-content { grid-area: 1 / 1; height: auto; padding: 1.5rem; }
  .layout523_card .button.is-secondary,
  .layout523_card .button-3.is-secondary.is-alternate { color: var(--yb-white); background-color: transparent; border: 0; padding: 0; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); } /* Originalwert, nicht in tokens.css */
}
@media screen and (max-width: 479px) {
  .layout523_grid-list { gap: 0; }
  .layout523_content-right { grid-template-columns: 1fr; }
  .layout523_card .margin-top.margin-medium.card-footer { flex-flow: column; }
}

/* rsce_yb_textblock: Original section_layout134 (layout134.css) mit Typo-Regeln aus webflow.css
   (.text-size-large.text-color-white, .margin-bottom.margin-medium) und Consent-Platzhalter laut Vertrag. */
.section_layout134.background-color-dark-blue { background-color: var(--yb-dark-blue); } /* Original: --color-scheme-1--dark-blue = #1d2144 */
.section_layout134 .margin-bottom.margin-medium { margin: 0 0 30px; }

/* Grosser Fliesstext */
.section_layout134 .text-size-large.text-color-white { font-size: 39px; font-weight: 300; line-height: 1.35; letter-spacing: -1px; }
.section_layout134 .text-size-large.text-color-white.text-align-left { margin-bottom: 5rem; }
.section_layout134 .layout134_text p { margin: 0; }
.section_layout134 .layout134_text p + p { margin-top: 1.35em; }
.section_layout134 .layout134_text a { color: inherit; text-decoration: underline; }

/* Text direkt vor dem Ticketshop: Sektionsabstaende dazwischen entfallen, es bleibt der Textabstand (5rem + 30px).
   Bewusste Abweichung vom Original (dort 2 x 180px zusaetzlich), Wunsch Gradient Labs 2026-11-23. */
.section_layout134.is-text:has(+ .section_layout134.is-embed) .padding-section-large { padding-bottom: 0; }
.section_layout134.is-text + .section_layout134.is-embed .padding-section-large { padding-top: 0; }

/* Bild / Grafik */
.section_layout134 .layout134_image { max-width: 100%; height: auto; }

/* Consent-Platzhalter (Video, Ticketshop): dunklere Flaeche auf dem dunkelblauen Grund */
.section_layout134 .yb-embed__placeholder { background-color: var(--yb-dark-blue-bg); border: 1px solid var(--yb-neutral-dark); }

@media screen and (max-width: 767px) {
  .section_layout134 .yb-embed.is-fixed { height: var(--yb-embed-height-mobile, var(--yb-embed-height, 600px)); }
}
@media screen and (max-width: 479px) {
  .section_layout134 .text-size-large.text-color-white.text-align-left { font-size: 21px; }
}

/* Saisonberichte (Modul FAQ-Liste, Template mod_faqlist_yb): nur die Inhaltsstile der Antworten.
   Akkordeon-Optik und Verhalten kommen aus der Akkordeon-CSS und files/theme/js/akkordeon.js.
   Werte aus dem Original (Webflow-Rich-Text im faq2-Akkordeon: h5 Anton 1.5rem, Absaetze ohne Abstand,
   Leerzeilen entstehen durch leere Absaetze mit <br>). */
.faq2_rich-text { color: var(--yb-text); font-family: var(--yb-font-body); font-size: 1rem; line-height: 1.5; }
.faq2_rich-text h5 { margin: 0; font-family: var(--yb-font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1.4; text-transform: none; }
.faq2_rich-text p { margin: 0; }
.faq2_rich-text > :first-child { margin-top: 0; }
.faq2_rich-text > :last-child { margin-bottom: 0; }
.faq2_rich-text a { color: inherit; text-decoration: underline; }
@media screen and (max-width: 767px) {
  .faq2_rich-text h5 { font-size: 1.25rem; }
}

/* Formular-Generator: natives Contao-Widget-Markup auf die Original-Optik (Webflow form_input, signup-form-wrapper, contact9_form).
   Contao setzt die Feldklasse (z. B. form_input, button-3) zusaetzlich auf den Widget-Wrapper und das Label;
   diese Kopien werden hier neutralisiert, die Optik gilt nur fuer input, textarea und button. */

/* ---------- gemeinsame Basis ---------- */
.yb-form form, .yb-form .formbody { margin: 0; }
.yb-form .widget { position: relative; margin: 0; }
.yb-form .widget.form_input, .yb-form label.form_input, .yb-form .widget.widget-submit {
  border: 0; background: none; min-height: 0; padding: 0; margin: 0; font-size: inherit; line-height: inherit; color: inherit; width: auto; letter-spacing: normal; text-transform: none; display: block;
}
.yb-form label > span.mandatory, .yb-form legend > span.mandatory { display: none; }
.yb-form input.form_input, .yb-form textarea.form_input { display: block; width: 100%; max-width: 100%; min-width: 0; margin: 0; border: 1px solid var(--yb-black); border-radius: 0; color: var(--yb-dark-blue); font-family: var(--yb-font-body); font-size: 24px; font-weight: 300; line-height: 1.6; min-height: 2.75rem; padding: .5rem .75rem .5rem 30px; -webkit-appearance: none; appearance: none; }
.yb-form input.form_input::placeholder, .yb-form textarea.form_input::placeholder { color: var(--yb-overlay-dark-60); opacity: 1; }
.yb-form input.form_input:focus, .yb-form textarea.form_input:focus { outline: 0; border-color: var(--yb-black); }
body.yb-tastatur .yb-form input.form_input:focus, body.yb-tastatur .yb-form textarea.form_input:focus { outline: 2px solid var(--yb-gold); outline-offset: 2px; } /* nur Tastatur, Original zeigt keinen Rahmen */
.yb-form button.submit { cursor: pointer; font-family: var(--yb-font-body); line-height: inherit; }
.yb-form button.submit:disabled { cursor: wait; }
/* Fehlermeldungen: Farbe wie Original (.error-text #e23939) */
.yb-form p.error { color: #e23939; font-size: .875rem; font-weight: 600; margin: 0 0 .5rem; text-align: left; }
.yb-form .formbody > p.error { margin-bottom: 1rem; }
/* Bestaetigung: Original .form_message-success (gruen auf hellgruen) */
.yb-form .form-confirmation { color: #027a48; background-color: #ecfdf3; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2.5rem; text-align: center; }
.yb-form .form-confirmation p { margin: 0; }
.yb-form .form-confirmation .success-text { font-weight: 600; }

/* ---------- Newsletter (Original cta26: signup-form-wrapper) ---------- */
.yb-form--newsletter .formbody { display: flex; column-gap: 1rem; row-gap: 1rem; margin-bottom: 1rem; }
.yb-form--newsletter .widget.widget-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.yb-form--newsletter .widget-text label { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yb-form--newsletter input.form_input.e-mail { background-color: var(--yb-gold); flex: 1 1 auto; }
.yb-form--newsletter .widget.widget-submit { flex: 0 0 auto; display: flex; }
.yb-form--newsletter button.button.is-secondary { white-space: nowrap; }

/* ---------- Kontakt (Original contact9_form) ---------- */
.yb-form--kontakt .formbody { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; column-gap: 1.5rem; }
.yb-form--kontakt .widget-text label, .yb-form--kontakt .widget-textarea label { display: block; color: var(--yb-white); margin-bottom: .5rem; font-weight: 400; font-size: 1rem; line-height: 1.5; }
.yb-form--kontakt input.form_input, .yb-form--kontakt textarea.form_input { background-color: var(--yb-light-blue); }
.yb-form--kontakt textarea.form_input.is-text-area { height: 11.25rem; min-height: 11.25rem; padding-top: .75rem; padding-bottom: .75rem; overflow: auto; resize: vertical; }
/* Checkbox mit eigenem Icon (Original form_checkbox / form_checkbox-icon) */
.yb-form--kontakt .widget-checkbox { margin-bottom: var(--yb-space-xsmall); }
.yb-form--kontakt .checkbox_container { border: 0; margin: 0; padding: 0; min-width: 0; }
.yb-form--kontakt .checkbox_container legend { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yb-form--kontakt .checkbox_container > span { display: block; position: relative; padding-left: 1.25rem; color: var(--yb-white); }
.yb-form--kontakt input.checkbox { position: absolute; opacity: 0; width: 1.125rem; height: 1.125rem; margin: 0; left: 0; top: 50%; transform: translateY(-50%); z-index: 1; cursor: pointer; }
.yb-form--kontakt input.checkbox + label { display: block; position: relative; padding-left: 6px; cursor: pointer; font-family: var(--yb-font-body); font-size: 12px; font-weight: 400; line-height: 1.5; margin: 0; }
/* Icon wie Original: 1.125rem, margin-left -1.25rem, margin-right .5rem (netto 6 px Einzug des Textes) */
.yb-form--kontakt input.checkbox + label::before { content: ""; position: absolute; left: -1.25rem; top: 50%; transform: translateY(-50%); box-sizing: border-box; width: 1.125rem; height: 1.125rem; border: 1px solid var(--yb-white); border-radius: 0; transition: all .2s; background-position: 50%; background-repeat: no-repeat; background-size: 16px 16px; }
.yb-form--kontakt input.checkbox:checked + label::before { background-color: var(--yb-black); border-color: var(--yb-black); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.yb-form--kontakt input.checkbox:focus-visible + label::before { outline: 2px solid var(--yb-gold); outline-offset: 2px; }
.yb-form--kontakt .checkbox_container a, .yb-form--kontakt .text-span { color: var(--yb-gold); text-decoration: none; }
.yb-form--kontakt .widget-submit { justify-self: start; }

@media screen and (max-width: 479px) {
  .yb-form--newsletter .formbody { flex-direction: column; row-gap: .75rem; }
  .yb-form--newsletter button.submit { width: 100%; }
}

/* Rechtstexte: Artikel mit Klasse section_legal1-content (Original: padding-global > container-small > text-rich-text) */
.mod_article.section_legal1-content { background-color: var(--yb-dark-blue); padding: 80px var(--yb-gutter) 0; border: 1px solid var(--yb-dark-blue); }
.mod_article.section_legal1-content > .content-text, .mod_article.section_legal1-content > .ce_text { width: 100%; max-width: var(--yb-container-small); margin: 0 auto; }
.section_legal1-content .text-rich-text { color: var(--yb-white); }
.section_legal1-content .text-rich-text h1, .section_legal1-content .text-rich-text h2, .section_legal1-content .text-rich-text h3, .section_legal1-content .text-rich-text h4 { color: var(--yb-white); }
.section_legal1-content .text-rich-text h1 { margin-top: 2rem; margin-bottom: 1rem; }
/* Original: Links haben die Textfarbe Dunkelblau und sind auf dem dunklen Grund unsichtbar (Fehler im Original). Hier sichtbar in Weiss. */
.section_legal1-content .text-rich-text a { color: var(--yb-white); }

.section_legal1-content .text-rich-text figure.legal-bild { display: block; margin: 3rem 0; } /* Original: figure margin 3rem */
.section_legal1-content .text-rich-text figure.legal-bild img { width: 100%; height: auto; }

/* Spiele-Module: "Last Matches" (mod_yb_spiele_letzte) und "Next match in" (mod_yb_spiele_naechste).
   Werte aus layout231.css, countdown.css, match.css und den Inline-Styles home__style2/6 des Originals. */

/* ---------- Letzte Spiele (Liste in der Karte von rsce_yb_split) ---------- */
.match-wrapper { display: grid; grid-template-columns: 1fr; grid-auto-columns: 1fr; grid-template-rows: auto auto; column-gap: 30px; row-gap: 30px; }
/* Original: .display-inlineflex richtet unten aus, .display-inlineflex.flex-column ist trotz Name eine Zeile */
.match-wrapper .flex-column { align-items: flex-start; }
.match-wrapper .display-inlineflex { align-items: flex-end; }
.match-wrapper .display-inlineflex.flex-column { flex-direction: row; }

/* ---------- Naechstes Spiel: beide Sektionen ---------- */
.section_layout231 { background-color: var(--yb-white); color: var(--yb-text); }
.section_layout231.background-color-gold { background-color: var(--yb-gold); padding: 15px; }
/* Original: die "goldenen" Sektionen sind per Kombiklasse dunkelblau */
.section_layout231.background-color-gold.no-padding-top { background-color: var(--yb-dark-blue); padding-top: 0; }
.section_layout231.background-color-gold.no-padding-bottom { background-color: var(--yb-dark-blue); padding-bottom: 0; }
.section_layout231 .display-inlineflex { align-items: flex-end; }
.section_layout231 .heading-style-h3.text-color-white { line-height: 92%; }
.section_layout231 .heading-style-h4.text-color-white { line-height: 1.2; }
/* Original: .margin-bottom.margin-medium ist dort fest 30px (fehlt in base.css) */
.section_layout231 .margin-bottom.margin-medium { margin-bottom: 30px; }

.countdown { padding: 45px 45px 0; }

.layout231_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: 1fr; grid-template-rows: auto; column-gap: 3rem; row-gap: 4rem; place-items: start; }
.layout231_list.background-color-black { column-gap: 45px; row-gap: 45px; padding: 45px; background-color: var(--yb-dark-blue); }
.layout231_item { width: 100%; }
/* Abweichung: Original hat 1fr-Spalten ohne Umbruch und laeuft bei 768 px seitlich aus der Seite.
   Hier bleiben die drei Spalten, lange Zeilen brechen innerhalb der Spalte um. */
.layout231_item .display-inlineflex { flex-wrap: wrap; }
.layout231_item .display-inlineflex > * { flex-shrink: 0; max-width: 100%; }

/* Countdown (Inline-Style home__style6 des Originals) */
.yb-countdown { display: block; width: 100%; }
.countdown-timer { display: flex; align-items: flex-start; flex-wrap: nowrap; gap: 0; }
.countdown-block { display: flex; flex-direction: column; align-items: center; }
.countdown-number,
.countdown-separator { color: var(--yb-light-blue); font-family: var(--yb-font-heading); font-size: 153px; font-style: normal; font-weight: 400; line-height: 95%; letter-spacing: -3px; text-transform: uppercase; }
.countdown-number { white-space: nowrap; }
.countdown-separator { margin: 0 .02em; }
.countdown-labels { display: flex; align-items: flex-start; gap: 0; margin-top: .35rem; }
.countdown-label { color: var(--yb-light-blue); text-align: center; font-size: 10px; font-style: normal; font-weight: 600; line-height: 1; text-transform: uppercase; }
.countdown-label-block { display: flex; justify-content: center; align-items: center; }
.countdown-label-separator { display: inline-block; visibility: hidden; font-size: 10px; line-height: 1; margin: 0 .02em; }

@media screen and (max-width: 991px) {
  .section_layout231 .heading-style-h4.text-color-white { font-size: 30px; }
  .layout231_list { column-gap: 2rem; }
  .countdown-number,
  .countdown-separator { font-size: 110px; }
}

@media screen and (max-width: 767px) {
  .layout231_list { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }

  .countdown-number,
  .countdown-separator { font-size: clamp(56px, 16vw, 68px); line-height: .95; letter-spacing: 0; }
  .countdown,
  .countdown-timer,
  .countdown-labels { max-width: 100%; overflow: hidden; }
  .countdown-timer,
  .countdown-labels { width: min(100%, 300px); margin-left: auto; margin-right: auto; justify-content: center; }
  .countdown-labels { margin-top: .25rem; }
  .countdown-label { font-size: 10px; }
  .countdown-label-separator { font-size: 8px; }

  /* Mobile-Patch des Originals (home__style2/3) fuer die Liste in der Karte */
  .match-wrapper .heading-style-h4 { font-size: clamp(25px, 7vw, 30px); line-height: 1.05; }
  .match-wrapper .heading-style-h4:not(.text-color-gold) { color: var(--yb-dark-blue); }
}

@media screen and (max-width: 380px) {
  .countdown-number,
  .countdown-separator { font-size: clamp(52px, 15vw, 62px); }
}

/* Gemeinsame Modale (Verhalten: files/theme/js/modal.js).
   .yb-modal: Sichtbarkeit, Ueberblendung, Scroll-Sperre. Gilt fuer die Statistik-Fenster (rsce_yb_statistik)
   und fuer die fussball.de-Fenster (Original modal1_component, genutzt von rsce_yb_akkordeon und rsce_yb_split).
   Original: modal1_component display:none/flex ohne Animation, yb-modal mit kurzer Einblendung (.2s ease-out). */
.yb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
}
.yb-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .2s ease-out, visibility 0s linear 0s;
}
.yb-modal:focus { outline: none; }
.yb-modal .yb-modal__dialog,
.yb-modal .modal1_content-wrapper {
  transform: translateY(12px);
  transition: transform .2s ease-out;
}
.yb-modal.is-open .yb-modal__dialog,
.yb-modal.is-open .modal1_content-wrapper { transform: none; }
body.yb-modal-open { overflow: hidden; }

/* ---------- fussball.de-Fenster (Original modal1_*) ---------- */
.modal1_component { width: 100vw; height: 100vh; }
.modal1_background-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--yb-overlay-dark-25);
  cursor: pointer;
}
.modal1_content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: safe center; /* Original: center, schneidet bei hohem Widget den Titel ab */
  width: 100%;
  max-width: 48rem;
  height: auto;
  max-height: 80vh;
  padding: 4rem;
  overflow: auto;
  background-color: var(--yb-dark-blue-bg);
}
.modal1_content-wrapper .heading-style-h4 { color: var(--yb-white); }
.modal1_content-wrapper .yb-embed[data-yb-embed="fussball"] { flex: 0 0 auto; }
.modal1_close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--yb-white);
  cursor: pointer;
}
.modal1_close-button svg { width: 2rem; height: 2rem; }
.modal1_close-button:focus-visible { outline: 2px solid var(--yb-gold); outline-offset: 2px; }

@media screen and (max-width: 991px) {
  .modal1_content-wrapper { width: 90%; max-width: none; padding-left: 3rem; padding-right: 3rem; }
}
@media screen and (max-width: 767px) {
  .modal1_component { align-items: flex-start; }
  .modal1_content-wrapper { width: 100%; height: 100vh; max-height: none; padding-bottom: 7rem; padding-left: 5%; padding-right: 5%; }
}

/* News: Top-Meldung (section_layout673), Kartenraster (section_layout226), Detail (section_blog-post3-*),
   Paginierung. Werte aus dem Original (webflow.css, Inline-Patches news__style1/2, ybr_mobile_no_letterbox_patch). */

/* ---------- Top-Meldung ---------------------------------------------------- */
/* Original: margin -15px links/rechts + padding 15px (erzeugt 15 px horizontalen Ueberlauf).
   Nachbau ohne Ueberlauf: Karte geht wie im Original bis an die Seitenraender. */
.section_layout673.background-color-black { background-color: var(--yb-dark-blue); color: var(--yb-text); padding: 15px 0; }
.layout673_component { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.layout673_card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  border: var(--yb-border-width) solid var(--yb-black); border-radius: var(--yb-radius);
  background-color: var(--yb-neutral-lightest); overflow: hidden;
}
.layout673_card-content { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.layout673_card-content.background-color-gold { background-color: var(--yb-gold); }
.layout673_card .text-align-center { text-align: center; }
.layout673_card .heading-style-h4.text-align-center { color: var(--yb-dark-blue); }
.layout673_image-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.layout673_image { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Kartenraster ----------------------------------------------------- */
.mod_newslist .section_layout226.background-color-black { background-color: var(--yb-dark-blue); color: var(--yb-text); padding: 0 15px 15px; }
.mod_newslist .layout226_list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px;
  place-items: start center;
}
.mod_newslist .layout226_item { text-align: center; }
.mod_newslist .layout226_item.background-color-light-blue {
  display: flex; flex-flow: column; justify-content: center; align-items: center;
  width: 100%; height: 750px; padding-left: 15px; padding-right: 15px;
  background-color: var(--yb-light-blue);
}
.mod_newslist .layout226_item > * { max-width: 100%; }
/* Original laeuft bei 768 px mit langen Woertern aus der Karte (Seite 832 px breit); hier Umbruch statt Ueberlauf */
.mod_newslist .layout226_item .heading-style-h4 { overflow-wrap: break-word; }

/* Paginierung (bewusste Ergaenzung, im Original nicht vorhanden) */
.mod_newslist .section_layout226 .pagination { padding: 3rem 0 2rem; color: var(--yb-white); text-align: center; font-family: var(--yb-font-body); }
.mod_newslist .section_layout226 .pagination p { margin-bottom: 1rem; font-size: .875rem; color: var(--yb-light-blue); }
.mod_newslist .section_layout226 .pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.mod_newslist .section_layout226 .pagination a,
.mod_newslist .section_layout226 .pagination strong {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem;
  border: 1px solid var(--yb-gold); color: var(--yb-gold); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
}
.mod_newslist .section_layout226 .pagination strong.active { background-color: var(--yb-gold); color: var(--yb-dark-blue); }
.mod_newslist .section_layout226 .pagination a:hover { background-color: var(--yb-gold); color: var(--yb-dark-blue); }
.mod_newslist .section_layout226 .pagination a:focus-visible { outline: 2px solid var(--yb-light-blue); outline-offset: 2px; }

/* ---------- Detailseite -------------------------------------------------------- */
.blog-post3-header_component { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; column-gap: 0; row-gap: 4rem; }
.blog-post3-header_title-wrapper { display: flex; flex-direction: column; }
.blog-post3-header_title-wrapper.background-color-gold { background-color: var(--yb-gold); }
.heading-style-h2-2 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.blog-post3-header_content-top { display: flex; flex: 1; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 100%; }
.blog-post3-header_author-wrapper { align-items: center; margin-bottom: 2rem; }
.blog-post3-header_author-text { display: flex; }
.blog-post3-header_date-wrapper { display: flex; margin-top: .25rem; }
.text-size-small-2 { font-size: .875rem; }
.blog-post3-header_image-wrapper { width: 100%; margin-left: auto; margin-right: auto; overflow: hidden; }
.blog-post3-header_image { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.section_blog-post3-header .container-large-2,
.section_blog-post3-content .container-large-2 { max-width: 80rem; }
.padding-section-large-2 { padding-top: 7rem; padding-bottom: 7rem; }
.section_blog-post3-content.background-color-black { background-color: var(--yb-dark-blue); }
.section_blog-post3-content .padding-bottom.padding-xhuge { padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.blog-post3-content_content { margin-bottom: 4rem; }
.blog-post3-content_content .text-color-white { color: var(--yb-white); }
.blog-post3-content_content .text-rich-text > :first-child { margin-top: 0; }
.blog-post3-content_content .text-rich-text > :last-child,
.blog-post3-content_content .text-rich-text .content-text:last-child > :last-child { margin-bottom: 0; }
.blog-post3-content_divider { width: 100%; max-width: 48rem; height: 1px; margin-top: 3rem; margin-bottom: 3rem; background-color: var(--yb-black); }

/* ---------- Responsiv ---------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .layout673_card-content { padding: 2rem; }
  .blog-post3-header_component { grid-template-columns: minmax(0, 1fr); row-gap: 4rem; }
  .heading-style-h2-2 { font-size: 2.75rem; }
  .padding-section-large-2 { padding-top: 6rem; padding-bottom: 6rem; }
  .blog-post3-content_content { margin-bottom: 3rem; }
}
@media screen and (max-width: 767px) {
  /* Top-Meldung mobil (Inline-Patch + No-Letterbox-Patch): Karte gestapelt, Bild quadratisch und vollstaendig */
  .section_layout673.background-color-black { padding: 12px 15px; }
  .layout673_card { grid-template-columns: minmax(0, 1fr); }
  .layout673_card-content { min-height: 340px; padding: 24px 20px; }
  .layout673_image-wrapper { height: auto; min-height: 0; overflow: hidden; }
  .layout673_image { height: auto; min-height: 0; object-fit: contain; object-position: center center; }
  /* Auf der News-Seite (Modul steht als erstes im Artikel) Bild oben, auf der Startseite Text oben */
  .mod_article > .mod_newslist:first-child .layout673_card,
  .mod_article > :first-child > .mod_newslist .layout673_card { display: flex; flex-direction: column; }
  .mod_article > .mod_newslist:first-child .layout673_image-wrapper,
  .mod_article > :first-child > .mod_newslist .layout673_image-wrapper { order: 1; }
  .mod_article > .mod_newslist:first-child .layout673_card-content,
  .mod_article > :first-child > .mod_newslist .layout673_card-content { order: 2; }

  .mod_newslist .layout226_list { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .mod_newslist .layout226_item.background-color-light-blue { height: 360px; padding: 24px 18px; overflow: hidden; }
  .mod_newslist .layout226_item.background-color-light-blue .heading-style-h4 {
    color: var(--yb-dark-blue); font-size: clamp(26px, 7.5vw, 31px); line-height: 1.05; overflow-wrap: anywhere;
  }

  .blog-post3-header_component { row-gap: 0; }
  .blog-post3-header_title-wrapper { padding-left: 5%; padding-right: 5%; }
  .heading-style-h2-2 { font-size: 2.25rem; }
  .section_blog-post3-header .padding-section-large-2 { padding-top: 20px; padding-bottom: 20px; }
  .section_blog-post3-content .padding-bottom.padding-xhuge { padding-bottom: 16px; }
  .section_blog-post3-content .blog-post3-content_content { margin-bottom: 0; }
  .blog-post3-content_divider { margin-top: 2rem; margin-bottom: 2rem; }
}

/* 404-Seite (Original: Webflow-Standard "utility page"): zentrierter Block 320 px, Icon, h3, Text, schwarzer Button */
.mod_article.utility-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; background: var(--yb-white); }
.utility-page .content-image { width: 47px; margin: 0 auto 8px; }
.utility-page .content-image figure, .utility-page .content-image picture { display: block; }
.utility-page .content-image img { width: 47px; height: 59px; display: block; }
.utility-page .content-headline { font-size: 40px; line-height: 1.2; text-transform: uppercase; color: var(--yb-dark-blue); margin: 0 0 16px; font-family: var(--yb-font-heading); }
.utility-page .utility_text { max-width: 320px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.5; color: var(--yb-dark-blue); }
.utility-page .utility_text p { margin: 0; }
.utility-page .utility_button a { display: block; width: 320px; max-width: 100%; margin: 0 auto; padding: 12px 24px; border: 1px solid #000; background: #000; color: #fff; text-decoration: none; font-size: 1rem; line-height: 1.5; }
@media screen and (max-width: 767px) { .utility-page .content-headline { font-size: 32px; } }

