/* Offene Tische: Übersichtskarte und eigenständige Einführungsseite */

.competition-cards--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.competition-card--open-tables,
.competition-card--achievements {
  min-height: 0;
  grid-column: 1 / -1;
}

.competition-card--open-tables p strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
}

.open-tables-content {
  min-width: 0;
}

.open-tables-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 30px 30px 26px 34px;
  border: 1px solid var(--cream-300);
  border-radius: 11px;
  background:
    radial-gradient(circle at 88% 12%, rgb(240 194 65 / 18%), transparent 32%),
    linear-gradient(145deg, var(--cream-50), #f2f6ea);
  box-shadow: var(--shadow);
}

.open-tables-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
  content: "";
}

.open-tables-hero__copy {
  position: relative;
  z-index: 1;
}

.open-tables-kicker {
  margin: 0 0 6px;
  color: #805800;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.open-tables-hero h1 {
  margin: 0 0 11px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.open-tables-lead {
  max-width: 660px;
  margin: 0;
  color: #294636;
  font-size: 1.03rem;
  line-height: 1.58;
}

.open-tables-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.open-tables-tags li {
  padding: 7px 11px;
  border: 1px solid rgb(7 95 49 / 20%);
  border-radius: 999px;
  color: var(--green-900);
  background: rgb(255 255 255 / 74%);
  font-size: 0.8rem;
  font-weight: 700;
}

.open-tables-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 9px 11px rgb(25 43 31 / 18%));
}

.open-tables-money-note {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid rgb(7 95 49 / 24%);
  border-radius: 9px;
  color: #214330;
  background: var(--green-100);
}

.open-tables-money-note__icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.open-tables-money-note__copy > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.open-tables-money-note p {
  margin: 0;
  line-height: 1.52;
}

.open-tables-section {
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgb(255 255 255 / 90%), transparent 32%),
    linear-gradient(145deg, #fffefa, var(--cream-100));
  box-shadow: var(--shadow);
}

.open-tables-section__heading {
  max-width: 820px;
  margin-bottom: 20px;
}

.open-tables-section__heading h2,
.open-tables-cta h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.14;
}

.open-tables-section__heading > p:last-child {
  margin: 9px 0 0;
  color: #3d5145;
  line-height: 1.55;
}

.open-tables-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.open-tables-step {
  position: relative;
  padding: 21px 18px 18px;
  border: 1px solid var(--cream-300);
  border-radius: 9px;
  background: rgb(255 255 255 / 78%);
}

.open-tables-step > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-800);
  font-family: var(--font-display);
  font-weight: 800;
}

.open-tables-step h3 {
  margin: 0 0 7px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.open-tables-step p {
  margin: 0;
  color: #354b3e;
  font-size: 0.9rem;
  line-height: 1.5;
}

.open-tables-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cream-300);
  border-radius: 9px;
  background: #fff;
  outline: none;
}

.open-tables-table-wrap:focus-visible {
  box-shadow: 0 0 0 3px rgb(240 194 65 / 58%);
}

.open-tables-stakes {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.open-tables-stakes th,
.open-tables-stakes td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--cream-300);
  text-align: left;
  vertical-align: top;
}

.open-tables-stakes thead th {
  color: #fff;
  background: var(--green-800);
  font-size: 0.78rem;
  line-height: 1.32;
}

.open-tables-stakes tbody th {
  color: var(--green-950);
  background: var(--cream-100);
}

.open-tables-stakes tbody tr:last-child th,
.open-tables-stakes tbody tr:last-child td {
  border-bottom: 0;
}

.open-tables-stakes .is-positive {
  color: #075f31;
  font-weight: 700;
}

.open-tables-stakes .is-negative {
  color: #8b3a23;
  font-weight: 700;
}

.open-tables-table-note {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.open-tables-practice {
  border-color: #d3c17e;
  background:
    radial-gradient(circle at 96% 4%, rgb(240 194 65 / 18%), transparent 31%),
    linear-gradient(145deg, #fffdf6, #f9f3df);
}

.open-tables-practice-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 18px 26px;
  padding: 22px;
  border: 1px solid #d7c687;
  border-radius: 9px;
  background: rgb(255 255 255 / 76%);
}

.open-tables-practice-card__heading span {
  display: inline-block;
  margin-bottom: 7px;
  color: #8a6000;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.open-tables-practice-card h3 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.18;
}

.open-tables-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.open-tables-checklist li {
  position: relative;
  padding-left: 28px;
  color: #294337;
  line-height: 1.45;
}

.open-tables-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green-700);
  border-radius: 50%;
  color: var(--green-800);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.open-tables-practice-bonus {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  color: #4e401d;
  background: #fff8df;
}

.open-tables-league-pass {
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid rgb(7 95 49 / 27%);
  border-radius: 8px;
  color: #294337;
  background: rgb(231 239 231 / 78%);
}

.open-tables-league-pass strong {
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.open-tables-league-pass p {
  margin: 5px 0 0;
  line-height: 1.5;
}

.open-tables-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid rgb(7 95 49 / 34%);
  border-radius: 10px;
  color: #284638;
  background: linear-gradient(135deg, #edf6ed, #fffdf7);
}

.open-tables-cta p:not(.open-tables-kicker) {
  max-width: 690px;
  margin: 8px 0 0;
}

.open-tables-cta .competition-button {
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .open-tables-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding: 25px 24px 22px 28px;
  }

  .open-tables-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .competition-cards--expanded {
    grid-template-columns: 1fr;
  }

  .open-tables-hero {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 21px 17px 17px 21px;
  }

  .open-tables-hero__image {
    width: min(100%, 420px);
    max-height: 235px;
    justify-self: center;
  }

  .open-tables-money-note {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .open-tables-money-note__icon {
    width: 56px;
    height: 56px;
  }

  .open-tables-section {
    padding: 19px 15px;
  }

  .open-tables-practice-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 17px;
  }

  .open-tables-practice-bonus {
    grid-column: auto;
  }

  .open-tables-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 17px;
  }

  .open-tables-cta .competition-button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .open-tables-tags {
    display: grid;
  }

  .open-tables-tags li {
    width: fit-content;
  }
}
