/* ============================================================
   stauspiele.de – Haupt-Stylesheet
   Pfad: /files/_tmpl/css/stauspiele.css
   ============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --sp-orange:        #F97316;
  --sp-orange-dark:   #EA6A0A;
  --sp-orange-bg:     #FEF0E7;
  --sp-orange-border: #FDBA74;
  --sp-teal:          #14B8C8;
  --sp-text:          #1A1A1A;
  --sp-text-muted:    #6B7280;
  --sp-text-hint:     #9CA3AF;
  --sp-bg:            #F5F5F3;
  --sp-bg-card:       #FFFFFF;
  --sp-bg-subtle:     #FAFAF9;
  --sp-border:        #E5E5E3;
  --sp-radius-sm:     6px;
  --sp-radius-md:     8px;
  --sp-radius-lg:     12px;
  --sp-font-body:     'Inter', system-ui, sans-serif;
  --sp-font-display:  'Nunito', 'Arial Rounded MT Bold', Arial, sans-serif;

	--sp-text-hint:    #333333;
	--farbe-footer:    var(--sp-bg-subtle);
	--breite-inhalt:   1200px;

}

.p-t-0 { padding-top: 0px !important; }
.p-t-1 { padding-top: 15px !important; }
.p-t-2 { padding-top: 30px !important; }
.p-t-3 { padding-top: 45px !important; }
.p-t-4 { padding-top: 50px !important; }
.p-t-5 { padding-top: 65px !important; }
.p-b-0 { padding-bottom: 0px !important; }
.p-b-1 { padding-bottom: 15px !important; }
.p-b-2 { padding-bottom: 30px !important; }
.p-b-3 { padding-bottom: 45px !important; }
.p-b-4 { padding-bottom: 50px !important; }
.p-b-5 { padding-bottom: 65px !important; }
.m-t-0 { margin-top: 0px !important; }
.m-t-1 { margin-top: 15px !important; }
.m-t-2 { margin-top: 30px !important; }
.m-t-3 { margin-top: 45px !important; }
.m-t-4 { margin-top: 50px !important; }
.m-t-5 { margin-top: 65px !important; }
.m-b-0 { margin-bottom: 0px !important; }
.m-b-1 { margin-bottom: 15px !important; }
.m-b-2 { margin-bottom: 30px !important; }
.m-b-3 { margin-bottom: 45px !important; }
.m-b-4 { margin-bottom: 50px !important; }
.m-b-5 { margin-bottom: 65px !important; }


/* ── BASIS ──────────────────────────────────────────────────── */
body {
  background: var(--sp-bg);
  font-family: var(--sp-font-body);
  font-size: 1.25rem;
  color: var(--sp-text);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-display);
}

a { color: var(--sp-orange); }
a:hover { color: var(--sp-orange-dark); }

p, li, td, th, label, input, textarea, select {
  font-size: 1.25rem;
}

/* ── CONTAO STRUKTUR-OVERRIDES ──────────────────────────────── */
#wrapper {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

#container,
#main {
  padding: 0;
  margin: 0;
}

#main > .inside {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
}

.mod_article {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
#main .mod_article {
	max-width: var(--breite-inhalt);
	margin: 0 auto;
	padding: 0 16px;
}
#main .mod_article.section {
	padding: 48px 40px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
#header {
  background: var(--sp-bg-card);
  border-bottom: 1px solid var(--sp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  margin: 0;
}

#header > .inside {
  display: flex !important;
  align-items: center !important;
  padding: 10px 24px !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 80px;
  gap: 32px;
}

/* ── LOGO ───────────────────────────────────────────────────── */
.sp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}

.sp-logo img,
#header .sp-logo img,
#header a img {
  height: 120px !important;
  max-height: 120px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */

/* Hamburger-Button (nur mobil sichtbar) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #47504F;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Basis */
nav.mod_navigation {
    margin: 0;
    padding: 0;
}

