/* Die 13. Stunde: Startseitenbereich und Landingpage /halloween/.
   Bilder sind Ludo-Assets und echte Spielszenen; CSS rahmt, skaliert und dunkelt
   für die Lesbarkeit ab, es zeichnet und färbt nichts um. */
@font-face { font-family: 'H13 Cinzel Decorative'; src: url('fonts/cinzel-decorative.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'H13 Cinzel'; src: url('fonts/cinzel.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

.h13 {
  --h13-night: #0e0820;
  --h13-plum: #1d0f31;
  --h13-plum-2: #2a1645;
  --h13-gold: #f2c46d;
  --h13-gold-2: #e3a43a;
  --h13-text: #f4eefc;
  --h13-muted: #d2c6e6;
  --h13-line: rgba(242, 196, 109, .28);
  color: var(--h13-text);
  position: relative;
  z-index: 1;
}
.h13 *, .h13 *::before, .h13 *::after { box-sizing: border-box; }
.h13 img { display: block; max-width: 100%; height: auto; }

.h13-display { font-family: 'H13 Cinzel Decorative', 'H13 Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .02em; }
.h13-serif { font-family: 'H13 Cinzel', Georgia, serif; }

.h13-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--h13-line); background: rgba(14, 8, 32, .72);
  color: var(--h13-gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 14px;
}
.h13-kicker img { width: 18px; height: 18px; }

.h13-title {
  margin: 0; font-size: clamp(2.3rem, 9vw, 4.6rem); line-height: 1.18;
  color: var(--h13-gold);
  text-shadow: 0 2px 0 #5b3410, 0 6px 26px rgba(0, 0, 0, .65);
}
.h13-sub { margin: 12px 0 0; font-size: clamp(1.15rem, 4.4vw, 1.6rem); font-weight: 700; line-height: 1.3; color: var(--h13-text); }
.h13-text { margin: 14px 0 0; font-size: 1rem; line-height: 1.6; color: var(--h13-muted); max-width: 36rem; }

.h13-free {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 0; padding: 10px 14px; border-radius: 14px;
  background: rgba(14, 8, 32, .78); border: 1px solid var(--h13-line);
  font-weight: 800; color: var(--h13-text); font-size: 1rem; line-height: 1.35; max-width: 34rem;
}
.h13-free img { width: 34px; height: 34px; flex: 0 0 34px; }

.h13-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.h13-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.h13-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.h13-btn--primary {
  color: #1c1004; background: linear-gradient(180deg, #ffd98a, var(--h13-gold-2));
  box-shadow: 0 0 0 1px #8a5a1a inset, 0 10px 28px rgba(227, 164, 58, .35);
}
.h13-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #8a5a1a inset, 0 14px 34px rgba(227, 164, 58, .5); }
.h13-btn--ghost { color: var(--h13-text); background: rgba(14, 8, 32, .7); border: 1px solid rgba(242, 196, 109, .55); }
.h13-btn--ghost:hover { background: rgba(42, 22, 69, .9); }
@media (max-width: 479px) { .h13-actions .h13-btn { width: 100%; } }

.h13-frame {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(242, 196, 109, .45);
  box-shadow: 0 0 0 4px rgba(14, 8, 32, .9), 0 0 0 5px rgba(242, 196, 109, .25), 0 24px 60px rgba(0, 0, 0, .6);
  background: var(--h13-night);
}
.h13-frame img { width: 100%; }
.h13-caption { margin: 0; padding: 8px 12px; font-size: 13px; line-height: 1.4; color: var(--h13-muted); background: rgba(14, 8, 32, .95); }

/* ================= Startseite ================= */
.h13-home { padding: 8px 0 0; }
.h13-home__stage {
  position: relative; overflow: hidden;
  max-width: 72rem; margin: 0 auto; border-radius: 0;
  background: var(--h13-night);
  border-top: 1px solid var(--h13-line); border-bottom: 1px solid var(--h13-line);
}
.h13-home__bg { position: relative; display: block; aspect-ratio: 800 / 460; }
.h13-home__bg img { width: 100%; height: 100%; object-fit: cover; }
.h13-home__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 8, 32, 0) 45%, var(--h13-night) 100%);
}
.h13-home__inner { position: relative; padding: 0 20px 24px; margin-top: -48px; }
.h13-home__shot { margin-top: 26px; }
.h13-figs {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px;
}
.h13-figs li { text-align: center; }
.h13-figs img { width: 100%; max-width: 72px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.h13-figs span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.25; color: var(--h13-muted); hyphens: auto; -webkit-hyphens: auto; }

