/*
 * NhPanel – Seite der Event-Server (/event-server). Vorlage: Resources/views/event/page.twig. Alle Regeln unter .nhev.
 *
 * Leitbild wie die Börse (boerse.css): ruhige Angebotsübersicht im Shop-Design. Weiße Flächen, feine Linien, DM Sans,
 * Nexthosting-Blau nur für Anklickbares, tabellarische Ziffern, der Preis ist das Lauteste einer Spalte.
 * Keine Leuchteffekte, keine Pillen, kein Ticket-Look.
 * Dunkler Modus: html.nh-dark (Schalter des Shops) – nur die Variablen ändern sich. Alle Farben stehen als Variablen in .nhev,
 * damit der automatische dunkle Zwilling (DarkCss) von html.nh-dark .nhev überstimmt wird.
 */
@font-face{font-family:"NH Sans";src:url("/themes/hw/booking/fonts/dm-sans-v17-latin-regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"NH Sans";src:url("/themes/hw/booking/fonts/dm-sans-v17-latin-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"NH Sans";src:url("/themes/hw/booking/fonts/dm-sans-v17-latin-700.woff2") format("woff2");font-weight:600 800;font-display:swap}

.nhev, .nhev * { box-sizing: border-box; }
.nhev {
    --ink: #0b1020; --ink-2: #353c50; --muted: #5a6478; --line: #e3e6ef; --row: #eceef4; --head: #f8f9fc; --mist: #f6f7fb;
    --page: #ffffff; --card: #ffffff; --feat: #f5f8ff; --tint: #eaf0ff;
    --link: #1c47bd; --flag: #1c47bd; --btn: #2459e8; --btn-h: #1c47bd; --on-btn: #ffffff; --btn-line: #2459e8;
    --full-bg: #f1f3f8; --full-ink: #5a6478; --err-bg: #fff4f2; --err-line: #f0c4bb; --err-ink: #8a1c12; --focus: #2459e8;
    --shadow: 0 1px 2px rgba(11, 16, 32, .04);
    --sans: "NH Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink); background: var(--page); font: 16px/1.6 var(--sans); text-align: left;
}
html.nh-dark .nhev {
    --ink: #ececee; --ink-2: #c2c2c8; --muted: #a0a0a7; --line: #2a2a2e; --row: #232326; --head: #1a1a1c; --mist: #18181a;
    --page: #121213; --card: #161617; --feat: #191b24; --tint: #1f2235;
    --link: #a9b6ff; --flag: #a9b6ff; --btn: #2459e8; --btn-h: #3366f0; --on-btn: #ffffff; --btn-line: #8b9cff;
    --full-bg: #1e1e21; --full-ink: #a0a0a7; --err-bg: #2a1715; --err-line: #5c2a24; --err-ink: #ffb4a8; --focus: #8b9cff;
    --shadow: none;
}
.nhev ::selection { background: var(--tint); color: var(--ink); }
.nhev p, .nhev h1, .nhev h2, .nhev h3, .nhev dl, .nhev dd, .nhev ol, .nhev ul { margin: 0; }
.nhev ol, .nhev ul { padding: 0; list-style: none; }
.nhev a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.nhev a:hover { text-decoration-thickness: 2px; }
.nhev :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.nhev h1, .nhev h2, .nhev h3 { color: var(--ink); font-family: var(--sans); text-transform: none; text-wrap: balance; text-align: left; }
.nhev-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------------------------------------------------------------- Kopf */
.nhev-top { padding: 2rem 0 2.75rem; }
.nhev-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem !important; font-size: .9rem; color: var(--muted); }
.nhev .nhev-crumbs a { color: var(--muted); text-decoration: none; }
.nhev-crumbs a:hover { text-decoration: underline; }
.nhev-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.nhev-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem); gap: 1.5rem 4.5rem; align-items: end; }
.nhev-top h1 { max-width: 19ch; font-size: clamp(1.9rem, 1.1rem + 2.3vw, 2.9rem); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.nhev-lead { margin-top: 1rem !important; max-width: 40rem; font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }
.nhev-facts { font-size: .94rem; }
.nhev-facts > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .5rem 0; border-bottom: 1px solid var(--row); }
.nhev-facts > div:first-child { border-top: 1px solid var(--row); }
.nhev-facts dt { color: var(--muted); white-space: nowrap; }
.nhev-facts dd { font-weight: 600; color: var(--ink); text-align: right; }