nav.mod_navigation ul.level_1 {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.mod_navigation ul.level_1 li {
    margin: 0;
    padding: 0;
}

nav.mod_navigation ul.level_1 li a,
nav.mod_navigation ul.level_1 li strong {
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    color: var(--sp-text-muted);
    text-decoration: none;
}

nav.mod_navigation ul.level_1 li a:hover {
    color: var(--sp-text);
}

nav.mod_navigation ul.level_1 li.active strong {
    color: var(--sp-text);
    font-weight: 600;
}

nav.mod_navigation a.invisible,
nav.mod_navigation span.invisible {
    position: absolute;
    left: -9999px;
}

/* Desktop */
@media (min-width: 769px) {
    nav.mod_navigation ul.level_1 {
        display: flex !important;
        gap: 24px;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    nav.mod_navigation.block {
        overflow: visible;
    }

    nav.mod_navigation {
        position: absolute;
		top: 100px;
		right: 10px;
    }

    nav.mod_navigation ul.level_1 {
        display: flex !important;
        flex-direction: column;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        padding: 0 1.25rem;
        min-width: 200px;
        z-index: 100;
    }

    nav.mod_navigation.nav-open ul.level_1 {
        max-height: 300px !important;
        opacity: 1;
        transform: translateY(0);
        padding: 0.75rem 1.25rem;
    }

    nav.mod_navigation ul.level_1 li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    nav.mod_navigation ul.level_1 li:last-child {
        border-bottom: none;
    }
}

/* ── HERO SLIDER (Swiper) ───────────────────────────────────── */
#main .mod_article.hero-article {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
  max-width: none;
}

.hero-slider.content-swiper {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.hero-slider .content-text {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero-slider .content-text figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero-slider .content-text figure img {
  width: 100%;
  display: block;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  object-position: center 25%;
  margin: 0;
  padding: 0;
}

/* Gradient-Overlay */
.hero-slider .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 8, 8, 0.65) 0%,
    rgba(8, 8, 8, 0.20) 55%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Text links unten positionieren */
.hero-slider .content-text .rte {
  position: absolute;
  bottom: 40px;
  left: 0;
  top: auto;
  transform: none;
  padding: 0 40px;
  max-width: 520px;
  z-index: 2;
  line-height: 1.25;
}

/* Headline */
.hero-slider .rte p:first-child {
  font-family: var(--sp-font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  padding: 0;
}

/* Subline */
.hero-slider .rte p:nth-child(2) {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  padding: 0;
}

/* Button */
.hero-slider .rte p a {
  display: inline-block;
  background: var(--sp-orange);
  color: #fff !important;
  border-radius: var(--sp-radius-md);
  padding: 11px 26px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.hero-slider .rte p a:hover {
  background: var(--sp-orange-dark);
}

/* Swiper Navigation */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  z-index: 3;
  color: #fff;
}

.hero-slider .swiper-pagination {
  z-index: 3;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--sp-orange);
}

/* ── KATEGORIE (codefog .mod_newscategories) ────────────────── */
.mod_newscategories {
  background: var(--sp-bg-subtle);
  border-bottom: 1px solid var(--sp-border);
  padding: 12px 24px 14px;
  margin: 0;
}

.mod_newscategories::before {
  content: "Kategorie";
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-text-hint);
  margin-bottom: 8px;
}

.mod_newscategories ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod_newscategories ul li {
  margin: 0;
  padding: 0;
}

.mod_newscategories ul li a,
.mod_newscategories ul li strong {
  display: inline-block;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  padding: 5px 16px;
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-muted);
  background: var(--sp-bg-card);
  text-decoration: none;
  transition: all 0.15s;
}

.mod_newscategories ul li a:hover {
  border-color: var(--sp-orange);
  color: var(--sp-orange-dark);
}

.mod_newscategories ul li.active strong,
.mod_newscategories ul li.active a {
  background: var(--sp-orange-bg);
  color: #C2510C;
  border-color: var(--sp-orange);
  font-weight: 600;
}

/* ── FILTER (Eigenschaften) ─────────────────────────────────── */
.sp-filter-bar {
  background: var(--sp-bg-card);
  border-bottom: 1px solid var(--sp-border);
  padding: 10px 24px;
  margin: 0;
}

