/* ==========================================================================
   Sparten-Website Fußball – Ergänzungen zum Design-System „Matchday“
   Basis: ../../css/styles.css (wird vorher geladen). Hier nur neue Bausteine.
   ========================================================================== */

/* --------------------------------------------------------------- Header */

.brand-sub-sparte {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-sub-sparte .icon {
  font-size: 14px;
}

.nav-club {
  color: var(--ink-3);
  gap: 4px;
}

.nav-club .icon {
  font-size: 15px;
}

.sub-teams {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.sub-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-group-label {
  padding: 8px 14px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.sub-teams .sub-link {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 9px 14px;
}

.sub-teams .sub-link small {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-4);
}

@media (max-width: 1024px) {
  .nav-club {
    font-size: 1.6rem !important;
  }
  .sub-teams .sub-link {
    padding: 8px 6px;
  }
  .sub-group-label {
    padding: 8px 6px 2px;
  }
}

@media (max-width: 1180px) and (min-width: 1025px) {
  .nav-club {
    display: none;
  }
}

/* --------------------------------------------------------------- Kennzahlen-Leiste */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.stat {
  padding: 24px clamp(18px, 3vw, 32px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--yellow);
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------- Mannschafts-Karten */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.team-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.team-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.team-group + .team-group {
  margin-top: 48px;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.team-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.team-card:active {
  transform: translateY(-1px) scale(0.99);
}

.team-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 212, 0, 0.2), transparent 55%),
    var(--stripes) 0 0 / 100% 100%,
    var(--surface-2);
  background-blend-mode: normal, soft-light, normal;
}

.team-card.no-photo .team-card-media {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 212, 0, 0.18), transparent 55%),
    var(--surface-2);
}

.team-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.team-card:hover .team-card-media img {
  transform: scale(1.05);
  filter: none;
}

.team-card-crest {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.team-card-crest img {
  position: static;
  width: 64px;
  height: auto;
  opacity: 0.5;
  filter: none;
}

.team-card-media > img + .team-card-crest {
  display: none;
}

.team-card-body {
  padding: 22px 22px 24px;
}

.team-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.team-card-sub {
  margin: 6px 0 14px;
  color: var(--ink-3);
}

.team-card .sparte-arrow {
  color: var(--yellow);
}

.team-card:hover .sparte-arrow {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------- Mannschafts-Hero */

.team-hero {
  min-height: min(70vh, 640px);
}

.team-hero .hero-inner {
  grid-template-columns: 1fr;
}

.team-hero h1 {
  font-size: clamp(3.6rem, 11vw, 8.5rem);
}

.team-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.team-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(22, 22, 22, 0.7);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.92rem;
}

.team-hero-meta .icon {
  color: var(--yellow);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px) {
  .team-layout {
    grid-template-columns: 1fr;
  }
}

.team-panel {
  padding: clamp(22px, 3vw, 32px);
}

.team-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.team-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-aside .person {
  flex-direction: row;
}

.team-aside .person-photo {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
}

.team-aside .person-body {
  align-self: center;
}

.cta-mini {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--yellow);
  color: var(--on-yellow);
}

.cta-mini h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  line-height: 1;
}

.cta-mini p {
  margin: 0 0 18px;
}

/* --------------------------------------------------------------- Trainingszeiten */

.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.training-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
  line-height: 1.35;
}

.training-list a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.day-badge-icon {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.day-badge-icon .icon {
  font-size: 18px;
}

.training-table a:hover strong {
  color: var(--yellow);
}

/* --------------------------------------------------------------- fussball.de-Widget */

.fbde {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.fbde.is-loaded {
  background: #fff;
}

.fbde iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.fbde-placeholder {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 212, 0, 0.12), transparent 60%),
    var(--surface);
}

.fbde-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--yellow);
  font-size: 28px;
}

.fbde-placeholder strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fbde-placeholder p {
  margin: 4px 0 8px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.fbde-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-3);
  cursor: pointer;
}

.fbde-remember input {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .fbde-placeholder {
    grid-template-columns: 1fr;
  }
  .fbde-placeholder .btn {
    justify-self: start;
  }
}

.match-section + .match-section {
  margin-top: 40px;
}

.match-section h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
}

.match-section h3 small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
  color: var(--ink-3);
}

/* --------------------------------------------------------------- Sonstiges */

