/* Wunschkonzert — Theme
   Navy aus dem Logo (#292d6f), Akzent Gold („Sternenstaub"), Lato self-hosted. */

@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/LatoLatin-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/LatoLatin-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/LatoLatin-Black.woff2') format('woff2'); }

:root {
    --wk-navy: #292d6f;
    --wk-navy-soft: #3d4290;
    --wk-gold: #e9b44c;
    --wk-gold-deep: #d9a032;
    --wk-ink: #23244d;
    --wk-bg: #ffffff;
    --wk-surface: #f5f5fa;
    --wk-line: #e3e3ee;
    --wk-radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--wk-ink);
    background: var(--wk-bg);
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

a { color: var(--wk-navy); }

.site-header {
    padding: 1.5rem clamp(1rem, 5vw, 3rem);
    border-bottom: 1px solid var(--wk-line);
}
.site-logo { height: 42px; width: auto; display: block; }

.site-main {
    flex: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 5vw, 2rem) 4rem;
}

.site-footer {
    border-top: 1px solid var(--wk-line);
    padding: 1.25rem clamp(1rem, 5vw, 3rem);
    font-size: 0.85rem;
    color: #6b6c8a;
}
.site-footer a { color: inherit; }

h1 { font-weight: 900; color: var(--wk-navy); font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.15; }
h2 { font-weight: 700; color: var(--wk-navy); }

/* Hero */
.hero { padding: 2.5rem 0 1rem; }
.hero-sub { font-size: 1.15rem; max-width: 34em; }