/* ---------------------------------------------------------------- Angebot */
.nhev-offer { padding: 0 0 3.5rem; scroll-margin-top: 80px; }
.nhev-offer h2, .nhev-how h2, .nhev-faq h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.nhev-sub { margin-top: .5rem !important; max-width: 46rem; color: var(--muted); }
.nhev-error { margin-top: 1.25rem !important; padding: .85rem 1rem; border: 1px solid var(--err-line); border-radius: 8px; background: var(--err-bg); color: var(--err-ink); }

.nhev-board { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }

/* Spielwahl */
.nhev-pick { background: var(--head); border-bottom: 1px solid var(--line); }
.nhev-pick ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.nhev-pick li { background: var(--head); }
.nhev-pick__item { display: flex; flex-direction: column; gap: .1rem; min-height: 64px; padding: .8rem 1.25rem; color: var(--ink) !important; text-decoration: none !important; position: relative; }
.nhev-pick__item:hover { background: var(--card); }
.nhev-pick__item:focus-visible { outline-offset: -3px; }
.nhev-pick__name { font-weight: 600; line-height: 1.3; }
.nhev-pick__from { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nhev-pick__item[aria-current="true"] { background: var(--card); }
.nhev-pick__item[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--btn); }
.nhev-pick__item[aria-current="true"] .nhev-pick__name { color: var(--link); }

/* gewähltes Spiel */
.nhev-anchor { display: block; position: relative; top: -100px; visibility: hidden; }
.nhev-pass__main { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; padding: 1.5rem 1.75rem; }
.nhev-pass__img { aspect-ratio: 640 / 440; border-radius: 8px; overflow: hidden; background: var(--mist); }
.nhev-pass__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nhev-pass h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.nhev-pass__rows { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; margin-top: .6rem !important; }
.nhev-pass__rows dt { font-size: .82rem; color: var(--muted); }
.nhev-pass__rows dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.nhev-pass__month { max-width: 21rem; text-wrap: balance; font-size: .92rem; line-height: 1.45; color: var(--muted); text-align: right; }