.team-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-switcher a {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.team-switcher a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.team-switcher a[aria-current="page"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
}

.section-note {
  margin: -8px 0 22px;
  color: var(--ink-3);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.facts {
  padding: clamp(22px, 3vw, 30px);
}

.facts h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.facts dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.facts dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.facts dd {
  margin: 2px 0 0;
  color: var(--ink-2);
}

.facts a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.probe-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 20px;
}

/* Feinschliff nach Test */
.training-list li.training-ground {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .team-card {
    flex-direction: row;
    align-items: stretch;
  }
  .team-card-media {
    width: 112px;
    flex-shrink: 0;
    aspect-ratio: auto;
  }
  .team-card-crest img {
    width: 44px;
  }
  .team-card-body {
    padding: 16px 40px 16px 16px;
  }
  .team-card-body .chip {
    margin-bottom: 8px;
  }
  .team-card-body h3 {
    font-size: 1.6rem;
  }
  .team-card-sub {
    margin: 4px 0 8px;
    font-size: 0.9rem;
  }
  .team-card .meta {
    font-size: 0.82rem;
  }
  .team-card .sparte-arrow {
    opacity: 1;
    transform: none;
    right: 14px;
    bottom: auto;
    top: 50%;
    margin-top: -12px;
    font-size: 20px;
  }
  .team-aside .person-photo {
    width: 100px;
  }
}

/* ==========================================================================
   Apple-Design-Durchgang (14.10.2026)
   ========================================================================== */

/* --- Response: sofortiges Feedback beim Drücken, nicht erst beim Loslassen */
.team-switcher a,
.filter-pill,
.sub-link,
.person,
.info-card,
.fbde-revoke,
.crumbs a {
  -webkit-tap-highlight-color: transparent;
}

.team-switcher a:active,
.filter-pill:active,
.fbde-revoke:active {
  transform: scale(0.96);
  transition: transform 100ms ease-out;
}

.sub-link:active,
a.info-card:active {
  transform: scale(0.98);
  transition: transform 100ms ease-out;
}

.person:active {
  transform: translateY(-1px) scale(0.99);
  transition: transform 100ms ease-out;
}

/* --- Typografie: Laufweite abhängig von der Größe.
   Riesige Condensed-Versalien laufen optisch auseinander → negativ spationieren. */
.display-xl,
.team-hero h1 {
  letter-spacing: -0.015em;
}

.display-lg,
.stat strong {
  letter-spacing: -0.01em;
}

.team-card-body h3,
.match-section h3,
.team-panel h2 {
  letter-spacing: 0;
}

/* --- Wayfinding: Brotkrume auf der Teamseite */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--yellow);
}

.crumbs a:hover {
  color: var(--yellow-hover);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

/* --- Pfeile auf Touch-Geräten sichtbar (dort gibt es kein Hover) */
@media (hover: none) {
  .team-card .sparte-arrow {
    opacity: 1;
    transform: none;
  }
  /* kein „klebender“ Hover-Lift nach dem Antippen */
  .team-card:hover,
  .team-card:hover .team-card-media img {
    transform: none;
  }  .team-card:active {
    transform: translateY(-1px) scale(0.99);
  }
}

/* --- Tastziel: ganze Zeile der Checkbox klickbar, mind. 44 px hoch */
.fbde-remember {
  min-height: 44px;
}

/* --- Status: Lade-Rückmeldung statt leerer Fläche */
.fbde.is-loading {
  position: relative;
  background: var(--surface);
}

.fbde.is-loading iframe {
  opacity: 0;
}

.fbde iframe {
  transition: opacity 0.3s ease;
}

.fbde-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: var(--ink-2);
  font-weight: 600;
}

.fbde-status a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--yellow);
}

.fbde-status .icon {
  color: var(--yellow);
  font-size: 20px;
}

.fbde-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--yellow-soft);
  border-top-color: var(--yellow);
  animation: fbde-spin 0.8s linear infinite;
}

@keyframes fbde-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Agency: gemerkte Zustimmung sichtbar machen und zurücknehmbar */
.fbde-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.fbde-consent .icon {
  color: var(--yellow);
}

