.info-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-section {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(82, 103, 167, 0.12);
  box-shadow: 0 18px 40px rgba(24, 38, 70, 0.08);
  padding: 2.25rem;
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 32px;
  background: linear-gradient(135deg, #1e2a69, #4e5ae8);
  color: #f5f7ff;
  box-shadow: 0 25px 60px rgba(16, 23, 64, 0.35);
}

.info-hero__eyebrow,
.useful-links__eyebrow,
.competition-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(245, 247, 255, 0.75);
  margin: 0 0 0.75rem;
}

.useful-links__eyebrow,
.competition-section__eyebrow {
  color: #5d6aca;
}

.info-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.info-hero p {
  margin: 0 0 1rem;
  color: rgba(245, 247, 255, 0.9);
}

.info-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.info-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f5f7ff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.info-hero__cta:hover {
  transform: translateY(-2px);
}

.info-hero__cta--primary {
  background: #fefefe;
  color: #1e2a69;
  border-color: transparent;
}

.info-hero__cta--ghost {
  background: transparent;
}

.info-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.info-hero__stats div {
  background: rgba(16, 24, 52, 0.45);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
}

.info-hero__stats dt {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(245, 247, 255, 0.7);
}

.info-hero__stats dd {
  margin: 0.35rem 0 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.info-hero__panel {
  background: rgba(10, 14, 38, 0.45);
  border-radius: 28px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-hero__panel h3 {
  margin: 0;
}

.info-hero__panel-head p {
  margin: 0.2rem 0 0;
  color: rgba(245, 247, 255, 0.8);
}

.info-hero__pinned-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-hero__pinned-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.85rem 1rem;
}

.info-hero__pinned-list h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.info-hero__pinned-list p {
  margin: 0;
  color: rgba(245, 247, 255, 0.8);
}

.info-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.info-hero__tags li {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
}

.info-hero__empty {
  margin: 0;
  color: rgba(245, 247, 255, 0.7);
}

.info-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-panel {
  border-radius: 24px;
  border: 1px solid rgba(82, 103, 167, 0.18);
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(24, 38, 70, 0.08);
}

.info-panel h3 {
  margin: 0 0 0.75rem;
}

.info-panel__steps {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #3c4466;
}

.info-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-panel__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #3c4466;
}

.info-panel__list strong {
  font-size: 1.4rem;
  color: #1e2a69;
}

.info-panel__hint {
  margin: 0;
  font-size: 0.85rem;
  color: #4f5677;
}

.info-panel--accent {
  background: linear-gradient(135deg, rgba(78, 90, 232, 0.08), rgba(247, 249, 255, 0.95));
}

.useful-links {
  margin: 0;
}

.useful-links__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.useful-links__header h2 {
  margin: 0 0 0.35rem;
}

.useful-links__intro {
  margin: 0;
  color: #4a4f6f;
  max-width: 540px;
}

.useful-links__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.useful-links__search {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #4a4f6f;
}

