/* SC Lockenhaus-Rattersdorf – Blau/Gelb Design */

:root {
  --blue: #003366;
  --blue-light: #004080;
  --blue-dark: #002244;
  --yellow: #ffcc00;
  --yellow-light: #ffdb4d;
  --yellow-dark: #e6b800;
  --bg: #001a33;
  --bg-alt: #002244;
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --border: #003366;
  --accent: var(--yellow);
  --accent-hover: var(--yellow-light);
  --own-club: rgba(255, 204, 0, 0.25);
  --font: 'Outfit', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 26, 51, 0.95);
  border-bottom: 3px solid var(--yellow);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo-img[style*="display: none"] + .logo-text,
.logo:not(:has(.logo-img)) .logo-text {
  display: inline;
}

.logo-text {
  display: none;
}

.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.2rem 0.35rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.34em 0.5em;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav a.active {
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--yellow);
  background: rgba(255, 204, 0, 0.12);
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 2px solid var(--yellow);
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--yellow);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0, 0 5px 0;
}

.nav-toggle.is-open::before {
  height: 0;
  box-shadow: none;
}

.nav-toggle.is-open::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.is-open {
  font-size: 0;
}

.nav-toggle.is-open::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 2px solid var(--yellow);
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 0 0 auto;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav a {
    width: 100%;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
  }
  .nav a.active {
    color: var(--yellow);
    background: rgba(255, 204, 0, 0.18);
    border: 1px solid rgba(255, 204, 0, 0.38);
  }
}

body.menu-open {
  overflow: hidden;
}

/* Main */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.page-title {
  padding: 2rem 0 1rem;
  margin: 0 0 1.5rem;
  border-bottom: 3px solid var(--yellow);
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, transparent 100%);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero p {
  margin: 0;
  color: var(--yellow);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: max(1.25rem, calc(50vw - 550px));
  padding-right: max(1.25rem, calc(50vw - 550px));
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.section-intro {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-intro a,
a.link {
  color: var(--yellow);
  text-decoration: none;
}

/* Website-Content-Links immer in Vereinsgelb */
main a {
  color: var(--yellow) !important;
}
main a:hover {
  text-decoration: underline;
}

.section-intro a:hover,
a.link:hover {
  text-decoration: underline;
}

/* Content */
.content-block {
  margin-bottom: 1.5rem;
}

.content-block h2 {
  font-size: 1.25rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--yellow);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block ul {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.content-block ul {
  padding-left: 1.5rem;
}

.content-block li {
  margin-bottom: 0.35rem;
}

/* News */
.news-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.news-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 1.25rem;
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--yellow);
  margin-bottom: 0.35rem;
}

.news-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.news-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tabellen */
.table-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.table-tab {
  padding: 0.5rem 1rem;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.table-tab:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.table-tab.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-dark);
}

.table-wrap {
  position: relative;
  overflow: hidden;
}

.table-container {
  display: none;
}

