/* ============================================================
   THÜRINGER FUSSBALL – style.css
   Design: Dark Sport Hero (Konzept 2)
   Basis: Bootstrap 5 + CSS Custom Properties
   Fonts: Bebas Neue (Überschriften) + Nunito (Fließtext)
   ============================================================ */

:root {
  --orange:       #ff9933;
  --orange-dk:    #e07000;
  --orange-tint:  rgba(255, 153, 51, 0.10);
  --dark:         #111111;
  --dark-2:       #1a1a1a;
  --dark-3:       #242424;
  --mid:          #2e2e2e;
  --text:         #333333;
  --text-mid:     #666666;
  --text-light:   #999999;
  --white:        #ffffff;
  --bg:           #f3f3f3;
  --bg-card:      #ffffff;
  --border:       #e2e2e2;
  --border-dark:  rgba(255,255,255,0.07);
  --sidebar-w:    320px;
  --font-d:       'Bebas Neue', Arial Narrow, sans-serif;
  --font-b:       'Nunito', Verdana, sans-serif;
  --radius:       5px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--text);
  background: var(--dark-2);
  margin: 0; padding: 0;
  overflow-x: hidden;
}
a { color: var(--orange-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }

/* ============================================================
   OUTER WRAPPER
   ============================================================ */
#outerbox {
  max-width: 1600px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
#header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(255,153,51,0.06) 100%);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 86px;
  position: relative; z-index: 1;
}
/* Bild-Header: wird weiterhin über CMS gesetzt (/bilder/.../kopf.jpg) */
#header img { display: block; width: 100%; height: auto; }
/* Fallback-Logo wenn kein Header-Bild */
.header-logo-wrap {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}
.logo-diamond {
  background: var(--orange);
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; flex-shrink: 0;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  padding-right: 6px;
}
.logo-text { padding-left: 12px; line-height: 1; }
.logo-name {
  font-family: var(--font-d);
  font-size: 30px; letter-spacing: 3px;
  color: var(--white); display: block;
}
.logo-name span { color: var(--orange); }
.logo-claim {
  font-family: var(--font-b);
  font-size: 10px; color: rgba(255,255,255,0.3);
  letter-spacing: 3px; text-transform: uppercase; display: block;
  margin-top: 3px; color: rgba(255,255,255,0.55);
}
.header-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.powered-text {
  font-size: 10px; color: rgba(255,255,255,0.55);
  letter-spacing: 1px; text-transform: uppercase;
}
.social-strip { display: flex; gap: 5px; }
.soc-btn {
  width: 28px; height: 28px; border-radius: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 13px;
  text-decoration: none; transition: all .2s;
}
.soc-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.header-line {
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dk) 50%, transparent 100%);
}

/* ============================================================
   TOP-NAVIGATION (Desktop)
   ============================================================ */
.topnav {
  background: var(--dark-3);
  border-bottom: 2px solid rgba(255,153,51,0.25);
  position: sticky; top: 0; z-index: 200;
}
.topnav-inner {
  display: flex; align-items: stretch;
  justify-content: space-between;
}
.topnav-links {
  display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.topnav-links li a {
  display: block; padding: 13px 15px;
  font-family: var(--font-d); font-size: 18px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.72); text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all .2s; position: relative;
}
.topnav-links li a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.topnav-links li a:hover { color: var(--orange); background: rgba(255,255,255,0.03); }
.topnav-links li a:hover::after,
.topnav-links li.active a::after { transform: scaleX(1); }
.topnav-links li.active a { color: var(--orange); }

/* Social-Media-Buttons in der Topnav */
.topnav-social {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.topnav-soc-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  text-decoration: none;
  transition: all .2s;
}
.topnav-soc-btn:hover { color: var(--orange); background: rgba(255,255,255,0.06); }

/* Hamburger-Button (Mobile) */
.nav-toggler {
  display: none; /* wird per Media Query sichtbar */
  background: none; border: none;
  color: rgba(255,255,255,0.8); font-size: 22px;
  padding: 12px 16px; cursor: pointer; transition: color .2s;
  align-items: center; gap: 8px;
}
.nav-toggler:hover { color: var(--orange); }
.nav-toggler .toggler-label {
  font-family: var(--font-d); font-size: 14px; letter-spacing: 2px;
}

/* ============================================================
   ZWEI-SPALTEN LAYOUT
   ============================================================ */
#main-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 600px;
}

/* ============================================================
   LINKE SIDEBAR
   Kein position:sticky mehr – sticky + overflow-y:auto auf
   einem Grid-Item bricht in Webkit/Blink die Grid-Autoplanung
   und schiebt #main-content in Zeile 2.
   Sticky wird über den Wrapper #main-layout gelöst.
   ============================================================ */
#sidebar {
  background: #ff9933;
  border-right: none;
  min-height: 600px;
  width: var(--sidebar-w);         /* feste Breite */
  min-width: var(--sidebar-w);     /* schrumpft nicht */
  flex-shrink: 0;                  /* bleibt immer 220px breit */
  align-self: flex-start;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* Menü-Abschnittstitel */