@media (min-width: 768px) {
  .h13-home { padding: 24px 20px 8px; }
  .h13-home__stage { border-radius: 24px; border: 1px solid var(--h13-line); min-height: 560px; }
  .h13-home__bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .h13-home__bg::after {
    background:
      linear-gradient(90deg, rgba(14, 8, 32, .96) 0%, rgba(14, 8, 32, .86) 42%, rgba(14, 8, 32, .25) 70%, rgba(14, 8, 32, .1) 100%),
      linear-gradient(180deg, rgba(14, 8, 32, 0) 60%, rgba(14, 8, 32, .9) 100%);
  }
  .h13-home__inner { margin-top: 0; padding: 44px 40px 32px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: center; }
  .h13-home__shot { margin-top: 0; }
  .h13-figs { grid-column: 1 / -1; margin-top: 4px; max-width: 34rem; }
}
@media (min-width: 1200px) {
  .h13-home__inner { padding: 56px 56px 36px; }
}

/* ================= Landingpage ================= */
.h13-page { background: var(--h13-night); overflow: hidden; }
.h13-wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
.h13-section { position: relative; padding: 56px 0; border-top: 1px solid rgba(242, 196, 109, .14); }
.h13-section--alt { background: linear-gradient(180deg, var(--h13-plum) 0%, var(--h13-night) 100%); }
.h13-h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 5.6vw, 2.5rem); line-height: 1.15; color: var(--h13-gold); }
.h13-lead { margin: 0 0 28px; font-size: 1.05rem; line-height: 1.6; color: var(--h13-muted); max-width: 46rem; }
.h13-h3 { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.3; font-weight: 800; color: var(--h13-text); }
.h13-p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--h13-muted); }
.h13-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .h13-grid--2, .h13-grid--3, .h13-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h13-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .h13-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h13-card {
  position: relative; padding: 20px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(42, 22, 69, .85), rgba(20, 11, 38, .95));
  border: 1px solid rgba(242, 196, 109, .2);
}
.h13-card__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 10px; }
.h13-points { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #1c1004; background: var(--h13-gold); }

/* 1 Hero */
.h13-hero { position: relative; background: var(--h13-night); }
.h13-hero__bg { position: relative; display: block; aspect-ratio: 800 / 460; }
.h13-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.h13-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 32, 0) 40%, var(--h13-night) 100%); }
.h13-hero__inner { position: relative; margin-top: -40px; padding-bottom: 48px; }
.h13-h1 { margin: 0; }
.h13-h1 .h13-title { display: block; }
.h13-h1__sub { display: block; margin-top: 12px; font-family: inherit; font-size: clamp(1.15rem, 4.4vw, 1.6rem); line-height: 1.3; font-weight: 800; color: var(--h13-text); letter-spacing: 0; }
.h13-claim { margin: 16px 0 0; font-size: clamp(1.05rem, 3.8vw, 1.3rem); font-weight: 800; color: var(--h13-gold); }
.h13-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.h13-facts li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--h13-text); background: rgba(14, 8, 32, .8); border: 1px solid rgba(242, 196, 109, .3); }
@media (min-width: 768px) {
  .h13-hero { min-height: 620px; display: flex; align-items: center; }
  .h13-hero__bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .h13-hero__bg::after {
    background:
      linear-gradient(90deg, rgba(14, 8, 32, .95) 0%, rgba(14, 8, 32, .82) 45%, rgba(14, 8, 32, .2) 75%, rgba(14, 8, 32, .05) 100%),
      linear-gradient(180deg, rgba(14, 8, 32, 0) 70%, var(--h13-night) 100%);
  }
  .h13-hero__inner { margin-top: 0; padding: 64px 20px; width: 100%; }
  .h13-hero__copy { max-width: 40rem; }
}

/* 3 Screenshots */
.h13-shots { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .h13-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h13-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h13-shots--wide { margin-bottom: 18px; }
.h13-phones { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .h13-phones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h13-phones .h13-frame { border-radius: 22px; }

/* 4 Brett */
.h13-legend { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .h13-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h13-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h13-legend li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(42, 22, 69, .6); border: 1px solid rgba(242, 196, 109, .14); }
.h13-legend img { width: 48px; height: 48px; flex: 0 0 48px; }
.h13-legend strong { display: block; color: var(--h13-text); font-size: .95rem; }
.h13-legend span { display: block; color: var(--h13-muted); font-size: .88rem; line-height: 1.45; }

/* 5 Bereiche */
.h13-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: area; }
@media (min-width: 640px) { .h13-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .h13-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h13-area { border-radius: 16px; overflow: hidden; background: rgba(42, 22, 69, .7); border: 1px solid rgba(242, 196, 109, .2); }
.h13-area img { width: 100%; aspect-ratio: 560 / 322; object-fit: cover; }
.h13-area__body { padding: 14px 16px 16px; }
.h13-area__no { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--h13-gold); margin-bottom: 4px; }

/* 6 Ereignisse */
.h13-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .h13-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .h13-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h13-cards li { border-radius: 14px; overflow: hidden; background: rgba(42, 22, 69, .7); border: 1px solid rgba(242, 196, 109, .2); }
.h13-cards img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.h13-cards .h13-card__text { padding: 10px 12px 14px; }
.h13-cards .h13-h3 { font-size: 1rem; }
.h13-cards .h13-p { font-size: .88rem; }

/* Zweispaltige Abschnitte */
.h13-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .h13-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } .h13-split--rev > :first-child { order: 2; } }
.h13-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h13-list li { position: relative; padding-left: 26px; color: var(--h13-muted); line-height: 1.55; }
.h13-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--h13-gold); font-weight: 900; }
.h13-list strong { color: var(--h13-text); }

