/* Kartenalmanach · Trade Nights & Events
   Erweitert site.css um Event-Karten, Badges und Ratgeber-Elemente */

.tn-haupt {
  padding-top: calc(max(.6rem, env(safe-area-inset-top)) + 5.5rem);
  padding-bottom: 5rem;
}

/* Hero */
.tn-hero {
  text-align: center;
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid rgba(200, 169, 92, 0.2);
}

.tn-kicker {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.tn-titel {
  font-size: clamp(2.3rem, 1.6rem + 3.5vw, 4.4rem);
  margin-bottom: 1.2rem;
  color: var(--pergament);
}

.tn-lead {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  max-width: 44rem;
  margin: 0 auto 2rem;
  color: var(--text-leise);
  line-height: 1.6;
}

/* Hero CTA Bereich */
.tn-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.tn-hero__frage {
  font-family: var(--schrift);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 700;
  color: var(--pergament);
  letter-spacing: 0.015em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(200, 169, 92, 0.25);
}

.tn-btn-alpha {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.75rem 2.2rem;
  background: linear-gradient(135deg, #c8a95c 0%, #f0d680 40%, #ffd978 60%, #b98f2e 100%);
  background-size: 200% 100%;
  color: #17130c;
  font-family: var(--schrift);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 99px;
  border: 1px solid rgba(255, 245, 205, 0.7);
  box-shadow: 0 6px 20px -3px rgba(0, 0, 0, 0.6), 0 0 22px rgba(200, 169, 92, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
  animation: tn-btn-puls 2.8s ease-in-out infinite, tn-btn-glanz 4s ease-in-out infinite;
}

/* Glanz-Lichtreflex der periodisch über den Button huscht */
.tn-btn-alpha::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: tn-lichtstrahl 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tn-btn-alpha:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 8px 30px -2px rgba(0, 0, 0, 0.7), 0 0 35px rgba(240, 214, 128, 0.75);
}

.tn-btn-alpha:active {
  transform: translateY(0) scale(0.99);
}

.tn-btn-alpha__pfeil {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
  animation: tn-pfeil-wippen 2s ease-in-out infinite;
}

.tn-btn-alpha:hover .tn-btn-alpha__pfeil {
  transform: translateY(2px);
}

@keyframes tn-btn-puls {
  0%, 100% {
    box-shadow: 0 6px 20px -3px rgba(0, 0, 0, 0.6), 0 0 18px rgba(200, 169, 92, 0.35);
  }
  50% {
    box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.7), 0 0 32px rgba(240, 214, 128, 0.65), 0 0 50px rgba(200, 169, 92, 0.25);
  }
}

@keyframes tn-btn-glanz {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes tn-lichtstrahl {
  0% { left: -80%; }
  35%, 100% { left: 130%; }
}

@keyframes tn-pfeil-wippen {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 599px) {
  .tn-btn-alpha {
    padding: 0.75rem 1.4rem;
    font-size: 1.05rem;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tn-btn-alpha,
  .tn-btn-alpha::after,
  .tn-btn-alpha__pfeil {
    animation: none;
  }
}

.tn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: rgba(200, 169, 92, 0.12);
  border: 1px solid var(--gold);
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-hell);
  box-shadow: 0 0 20px -5px rgba(200, 169, 92, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}

.tn-badge:hover {
  transform: translateY(-2px);
  background: rgba(200, 169, 92, 0.25);
  color: #fff4cf;
  box-shadow: 0 0 25px -2px rgba(200, 169, 92, 0.45);
}

/* Event-Gitter */
.tn-abschnitt {
  padding: 4rem 0 2rem;
}

.tn-abschnitt__kopf {
  margin-bottom: 2.5rem;
}

.tn-abschnitt__kopf h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem);
  color: var(--pergament);
  margin-bottom: 0.5rem;
}

.tn-abschnitt__kopf p {
  color: var(--text-leise);
  font-size: 1.15rem;
}

.tn-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.tn-karte {
  background: linear-gradient(145deg, rgba(38, 36, 39, 0.65), rgba(20, 19, 20, 0.85));
  border: 1px solid rgba(200, 169, 92, 0.22);
  border-radius: 12px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.tn-karte::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.tn-karte:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 169, 92, 0.5);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(200, 169, 92, 0.2);
}

.tn-karte:hover::before {
  opacity: 1;
}

.tn-karte__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.tn-karte__stadt {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hell);
  background: rgba(200, 169, 92, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.tn-karte__zyklus {
  font-size: 0.85rem;
  color: var(--text-sehr-leise);
  font-style: italic;
}

.tn-karte__name {
  font-size: 1.45rem;
  color: var(--pergament);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.tn-karte__ort {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.tn-karte__beschreibung {
  font-size: 1.05rem;
  color: var(--text-leise);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.tn-karte__fuss {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 169, 92, 0.15);
  font-size: 0.95rem;
}

.tn-karte__spiele {
  color: var(--text-sehr-leise);
}

/* Reddit & Community Callout */
.tn-community {
  background: radial-gradient(80% 80% at 50% 0%, rgba(200, 169, 92, 0.12), transparent 70%), rgba(28, 27, 29, 0.9);
  border: 1px solid rgba(200, 169, 92, 0.35);
  border-radius: 14px;
  padding: 2.2rem;
  margin: 3.5rem 0;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.tn-community h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  margin-bottom: 0.6rem;
  color: var(--pergament);
}

.tn-community p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--text-leise);
  font-size: 1.1rem;
}

.tn-community__knöpfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Ratgeber-Regeln */
.tn-regeln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.tn-regel {
  background: rgba(28, 27, 29, 0.5);
  border-left: 2px solid var(--gold);
  padding: 1.2rem 1.4rem;
  border-radius: 0 8px 8px 0;
}

.tn-regel__nr {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.tn-regel h4 {
  font-size: 1.3rem;
  color: var(--pergament);
  margin: 0 0 0.5rem;
}

.tn-regel p {
  font-size: 1.05rem;
  color: var(--text-leise);
  line-height: 1.5;
}

/* Zurück-Link */
.tn-zurueck {
  margin-bottom: 1.5rem;
}

.tn-zurueck a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-hell);
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.tn-zurueck a:hover {
  transform: translateX(-3px);
}