.sb-section {
  background: var(--dark-3);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-d); font-size: 11px; letter-spacing: 3px;
  padding: 7px 14px;
}


/* Saisonarchiv-Button in der Sidebar – Stil wie td.tftitel */
.sb-archive-link {
  display: block;
  width: 100%;
  background: #414141;
  color: #f8f8f8;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 8px 4px;
  border-top: 2px solid var(--orange);
  margin: 2px 0 0 0;
  transition: background .2s, color .2s;
  box-sizing: border-box;
}
.sb-archive-link:hover {
  background: var(--orange);
  color: #1a1a1a;
}
.sb-archive-link i { margin-right: 5px; font-size: 12px; }
.sb-archive-link.active {
  background: var(--orange);
  color: #1a1a1a;
  border-top-color: #e07000;
}
.sb-archive-link.active:hover {
  background: var(--orange-dk);
}

/* Sidebar-Footer – auf orangefarbener Sidebar */
.sb-foot {
  padding: 12px 10px;
  border-top: 2px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.08);
}
.sb-social { display: flex; gap: 7px; margin-bottom: 12px; }
.sb-social-btn {
  height: 34px; padding: 0 12px; border-radius: 5px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-b); font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all .2s;
  border: none;
}
.sb-social-btn.fb { background: #1877f2; color: #fff; }
.sb-social-btn.fb:hover { background: #1464d8; color: #fff; }
.sb-social-btn.x  { background: #000; color: #fff; }
.sb-social-btn.x:hover  { background: #222; color: #fff; }
.sb-counter {
  background: transparent; border: none;
  padding: 8px 4px; text-align: center;
  margin-bottom: 10px;
}
.sb-counter table { margin: 0 auto; border-collapse: collapse; }
.sb-counter-digits {
  font-family: var(--font-d);
  font-size: 20px; font-weight: 700;
  color: #fff; letter-spacing: 2px;
  display: block; text-align: center; margin-top: 4px;
}
td.titel {
  display: table-cell !important;
  /* border: 1px solid #fff !important;*/
  padding: 2px 5px !important;
  background: rgba(255,255,255,0.9) !important;
  font-weight: 700; color: #414141;
  font-size: 13px; text-align: center; min-width: 20px;
}
.sb-powered {
  text-align: center; font-size: 11px; color: #1a1a1a;
  display: block; margin-top: 6px;
}
.sb-powered:hover { color: #000; }

/* ============================================================
   HAUPT-CONTENT
   ============================================================ */
#main-content {
  flex: 1;                   /* nimmt restlichen Platz ein */
  min-width: 0;              /* verhindert Überlauf in Flexbox */
  min-height: 600px;
  background: var(--bg);
  overflow: hidden;
}

/* Quicklinks-Bar (Startseite) – entspricht .submenu in index_start.html */
.quicknav {
  background: #ff9933 !important;
  display: flex !important; flex-wrap: wrap; align-items: stretch;
  overflow: hidden;
}
.quicknav a {
  padding: 10px 18px;
  font-family: var(--font-d); font-size: 18px; letter-spacing: 1.5px;
  color: #1a1a1a; text-decoration: none;
  border-right: 1px solid rgba(0,0,0,0.20);
  transition: all .15s; white-space: nowrap;
}
.quicknav a:hover { background-color: #1a1a1a; color: #ff9933; }
.quicknav a:last-child { border-right: none; }

/* ============================================================
   HERO-BEREICH
   ============================================================ */
.hero {
  background: #111111 !important;
  position: relative; overflow: hidden;
  display: block !important;
}
/* Diagonales Textur-Muster */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 38px,
    rgba(255,153,51,0.025) 38px, rgba(255,153,51,0.025) 39px
  );
  pointer-events: none;
}
/* Rechter Diagonal-Akzent */
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(140deg, transparent 25%, rgba(255,153,51,0.055) 100%);
  border-left: 1px solid rgba(255,153,51,0.10);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 360px;           /* explizit – ermöglicht height:100% in der Carousel-Kette */
  position: relative; z-index: 1;
}
/* Einspaltig nur auf Mobile (siehe Breakpoint 768px) */
.hero-grid--single {
  grid-template-columns: 1fr;
}

/* Haupt-Story (links) */
.hero-main {
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-tag {
  display: inline-block;
  background: var(--orange);
  font-family: var(--font-d); font-size: 12px; letter-spacing: 2px;
  color: #fff; padding: 3px 12px; border-radius: 2px;
  margin-bottom: 12px; width: fit-content;
}
.hero-hl {
  font-family: var(--font-d);
  font-size: 38px; letter-spacing: 2px; line-height: 1.05;
  color: var(--white); margin: 0 0 12px; text-transform: uppercase;
}
.hero-hl em { font-style: normal; color: var(--orange); }
.hero-lead {
  font-family: var(--font-b); font-size: 13.5px;
  color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 16px;
}
.hero-meta {
  font-family: var(--font-b); font-size: 11px;
  color: rgba(255,255,255,0.60); letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; gap: 12px; align-items: center; margin-bottom: 14px;
}
.hero-meta::before {
  content: ''; display: block;
  width: 20px; height: 2px; background: var(--orange); flex-shrink: 0;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: var(--font-d); font-size: 16px; letter-spacing: 2px;
  padding: 9px 22px; border-radius: 3px; text-decoration: none;
  width: fit-content; transition: background .2s, transform .15s;
}
.hero-btn:hover { background: var(--orange-dk); color: #fff; transform: translateX(4px); }
.hero-btn i { font-size: 14px; }

/* Hero-Aside: Nachrichten-Slider (Bootstrap Carousel) */
.hero-aside {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
  border-left: 1px solid rgba(255,255,255,0.07);
  min-height: 300px;
}

/* ── CMS-Carousel (%TF_NEWS_SLIDER%) ────────────────────── */
/* section#newsbox und Carousel füllen die volle Spalten-Höhe */
.hero-aside #newsbox            { height: 100%; margin: 0; padding: 0; }
.hero-aside #newsboxCarousel    { height: 100%; }
.hero-aside .carousel-inner     { height: 100%; }
.hero-aside .carousel-item      { height: 100%; }

/* CMS liefert container > row > col-md-6 – wir zeigen 1 Kachel pro Slide */
.hero-aside .carousel-item .container  { padding: 0; margin: 0; max-width: none; height: 100%; }
.hero-aside .carousel-item .row        { margin: 0; height: 100%; flex-wrap: nowrap; }
.hero-aside .carousel-item [class*="col-"] {
  padding: 0;
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
}
/* 2. Spalte des CMS-Slides ausblenden → 1 Newsbox pro Slide */
.hero-aside .carousel-item [class*="col-"]:nth-child(2) { display: none; }

/* Einzelne Newsbox-Kachel */
.newsbox {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 140px;
  cursor: pointer;
}
.newsbox img {
  width: 100%;
  height: 100% !important;   /* !important: überschreibt Bootstrap img-fluid height:auto */
  min-height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s;
}
.newsbox:hover img { transform: scale(1.05); }

/* Headline als dunkles Overlay */
.newsbox .ueberschrift {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  margin: 0; padding: 6px 12px;
  background: rgba(0,0,0,0.68);
  color: #fff;
  font-family: var(--font-d);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-align: center;
}

/* Link als orangefarbener Footer-Streifen */
.newsbox .link {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: block;
  background: rgba(255,153,51,0.90);
  color: #fff !important;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 4px 12px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  transition: background .2s;
}
.newsbox .link:hover { background: var(--orange-dk); color: #1a1a1a; }

/* Carousel-Pfeile */
#newsboxCarousel .carousel-control-prev,
#newsboxCarousel .carousel-control-next {
  width: 32px;
  background: rgba(0,0,0,0.45);
  opacity: 1;
}
#newsboxCarousel .carousel-control-prev { left: 0; }
#newsboxCarousel .carousel-control-next { right: 0; }
#newsboxCarousel .carousel-control-prev i,
#newsboxCarousel .carousel-control-next i {
  font-size: 1.2rem;
  color: #fff;
}

/* Carousel-Pfeile: dunkel auf hellem Hintergrund sichtbar */
#newsboxCarousel .carousel-control-prev,
#newsboxCarousel .carousel-control-next {
  width: 32px;
  background: rgba(0,0,0,0.45);
  opacity: 1;
}
#newsboxCarousel .carousel-control-prev { left: 0; }
#newsboxCarousel .carousel-control-next { right: 0; }
#newsboxCarousel .carousel-control-prev i,
#newsboxCarousel .carousel-control-next i {
  font-size: 1.2rem;
  color: #fff;
}



/* Nach JS-Umstrukturierung: newsbox-col-wrap füllt volle Slide-Höhe */
.hero-aside .newsbox-col-wrap { height: 100%; }
/* ============================================================
   TICKER-LEISTE
   ============================================================ */
.ticker {
  background: var(--orange);
  display: flex; align-items: stretch; overflow: hidden; height: 36px;
}
.ticker-label {
  background: var(--orange-dk); color: #1a1a1a;
  font-family: var(--font-d); font-size: 13px; letter-spacing: 2.5px;
  padding: 0 16px; display: flex; align-items: center; white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-tape {
  display: flex; gap: 0; white-space: nowrap;
  animation: tape 30s linear infinite;
}
.ticker-tape:hover { animation-play-state: paused; }
@keyframes tape {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-b); font-size: 13px; font-weight: 700;
  color: #1a1a1a; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 26px 0 0;
}
.ticker-item::before { content: '⚽'; font-size: 11px; opacity: 0.75; }

/* ============================================================
   CONTENT-BEREICHE
   ============================================================ */
.c-pad { padding: 20px 18px 0; }

/* Abschnitts-Kopf */
.sec-head {
  display: flex; align-items: baseline;
  margin-bottom: 14px; padding-bottom: 10px;
  position: relative;
}
.sec-head::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 160px, var(--orange) 160px, transparent 100%);
}
.sec-title {
  font-family: var(--font-d); font-size: 22px; letter-spacing: 2px;
  color: var(--dark); white-space: nowrap; margin: 0;
}
.sec-link {
  margin-left: auto;
  font-family: var(--font-d); font-size: 14px; letter-spacing: 1px;
  color: var(--orange); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.sec-link:hover { color: var(--orange-dk); }

/*  */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 18px;
}