/* 8 Uhr */
.h13-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h13-hours li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(42, 22, 69, .65); border: 1px solid rgba(242, 196, 109, .16); }
.h13-hours img { width: 64px; height: 85px; object-fit: cover; border-radius: 8px; }
.h13-hour { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--h13-gold); }
.h13-modes { margin-top: 28px; }

/* 9 Boss */
.h13-boss { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.h13-boss__fig { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(139, 92, 246, .35)); }
@media (min-width: 900px) { .h13-boss { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
.h13-endings { margin-top: 18px; }

/* 10 Schritte */
.h13-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
@media (min-width: 768px) { .h13-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .h13-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h13-steps li { counter-increment: step; position: relative; padding: 20px 18px 18px 18px; border-radius: 16px; background: rgba(42, 22, 69, .75); border: 1px solid rgba(242, 196, 109, .22); }
.h13-steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%;
  font-family: 'H13 Cinzel', Georgia, serif; font-weight: 900; font-size: 1.2rem;
  color: #1c1004; background: var(--h13-gold);
}
.h13-note { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(14, 8, 32, .8); border: 1px solid var(--h13-line); color: var(--h13-text); line-height: 1.5; }

/* 11 Preise */
.h13-plans { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .h13-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h13-plan { padding: 24px; border-radius: 20px; background: linear-gradient(160deg, rgba(42, 22, 69, .9), rgba(20, 11, 38, .95)); border: 1px solid rgba(242, 196, 109, .25); display: flex; flex-direction: column; }
.h13-plan--free { border-color: rgba(242, 196, 109, .7); box-shadow: 0 0 0 1px rgba(242, 196, 109, .35), 0 20px 50px rgba(0, 0, 0, .45); }
.h13-plan__price { margin: 6px 0 14px; font-size: 1.9rem; font-weight: 900; color: var(--h13-text); }
.h13-plan__price small { font-size: .95rem; font-weight: 700; color: var(--h13-muted); }
.h13-plan .h13-list { margin-bottom: 20px; }
.h13-plan .h13-actions { margin-top: auto; }
.h13-table-wrap { margin-top: 18px; overflow-x: auto; }
.h13-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.h13-table th, .h13-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(242, 196, 109, .15); color: var(--h13-muted); }
.h13-table th { color: var(--h13-text); }
.h13-small { margin: 14px 0 0; font-size: .88rem; line-height: 1.5; color: var(--h13-muted); }
.h13-link { color: var(--h13-gold); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.h13-link:hover { color: #fff; }

/* 12 FAQ */
.h13-faq { display: grid; gap: 10px; max-width: 52rem; }
.h13-faq details { border-radius: 14px; background: rgba(42, 22, 69, .7); border: 1px solid rgba(242, 196, 109, .18); }
.h13-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; color: var(--h13-text); line-height: 1.4; list-style: none; }
.h13-faq summary::-webkit-details-marker { display: none; }
.h13-faq summary::after { content: '+'; float: right; margin-left: 12px; color: var(--h13-gold); font-weight: 900; }
.h13-faq details[open] summary::after { content: '−'; }
.h13-faq .h13-p { padding: 0 18px 16px; }

/* 13 Abschluss */
.h13-final { position: relative; padding: 0; text-align: center; }
.h13-final__bg { position: relative; display: block; aspect-ratio: 640 / 368; }
.h13-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.h13-final__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 32, .2) 0%, var(--h13-night) 100%); }
.h13-final__inner { position: relative; margin-top: -30px; padding: 0 20px 64px; }
.h13-final .h13-actions { justify-content: center; }
@media (min-width: 768px) {
  .h13-final { min-height: 480px; display: flex; align-items: center; justify-content: center; }
  .h13-final__bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .h13-final__bg::after { background: radial-gradient(ellipse at center, rgba(14, 8, 32, .82) 0%, rgba(14, 8, 32, .7) 45%, rgba(14, 8, 32, .35) 100%); }
  .h13-final__inner { margin-top: 0; padding: 64px 20px; }
}
.h13-related { padding: 28px 0 40px; text-align: center; font-size: .92rem; color: var(--h13-muted); }
.h13-related a { color: var(--h13-gold); margin: 0 8px; }

@media (prefers-reduced-motion: reduce) { .h13-btn { transition: none; } }

/* Tablet: der Titel reicht weiter in das Bild, daher kräftiger abdunkeln. */
@media (min-width: 768px) and (max-width: 1099px) {
  .h13-hero__bg::after {
    background:
      linear-gradient(90deg, rgba(14, 8, 32, .95) 0%, rgba(14, 8, 32, .88) 60%, rgba(14, 8, 32, .55) 85%, rgba(14, 8, 32, .35) 100%),
      linear-gradient(180deg, rgba(14, 8, 32, 0) 70%, var(--h13-night) 100%);
  }
}