.sp-filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-filter-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-text-hint);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.sp-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.sp-pill {
  font-size: 1rem;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid var(--sp-border);
  color: var(--sp-text-muted);
  background: var(--sp-bg-card);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--sp-font-body);
}
.sp-pill:hover  { border-color: var(--sp-orange); color: var(--sp-orange-dark); }
.sp-pill.active { background: var(--sp-orange); color: #fff; border-color: var(--sp-orange); }

/* ── SPIELE-LISTE ───────────────────────────────────────────── */
.sp-list-wrap {
  padding: 0;
  margin: 30px 0 0 0;
}

.sp-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 16px;
}

.sp-list-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sp-text);
  margin: 0;
}

.sp-list-count {
  font-size: 0.875rem;
  color: var(--sp-text-hint);
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* ── SPIELKARTE ─────────────────────────────────────────────── */
.sp-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.1s;
}
.sp-card:hover {
  border-color: var(--sp-orange);
  transform: translateY(-2px);
}
.sp-card.sp-hidden { display: none; }

.sp-card-cat {
	font-size: 16px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sp-orange);
	margin: 0 0 4px;
}

.sp-card-name {
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--sp-text);
	margin: 0 0 5px;
	line-height: 1.25;
}

.sp-card-name a {
  text-decoration: none;
  color: inherit;
}
.sp-card-name a:hover { color: var(--sp-orange); }

.sp-card-tagline {
  font-size: 1.125rem;
  color: var(--sp-text-muted);
  line-height: 1.5;
  margin: 0 0 10px;
  font-style: italic;
  padding: 0;
  flex: 1;
}

.sp-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 0;
}

.sp-tag {
  font-size: 1rem;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--sp-bg);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-muted);
}

.sp-card-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  background: var(--sp-orange);
  color: #fff;
  border-radius: var(--sp-radius-md);
  padding: 7px 16px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.sp-card-btn:hover { background: var(--sp-orange-dark); color: #fff; text-decoration: none; }

.sp-card-img {
  margin: -16px -16px 12px;
  border-radius: var(--sp-radius-lg) var(--sp-radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sp-bg);
}

.sp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

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

.sp-detail-img {
  margin: 0 0 16px;
  border-radius: var(--sp-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sp-bg);
}

.sp-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ── DETAILSEITE ────────────────────────────────────────────── */
.sp-detail-header {
  background: var(--sp-bg-subtle);
  padding: 24px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-breadcrumb {
  font-size: 1.125rem;
  color: var(--sp-text-hint);
  margin: 0 0 12px;
  padding: 0;
}
.sp-breadcrumb a       { color: var(--sp-orange); text-decoration: none; }
.sp-breadcrumb a:hover { text-decoration: underline; }

.sp-detail-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-orange);
  margin: 0 0 6px;
}

.sp-detail-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sp-text);
  margin: 0 0 4px;
  line-height: 1.2;
}

.sp-detail-tagline {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  font-style: italic;
  margin: 0;
  padding: 0;
}

.sp-detail-body {
  display: grid;
  grid-template-columns: 1fr 240px;
}

.sp-detail-main {
  padding: 28px 24px;
  border-right: 1px solid var(--sp-border);
}

.sp-detail-side {
  padding: 24px 20px;
}

.sp-section {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sp-text);
  margin: 0 0 12px;
  padding: 0 0 6px;
  border-bottom: 3px solid var(--sp-orange);
}

.sp-steps { margin: 0 0 20px; }

.sp-step {
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  align-items: flex-start;
}

.sp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sp-step-text {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.sp-bullets { margin: 0 0 16px; }

.sp-bullet {
  display: flex;
  gap: 8px;
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.6;
  margin: 0 0 6px;
}
.sp-bullet::before {
  content: "–";
  color: var(--sp-orange);
  flex-shrink: 0;
  font-weight: 700;
}

.sp-tipbox {
  background: var(--sp-orange-bg);
  border: 1px solid var(--sp-orange-border);
  border-left: 4px solid var(--sp-orange);
  border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
  padding: 12px 16px;
  font-size: 1.25rem;
  color: #7C3520;
  line-height: 1.6;
}
.sp-tipbox strong { color: var(--sp-orange-dark); }

.sp-meta-box {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  overflow: hidden;
  margin: 0 0 20px;
}

.sp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--sp-border);
  font-size: 1.125rem;
  margin: 0;
}
.sp-meta-row:last-child { border-bottom: none; }
.sp-meta-key   { color: var(--sp-text-hint); }
.sp-meta-value { font-weight: 600; color: var(--sp-text); }