.fbde-revoke {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.fbde-revoke:hover {
  border-color: var(--ink);
}

/* --- Reduzierte Bewegung: Spinner pulsiert nur noch statt zu drehen */
@media (prefers-reduced-motion: reduce) {
  .fbde-spinner {
    animation: none;
    border-color: var(--yellow);
    opacity: 0.6;
  }
  .team-switcher a:active,
  .filter-pill:active,
  .sub-link:active,
  .person:active,
  a.info-card:active {
    transform: none;
  }
}

/* --- Materialien: „Transparenz reduzieren“ → feste statt gläserne Flächen */
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .top-story,
  .team-hero-meta span,
  .sub {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* --- „Kontrast erhöhen“ → klar sichtbare Kanten, kräftigere Nebentexte */
@media (prefers-contrast: more) {
  :root {
    --line: rgba(255, 255, 255, 0.32);
    --line-strong: rgba(255, 255, 255, 0.55);
    --ink-3: #c8c8c8;
    --ink-4: #b0b0b0;
  }
  .top-story,
  .team-hero-meta span {
    background: var(--bg);
  }
}


/* Vereinsname im Header einzeilig (20.10.2026) – auf schmalen Laptops
   (1025–1199 px) darf er zweizeilig umbrechen, sonst passt das Menü nicht */
.nav-club {
  white-space: nowrap;
}

@media (min-width: 1200px), (max-width: 1024px) {
  .brand-name {
    white-space: nowrap;
  }
}

/* „Gesamtverein“ erst ab breiten Bildschirmen im Menü – sonst im Footer */
@media (max-width: 1600px) and (min-width: 1025px) {
  .nav-club {
    display: none;
  }
}

@media (min-width: 1200px) {
  .header-inner > .brand {
    margin-right: 28px;
  }
}

/* --------------------------------------------------------------- Fanshop (31.10.2026) */

.shop-stats {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 760px) {
  .shop-stats {
    grid-template-columns: 1fr;
  }
  .shop-stats .stat {
    border-left: 0;
  }
  .shop-stats .stat + .stat {
    border-top: 1px solid var(--line);
  }
}

.filter-bar.shop-who {
  margin-top: -16px;
}

.shop-who .filter-pill {
  font-size: 0.92rem;
  padding: 8px 14px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.shop-card[hidden] {
  display: none;
}

.shop-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.shop-card:active {
  transform: translateY(-1px) scale(0.99);
}

.shop-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.shop-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 212, 0, 0.16), transparent 60%),
    var(--surface-2);
}

.shop-glyph {
  width: 42%;
  height: auto;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}

.shop-card:hover .shop-glyph {
  transform: scale(1.06) rotate(-2deg);
}

.shop-card-crest {
  position: absolute;
  left: 16px;
  bottom: 14px;
}

.shop-card-crest img {
  width: 26px;
  height: auto;
  opacity: 0.55;
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.shop-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.shop-card-tags .chip {
  margin-bottom: 10px;
}

.shop-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.shop-card-sub {
  margin: 6px 0 14px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.shop-price {
  margin: auto 0 0;
  padding-right: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--yellow);
}

.shop-price small {
  font-size: 0.6em;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop-price s {
  margin-left: 6px;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--ink-4);
}

.shop-card .sparte-arrow {
  color: var(--yellow);
  bottom: 20px;
  right: 18px;
}

.shop-card:hover .sparte-arrow {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .shop-card .sparte-arrow {
    opacity: 1;
    transform: none;
  }
  .shop-card:hover {
    transform: none;
  }
}

.shop-empty {
  padding: 28px;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}

.shop-empty a {
  color: var(--yellow);
  text-decoration: underline;
}

.info-card .info-icon {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .shop-card,
  .shop-glyph {
    transition: border-color 0.3s;
  }
  .shop-card:hover,
  .shop-card:hover .shop-glyph {
    transform: none;
  }
}

/* „Fanshop“ im Kopf erst ab 1280 px – auf schmalen Laptops passt das Menü
   sonst nicht (Footer, Startseite und Handy-Menü verlinken weiterhin) */
@media (max-width: 1279px) and (min-width: 1025px) {
  .nav-shop {
    display: none;
  }
}

/* Fanshop am Handy: zwei Spalten, kompaktere Karten */
@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .shop-card-media {
    aspect-ratio: 1 / 1;
  }
  .shop-card-crest {
    left: 10px;
    bottom: 8px;
  }
  .shop-card-crest img {
    width: 20px;
  }
  .shop-card-body {
    padding: 12px 12px 16px;
  }
  .shop-card-tags .chip {
    font-size: 0.68rem;
    padding: 4px 8px;
    margin-bottom: 8px;
  }
  .shop-card h3 {
    font-size: 1.15rem;
    hyphens: manual;
  }
  .shop-card-sub {
    font-size: 0.8rem;
    margin: 4px 0 10px;
  }
  .shop-price {
    font-size: 1.3rem;
    padding-right: 26px;
  }
  .shop-card .sparte-arrow {
    font-size: 18px;
    right: 10px;
    bottom: 14px;
  }
}

#shop-note {
  margin-top: 18px;
}