.table-container.is-visible {
  display: block;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.league-table th,
.league-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.league-table th {
  font-weight: 600;
  color: var(--yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.league-table th:first-child,
.league-table td:first-child { width: 2.5em; text-align: center; }
.league-table .team { font-weight: 500; color: var(--text); }
.league-table td:nth-child(n+3) { text-align: center; color: var(--text-muted); }
.league-table td:last-child { font-weight: 600; color: var(--text); }

.league-table tbody tr.own-club {
  background: var(--own-club);
}

.league-table tbody tr:hover:not(.own-club) {
  background: rgba(255, 255, 255, 0.04);
}

.table-source {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-source a {
  color: var(--yellow);
  text-decoration: none;
}

.table-source a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .league-table { font-size: 0.8rem; }
  .league-table th, .league-table td { padding: 0.5rem 0.4rem; }
  .league-table .team { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Cards / Verein */
.verein-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.card {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}

.card:hover {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.08);
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 1.25rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.social {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0.6rem 0 0.25rem;
}

.social a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 204, 0, 0.75);
  background: rgba(255, 204, 0, 0.08);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.social a svg {
  width: 1.3rem;
  height: 1.3rem;
}

.social a:hover {
  background: rgba(255, 204, 0, 0.18);
  border-color: var(--yellow);
  transform: translateY(-1px) scale(1.06);
}

.social + .link {
  display: inline-block;
  margin-top: 0.2rem;
}

/* Footer */
.footer {
  border-top: 3px solid var(--yellow);
  padding: 1.25rem 1.25rem 2rem;
  text-align: center;
  background: var(--bg-alt);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Subpage layout */
.subpage main {
  padding-top: 0;
}

/* Vorstand list */
.vorstand-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.vorstand-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.vorstand-list li strong {
  color: var(--yellow);
  display: inline;
  margin-right: 0.25rem;
}

/* Sponsoring packages */
.package {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.package h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.package .price {
  color: var(--yellow);
  font-weight: 600;
}

/* Mitglied form */
.mitglied-grid {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  max-width: 860px;
  margin-bottom: 2rem;
}

.mitglied-grid .card {
  margin: 0;
}

.mitglied-kontakt {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mitglied-package-card {
  display: block;
  cursor: pointer;
}
.mitglied-package-card input { display: none; }
.mitglied-package-card .card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 220px;
  max-height: 220px;
  padding: 0.95rem 1.05rem;
  border: 2px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.mitglied-package-card input:checked + .card {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.08);
}
.package-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.45;
}
.mitglied-package-card .price { margin-top: auto; font-weight: 700; }
.mitglied-form {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 760px;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Pakete auf breiten Screens besser ausnutzen */
#sponsor-packages-public.mitglied-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
#membership-packages.mitglied-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Einheitliche Ausrichtung für Mitglied/Sponsoring-Blöcke */
#membership-intro,
#sponsors-intro,
#membership-packages,
#sponsor-packages-public,
#apply-section,
#sponsor-apply-section,
#apply-section > h2,
#apply-section > .hint,
#sponsor-apply-section > h2,
#sponsor-apply-section > .hint {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  #sponsor-packages-public.mitglied-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  #membership-packages.mitglied-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mitglied-form input[type="date"],
.mitglied-form select { padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-alt); color: var(--text); font: inherit; }
.mitglied-form label { font-size: 0.9rem; color: var(--text-muted); }
.mitglied-form input,
.mitglied-form select,
.mitglied-form textarea {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
}
.btn-primary {
  padding: 0.65rem 1.25rem;
  background: var(--yellow);
  color: var(--blue);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}
.btn-primary:hover { opacity: 0.95; }
.success-msg { color: #86efac; margin-top: 1rem; }
.error-msg { color: #f87171; margin-top: 1rem; }
.hidden { display: none !important; }

.team-block-public {
  margin-bottom: 2rem;
}
.team-block-public h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}
.subteams-public {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.subteam-card-public {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s;
}
.subteam-card-public:hover { border-color: var(--yellow); }
.subteam-card-public img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 0.5rem; }
.subteam-card-public span { font-size: 0.9rem; font-weight: 600; text-align: center; }
.subteam-card-public .subteam-card-link { color: var(--text); }
.subteam-card-public .subteam-card-link:hover { color: var(--text); text-decoration: none; }
.news-body {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.news-body p { margin: 0.35rem 0; }
.hint { color: var(--text-muted); font-size: 0.9rem; }

/* Liveticker – Sticky Live-Banner oben */
.liveticker-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  border-bottom: 2px solid var(--yellow);
  padding: 0.6rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.liveticker-banner[hidden] { display: none !important; }
.liveticker-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.liveticker-banner-label {
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.liveticker-banner-match {
  font-weight: 600;
  font-size: 1rem;
}
.liveticker-banner-match .liveticker-score { color: var(--yellow); font-weight: 700; margin: 0 0.25rem; }
.liveticker-banner-link {
  font-size: 0.9rem;
  color: var(--yellow);
  text-decoration: none;
}
.liveticker-banner-link:hover { text-decoration: underline; }

/* Liveticker – Letztes & Nächstes Spiel */
.liveticker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
@media (max-width: 640px) { .liveticker-grid { grid-template-columns: 1fr; } }
.liveticker-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.liveticker-card-title {
  margin: 0;
  padding: 0.38rem 0.75rem;
  font-size: 0.88rem;
  background: rgba(0,0,0,0.2);
  color: var(--text-muted);
}
.liveticker-card-content {
  padding: 0.6rem 0.8rem;
}
.liveticker-card-content .liveticker-match { padding: 0.2rem 0; }
.liveticker-card-content .liveticker-date { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.liveticker-card-content .liveticker-card-link { font-size: 0.84rem; margin-top: 0.2rem; display: inline-block; }

.liveticker-wrap { margin-top: 0.75rem; }
.liveticker-parsed { margin-top: 0.75rem; }
.liveticker-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  padding: 0.6rem 0.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.liveticker-match.liveticker-match--inline { padding: 0; background: transparent; border: none; }
.liveticker-team { font-weight: 600; text-align: center; font-size: 0.95rem; }
.liveticker-result { font-weight: 700; font-size: 1.08rem; color: var(--yellow); }
.liveticker-score { margin-right: 0.25rem; }
.liveticker-ht { font-size: 0.76rem; font-weight: 400; color: var(--text-muted); }
.liveticker-iframe {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
}
.liveticker-fallback { margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }

/* Footer mit Partnern & Sponsoren */
.footer {
  padding: 1.5rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
}
.footer-partners {
  margin-bottom: 1rem;
}
.footer-partners-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.footer-partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}
.footer-partners-logos a {
  display: block;
  transition: opacity 0.2s;
}
.footer-partners-logos a:hover {
  opacity: 0.85;
}
.footer-partners-logos img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}
.footer-addresses {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-addresses a {
  color: var(--yellow-light);
  text-decoration: none;
}
.footer-addresses a:hover {
  text-decoration: underline;
}
.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sponsoren-Seite: Logo-Karten */
.sponsoren-logos-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.sponsor-card:hover {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.08);
}
.sponsor-card img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.sponsor-card span {
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}
.sponsor-card:hover span {
  color: var(--text);
}

/* Sponsoring-Seite: aktuelle Sponsoren aus CMS */
.sponsors-gallery { margin-top: 2rem; }
.sponsors-gallery .section-title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--yellow); }
.sponsors-gallery .sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.sponsor-card-public {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.sponsor-card-public .sponsor-card-img {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.sponsor-card-public .sponsor-card-img img {
  max-height: 56px;
  max-width: 120px;
  object-fit: contain;
}
.sponsor-card-public .sponsor-card-name { font-size: 0.9rem; font-weight: 600; text-align: center; }
.sponsor-card-public .sponsor-year { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

.sponsor-card-public {
  position: relative;
}

.sponsor-hover-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.sponsor-card-public:hover .sponsor-hover-note {
  max-height: 140px;
  opacity: 1;
}

/* Spieler-Profil: Karte mit Foto */
.player-profile-wrap { margin-top: 0.5rem; }
.player-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 640px;
}
@media (max-width: 520px) {
  .player-card { grid-template-columns: 1fr; }
}
.player-photo-wrap {
  margin: 0;
}
.player-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border);
}
.player-info { min-width: 0; }
.player-meta {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.player-meta span + span::before { content: ' · '; }
.player-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.player-details li { margin: 0.35rem 0; }
.link-oefb { display: inline-block; margin-top: 0.5rem; }

.nachwuchs-groups {
  font-size: 1.1rem;
  color: var(--yellow);
  margin: 0.5rem 0;
  letter-spacing: 0.05em;
}