.sp-related-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-text-hint);
  margin: 0 0 8px;
}

.sp-related-card {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  padding: 10px 12px;
  margin: 0 0 8px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}
.sp-related-card:hover { border-color: var(--sp-orange); }
.sp-related-name { font-size: 1.125rem; font-weight: 600; color: var(--sp-text); }
.sp-related-meta { font-size: 1rem; color: var(--sp-text-hint); margin-top: 2px; }

/* ── METADATEN-BOX – Hervorhebung ───────────────────────────── */

.sp-meta-box {
  background: var(--sp-bg-subtle);
  border: 2px solid var(--sp-orange);
  border-radius: var(--sp-radius-lg);
  overflow: hidden;
  margin: 0 0 20px;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.12);
}

.sp-meta-row {
  border-bottom: 1px solid var(--sp-orange-border);
}

.sp-meta-row:last-child {
  border-bottom: none;
}

.sp-meta-key {
  color: var(--sp-text-muted);
  font-size: 1rem;
}

.sp-meta-value {
  font-weight: 700;
  color: var(--sp-text);
  font-size: 1.125rem;
}

/* ── DETAILSEITE – Natives HTML im Textbereich ──────────────── */

/* Contao News Reader – Zurück-Link ausblenden oder stylen */
.mod_newsreader .back {
  display: block;
  margin-top: 24px;
  padding: 16px 24px;
  border-top: 1px solid var(--sp-border);
  font-size: 1.125rem;
}

.mod_newsreader .back a {
  color: var(--sp-orange);
  text-decoration: none;
  font-weight: 600;
}

.mod_newsreader .back a:hover {
  text-decoration: underline;
}

/* Überschriften im Textbereich */
.sp-detail-main h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sp-text);
  margin: 24px 0 12px;
  padding: 0 0 6px;
  border-bottom: 3px solid var(--sp-orange);
}

.sp-detail-main h3:first-child {
  margin-top: 0;
}

/* Nummerierte Liste (So wird gespielt) */
.sp-detail-main ol {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  counter-reset: step-counter;
}

.sp-detail-main ol li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  counter-increment: step-counter;
}

.sp-detail-main ol li::before {
  content: counter(step-counter);
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bullet-Liste (Varianten & Tipps) */
.sp-detail-main ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.sp-detail-main ul li {
  display: flex;
  gap: 10px;
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}

.sp-detail-main ul li::before {
  content: "–";
  color: var(--sp-orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* Tipp-Box – erkennt p mit strong am Anfang */
.sp-detail-main p:has(strong:first-child) {
  background: var(--sp-orange-bg);
  border: 1px solid var(--sp-orange-border);
  border-left: 4px solid var(--sp-orange);
  border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
  padding: 12px 16px;
  font-size: 1.25rem;
  color: #7C3520;
  line-height: 1.6;
  margin-top: 16px;
}

.sp-detail-main p:has(strong:first-child) strong {
  color: var(--sp-orange-dark);
}

/* Normaler Absatz */
.sp-detail-main p {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

/* Definition-Liste für Meta (falls noch drin) */
.sp-detail-main dl,
.sp-detail-main dt,
.sp-detail-main dd {
  display: none;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
#footer {
	background: var(--sp-bg-subtle);
	border-top: 1px solid var(--sp-border);
	padding: 0;
	margin: 0;
}

#footer > .inside {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto !important;
	padding: 30px 15px 45px 15px;
	max-width: var(--breite-inhalt) !important;
}

#footer,
#footer p,
#footer .rte p,
#footer a,
#footer li,
#footer span {
  font-size: 1.125rem;
  color: var(--sp-text-hint);
}

#footer a:hover { color: var(--sp-orange); }

/* ── STARTSEITE – INTRO ─────────────────────────────────────── */
.sp-intro {
  background: var(--sp-bg-card);
  border-bottom: 1px solid var(--sp-border);
  padding: 48px 24px;
  text-align: center;
}

.sp-intro-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sp-intro-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sp-text);
  margin: 0 0 14px;
  line-height: 1.2;
}