/* Große Featured-Card (2×2 Spalten) */
.nc {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.nc:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  color: inherit;
}
.nc-feat {
  grid-column: span 2;
  flex-direction: row;
}
.nc-img {
  background: var(--dark-2);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
/* Normal-Card: Bild oben */
.nc:not(.nc-feat) .nc-img { height: 136px; }
/* Featured: Bild links */
.nc-feat .nc-img { width: 52%; height: auto; min-height: 200px; }
.nc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.nc:hover .nc-img img { transform: scale(1.04); }
.nc-cat {
  position: absolute; bottom: 0; left: 0;
  background: var(--orange); color: #fff;
  font-family: var(--font-d); font-size: 10px; letter-spacing: 2px;
  padding: 3px 10px;
}
.nc-body {
  padding: 13px 14px 14px;
  flex: 1; display: flex; flex-direction: column;
}
.nc-feat .nc-body { padding: 20px 18px; }
.nc-hl {
  font-family: var(--font-d); font-size: 17px; letter-spacing: 0.5px;
  line-height: 1.2; color: var(--dark); margin: 0 0 8px;
}
.nc-feat .nc-hl { font-size: 24px; margin-bottom: 10px; }
.nc-lead {
  font-family: var(--font-b); font-size: 12.5px;
  color: var(--text-mid); line-height: 1.55;
  flex: 1; margin-bottom: 10px; display: none;
}
.nc-feat .nc-lead { display: block; }
.nc-meta {
  font-size: 11px; color: #767676;
  display: flex; gap: 6px; align-items: center;
}
.nc-meta::before {
  content: ''; display: block;
  width: 14px; height: 2px; background: var(--orange); flex-shrink: 0;
}

/* CTA-Button */
.btn-all {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white);
  font-family: var(--font-d); font-size: 16px; letter-spacing: 2px;
  padding: 10px 26px; border-radius: 3px; text-decoration: none;
  transition: background .2s; margin-bottom: 20px;
}
.btn-all:hover { background: var(--orange); color: #fff; }
.btn-all i { font-size: 14px; }

/* ============================================================
   WIDGET-GRID (Tabellen / Ergebnisse / Video / Werbung)
   ============================================================ */
.w-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; padding: 0 18px 22px;
}

