/* ========================================================
   WDB Ticket Guide v2
   Shortcode: [wdb_guide id="X"]
======================================================== */

.wdb-guide-wrap {
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 40px;
}

@media (max-width: 767px) {

.wdb-guide-wrap {
   margin-top: 0px;
}
}



/* ── Navigation ── */
.wdb-guide-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    min-height: 40px;
}

.wdb-guide-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #636363;
    border-radius: 50px;
    color: #ffffff;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 6px 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.wdb-guide-back:hover {
    border-color: #AB9962;
    color: #AB9962;
}

.wdb-guide-progress {
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.4);
}

/* ── Screen ── */
.wdb-guide-screen {
    width: 100%;
}

/* ── Fragetext ── */
.wdb-guide-frage-text {
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.3;
    text-align: center;
}

/* ── Antwort-Buttons ── */
.wdb-guide-antworten {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 24px;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {

.wdb-guide-antworten {

    gap: 20px;

}

}



/* Text-Button */
.wdb-guide-btn {
    background-color: #AB9962;
    color: #ffffff !important;
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    border-radius: 50px;
    height: 50px;
    padding: 0 50px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    flex: 1;
    min-width: 200px;
}

.wdb-guide-btn:hover {
    background-color: #786C44;
    box-shadow: 0 6px 28px rgba(171, 153, 98, 0.55);
}

.wdb-guide-btn::after {
    content: "";
    display: block;
    width: 1.4em;
    height: 1.4em;
    min-width: 1.4em;
    border-radius: 50%;
    background-color: #786C44;
    background-image: var(--wpr-bg-0b51b703-7408-455e-b3e7-b84483ab0020);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    position: absolute;
    right: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.wdb-guide-btn:hover::after {
    transform: translateX(4px);
}

/* ── Kachel-Button ── */
.wdb-guide-kachel-btn {
    flex: 1;
    min-width: 200px;
    max-width: 340px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================================
   MOBIL – HÖHE FIX HALTEN
======================================================== */

@media (max-width: 767px) {

    .wdb-guide-kachel-btn {
        height: 250px;
        min-height: 200px;
        max-height: 250px;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

}

.wdb-guide-kachel-btn:hover {
    transform: none;
    box-shadow: none;
}

.wdb-guide-kachel-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transition: none;
}

.wdb-guide-kachel-btn:hover .wdb-guide-kachel-img {
    transform: none;
}

.wdb-guide-kachel-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: background 0.5s ease;
}

.wdb-guide-kachel-btn:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.wdb-guide-kachel-label {
    position: relative;
    z-index: 2;
    background-color: #AB9962;
    color: #ffffff;
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    border-radius: 50px;
    height: 50px;
    padding: 0 50px 0 24px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.wdb-guide-kachel-btn:hover .wdb-guide-kachel-label {
    background-color: #786C44;
}

.wdb-guide-kachel-label::after {
    content: "";
    display: block;
    width: 1.4em;
    height: 1.4em;
    min-width: 1.4em;
    border-radius: 50%;
    background-color: #786C44;
    background-image: var(--wpr-bg-f7df1a9a-128f-419f-be79-75685ccb89a5);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    position: absolute;
    right: 8px;
    transition: background-color 0.3s ease;
}

.wdb-guide-kachel-btn:hover .wdb-guide-kachel-label::after {
    background-color: #786C44;
}

/* ── Personen-Frage (Headline über Accordion) ── */
.wdb-guide-personen-frage {
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 24px;
    text-align: center;
}

/* ── Personen-Accordion ── */
.wdb-guide-personen-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.wdb-guide-personen-item {
    width: 100%;
}

/* Header = Button im wdb-btn-standard-Look, volle Breite */
.wdb-guide-personen-header {
    width: 100%;
    background-color: #AB9962;
    color: #ffffff;
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    border-radius: 50px;
    height: 50px;
    padding: 0 50px 0 24px;
    border: none;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wdb-guide-personen-header:hover {
    background-color: #786C44;
    box-shadow: 0 6px 28px rgba(171, 153, 98, 0.55);
}

.wdb-guide-personen-label {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Pfeil rechts (analog .wdb-guide-btn::after) */
.wdb-guide-personen-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 1.4em;
    height: 1.4em;
    min-width: 1.4em;
    border-radius: 50%;
    background-color: #786C44;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wdb-guide-personen-arrow svg {
    width: 55%;
    height: 55%;
    display: block;
}

/* Offen: Pfeil rotiert nach unten */
.wdb-guide-personen-item.is-open .wdb-guide-personen-arrow {
    transform: translateY(-50%) rotate(0deg);
}

/* Panel (Container für die Tickets) */
.wdb-guide-personen-panel {
    display: none;
    overflow: hidden;
    height: 0;
    width: 100%;
}

.wdb-guide-personen-panel-inner {
    padding: 0 0 10px 0;
}

/* ── Personen-Buttons (LEGACY – falls noch irgendwo verwendet) ── */
.wdb-guide-personen-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wdb-guide-personen-btn {
    flex: 0 0 auto !important;
    min-width: 60px !important;
    width: auto !important;
    padding: 0 20px !important;
}

.wdb-guide-personen-btn::after {
    display: none !important;
}

/* ── Ergebnis ── */
.wdb-guide-ergebnis-screen {
    margin-top: 8px;
}

.wdb-guide-kat-group {
    margin-bottom: 40px;
}

.wdb-guide-kat-title {
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--e-global-color-accent);
    margin: 0 0 16px;
}

/* ── Status ── */
.wdb-guide-loading,
.wdb-guide-no-results,
.wdb-guide-error {
    font-family: "Neue Haas Unica W1G", sans-serif;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    padding: 20px 0;
}

.wdb-guide-error { color: #A02E29; }

/* ── Tablet ── */
@media (max-width: 1200px) {
    .wdb-guide-btn {
        font-size: 2rem;
        height: 40px;
    }
    .wdb-guide-personen-header {
        font-size: 2rem;
        height: 40px;
    }
}

/* ── Mobil ── */
@media (max-width: 768px) {
    .wdb-guide-antworten {
        flex-direction: column;
    }
    .wdb-guide-btn {
        min-width: unset;
        width: 100%;
        flex: none;
    }
    .wdb-guide-kachel-btn {
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }
}


/* ========================================================
   GUIDE – Ticket + Kategorie Item
======================================================== */

.wdb-guide-ticket-item,
.wdb-guide-kat-item {
    padding: 50px 0;
    border-bottom: 1px solid #707070;
}

.wdb-guide-kat-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Linke Spalte: 70% */
.wdb-guide-kat-content {
    flex: 0 0 70%;
    width: 70%;
}

.wdb-guide-kat-name {
    color: #ffffff;
    margin-bottom: 10px;

}

.wdb-guide-kat-desc {

}

/* Rechte Spalte: Buttons */
.wdb-guide-kat-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

/* Mobil */
@media (max-width: 768px) {
    .wdb-guide-kat-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .wdb-guide-kat-content {
        flex: none;
        width: 100%;
    }
    
    .wdb-guide-kat-actions {
        flex: none;
      width: 100%;
    }
    
}
/* ── Button Forestgreen (nicht klickbar) ── */
.wdb-btn-forestgreen {
    pointer-events: none;
    cursor: default;
}

/* ── Ticket-Fotos Galerie ── */
.wdb-guide-ticket-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.wdb-guide-ticket-foto {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: #2a2a2a;
    display: block;
 
}

.wdb-guide-ticket-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dots-Container: Desktop ausblenden */
.wdb-guide-ticket-fotos-dots {
    display: none;
}

/* ── Mobil: Horizontaler Slider mit Snap + Dots ── */
@media (max-width: 768px) {

    /* Grid → Flex-Row mit horizontalem Scroll */
    .wdb-guide-ticket-fotos {
        display: flex;
        flex-direction: row;
        grid-template-columns: none;
        gap: 0;
        margin-top: 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .wdb-guide-ticket-fotos::-webkit-scrollbar {
        display: none; /* Safari/Chrome */
    }

    /* Jedes Foto nimmt volle Breite ein, Snap am Anfang */
    .wdb-guide-ticket-foto {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* Dots-Container */
    .wdb-guide-ticket-fotos-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        padding: 0;
        list-style: none;
    }

    .wdb-guide-ticket-fotos-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .wdb-guide-ticket-fotos-dot.is-active {
        background-color: #AB9962;
        transform: scale(1.2);
    }
}