.sp-intro-text {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.sp-intro-btn {
  display: inline-block;
  background: var(--sp-orange);
  color: #fff;
  border-radius: var(--sp-radius-md);
  padding: 12px 28px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.sp-intro-btn:hover { background: var(--sp-orange-dark); color: #fff; }

/* ── STARTSEITE – SECTION HEADINGS ─────────────────────────── */
.sp-section-heading {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--sp-text);
  margin: 0 0 6px;
  padding: 0;
}

.sp-section-sub {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  margin: 0 0 24px;
  padding: 0;
}

/* ── STARTSEITE – DIREKT LOSLEGEN ───────────────────────────── */
.sp-featured {
  background: var(--sp-bg);
  padding: 48px 24px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-featured-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.sp-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sp-featured-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, transform 0.1s;
}
.sp-featured-card:hover {
  border-color: var(--sp-orange);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.sp-featured-icon { font-size: 2rem; margin: 0 0 10px; line-height: 1; }

.sp-featured-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-orange);
  margin: 0 0 4px;
}

.sp-featured-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sp-text);
  margin: 0 0 8px;
  line-height: 1.2;
}

.sp-featured-desc {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.sp-featured-tags { display: flex; gap: 5px; flex-wrap: wrap; }

/* ── STARTSEITE – KATEGORIEN-KACHELN ───────────────────────── */
.sp-categories {
  background: var(--sp-bg-card);
  padding: 48px 24px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-categories-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.sp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.sp-cat-tile {
  background: var(--sp-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.sp-cat-tile:hover {
  border-color: var(--sp-orange);
  background: var(--sp-orange-bg);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.sp-cat-tile-icon  { font-size: 1.75rem; margin: 0 0 8px; display: block; }
.sp-cat-tile-name  { font-size: 1.125rem; font-weight: 600; color: var(--sp-text); margin: 0 0 4px; }
.sp-cat-tile-count { font-size: 0.875rem; color: var(--sp-text-hint); }

/* ── STARTSEITE – ÜBER STAUSPIELE ───────────────────────────── */
.sp-about {
  background: var(--sp-bg-subtle);
  padding: 48px 24px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.sp-about-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--sp-text);
  margin: 0 0 14px;
}

.sp-about-text p {
  font-size: 1.25rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}

.sp-about-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
}
.sp-about-link:hover { text-decoration: underline; color: var(--sp-orange-dark); }

.sp-about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-shrink: 0;
}

.sp-fact {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 16px 20px;
  text-align: center;
  min-width: 90px;
}

.sp-fact-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sp-orange);
  line-height: 1;
  margin: 0 0 4px;
}

.sp-fact-label { font-size: 1rem; color: var(--sp-text-hint); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  #header > .inside      { padding: 0 16px !important; min-height: 70px; }
  .hero-slider .content-text .rte { bottom: 20px; padding: 0 20px; max-width: 320px; }
  .hero-slider .rte p:first-child  { font-size: 1.5rem; }
  .hero-slider .rte p:nth-child(2) { font-size: 1.125rem; margin-bottom: 16px; }
  .sp-detail-body        { grid-template-columns: 1fr; }
  .sp-detail-main        { border-right: none; border-bottom: 1px solid var(--sp-border); }
  .sp-grid               { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .sp-list-wrap          { padding: 0; }
  .sp-filter-bar,
  .mod_newscategories    { padding: 10px 16px; }
  .sp-intro              { padding: 32px 16px; }
  .sp-featured           { padding: 32px 16px; }
  .sp-categories         { padding: 32px 16px; }
  .sp-about              { padding: 32px 16px; }
  .sp-about-inner        { grid-template-columns: 1fr; gap: 24px; }
  .sp-about-facts        { grid-template-columns: repeat(4, 1fr); }
  .sp-cat-grid           { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .sp-featured-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sp-grid               { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sp-about-facts        { grid-template-columns: 1fr 1fr; }
  .sp-cat-grid           { grid-template-columns: 1fr 1fr; }
}



/* ── ZURÜCK-LINK (News Reader) ──────────────────────────────── */
.sp-back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
}
.sp-back-link:hover {
  text-decoration: underline;
  color: var(--sp-orange-dark);
}