/* Kampagnenliste */
.wk-campaign-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.wk-campaign-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--wk-surface);
    border: 1px solid var(--wk-line);
    border-radius: var(--wk-radius);
    padding: 1rem 1.25rem;
}
.wk-campaign-list a {
    text-decoration: none;
    font-size: 1.1rem;
    flex: 1;
}
.wk-campaign-list a:hover strong { text-decoration: underline; }
.wk-campaign-list-count {
    font-weight: 700;
    color: var(--wk-navy);
    white-space: nowrap;
}
.wk-badge {
    background: var(--wk-gold);
    color: var(--wk-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* Kampagnenseite */
.wk-campaign h1 { margin-bottom: 0.5rem; }
.wk-campaign-description { font-size: 1.1rem; }

.wk-progress {
    height: 18px;
    background: var(--wk-surface);
    border: 1px solid var(--wk-line);
    border-radius: 999px;
    overflow: hidden;
    margin: 1.75rem 0 0.5rem;
}
.wk-progress-bar {
    height: 100%;
    min-width: 6px;
    background: linear-gradient(90deg, var(--wk-gold-deep), var(--wk-gold));
    border-radius: 999px;
    transition: width 0.6s ease;
}
.wk-progress-label { margin-top: 0; color: #55568a; }
.wk-progress-label strong { color: var(--wk-navy); font-size: 1.15em; }

/* Formular */
form[data-request] { margin-top: 1.5rem; display: grid; gap: 0.5rem; max-width: 26rem; }
form[data-request] label { font-size: 0.9rem; color: #55568a; }
form[data-request] input[type="email"] {
    font: inherit;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--wk-line);
    border-radius: var(--wk-radius);
    background: var(--wk-bg);
}
form[data-request] input[type="email"]:focus { outline: 2px solid var(--wk-navy-soft); border-color: transparent; }
form[data-request] button {
    font: inherit;
    font-weight: 900;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: var(--wk-radius);
    background: var(--wk-gold);
    color: var(--wk-navy);
    cursor: pointer;
}
form[data-request] button:hover { background: var(--wk-gold-deep); }

/* Danke-Box */
.wk-thanks {
    margin-top: 1.5rem;
    background: var(--wk-surface);
    border: 1px solid var(--wk-line);
    border-left: 4px solid var(--wk-gold);
    border-radius: var(--wk-radius);
    padding: 1rem 1.25rem;
}
.wk-referral-link {
    display: block;
    padding: 0.5rem 0.75rem;
    background: var(--wk-bg);
    border: 1px dashed var(--wk-line);
    border-radius: 6px;
    word-break: break-all;
    font-size: 0.9rem;
}

/* Rechtstexte */
.legal { font-size: 0.95rem; }
.legal .placeholder { background: #fff3d6; padding: 0 0.3em; border-radius: 3px; }

/* Kampagnen-Layout: Hero-Ticket + Signal-Spalte */
.wk-campaign {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
.wk-campaign__hero { flex: 0 0 auto; margin: 0 auto; }
.wk-campaign__main { flex: 1 1 320px; min-width: 280px; }
.wk-campaign__main h1 { margin-top: 0; }

/* ============================================================
   Wunsch-Ticket (holografisch) — nach uiverse.io/dexter-st,
   namespaced auf .wk-ticket__* + eigene Keyframes/Filter-ID.
   ============================================================ */
.wk-ticket {
    --width: 180px;
    --height: 320px;
    --perforation-size: 12px;
    --cutouts-adjust: 70px;

    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    grid-template-areas: "header" "body" "footer";

    width: var(--width);
    height: var(--height);
    padding: var(--perforation-size) 0;

    font-family: 'Lato', system-ui, sans-serif;
    font-size: 1rem;
    user-select: none;
    overflow: hidden;

    filter: drop-shadow(0 2px 1px #00000025) drop-shadow(0 4px 3px #00000025)
        drop-shadow(0 10px 9px #00000025) drop-shadow(0 20px 20px #00000025)
        drop-shadow(0 40px 40px #00000025);
    animation: wk-ticket-hover 3s ease infinite;
    will-change: transform, filter;
}

@keyframes wk-ticket-hover {
    50% {
        filter: drop-shadow(0 4px 3px #00000015) drop-shadow(0 6px 6px #00000015)
            drop-shadow(0 16px 14px #00000015) drop-shadow(0 30px 28px #00000015)
            drop-shadow(0 60px 60px #00000015);
        transform: translateY(-7px) scale(1.02);
    }
}

.wk-ticket__filter { position: absolute; }

.wk-ticket__bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: #fff;
    filter: url(#wk-ticket-bump);
    mask:
        radial-gradient(circle at 50% 0, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
        radial-gradient(circle at 50% 100%, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
        radial-gradient(circle 8px at left center, #000 98%, #0000 100%),
        radial-gradient(circle 8px at right center, #000 98%, #0000 100%),
        repeating-linear-gradient(90deg, #000 10px, #000 15px, #0000 16px, #0000 24px);
    mask-repeat: repeat-x, repeat-x, no-repeat, no-repeat, repeat-x;
    mask-size:
        calc(var(--perforation-size) * 2) 100%,
        calc(var(--perforation-size) * 2) 100%,
        16px 16px, 16px 16px, 10px 2px;
    mask-position:
        calc(0.5 * var(--perforation-size)) top,
        calc(0.5 * var(--perforation-size)) bottom,
        left var(--cutouts-adjust),
        right var(--cutouts-adjust),
        0 calc(var(--cutouts-adjust) + 7px);
    mask-composite: intersect, exclude, add, add;
}

.wk-ticket__holographic {
    background-image: linear-gradient(to bottom, #fe58, 90%, #0002),
        conic-gradient(at 60% 50%, #ccc, #ff6bfe, #00f9f8, #ddd, #0081fd, #eef0bc, #0081fd, #ff6bfe, #0002, #0081fd, #ddd, #01fefb, #ccc);
}
.wk-ticket__holographic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 70% 20%, #f0f, #0000),
        repeating-radial-gradient(circle at 30% 80%, #fff, #f4a 48px, #eeeeee 150px);
    mix-blend-mode: color-burn;
}
.wk-ticket__holographic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, #f205, #f00, #0f0, #f205);
    mix-blend-mode: difference;
    animation: wk-ticket-bgpos 3s ease-in-out infinite alternate;
    background-position: 0 0;
    background-size: 100% 300%;
    background-repeat: repeat;
}
@keyframes wk-ticket-bgpos {
    to { background-position: 0 500px; }
}

.wk-ticket__header {
    position: relative;
    grid-area: header;
    margin: 0 8px;
    text-align: center;
    z-index: 1;
    font-family: 'Impact', 'Lato', sans-serif;
    font-size: 2.1rem;
    letter-spacing: 1px;
    color: #ffffff9f;
    text-shadow: 0 0 0 #000;
    -webkit-text-stroke: #fff 0.5px;
    mix-blend-mode: difference;
}

.wk-ticket__body {
    grid-area: body;
    margin: 0 1em;
    padding: 0.5em;
    font-weight: 200;
    z-index: 1;
}

.wk-ticket__footer {
    grid-area: footer;
    z-index: 1;
    margin: 0 1em 1em 1em;
}

.wk-ticket__number {
    margin-bottom: 0.75rem;
    text-align: center;
    border-radius: 999px 0;
    color: #000;
    font-weight: 200;
}
.wk-ticket__number .wk-ticket__bold { font-weight: 600; }

.wk-ticket__barcode {
    justify-self: center;
    width: 0;
    height: 32px;
    box-shadow:
        0px 0 0 1px #000, 5px 0 0 1px #000, 7px 0 0 1px #000, 11px 0 0 1px #000,
        15px 0 0 1px #000, 16px 0 0 1px #000, 22px 0 0 1px #000, 27px 0 0 1px #000,
        30px 0 0 1px #000, 35px 0 0 1px #000, 36px 0 0 1px #000, 39px 0 0 1px #000,
        43px 0 0 1px #000, 47px 0 0 1px #000, 50px 0 0 1px #000, 55px 0 0 1px #000,
        59px 0 0 1px #000, 60px 0 0 1px #000, 64px 0 0 1px #000, 69px 0 0 1px #000,
        70px 0 0 1px #000, 74px 0 0 1px #000;
    transform: translateX(37px);
}

.wk-ticket__symbol {
    position: absolute;
    top: 1.3em;
    right: 0px;
    rotate: 185deg;
    font-size: 1.1em;
    color: #fff;
    line-height: 0.5;
    opacity: 0.2;
}

.wk-ticket__notes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    font-size: 5rem;
    color: #e7e7e7;
    mix-blend-mode: color-burn;
    transform: translateY(20%);
    z-index: 1;
}
.wk-ticket__notes:nth-child(2) { transform: translateY(40%); }
.wk-ticket__notes:nth-child(3) { transform: translateY(60%); }

/* === FLOW-V1: Demo-Vollflow — Zustände, Zahlschritt, Veranstalter-Sicht === */

.wk-state {
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--wk-radius);
    border: 1px solid var(--wk-line);
    background: var(--wk-surface);
}
.wk-state--confirmed { border-color: var(--wk-gold); background: #fdf6e7; }
.wk-state--failed { border-color: #d0d0de; color: #55568a; }
.wk-state--reached { border-color: var(--wk-gold); }
.wk-state--review { border-color: var(--wk-navy-soft); }

.wk-demo-badge {
    display: inline-block;
    background: var(--wk-navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    vertical-align: middle;
}
.wk-demo-badge--big {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}

.wk-reserve__intro { color: #55568a; }
.wk-reserve__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.75rem; }
.wk-btn--secondary,
form[data-request] button.wk-btn--secondary {
    background: var(--wk-surface);
    color: var(--wk-navy);
    border: 1px solid var(--wk-line);
}
.wk-btn--ghost,
form[data-request] button.wk-btn--ghost {
    background: transparent;
    color: #55568a;
    border: none;
    text-decoration: underline;
}

.wk-paydemo {
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px dashed var(--wk-navy-soft);
    border-radius: var(--wk-radius);
    background: var(--wk-surface);
}
.wk-paydemo__card input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--wk-line);
    border-radius: var(--wk-radius);
    background: #fff;
    color: #55568a;
    font-family: monospace;
    margin-bottom: 0.75rem;
}

.wk-badge--bestaetigt { background: var(--wk-navy); color: #fff; }
.wk-badge--gescheitert { background: #d0d0de; color: #55568a; }
.wk-badge--reservierung, .wk-badge--erreicht { background: var(--wk-gold); }
.wk-badge--review { background: var(--wk-navy-soft); color: #fff; }
.wk-badge--signal { background: var(--wk-surface); color: var(--wk-navy); border: 1px solid var(--wk-line); }

.wk-promoter__intro { color: #55568a; max-width: 60ch; }
.wk-promoter__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.wk-promoter__table th, .wk-promoter__table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--wk-line);
    vertical-align: top;
}
.wk-promoter__table th {
    color: var(--wk-navy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.wk-promoter__note { color: #55568a; font-size: 0.9rem; margin-top: 1rem; }

.wk-signal-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.wk-signal-badge--watch { background: var(--wk-surface); color: #55568a; border: 1px solid var(--wk-line); }
.wk-signal-badge--warm { background: #fdf6e7; color: var(--wk-gold-deep); border: 1px solid var(--wk-gold); }
.wk-signal-badge--go { background: var(--wk-gold); color: var(--wk-navy); }
.wk-signal-badge--done { background: var(--wk-navy); color: #fff; }
.wk-signal-badge--failed { background: #d0d0de; color: #55568a; }

@media (max-width: 760px) {
    .wk-promoter { overflow-x: auto; }
    .wk-promoter__table { min-width: 720px; }
}