/* --------------------------------------------------------------- Event-Teaser (Startseite, 31.10.2026) */
.event-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kicker btn" "title btn" "text btn"; gap: 6px 24px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--yellow); color: var(--on-yellow); text-decoration: none; position: relative; overflow: hidden; transition: transform 0.25s var(--ease); }
.event-teaser::after { content: "96"; position: absolute; right: -10px; bottom: -40px; font-family: var(--font-display); font-weight: 900; font-size: 11rem; line-height: 1; color: rgba(10, 10, 10, 0.07); pointer-events: none; }
.event-teaser:active { transform: scale(0.99); }
.event-teaser-kicker { grid-area: kicker; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event-teaser-title { grid-area: title; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 0.95; letter-spacing: -0.01em; }
.event-teaser-title i { font-style: normal; opacity: 0.55; }
.event-teaser-text { grid-area: text; font-size: 1rem; opacity: 0.85; }
.event-teaser-btn { grid-area: btn; position: relative; z-index: 1; }
@media (max-width: 680px) { .event-teaser { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "text" "btn"; } .event-teaser-btn { justify-self: start; margin-top: 10px; } }

/* WhatsApp-Kanal-Hinweis (16.11.2026) */
.wa-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.wa-channel-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--on-yellow);
}
.wa-channel-icon .icon { width: 24px; height: 24px; }
.wa-channel-text { flex: 1 1 220px; min-width: 0; }
.wa-channel-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.wa-channel-text p { margin: 4px 0 0; color: var(--ink-2, inherit); }
.wa-channel.compact { margin-top: 32px; padding: 16px 18px; }
.wa-channel.compact .wa-channel-text strong { font-size: 1.15rem; }

/* Schwebender WhatsApp-Knopf – nur Handy/Tablet (16.11.2026) */
.wa-fab { display: none; }
@media (max-width: 1024px) {
  .wa-fab {
    display: grid;
    place-items: center;
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    z-index: 45;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease;
  }
  .wa-fab svg { width: 30px; height: 30px; }
  .wa-fab:active { transform: scale(0.92); }
  .wa-fab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
  body.nav-open .wa-fab { display: none; }
  /* Platz am Seitenende, damit der Knopf den Footer nicht verdeckt */
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

/* Hinweis-Banner aus dem Admin (16.11.2026) */
.site-notices { position: relative; z-index: 5; }
.site-notice { background: var(--surface-2, #1e1e1e); border-bottom: 1px solid var(--line, #2a2a2a); color: var(--ink, #fff); }
.site-notice.is-important { background: var(--yellow, #ffd400); color: var(--on-yellow, #0a0a0a); border-bottom-color: transparent; }
.site-notice-in { display: flex; align-items: flex-start; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.site-notice p { margin: 0; flex: 1; font-size: 0.95rem; line-height: 1.45; }
.site-notice a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow, #ffd400); margin-top: 7px; flex: none; }
.site-notice.is-important .site-notice-dot { background: var(--on-yellow, #0a0a0a); }
.site-notice-x { flex: none; width: 36px; height: 36px; margin: -6px -8px -6px 0; border: 0; background: none; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 8px; }
.site-notice-x:hover { background: rgba(127, 127, 127, 0.18); }

/* Beitrag teilen (Stufe 6) */
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.article-share-h { flex-basis: 100%; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3, #9a9a9a); }
.article-share .btn svg { margin-right: 4px; vertical-align: -3px; }

/* Sponsoren (Stufe 7) – Logos auf hellen Kacheln, damit dunkle und farbige Logos lesbar bleiben */
.sp-logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(var(--sp-w, 150px), 1fr)); }
.sp-logos li > a, .sp-logos li > span { display: grid; place-items: center; height: var(--sp-h, 76px); padding: 12px 16px; border-radius: 14px; background: #f5f5f3; color: #1a1a1a; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sp-logos li > a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.sp-logos li > a:focus-visible { outline: 3px solid var(--yellow, #ffd400); outline-offset: 3px; }
.sp-logos img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.sp-logos .sp-name { font-weight: 800; font-size: 0.95rem; text-align: center; line-height: 1.2; }
.sp-lg { --sp-w: 260px; --sp-h: 120px; }
.sp-lg .sp-name { font-size: 1.25rem; }
.sp-md { --sp-w: 160px; --sp-h: 84px; }
.sp-xs { --sp-w: 104px; --sp-h: 52px; gap: 8px; }
.sp-xs li > a, .sp-xs li > span { padding: 8px 10px; border-radius: 10px; }
.sp-xs .sp-name { font-size: 0.78rem; }
.sp-panel { display: grid; gap: 14px; padding: clamp(16px, 3vw, 24px); }
.footer-sponsors { margin: 8px 0 28px; }
.footer-sponsors h2 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, #9a9a9a); }
.sp-team h2 { margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .sp-logos li > a { transition: none; } .sp-logos li > a:hover { transform: none; } }
