/* SRG Riss – responsive Vereinsgestaltung. */
/* SRG-Auftritt: Dunkelblau, Gelb und Weiß wie auf den Vereinsgrafiken. */
:root {
  --srg-navy: #123d75;
  --srg-yellow: #ffcf00;
  --srg-navy-dark: #102e54;
  --srg-link: #164e91;
  --srg-border: #dce4ee;
  --srg-paper: #fff;
  --srg-soft: #f2f6fb;
  --srg-ink: #243348;
  --srg-muted: #546477;
}
html { scroll-padding-top: 1rem; }
.home-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.home-shortcuts a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 66px; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--srg-border); border-radius: 8px; color: var(--srg-navy-dark); background: var(--srg-soft); font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.home-shortcuts a:hover { border-color: var(--srg-navy); background: #e8eff8; }
.home-shortcuts small { display: block; font-size: 12px; color: var(--srg-muted); font-weight: 400; }
.shortcut-portraits { display: flex; flex: 0 0 auto; padding-left: 10px; }
.shortcut-portraits img { width: 36px; height: 36px; margin-left: -10px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; }
.home-shortcuts + .shop-feature { margin-top: 14px; }
@media (max-width: 599px) { .home-shortcuts { gap: 10px; margin-top: 18px; } .home-shortcuts a { flex-direction: column; gap: 6px; padding: 10px 6px; font-size: 14px; } .home-shortcuts small { font-size: 11px; } }
.shop-feature { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; gap: 24px; align-items: center; margin: 26px 0 0; padding: 24px 28px; color: #fff; background: var(--srg-navy); border-radius: 10px; border-bottom: 4px solid var(--srg-yellow); }
.shop-feature-icon { color: var(--srg-yellow); line-height: 0; }
.shop-feature .shop-kicker { margin: 0 0 5px; color: var(--srg-yellow); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.shop-feature h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px,2.7vw,30px); font-weight: 700; line-height: 1.2; }
.shop-feature-copy > p:last-child { margin: 0; max-width: 500px; font-size: 14px; line-height: 1.55; }
.shop-feature-actions { display: grid; gap: 10px; text-align: center; }
.shop-feature a.shop-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; box-sizing: border-box; padding: 12px 20px; border: 2px solid var(--srg-yellow); border-radius: 6px; background: var(--srg-yellow); color: var(--srg-navy-dark); font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.shop-feature a.shop-button:hover { background: #ffe16a; border-color: #ffe16a; }
.shop-feature a.shop-help { padding: 3px 0; color: #fff; font-size: 13px; line-height: 1.5; text-underline-offset: 3px; }
.shop-feature a:focus-visible { outline-color: #fff; }
@media (max-width: 900px) { .shop-feature { grid-template-columns: minmax(0,1fr) auto; gap: 18px; } .shop-feature-icon { display: none; } }
@media (max-width: 599px) { .shop-feature { grid-template-columns: minmax(0,1fr); margin-top: 20px; padding: 20px; gap: 18px; } .shop-feature-actions { text-align: left; } .shop-feature .shop-help { text-align: center; } }
body.custom-background,
body.custom-background-empty {
  background: #edf2f8 !important;
  background-image: none !important;
  color: var(--srg-ink);
  font-size: 16px;
  line-height: 1.65;
}
#page.site {
  box-sizing: border-box;
  max-width: 1160px;
  margin: 32px auto;
  padding: 0 clamp(22px, 4.5vw, 58px);
  overflow: visible;
  border: 1px solid #dce4ee;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(16, 46, 84, .10);
}
.site-header {
  padding: 34px 0 0;
  border-bottom: 1px solid var(--srg-border);
}
.site-header hgroup { margin: 0; }
.site-branding {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 100px;
  grid-template-areas: "srg title wfv";
  gap: 24px;
  align-items: center;
}
.site-branding hgroup { grid-area: title; min-width: 0; }
.site-branding .srg-brand { grid-area: srg; }
.site-branding .association-brand { grid-area: wfv; }
.site-branding a.srg-brand, .site-branding a.association-brand { display: block; line-height: 0; }
.site-branding img { display: block; width: 100%; height: auto; }
.site-branding .association-brand img { aspect-ratio: 1; object-fit: contain; }
@media (max-width: 900px) {
  .site-branding {
    grid-template-columns: minmax(0, 1fr) 78px;
    grid-template-areas: "srg wfv" "title title";
    gap: 16px 24px;
  }
  .site-branding .srg-brand { width: 130px; }
}
.site-kicker, .eyebrow {
  margin: 0 0 5px;
  color: var(--srg-link);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.site-header .site-title {
  position: static;
  clip-path: none;
  margin: 0;
  text-align: left;
  font-size: clamp(25px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.site-header .site-title a { color: var(--srg-navy-dark); }
.site-header .site-description {
  position: static;
  clip-path: none;
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--srg-muted);
  font-size: 15px;
  line-height: 1.55;
}
.main-navigation {
  margin-top: 24px;
  text-align: left;
}
.main-navigation .menu-toggle {
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  color: #fff;
  background: var(--srg-navy);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.main-navigation .menu-toggle:hover { background: var(--srg-navy-dark); color: #fff; }
.main-navigation ul.nav-menu {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}
.main-navigation ul.nav-menu.toggled-on {
  display: block !important;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px solid var(--srg-border);
  border-radius: 9px;
  background: #fff;
}
.main-navigation li { margin: 0; }
.main-navigation li a {
  color: var(--srg-navy-dark);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.main-navigation li a:hover,
.main-navigation li a:focus { color: var(--srg-link); }
.main-navigation li ul {
  background: #fff;
  border: 1px solid var(--srg-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 46, 84, .13);
}
.main-navigation li ul li a { width: 205px; padding: 9px 13px; background: #fff; color: var(--srg-navy-dark); font-size: 13px; }
.wrapper#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 290px);
  gap: clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 32px 0 20px;
  border: 0;
  box-shadow: none;
}
.site-content, .widget-area {
  float: none;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
}
.home-intro { margin: 0 0 24px; padding-bottom: 4px; }
.home-intro h1 {
  margin: 0 0 4px;
  color: var(--srg-navy-dark);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.home-intro > p:last-child { margin: 0; color: var(--srg-muted); }
.site-content article.news-card {
  margin: 0 0 16px;
  padding: 22px 24px 18px;
  border: 1px solid var(--srg-border);
  border-left: 4px solid var(--srg-yellow);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 46, 84, .045);
  hyphens: auto;
}
.news-card .entry-header { margin: 0 0 8px; }
.news-card .news-date { margin: 0 0 4px; color: var(--srg-muted); font-size: 12px; font-weight: 650; }
.news-card .entry-title {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.35;
}
.news-card .entry-title a { color: var(--srg-navy-dark); text-decoration: none; }
.news-card .entry-title a:hover { color: var(--srg-link); text-decoration: underline; text-underline-offset: 3px; }
.news-card .entry-content { font-size: 15px; line-height: 1.7; }
.news-card .entry-content p { margin: 0 0 9px; }
.news-card .entry-content .read-more { margin: 10px 0 0; }
.read-more a { color: var(--srg-link); font-size: 14px; font-weight: 700; text-decoration: none; }
.read-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.widget-area .widget {
  margin: 0 0 16px;
  padding: 19px;
  border: 1px solid var(--srg-border);
  border-radius: 10px;
  background: var(--srg-soft);
}
.widget-area .widget h3 {
  margin: 0 0 11px;
  color: var(--srg-navy-dark);
  font-size: 16px;
  line-height: 1.35;
}
.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget .textwidget { color: var(--srg-ink); font-size: 14px; line-height: 1.6; }
.widget-area .widget p { margin: 0 0 8px; }
.widget-area .widget p:last-child { margin-bottom: 0; }
.widget-area .widget:first-child { border-top: 4px solid var(--srg-yellow); }
.widget-area .widget_media_image { padding: 12px; background: #fff; }
.widget-area .widget_media_image img { display: block; width: 100%; height: auto; border-radius: 5px; }
.entry-content a, .widget-area a { color: var(--srg-link); }
.entry-content img { max-width: 100%; height: auto; }
.widget-area .widget:first-child a.event-all-link { color: var(--srg-yellow); text-underline-offset: 3px; }
.schedule-list, .people-list { display: grid; gap: 14px; margin: 16px 0 32px; }
.schedule-card { padding: 20px; border: 1px solid var(--srg-border); border-left: 4px solid var(--srg-yellow); border-radius: 10px; background: var(--srg-soft); overflow-wrap: normal; }
.schedule-card.is-past { background: #fff; border-left-color: #aab8c9; }
.event-status { display: block; color: var(--srg-muted); font-size: 12px; font-weight: 700; }
.entry-content .event-date { margin: 4px 0 14px; font-size: 21px; color: var(--srg-navy-dark); line-height: 1.4; }
.entry-content .event-details { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 8px 12px; margin: 0; }
.entry-content .event-details dt { margin: 0; font-weight: 700; color: var(--srg-muted); font-size: 14px; }
.entry-content .event-details dd { margin: 0; min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
.entry-content .event-time { line-height: 1.65; }
.person-card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--srg-border); border-radius: 10px; background: var(--srg-soft); }
.entry-content img.person-portrait { display: block; float: none; margin: 0; width: 112px; height: 130px; max-width: 100%; object-fit: contain; object-position: center; border-radius: 6px; box-shadow: none; background: #fff; }
.person-info { min-width: 0; font-size: 15px; line-height: 1.55; }
.portrait-missing { display: grid; place-items: center; min-height: 106px; padding: 8px; border: 1px dashed #aab8c9; border-radius: 6px; color: var(--srg-muted); font-size: 12px; text-align: center; }
.entry-content a.download-link { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
.entry-content a.download-link[href$=".pdf"]::after { content: "PDF"; display: inline-block; margin-left: 8px; padding: 1px 5px; border: 1px solid var(--srg-border); border-radius: 4px; color: var(--srg-muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.person-info strong { color: var(--srg-navy-dark); font-size: 18px; }
.community-card { padding: 22px; margin: 0 0 24px; border: 1px solid var(--srg-border); border-top: 4px solid var(--srg-yellow); border-radius: 10px; background: var(--srg-soft); }
.community-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.community-heading h2 { margin: 0; color: var(--srg-navy-dark); font-size: clamp(20px,2.5vw,26px); font-weight: 700; line-height: 1.3; }
.football { display: block; flex: 0 0 48px; width: 48px; height: 48px; animation: srg-bounce .75s ease-out 3; }
@keyframes srg-bounce { 0%,100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-10px) rotate(12deg); } }
.featured-people { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 20px 0 16px; }
.featured-people figure { margin: 0; text-align: center; }
.featured-people img { width: 100px; height: 100px; max-width: 100%; object-fit: contain; background: #fff; border-radius: 8px; }
.featured-people figcaption { margin-top: 6px; color: var(--srg-navy-dark); font-size: 13px; font-weight: 700; line-height: 1.4; }
.community-link, .matchday-note a { color: var(--srg-link); font-size: 14px; font-weight: 700; text-underline-offset: 3px; }
.matchday-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--srg-border); font-size: 14px; }
.matchday-note strong { color: var(--srg-navy-dark); }
.matchday-note p { margin: 4px 0 8px; line-height: 1.6; color: var(--srg-muted); }
@media (max-width: 420px) {
  .community-card { padding: 16px; }
  .featured-people { gap: 8px; }
  .featured-people img { height: 78px; }
  .person-card { grid-template-columns: 82px minmax(0,1fr); gap: 14px; padding: 14px; }
  .entry-content img.person-portrait { width: 82px; height: 106px; }
  .person-info strong { font-size: 16px; }
  .schedule-card { padding: 16px; }
  .entry-content .event-details { grid-template-columns: 1fr; gap: 2px; }
  .entry-content .event-details dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .football { animation: none !important; } }
#colophon {
  margin: 0;
  padding: 19px 0 25px;
  border-top: 1px solid var(--srg-border);
  color: var(--srg-muted);
  font-size: 13px;
}
#colophon a { color: var(--srg-navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #164e91;
  outline-offset: 3px;
}
@media (min-width: 600px) {
  #page.site { padding-right: clamp(28px, 4.5vw, 58px); padding-left: clamp(28px, 4.5vw, 58px); }
  .main-navigation ul.nav-menu,
  .main-navigation div.nav-menu > ul {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    border-top: 1px solid var(--srg-border);
  }
  .main-navigation li { margin: 0; }
  .main-navigation li a {
    display: block;
    padding: 13px 12px;
    border-bottom: 2px solid transparent;
    font-size: 12px;
    letter-spacing: .025em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a,
  .main-navigation li a:hover { color: var(--srg-link); border-bottom-color: var(--srg-yellow); }
  .main-navigation li ul { top: calc(100% - 1px); }
  .menu-toggle { display: none; }
}
@media (max-width: 760px) {
  #page.site { margin: 0 auto; border: 0; border-radius: 0; padding: 0 22px; box-shadow: none; }
  .wrapper#main { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 23px; }
  .widget-area { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: start; gap: 12px; }
  .widget-area .widget { margin: 0; }
  .widget-area .widget_media_image { max-width: 260px; }
}
@media (max-width: 599px) {
  .site-header { padding-top: 24px; }
  .site-header .site-description { font-size: 14px; }
  .main-navigation { margin-top: 18px; }
  .main-navigation ul.nav-menu.toggled-on li { display: block; }
  .main-navigation ul.nav-menu.toggled-on a { padding: 11px 3px; border-bottom: 1px solid var(--srg-border); }
  .main-navigation ul.nav-menu.toggled-on li:last-child > a { border-bottom: 0; }
  .site-content article.news-card { padding: 18px 18px 16px; }
  .home-intro { margin-bottom: 18px; }
  .widget-area { display: block; }
  .widget-area .widget { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body.custom-background { background: #fff !important; }
  #page.site { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .main-navigation, .widget-area { display: none; }
  .wrapper#main { display: block; padding: 0; }
  .site-content { width: 100%; }
}

/* Lesbarkeit, Tastaturbedienung und kleine Bildschirme. */
body { font-size: 16px; line-height: 1.65; }
.site-header .site-title { width: auto; height: auto; }
.site-content article { border-bottom: 1px solid var(--srg-border); }
.entry-header .entry-title { color: var(--srg-navy-dark); font-size: clamp(23px, 3vw, 30px); line-height: 1.3; }
.entry-content { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.entry-content img { border-radius: 6px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 24px; }
.table-scroll table { margin-bottom: 0; }
.mobile-next-event { display: none; }
.main-navigation li:focus-within > ul { clip-path: none; overflow: visible; width: auto; height: auto; }
.main-navigation ul.nav-menu { display: block; }
.main-navigation .menu-toggle { display: none; min-height: 44px; }
@media (max-width: 599px) {
  .js .main-navigation .menu-toggle { display: inline-block; }
  .js .main-navigation ul.nav-menu { display: none; }
  .js .main-navigation ul.nav-menu.toggled-on { display: block; }
  .main-navigation li ul { position: static; width: auto; height: auto; clip-path: none; margin: 0 0 0 10px; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--srg-border); border-radius: 0; box-shadow: none; }
  .main-navigation li ul li a { box-sizing: border-box; width: auto; min-height: 44px; white-space: normal; }
  .mobile-next-event { display: grid; gap: 3px; margin-bottom: 24px; padding: 15px 17px; color: var(--srg-navy-dark); background: var(--srg-soft); border-left: 4px solid var(--srg-yellow); border-radius: 6px; text-decoration: none; }
  .mobile-next-event span { color: var(--srg-link); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-next-event strong { font-size: 17px; }
  .mobile-next-event small { font-size: 13px; }
}

@media (max-width: 599px) {
  .main-navigation li { display: block; }
  .main-navigation li a { display: block; box-sizing: border-box; min-height: 44px; line-height: 1.5; }
}

/* Alte Float-Clearfix-Elemente dürfen keine zusätzlichen Rasterzellen bilden. */
#main.wrapper::before, #main.wrapper::after { content: none; display: none; }
.site-header .site-title a { text-decoration: none; }

/* Gemeinsamer Vereinsauftritt mit klaren Kontrasten für die Website. */
.site-header { border-bottom: 4px solid var(--srg-yellow); padding-bottom: 14px; }
#colophon { border-top: 4px solid var(--srg-yellow); }
.widget-area .widget:first-child { background: var(--srg-navy); }
.widget-area .widget:first-child h3 { color: var(--srg-yellow); }
.widget-area .widget:first-child p,
.widget-area .widget:first-child .textwidget { color: #fff; }
@media (min-width: 600px) {
  .site-header { padding-bottom: 0; }
  .main-navigation ul.nav-menu { background: var(--srg-navy); border-top: 0; border-radius: 7px 7px 0 0; padding: 0 8px; box-sizing: border-box; }
  .main-navigation ul.nav-menu > li > a { color: #fff; }
  .main-navigation ul.nav-menu > .current-menu-item > a,
  .main-navigation ul.nav-menu > .current_page_item > a,
  .main-navigation ul.nav-menu > li > a:hover,
  .main-navigation ul.nav-menu > li > a:focus { color: var(--srg-yellow); border-bottom-color: var(--srg-yellow); }
  .main-navigation ul.nav-menu > li > a:focus-visible { outline-color: var(--srg-yellow); outline-offset: -4px; }
}
@media (max-width: 599px) {
  .mobile-next-event { background: var(--srg-navy); color: #fff; }
  .mobile-next-event span { color: var(--srg-yellow); }
  .mobile-next-event:visited { color: #fff; }
  .main-navigation .menu-toggle { color: var(--srg-yellow); }
}
@media print {
  .mobile-next-event { background: #fff; color: var(--srg-navy-dark); }
  .mobile-next-event span { color: var(--srg-navy-dark); }
}
