/* Ergaenzungen und Korrekturen, ausgelagert am 2026-09-21 */
#sponsoring {
  background: #1f1f1f;
  color: #e9e9e9;
  position: relative;
  overflow: hidden;
}
#sponsoring::before {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, .28), rgba(237, 28, 36, 0) 70%);
  pointer-events: none;
}
#sponsoring .container { position: relative; z-index: 1; }
#sponsoring .section-header h2 { color: #ffffff; }
#sponsoring .section-header p { color: #b5b5b5; }
#sponsoring p { color: #cfcfcf; line-height: 1.75; }

.spons-figure {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transition: transform .35s ease, box-shadow .35s ease;
}
.spons-figure img { display: block; width: 100%; height: auto; }
.spons-figure:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(0, 0, 0, .6); }
.spons-figure-hint {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, .7);
  color: #ffffff;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 40px;
}

.spons-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff5f66;
  font-weight: 700;
  margin-bottom: 10px;
}
.spons-title { color: #ffffff; font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.spons-lead { font-size: 18px; color: #e9e9e9 !important; }

.spons-points { list-style: none; padding: 0; margin: 26px 0 0; }
.spons-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.spons-points li i { color: #ed1c24; font-size: 20px; line-height: 1.5; flex-shrink: 0; }
.spons-points strong { color: #ffffff; display: block; margin-bottom: 2px; }
.spons-points span { color: #bdbdbd; font-size: 15px; }

.spons-reel {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #000000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.spons-clip {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.spons-clip .spons-kicker { margin-bottom: 8px; }
.spons-clip h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.spons-clip-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  color: #9d9d9d;
}

.spons-cta {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(237, 28, 36, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(237, 28, 36, .35);
  border-left: 5px solid #ed1c24;
  border-radius: 14px;
  padding: 30px 34px;
}
.spons-cta-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ed1c24;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.spons-cta-text { flex: 1 1 320px; }
.spons-cta-text h4 { color: #ffffff; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.spons-cta-text p { margin: 0; color: #cfcfcf; font-size: 15px; }
.spons-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d8171e;
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.spons-btn:hover { background: #b91218; color: #ffffff !important; transform: translateY(-2px); }
.spons-btn:focus-visible,
.spons-figure:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

/* Logo im Header: nicht zusammenquetschen lassen, feste Hoehe */
.header .logo {
  flex: 0 0 auto;
}
.header .logo img {
  width: auto;
  height: 40px;
  max-height: 40px;
}

/* Navi: mit dem zusaetzlichen Menuepunkt bleibt auf kleineren Notebooks alles in einer Zeile */
@media (min-width: 1500px) and (max-width: 1699.98px) {
  .navbar > ul > li { padding-left: 20px; }
}

@media (min-width: 1280px) and (max-width: 1499.98px) {
  .navbar > ul > li { padding-left: 10px; }
  .navbar a,
  .navbar a:focus { font-size: 14px; }
}

@media (max-width: 991px) {
  .spons-title { font-size: 26px; }
  .spons-cta { padding: 24px; }
  .spons-cta-action { width: 100%; }
  .spons-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .spons-figure, .spons-btn { transition: none; }
  .spons-figure:hover, .spons-btn:hover { transform: none; }
}

/* --- Globale Korrekturen 2026-09-21 --- */

/* Bilder brechen nie aus ihrer Spalte aus */
img { max-width: 100%; height: auto; }

/* Lange Woerter und Adressen umbrechen (320 px) */
p, li, address, td, h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Sprunglink zum Inhalt */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #ffffff;
  color: #ed1c24;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
  outline: 3px solid #ed1c24;
  outline-offset: 2px;
}

/* Sichtbarer Fokus auf allen bedienbaren Elementen */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.carousel-control-prev:focus-visible,
.carousel-control-next:focus-visible,
.mobile-nav-toggle:focus-visible {
  outline: 3px solid #ed1c24;
  outline-offset: 2px;
}

/* Trefferflaeche im Fussbereich */
.footer a, .header .contact a { display: inline-block; min-height: 24px; }

/* Zwei-Klick-Karte */
.karte-box {
  position: relative;
  background: #1f1f1f;
  color: #e9e9e9;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.karte-box p { color: #cfcfcf; max-width: 620px; margin: 0 auto 20px; font-size: 15px; }
.karte-box h3 { color: #ffffff; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.karte-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d8171e;
  color: #ffffff !important;
  padding: 13px 28px;
  border: 0;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
}
.karte-btn:hover { background: #b91218; }
.karte-box iframe { width: 100%; height: 450px; border: 0; display: block; }

/* Bewegung nur, wenn gewuenscht */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  * { scroll-behavior: auto !important; }
}

/* Ueberschrift im Hero der Unterseiten sieht aus wie h2, ist aber keine */
.hero .hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}
@media (max-width: 575px) { .hero .hero-title { font-size: 34px; } }

/* Kontakttabelle im Impressum */
.table-kontakt td { padding: 2px 10px 2px 0; vertical-align: top; }

/* Kontrast: Rot auf dunklem Grund aufhellen (AA) */
#header a:link, #header a:visited,
#footer a:link, #footer a:visited,
.schnellkontakt a:link, .schnellkontakt a:visited,
.hero a:link, .hero a:visited,
.info-item a:link, .info-item a:visited {
  color: #ff6b70;
}
#header a:hover, #footer a:hover, .schnellkontakt a:hover, .info-item a:hover { color: #ffffff; }
.navbar a, .navbar a:focus { color: #ff6b70; }
.navbar a:hover, .navbar .active, .navbar li:hover > a { color: #ffffff; }

/* Topbar hat roten Grund: dort weisse Schrift */
#topbar a:link, #topbar a:visited, #topbar { color: #ffffff; }
#topbar a:hover { color: #ffffff; text-decoration: underline; }

/* h3 in den Leistungskacheln sieht aus wie zuvor die h4 */
h3.as-h4 { font-size: 18px; font-weight: 600; line-height: 1.2; margin: 0; }
h3.as-h4 a { color: inherit; }

/* Footer-Ueberschriften sehen aus wie zuvor die h4 */
.footer h3.as-footer-h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
/* Links auf hellen Flaechen mit ausreichendem Kontrast */
.sections-bg a:link, .sections-bg a:visited, main a:link, main a:visited { color: #c8131a; }

.info-item h3.as-info-h4 { font-size: 20px; font-weight: 700; margin-bottom: 5px; color: inherit; }
/* Links im Fliesstext zusaetzlich unterstrichen, nicht nur farbig */
main p a, .footer p a, address a, li a[href^="tel"], li a[href^="mailto"] { text-decoration: underline; }
.navbar a, .footer-links ul a, .btn-get-started, .spons-btn, .karte-btn, .skip-link { text-decoration: none; }

/* --- Neu 2026-10-08: D-Jugend FC Neunkirchen im Sponsoring-Bereich --- */
.spons-news {
  margin-top: 70px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.spons-badge {
  display: inline-block;
  background: #ed1c24;
  color: #ffffff;
  letter-spacing: .08em;
  padding: 2px 9px;
  border-radius: 40px;
  margin-right: 8px;
}
.spons-quote {
  margin: 22px 0 24px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid #ed1c24;
}
.spons-quote p { margin: 0; font-size: 22px; font-style: italic; color: #ffffff !important; }
.spons-quote cite { display: block; margin-top: 4px; font-size: 13px; font-style: normal; color: #9a9a9a; }
#sponsoring a.spons-fb-link,
#sponsoring a.spons-fb-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #ed1c24;
}
#sponsoring a.spons-fb-link:hover { color: #ff5f66; }

.spons-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.spons-gallery a {
  display: block;
  grid-column: span 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  aspect-ratio: 1 / 1;
}
.spons-gallery a:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 9 / 8; }
.spons-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.spons-gallery a:nth-child(3) img { object-position: center 20%; }
.spons-gallery a:nth-child(n+4) { background: #ffffff; }
.spons-gallery a:nth-child(n+4) img { object-fit: contain; padding: 6px; }
.spons-gallery a:hover img { transform: scale(1.04); }
.spons-gallery a:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

@media (max-width: 575.98px) {
  .spons-news { margin-top: 50px; padding-top: 40px; }
  .spons-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spons-gallery a,
  .spons-gallery a:nth-child(-n+2) { grid-column: span 1; aspect-ratio: 1 / 1; }
  .spons-gallery a:first-child { grid-column: span 2; aspect-ratio: 9 / 8; }
}
@media (prefers-reduced-motion: reduce) {
  .spons-gallery img { transition: none; }
  .spons-gallery a:hover img { transform: none; }
}
.news-link { display: block; }
.news-link img { aspect-ratio: 1 / 1; object-fit: cover; }