.useful-links__search input {
  border: 1px solid rgba(96, 118, 192, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  min-width: 240px;
}

.useful-links__controls {
  display: flex;
  gap: 0.5rem;
}

.useful-links__controls button {
  border: 1px solid rgba(96, 118, 192, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(96, 118, 192, 0.08);
  color: #1e2a69;
  font-weight: 600;
  cursor: pointer;
}

.link-group {
  border: 1px solid rgba(82, 103, 167, 0.14);
  border-radius: 22px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 15px 30px rgba(28, 44, 82, 0.08);
  margin-bottom: 1.25rem;
}

.link-group__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.link-group__meta {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.link-group__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(96, 118, 192, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.link-group__meta h2 {
  margin: 0;
}

.link-group__meta p {
  margin: 0.3rem 0 0;
  color: #545a76;
}

.link-group__toggle {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: rgba(30, 42, 105, 0.08);
  color: #1e2a69;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-group__chevron {
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid currentColor;
  border-left: transparent;
  border-top: transparent;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.link-group--collapsed .link-group__chevron {
  transform: rotate(-135deg);
}

.link-group__content {
  margin-top: 1rem;
}

.link-group__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-tile {
  border: 1px solid rgba(96, 118, 192, 0.15);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Mobile optimizations for info_page */
@media (max-width: 640px) {
  .info-page {
    padding: 0 0.75rem 2rem;
    gap: 1.25rem;
  }
  .info-section {
    border-radius: 16px;
    padding: 1rem;
    box-shadow: none;
  }
  .info-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: none;
  }
  .info-hero h1 {
    font-size: 1.5rem;
  }
  .info-hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .info-hero__stats div {
    padding: 0.6rem;
    border-radius: 12px;
  }
  .info-hero__stats dd {
    font-size: 1.2rem;
  }
  .info-panels {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .info-panel {
    border-radius: 14px;
    padding: 0.9rem;
    box-shadow: none;
  }
  .useful-links__toolbar {
    width: 100%;
    gap: 0.5rem;
  }
  .useful-links__search input {
    min-width: 0;
    width: 100%;
  }
  .link-group {
    border-radius: 14px;
    padding: 0.9rem;
    box-shadow: none;
  }
  .link-group__header {
    align-items: flex-start;
  }
  .link-group__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.1rem;
  }
  .link-group__toggle {
    padding: 0.35rem 0.7rem;
  }
  .link-group__tiles {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .info-tile {
    border-radius: 12px;
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .info-tile__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .info-tile__link {
    padding: 0.5rem 0.75rem;
  }
  .competition-section__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .competition-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.info-tile--pinned {
  border-color: #f7b731;
  box-shadow: 0 10px 25px rgba(247, 183, 49, 0.2);
}

.info-tile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.info-tile__header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.info-tile__pin {
  color: #f7b731;
  font-size: 1rem;
}

.info-tile__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.info-tile__tags li {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(96, 118, 192, 0.12);
  font-size: 0.75rem;
  color: #1e2a69;
}

.info-tile__text {
  margin: 0;
  color: #525873;
  font-size: 0.92rem;
}

.info-tile__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-tile__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 10px;
  background: rgba(96, 118, 192, 0.08);
}

.info-tile__link a {
  color: #1e2a69;
  font-weight: 600;
  text-decoration: none;
}

.info-tile__link-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.info-tile__link-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-tile__badge {
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  background: rgba(30, 42, 105, 0.12);
}

.info-tile__updated {
  font-size: 0.75rem;
  color: #6c738b;
  margin: 0;
}

.info-tile__badge,
.info-tile__link {
  display: inline-flex;
  align-items: center;
}

.useful-links__empty {
  text-align: center;
  color: #6c738b;
  margin-top: 2rem;
}

body.night-mode .useful-links__empty {
  color: #a5b0d5;
}

.competition-section {
  width: 100%;
  padding: 2.25rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(82, 103, 167, 0.12);
  box-shadow: 0 18px 40px rgba(24, 38, 70, 0.08);
}

.competition-section__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.competition-section__header h2 {
  margin: 0 0 0.35rem;
}

.competition-section__header p {
  margin: 0;
  color: #5f677a;
}

.competition-section__insights {
  display: flex;
  gap: 0.75rem;
}

.competition-section__insights article {
  min-width: 120px;
  border-radius: 16px;
  background: rgba(96, 118, 192, 0.08);
  padding: 0.85rem 1.1rem;
  text-align: center;
}

.competition-section__insights span {
  display: block;
  font-size: 0.8rem;
  color: #4a4f6f;
}

.competition-section__insights strong {
  display: block;
  font-size: 1.4rem;
  margin-top: 0.35rem;
}

.competition-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: rgba(96, 118, 192, 0.04);
  border: 1px dashed rgba(96, 118, 192, 0.35);
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.competition-filter label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #4a4f6f;
  gap: 0.35rem;
}

.competition-filter input {
  border: 1px solid rgba(96, 118, 192, 0.25);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.95rem;
}

.competition-filter button {
  align-self: flex-end;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  background: rgba(96, 118, 192, 0.2);
  color: #1e2a69;
  cursor: pointer;
  font-weight: 600;
}

.competition-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.competition-card {
  border: 1px solid rgba(82, 103, 167, 0.16);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(20, 32, 56, 0.08);
}

.competition-card--ongoing {
  border-color: #f87171;
  box-shadow: 0 12px 32px rgba(248, 113, 113, 0.25);
}

.competition-card__body {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.competition-card__brand {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(96, 118, 192, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2a69;
  overflow: hidden;
}

.competition-card__brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.competition-card__content h3 {
  margin: 0;
  font-size: 1.25rem;
}

.competition-card__date {
  margin: 0.35rem 0 0;
  color: #5f677a;
  font-size: 0.85rem;
}

.competition-card__description {
  margin: 0.65rem 0 0 0;
  color: #4a4f6f;
}

.competition-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(96, 118, 192, 0.18);
  color: #1e2a69;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--quali {
  background: rgba(20, 184, 166, 0.2);
  color: #0f766e;
}

.badge--ai {
  background: rgba(147, 51, 234, 0.08);
  color: #9061c2;
  font-weight: 600;
}

.badge--ai::before {
  content: none;
}

.badge-link {
  text-decoration: none;
  border: 1px solid transparent;
}

.badge-link:hover {
  border-color: rgba(96, 118, 192, 0.5);
}

body.night-mode .badge {
  background: rgba(148, 163, 184, 0.2);
  color: #c5cee5;
}

body.night-mode .badge--quali {
  background: rgba(45, 212, 191, 0.18);
  color: #5eead4;
}

body.night-mode .badge--ai {
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
}

body.night-mode .badge-link:hover {
  border-color: rgba(148, 163, 184, 0.45);
}

.competition-card__links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.competition-special-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.competition-special-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  background: rgba(96, 118, 192, 0.18);
  color: #1e2a69;
}

.competition-special-link__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  display: inline-block;
  background: currentColor;
}

.competition-special-link--livescore {
  color: #2563eb;
}

.competition-special-link--livescore .competition-special-link__dot {
  background: #2563eb;
}

.competition-special-link--livestream {
  color: #dc2626;
}

.competition-special-link--livestream .competition-special-link__dot {
  background: #dc2626;
}

.competition-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: linear-gradient(120deg, #4253c5, #6c7bff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.competition-link-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.competition-link-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(96, 118, 192, 0.12);
  color: #1e2a69;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}

.competition-link-chip:hover {
  background: rgba(96, 118, 192, 0.2);
}

.competition-card__hint {
  color: #6c738b;
}

.competition-empty {
  margin-top: 1rem;
  color: #6c738b;
}

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

  .info-hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .link-group__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .useful-links__toolbar,
  .competition-section__header,
  .competition-section__insights {
    flex-direction: column;
    align-items: stretch;
  }
}

body.night-mode .info-section,
body.night-mode .useful-links,
body.night-mode .info-panel,
body.night-mode .link-group,
body.night-mode .competition-section,
body.night-mode .competition-card,
body.night-mode .info-tile {
  background: rgba(26, 32, 48, 0.92);
  border-color: rgba(122, 139, 205, 0.35);
  color: #e4ebff;
}

body.night-mode .info-panel__list li,
body.night-mode .info-panel__steps,
body.night-mode .info-panel__hint,
body.night-mode .link-group__meta p,
body.night-mode .competition-section__header p,
body.night-mode .competition-card__description,
body.night-mode .competition-card__date {
  color: #c5cee5;
}

body.night-mode .info-panel__list strong {
  color: #f5f7ff;
}

body.night-mode .useful-links__search,
body.night-mode .competition-filter label,
body.night-mode .competition-empty {
  color: #d0dafb;
}

body.night-mode .useful-links__controls button,
body.night-mode .competition-filter,
body.night-mode .info-tile__link {
  background: rgba(96, 118, 192, 0.12);
  border-color: rgba(148, 172, 240, 0.25);
  color: #dbe1ff;
}

body.night-mode .useful-links__intro {
  color: #c5cee5;
}

body.night-mode .info-tile__tags li {
  background: rgba(146, 168, 255, 0.18);
  color: #dbe1ff;
}

body.night-mode .info-tile__badge {
  background: rgba(228, 235, 255, 0.18);
  color: #d8e1ff;
}

body.night-mode .info-tile__updated {
  color: #a5b0d5;
}

body.night-mode .competition-filter input,
body.night-mode .useful-links__search input {
  background: rgba(18, 24, 42, 0.85);
  color: #e4ebff;
  border-color: rgba(148, 172, 240, 0.25);
}

body.night-mode .competition-button {
  background: linear-gradient(120deg, #6c7bff, #818cf8);
}

body.night-mode .competition-link-chip {
  background: rgba(146, 168, 255, 0.18);
  color: #dbe1ff;
}

body.night-mode .info-hero {
  background: linear-gradient(135deg, #0f1430, #1e264c);
}

body.night-mode .info-hero__panel {
  background: rgba(5, 8, 24, 0.7);
}

body.night-mode .info-hero__stats div {
  background: rgba(5, 8, 24, 0.6);
}

/* --- Minimalistisches Header-Layout --- */

.competition-card__summary {
  align-items: flex-start;
}

.competition-card__summary-layout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}


.competition-card__summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}

.competition-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.competition-card__date {
  margin: 0;
  color: #6b7280;
  font-size: 0.8rem;
}

.competition-card__location {
  margin: 0;
  color: #9ca3af;
  font-size: 0.78rem;
}

/* --- Roter / blauer Punkt für Livestream / Livescore --- */

.competition-card__signals {
  margin-top: 0.3rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.competition-signal {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #e5e7eb;
}

.competition-signal--stream {
  background: #dc2626;
  animation: pulse-red 2s infinite;
}

.competition-signal--score {
  background: #2563eb;
  animation: pulse-blue 2s infinite;
}

/* Nachtmodus-Anpassungen */
body.night-mode .competition-card__title {
  color: #e5e7eb;
}

body.night-mode .competition-card__date,
body.night-mode .competition-card__location {
  color: #9ca3ff;
}
/* --- Accordion-Stil für Wettkampfkarten --- */

.competition-card--accordion {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

/* Header-Button der Karte */

.competition-card__summary {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.85rem 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  align-items: flex-start; /* bleibt bewusst hier, damit alles oben bündig ist */
}

.competition-card__summary:hover {
  background: rgba(148, 163, 184, 0.08);
}

/* Chevron rechts */

.competition-card__chevron {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.competition-card__chevron::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(30, 64, 175, 0.9);
  border-bottom: 2px solid rgba(30, 64, 175, 0.9);
  transform: rotate(45deg);
  transition: transform 0.18s ease-out;
}

.competition-card--open .competition-card__chevron::before {
  transform: rotate(-135deg);
}

/* Details-Bereich der Karte (wird per JS ein-/ausgeblendet) */

.competition-card__details {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.75rem 1.1rem 1rem;
  background: rgba(248, 250, 252, 0.9);
}

.competition-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.competition-card__section:first-of-type {
  margin-top: 0.25rem;
}

/* Nachtmodus für Details & Header */

body.night-mode .competition-card__summary:hover {
  background: rgba(30, 64, 175, 0.18);
}

.competition-card__logo--stacked {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
}

/* ── Word-wrap & overflow: mobile Textelemente ──────────────────────────────── */
.info-tile__link a,
.info-tile__text,
.info-tile__header h3,
.link-group__meta h2,
.link-group__meta p,
.info-hero__pinned-list h4,
.info-hero__pinned-list p,
.competition-card__description,
.competition-card__content h3,
.competition-card__date {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* flex-children: kein min-width damit Schrumpfen möglich ist */
.link-group__meta,
.info-tile__link {
  min-width: 0;
}

@media (max-width: 480px) {
  .competition-section {
    padding: 0.9rem;
    border-radius: 16px;
    box-shadow: none;
  }
  .competition-section__header {
    margin-bottom: 1rem;
    gap: 0.6rem;
  }
  .competition-section__insights {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .competition-section__insights article {
    min-width: unset;
    flex: 1 1 calc(50% - 0.25rem);
    padding: 0.65rem 0.75rem;
  }
  .link-group__tiles {
    grid-template-columns: 1fr;
  }
  .link-group {
    padding: 0.9rem;
    border-radius: 14px;
    box-shadow: none;
  }
  .link-group__meta p {
    font-size: 0.87rem;
  }
  .info-tile {
    border-radius: 12px;
    padding: 0.8rem;
  }
  .info-tile__link a {
    word-break: break-all;
  }
  .useful-links__search input {
    min-width: 0;
    width: 100%;
  }
  .competition-card__body {
    flex-direction: row;
    align-items: flex-start;
  }
  .competition-card__brand {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    flex-shrink: 0;
  }
}

/* ── Night-mode: text & links ──────────────────────────────────────── */

body.night-mode .info-tile__text {
  color: #b8c4e8;
}

body.night-mode .info-tile__link a {
  color: #a9bbff;
}

body.night-mode .info-tile__link a:hover {
  color: #d0dcff;
}

body.night-mode .link-group__toggle {
  background: rgba(96, 118, 192, 0.15);
  color: #c5d0ff;
}

body.night-mode .useful-links__eyebrow,
body.night-mode .competition-section__eyebrow {
  color: #8b9fd6;
}

body.night-mode .competition-card__details {
  background: rgba(15, 21, 42, 0.7);
  border-top-color: rgba(100, 120, 180, 0.25);
}

body.night-mode .competition-card__chevron {
  border-color: rgba(148, 163, 184, 0.45);
}

body.night-mode .competition-card__chevron::before {
  border-color: #7c95e8;
}

body.night-mode .competition-card__brand {
  color: #c5d0ff;
  background: rgba(96, 118, 192, 0.2);
}

body.night-mode .competition-card__hint,
body.night-mode .competition-empty {
  color: #8a97bf;
}

body.night-mode .competition-section__insights span {
  color: #a5b2d8;
}

body.night-mode .competition-filter button {
  background: rgba(96, 118, 192, 0.2);
  color: #c5d0ff;
}

body.night-mode .competition-special-link {
  background: rgba(96, 118, 192, 0.18);
  color: #a9bbff;
}

body.night-mode .competition-special-link--livescore {
  color: #6ea8fe;
}

body.night-mode .competition-special-link--livestream {
  color: #f87171;
}