.w-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.w-head {
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
}
.w-title {
  font-family: var(--font-d); font-size: 14px; letter-spacing: 2px;
  color: var(--white); margin: 0;
}
.w-link {
  font-family: var(--font-d); font-size: 12px; letter-spacing: 1px;
  color: var(--orange); text-decoration: none; transition: color .2s;
}
.w-link:hover { color: #fff; }
.w-body { padding: 0; }

/* Liga-Tabelle */
.lt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lt thead th {
  background: var(--dark-3); color: rgba(255,255,255,0.4);
  font-family: var(--font-d); font-size: 11px; letter-spacing: 1.5px;
  padding: 6px 10px; text-align: left; font-weight: 400;
}
.lt tbody td {
  padding: 7px 10px; border-bottom: 1px solid var(--border);
  font-family: var(--font-b);
}
.lt tbody tr:last-child td { border-bottom: none; }
.lt tbody tr:hover td { background: var(--orange-tint); }
.lt .lp { font-weight: 800; width: 24px; color: var(--text-light); }
.lt .ln { font-weight: 700; }
.lt .la { font-size: 11px; color: var(--text-light); }
.lt .pts { font-weight: 800; text-align: right; }
.lt tr.aufstieg td { border-left: 3px solid #22c55e; }
.lt tr.playoff  td { border-left: 3px solid #f59e0b; }
.lt tr.abstieg  td { border-left: 3px solid #ef4444; background: #fff8f8; }

/* Ergebnisliste */
.rl { list-style: none; margin: 0; padding: 0; }
.rl li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  font-size: 12.5px; transition: background .15s;
}
.rl li:last-child { border-bottom: none; }
.rl li:hover { background: var(--orange-tint); }
.rl-lig {
  font-size: 10px; color: var(--text-light); font-family: var(--font-b);
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--bg); padding: 2px 5px; border-radius: 2px;
  flex-shrink: 0; min-width: 28px; text-align: center;
}
.rl-home, .rl-away {
  font-family: var(--font-b); font-weight: 700; color: var(--text); flex: 1;
}
.rl-away { text-align: right; }
.rl-score {
  font-family: var(--font-d); font-size: 18px; letter-spacing: 1px;
  color: var(--dark); background: var(--bg); padding: 2px 10px;
  border-radius: 3px; min-width: 54px; text-align: center;
  border: 1px solid var(--border); flex-shrink: 0;
}

/* Video-Platzhalter */
.video-ph {
  background: var(--dark-2); aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; color: rgba(255,255,255,0.25);
  font-family: var(--font-b); font-size: 11px;
}
.video-ph .ph-icon { font-size: 36px; color: var(--orange); opacity: 0.6; }

/* Werbe-Platzhalter */
.ad-ph {
  min-height: 180px;
  background: repeating-linear-gradient(
    -45deg, #f8f8f8, #f8f8f8 5px, #f0f0f0 5px, #f0f0f0 10px
  );
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; color: #ccc; font-size: 12px; text-align: center;
}
.ad-ph i { font-size: 22px; opacity: 0.5; }

.contentbox {
  background: var(--bg-card);
  margin: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 18px;
}

/* ============================================================
   PARTNER & SPONSOREN
   ============================================================ */
#sponsors {
  background: var(--dark-3);
  border-top: 3px solid var(--orange);
  padding: 28px 24px 22px;
}
.sponsors-title {
  font-family: var(--font-d);
  font-size: 14px; letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.sponsors-title::before,
.sponsors-title::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.15);
  vertical-align: middle;
  margin: 0 12px;
}
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.sponsor-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  width: 140px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all .2s;
  overflow: hidden;
}
.sponsor-item:hover {
  background: rgba(255,153,51,0.12);
  border-color: rgba(255,153,51,0.35);
  transform: translateY(-2px);
}
.sponsor-item img {
  max-width: 120px; max-height: 50px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.55;
  transition: all .2s;
}
.sponsor-item:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}
/* Platzhalter wenn noch kein Logo vorhanden */
.sponsor-ph {
  font-family: var(--font-d);
  font-size: 13px; letter-spacing: 1px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 0 8px;
}
@media (max-width: 768px) {
  #sponsors { padding: 20px 16px 16px; }
  .sponsor-item { width: 110px; height: 56px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark); color: rgba(255,255,255,0.4);
}
.footer-main {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-col-title {
  font-family: var(--font-d); font-size: 13px; letter-spacing: 3px;
  color: var(--white); margin-bottom: 12px; display: block;
}
.f-link {
  display: block; color: #aaaaaa;
  font-size: 12.5px; line-height: 2.1; transition: color .15s;
  text-decoration: none;
}
.f-link:hover { color: var(--orange); }
.footer-bottom {
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.f-brand {
  font-family: var(--font-d); font-size: 18px; letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
}
.f-brand span { color: var(--orange); }
.f-copy { font-size: 11px; color: #888888; }

/* ============================================================
   SCROLL-UP BUTTON
   ============================================================ */
#scrollup {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 42px; height: 42px;
  background: var(--orange); border: none; border-radius: 4px;
  color: #fff; font-size: 18px; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 3px 16px rgba(255,153,51,0.45); transition: background .2s;
}
#scrollup:hover { background: var(--orange-dk); }

/* ============================================================
   OFFCANVAS MOBILE MENÜ
   ============================================================ */
.offcanvas-sb {
  width: 280px !important;
  background: var(--bg-card);
}
.offcanvas-sb .offcanvas-header {
  background: var(--dark);
  padding: 12px 16px;
  border-bottom: 2px solid var(--orange);
}
.offcanvas-sb .offcanvas-title {
  font-family: var(--font-d); font-size: 18px; letter-spacing: 2px;
  color: var(--white); margin: 0;
}
.offcanvas-sb .offcanvas-title span { color: var(--orange); }
.offcanvas-sb .btn-close {
  filter: invert(1) brightness(0.7); opacity: 0.7;
}
.offcanvas-sb .offcanvas-body { padding: 0; overflow-y: auto; }

/* Mobile Top-Nav Dropdown */
.mob-nav-list {
  list-style: none; margin: 0; padding: 8px 0;
}
.mob-nav-list li a {
  display: block; padding: 11px 20px;
  font-family: var(--font-d); font-size: 18px; letter-spacing: 1.5px;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border); transition: all .15s;
}
.mob-nav-list li a:hover { color: var(--orange); background: var(--orange-tint); }
.mob-nav-list li:last-child a { border-bottom: none; }


/* ============================================================
   CMS-KLASSEN (zLiga zcontent)
   Sidebar: .menu, .tftitel, .tflink, archive_select
   News: .ueberschrift, .link, .bild_nachricht
   ============================================================ */

/* Menü-Container */
.menu, .menu table {
  width: 100%; background: #ff9933;
  border-collapse: collapse; border-spacing: 0; margin: 0; padding: 0;
}
.menu td { line-height: 22px; width: 200px; vertical-align: top; }

/* Abschnittstitel */
td.tftitel {
  background: #414141 !important; color: #f8f8f8 !important;
  line-height: 24px; text-transform: uppercase; text-align: center;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 600; padding: 0 4px;
}

/* Link-Zellen */
td.tflink {
  background-color: #f8f8f8 !important; color: #414141;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 500;
  padding: 4px 0 4px 30px; line-height: 22px;
}
td.tflink a { color: #414141; text-decoration: none; font-size: 13px; display: block; }
td.tflink a:hover { color: #ff9900; text-decoration: none; }


/* News-Grid: CMS-Inhalte */
.news-grid .zcontent_main_table,
.news-grid .news_headline { width: 100% !important; }
.news-grid .bild_nachricht { float: left; padding-right: 12px; padding-bottom: 5px; }
.news-grid .bild_nachricht img {
  max-width: 220px; height: auto; border-radius: 4px;
  border: 1px solid #e2e2e2 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10) !important;
}
.news-grid span.ueberschrift {
  font-family: var(--font-d) !important; font-size: 22px !important;
  color: var(--dark) !important; line-height: 1.2 !important;
  font-weight: 400 !important; display: block; margin-bottom: 6px;
}
.news-grid a.link {
  color: var(--orange-dk) !important; font-family: var(--font-b) !important;
  font-weight: 700 !important; font-size: 13px !important;
}
.news-grid a.link:hover { color: var(--orange) !important; }
.news-grid::after { content: ''; display: table; clear: both; }

/* Offcanvas: CMS-Klassen */
.offcanvas-body .menu table { background: transparent; }
.offcanvas-body td.tftitel {
  background: #414141 !important; color: #f8f8f8 !important;
  font-size: 11px; letter-spacing: 2px;
}
.offcanvas-body td.tflink { background: #f8f8f8 !important; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 1100px */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .nc-feat { grid-column: span 2; flex-direction: column; }
  .nc-feat .nc-img { width: 100%; height: 180px; }
}

/* Mobile: 768px */
@media (max-width: 1100px) {
  /* Layout */
  #main-layout { flex-direction: column; }
  #sidebar      { display: none; /* via Offcanvas */ }
  #main-content { width: 100%; }

  /* Header */
  .header-inner { height: 64px; padding: 0 14px; }
  .logo-diamond { width: 44px; height: 44px; font-size: 20px; }
  .logo-name { font-size: 22px; }
  .logo-claim { display: none; }
  .powered-text { display: none; }

  /* Topnav */
  .topnav-links { display: none; }
  .nav-toggler { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-main { padding: 22px 16px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hero-hl { font-size: 32px; }
  .hero-aside { height: 260px; overflow: hidden; }
  .hero-aside-item { min-width: 240px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,0.07); border-bottom: none; }
  .aside-hl { font-size: 16px; }

  /* Ticker */
  .ticker-label { padding: 0 10px; font-size: 11px; letter-spacing: 1px; }

  /* Content */
  .c-pad { padding: 14px 12px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .nc-feat { grid-column: span 1; flex-direction: column; }
  .nc-feat .nc-img { width: 100%; height: 180px; }
  .nc-feat .nc-hl { font-size: 20px; }

  /* Widget-Grid */
  .w-grid { grid-template-columns: 1fr; padding: 0 12px 16px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px 14px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 10px 16px; }

  /* Quicknav horizontal scroll */
  .quicknav { flex-wrap: nowrap; overflow-x: auto; }
  .quicknav a { font-size: 12px; padding: 9px 12px; }
}

/* Sehr schmales Gerät: 480px */
@media (max-width: 480px) {
  .hero-hl { font-size: 26px; }
  .hero-aside { flex-direction: column; }
  .hero-aside-item { min-width: unset; border-right: none; }
  #outerbox { box-shadow: none; }
}

/* ============================================================
   LIGA-SECTIONS (Quicknav Tab-Inhalte)
   ============================================================ */
.liga-sections {
  padding: 0 0 18px;
}
.liga-section {
  display: none;
}
.liga-section.active {
  display: block;
}

/* Section-Header (orange Gradient wie im CMS) */
.liga-header {
  background: linear-gradient(180deg, #ffad4d 0%, #ff9933 100%);
  padding: 8px 14px;
  border-bottom: 1px solid #e07000;
}
.liga-header h2 {
  font-family: var(--font-d);
  font-size: 17px; letter-spacing: 2px;
  color: #fff; margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  text-transform: uppercase;
}

/* Section-Body */
.liga-body {
  background: #fff;
  padding: 10px 14px 0;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 13px;
  color: #333;
}
.liga-intro {
  padding: 8px 0 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.liga-intro strong { font-size: 13px; }

/* Spiel-Zeile */
.liga-spiel {
  padding: 10px 0 8px;
  border-bottom: 1px solid #eee;
}
.liga-spiel:last-child { border-bottom: none; }
.liga-spiel-title {
  font-weight: 700;
  font-size: 13px;
  color: #222;
  margin-bottom: 3px;
}
.liga-spiel-info {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

/* Section-Footer Linkleiste */
.liga-footer {
  background: linear-gradient(180deg, #ffad4d 0%, #ff9933 100%);
  display: flex; flex-wrap: wrap;
  align-items: stretch;
  border-top: 1px solid #e07000;
}
.liga-footer a {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px; font-weight: 700;
  color: #1a1a1a;
  padding: 7px 12px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.35);
  white-space: nowrap;
  transition: background .15s;
}
.liga-footer a:hover { background: rgba(0,0,0,0.18); color: #1a1a1a; }
.liga-footer a.top-link { border-right: none; margin-left: auto; }

/* Quicknav: aktiver Link */
.quicknav a.active {
  background-color: #1a1a1a;
  color: #ff9933;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .topnav, #sidebar, .ticker, .w-card .video-ph,
  .w-card .ad-ph, #scrollup, .nav-toggler { display: none !important; }
  #main-layout { flex-direction: column; }
  .hero { background: #fff !important; }
  .hero-hl, .aside-hl { color: #000 !important; }
}

/* ============================================================
   ARCHIV-SEITE – index_archiv.html
   CMS liefert Tabellen, Selects, Formular via %CONTENT%
   ============================================================ */

/* Seiten-Titel */
.archiv-header {
  background: linear-gradient(180deg, #ffad4d 0%, #ff9933 100%);
  padding: 10px 18px;
  border-bottom: 2px solid #e07000;
}
.archiv-header h1 {
  font-family: var(--font-d);
  font-size: 22px; letter-spacing: 2px;
  color: #fff; margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  text-transform: uppercase;
}

/* Content-Wrapper Archiv */
.archiv-content {
  background: var(--bg-card);
  margin: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px 20px;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
}

/* ── Archiv-Tabelle (CMS-Ausgabe: table > tr > td.tftitel / td) ── */
.archiv-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 0;
}

/* Abschnitts-Titel: Saisonarchiv-MÄNNER etc. */
.archiv-content td.tftitel {
  background: #414141 !important;
  color: #f8f8f8 !important;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 10px 12px !important;
  border-top: 2px solid var(--orange);
}

/* Zellen mit Selects */
.archiv-content table td {
  padding: 12px 12px 8px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

/* kein Hover auf tftitel-Zeilen */
.archiv-content table tr:hover td.tftitel {
  background: #414141 !important;
}

/* ── select.archive_select ── */
select.archive_select {
  width: 100%;
  display: block;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: var(--radius);
  padding: 7px 10px;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 13px;
  color: #414141;
  cursor: pointer;
  margin-bottom: 8px;
  box-sizing: border-box;
  appearance: auto;
  transition: border-color .15s;
}
select.archive_select:focus {
  outline: 2px solid rgba(255,153,51,0.4);
  border-color: var(--orange);
}
select.archive_select option.afirst {
  color: #999;
  font-style: italic;
}

/* ── Links im Archiv-Content ── */
.archiv-content a { color: var(--orange-dk); text-decoration: none; transition: color .15s; }
.archiv-content a:hover { color: var(--orange); text-decoration: underline; }

/* ── Allgemeine Content-Tabellen (.contentbox) ── */
.contentbox table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 14px;
  height: auto !important;       /* CMS setzt oft height="1810px" o.ä. – neutralisieren */
}
.contentbox table th {
  background: #414141; color: #f8f8f8;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 7px 10px; text-align: left;
}
.contentbox table td {
  padding: 8px 12px !important;
  border-top: 1px solid #e2e2e2 !important;  /* CMS "border: 1px solid black" → dezent */
  vertical-align: middle !important;
  line-height: 1.6;
  height: auto !important;       /* leere Zeilen mit height="1200px" neutralisieren */
  background: #ffffff;
}

/* Abschnitts-Kopfzeilen (.pokal in grauem td) → oranges Design */
.contentbox td[style*="background: rgb(238"] {
  background: #414141 !important;
  border-color: #333 !important;
  padding: 8px 12px !important;
}
.contentbox td[style*="background: rgb(238"] .pokal,
.contentbox td[style*="background: rgb(238"] span.pokal {
  color: #ffffff !important;
}

/* Hover nur auf Datenzeilen, nicht auf Kopfzeilen */
.contentbox table tr:hover td { background: var(--orange-tint); }
.contentbox table tr:hover td[style*="background: rgb(238"] { background: #414141 !important; }

/* Letzte leere Zeile (CMS-Artefakt height:1200px) komplett ausblenden */
.contentbox table tr td[style*="height: 1200px"],
.contentbox table tr td[style*="height:1200px"] {
  display: none !important;
  padding: 0 !important;
  border: none !important;
}

/* tftitel / tflink */
.contentbox td.tftitel {
  background: #414141 !important; color: #f8f8f8 !important;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 10px !important;
}
.contentbox td.tflink { background: #f8f8f8 !important; padding: 6px 10px 6px 16px !important; }
.contentbox td.tflink a { color: #414141; font-size: 13px; text-decoration: none; display: block; }
.contentbox td.tflink a:hover { color: #e07000; }

/* Standard-Links im Content */
.contentbox a             { color: var(--orange-dk); text-decoration: none; }
.contentbox a:hover       { color: var(--orange); text-decoration: underline; }
.contentbox table td a    { color: var(--orange-dk); text-decoration: none; font-size: 15px; }
.contentbox table td a:hover { color: var(--orange); text-decoration: underline; }

/* .ueberschrift im Contentbereich */
.contentbox .ueberschrift,
.contentbox span.ueberschrift,
.contentbox p.ueberschrift {
  color: var(--orange) !important;
  font-family: var(--font-b) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  display: block;
  margin-bottom: 8px;
}

/* .auswahl (Saisonangabe, Untertitel) */
.contentbox .auswahl {
  color: #555555;
  font-size: 15px;
  font-weight: 600;
}

/* Banner-Platzhalter (%BANNER300%) */
.contentbox td[style*="padding-top: 80px"] {
  padding-top: 20px !important;
  color: #aaa;
  font-size: 11px;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
}

.contentbox .zcontent_main_table { width: 100% !important; }
.contentbox .news_headline {
  font-family: var(--font-d); font-size: 20px;
  color: var(--dark); margin-bottom: 8px; display: block;
}

/* ── Archiv-Formular-Tabelle (.archive-table) ── */
.archive-table {
  width: 100%;
  border-collapse: collapse;
}
.archive-table td {
  padding: 0;
}
.archive-table td.tftitel {
  background: #414141;
  color: #f8f8f8;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 12px;
  border-top: 2px solid var(--orange);
  border-bottom: none;
  display: block;
}
.archive-table td:not(.tftitel) {
  padding: 10px 10px 6px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   ARCHIV-EINGANGSSEITE – archiv_content.html
   Styles für die Willkommensseite im %CONTENT% Bereich
   ============================================================ */

.archiv-intro {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 4px 0;
}

/* Banner */
.archiv-intro-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
  border-left: 4px solid #ff9933;
  border-radius: 5px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.archiv-intro-icon {
  font-size: 36px;
  color: #ff9933;
  flex-shrink: 0;
  line-height: 1;
}
.archiv-intro-text h2 {
  font-family: 'Bebas Neue', Arial Narrow, sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 4px;
}
.archiv-intro-text p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* Anleitung */
.archiv-intro-guide {
  background: #f8f8f8;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  margin-bottom: 16px;
  overflow: hidden;
}
.archiv-intro-guide-title {
  background: #414141;
  color: #f8f8f8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 9px 14px;
  border-bottom: 2px solid #ff9933;
}
.archiv-intro-steps {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Schritte */
.archiv-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.archiv-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #ff9933;
  color: #1a1a1a;
  font-family: 'Bebas Neue', Arial Narrow, sans-serif;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.archiv-step-body {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
.archiv-step-body strong {
  color: #1a1a1a;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* Hinweis aktuelle Saison */
.archiv-intro-current {
  background: rgba(255,153,51,0.1);
  border: 1px solid rgba(255,153,51,0.3);
  border-left: 3px solid #ff9933;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 13px;
  color: #555;
}
.archiv-intro-current a {
  color: #e07000;
  font-weight: 700;
  text-decoration: none;
}
.archiv-intro-current a:hover {
  color: #ff9933;
  text-decoration: underline;
}

/* ============================================================
   SAISONARCHIV – Sidebar Toggle-Block
   ============================================================ */
.sb-archive {
  margin: 2px 0 0 0;
}
.sb-archive-toggle {
  background: #414141;
  color: #f8f8f8;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 9px 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
  border-top: 2px solid var(--orange);
  transition: background .2s;
}
.sb-archive-toggle:hover { background: #333; }
.sb-archive-arrow {
  font-size: 12px;
  transition: transform .3s;
  flex-shrink: 0;
}
.sb-archive-toggle.open .sb-archive-arrow { transform: rotate(90deg); }

.sb-archive-body {
  display: none;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-top: none;
  padding: 10px 8px 12px;
}
.sb-archive-body.open { display: block; }

.sb-archive-body label {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 10px; font-weight: 600;
  color: #666; letter-spacing: 1px;
  text-transform: uppercase;
  display: block; margin: 8px 0 2px;
}
.sb-archive-body label:first-child { margin-top: 0; }

.sb-archive-body select {
  width: 100%; display: block;
  background: #fff; border: 1px solid #ccc; border-radius: 2px;
  padding: 4px 6px;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 12px; color: #414141; cursor: pointer;
  box-sizing: border-box;
}
.sb-archive-body select:focus { outline: 2px solid rgba(255,153,51,0.4); }
.sb-archive-body select:disabled { background: #f0f0f0; color: #aaa; cursor: default; }

.sb-archive-btn {
  display: block; width: 100%;
  margin-top: 10px; padding: 7px 10px;
  background: var(--orange); color: #1a1a1a;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 12px; font-weight: 700;
  border: none; border-radius: 3px; cursor: pointer;
  text-align: center; letter-spacing: 0.5px;
  transition: background .2s;
}
.sb-archive-btn:hover { background: var(--orange-dk); color: #fff; }