/* Laufzeit-Spalten */
.nhev-pass__opts { display: grid; grid-template-columns: repeat(var(--nhev-n, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.nhev-stub { display: flex; flex-direction: column; padding: 1.5rem 1.75rem 1.6rem; }
.nhev-stub + .nhev-stub { border-left: 1px solid var(--line); }
.nhev-stub.is-featured { background: var(--feat); }
.nhev-stub__label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.nhev-stub__flag { font-size: .84rem; font-weight: 600; color: var(--flag); }
.nhev-stub__span { margin-top: .1rem !important; font-size: .9rem; color: var(--muted); }
.nhev-stub__price { margin-top: 1.1rem; }
.nhev-stub__amount { font-size: 2.3rem; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nhev-stub__per { margin-top: .3rem !important; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nhev-stub__form { margin: 1.25rem 0 0; }
.nhev-stub__cmp { margin-top: .85rem !important; font-size: .85rem; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.nhev-stub__full { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 1.25rem !important; border-radius: 8px; background: var(--full-bg); color: var(--full-ink); font-weight: 600; cursor: help; }

.nhev-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: .7rem 1.25rem; border: 1px solid var(--btn); border-radius: 8px;
    background: var(--btn); color: var(--on-btn); font: 600 1rem/1.2 var(--sans); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.nhev-btn:hover { background: var(--btn-h); border-color: var(--btn-h); }
.nhev-btn--line { background: transparent; border-color: var(--btn-line); color: var(--link); }
.nhev-btn--line:hover { background: var(--tint); border-color: var(--btn-line); }

.nhev-note { margin-top: .9rem !important; max-width: 60rem; font-size: .88rem; color: var(--muted); }
.nhev-note + .nhev-note { margin-top: .35rem !important; }

/* ---------------------------------------------------------------- Ablauf */
.nhev-how { padding: .5rem 0 3.5rem; scroll-margin-top: 80px; }
.nhev-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 2rem 2rem; margin-top: 1.75rem !important; counter-reset: nhev-s; }
.nhev-step { counter-increment: nhev-s; padding-top: 1rem; border-top: 1px solid var(--line); }
.nhev-step::before { content: counter(nhev-s); display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; margin: 0 0 .75rem;
    border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--link); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.nhev-step h3 { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
.nhev-step p { margin-top: .45rem !important; font-size: .94rem; line-height: 1.55; color: var(--ink-2); }

/* ---------------------------------------------------------------- Weiterspielen */
.nhev-keep { padding: 3.5rem 0 0; }
.nhev-keep__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 4rem; align-items: start; }
.nhev-keep h2 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.6rem); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.nhev-keep p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-2); max-width: 44rem; }

/* ---------------------------------------------------------------- Fragen */
.nhev-faq { padding: 3.5rem 0 4.5rem; }
.nhev-faq__list { max-width: 52rem; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.nhev-q { border-bottom: 1px solid var(--line); }
.nhev-q summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 56px; padding: .9rem 0; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.nhev-q summary::-webkit-details-marker { display: none; }
.nhev-q summary::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-right: .3rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-25%); transition: transform .15s ease; }
.nhev-q[open] summary::after { transform: rotate(-135deg) translateY(-25%); }
.nhev-q summary:hover { color: var(--link); }
.nhev-q p { padding: 0 0 1.1rem; max-width: 46rem; color: var(--ink-2); line-height: 1.65; }

/* ---------------------------------------------------------------- schmal */
@media (max-width: 1080px) {
    .nhev-pick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .nhev-head { grid-template-columns: minmax(0, 1fr); }
    .nhev-pass__main { grid-template-columns: 6rem minmax(0, 1fr); padding: 1.25rem; gap: 1rem 1.1rem; }
    .nhev-pass__month { grid-column: 1 / -1; max-width: none; text-align: left; }
    .nhev-pass__opts { grid-template-columns: minmax(0, 1fr); }
    .nhev-stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 1.15rem 1.25rem 1.25rem; }
    .nhev-stub + .nhev-stub { border-left: 0; border-top: 1px solid var(--line); }
    .nhev-stub__price { margin-top: 0; text-align: right; }
    .nhev-stub__amount { font-size: 1.75rem; }
    .nhev-stub__per { margin-top: .15rem !important; }
    .nhev-stub__form, .nhev-stub__full, .nhev-stub__cmp { grid-column: 1 / -1; }
    .nhev-stub__form { margin-top: .9rem; }
    .nhev-stub__full { margin-top: .9rem !important; }
    .nhev-stub__label { justify-content: flex-start; flex-direction: column; gap: .1rem; }
    .nhev-keep__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .nhev-top { padding: 1.25rem 0 2rem; }
    .nhev-crumbs { margin-bottom: 1.25rem !important; }
    .nhev-pick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nhev-pick__item { min-height: 58px; padding: .65rem 1rem; }
    .nhev-pass__main { grid-template-columns: 4.75rem minmax(0, 1fr); }
    .nhev-pass__info { display: contents; }
    .nhev-pass__rows { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin-top: 0 !important; }
    .nhev-steps { gap: 1.5rem; }
    .nhev-step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .75rem; }
    .nhev-step::before { margin: 0; }
    .nhev-step p { grid-column: 1 / -1; margin-top: .6rem !important; }
    .nhev-offer { padding-bottom: 2.75rem; }
    .nhev-keep { padding-top: 2.75rem; }
    .nhev-how { padding: 0 0 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .nhev-btn, .nhev-q summary::after { transition: none; }
}
