/* ==================================================
   DIE TÜRÖFFNER
   BÜCHERBESTELLUNG MIT 15 BUCHVORSCHAUEN
   ================================================== */


/* 1. Formular über die volle Breite */

.buecherbestellung-breit .wpforms-container,
.buecherbestellung-breit .wpforms-form,
.buecherbestellung-breit .wpforms-field-container,
.buecherbestellung-breit .wpforms-field-checkbox {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


/* 2. Zwei gleich breite Spalten */

.buecherbestellung-breit .wpforms-list-2-columns ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 40px !important;
    row-gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}


/* 3. Buchauswahl formatieren */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}


/* 4. Goldene Informationssymbole */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li::after {
    content: "ⓘ";
    position: absolute;
    right: 2px;
    top: 0;
    color: #c49a25;
    font-size: 23px;
    line-height: 25px;
    cursor: help;
    pointer-events: none;
}


/* 5. Vorschaufenster */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li::before {
    content: "";
    display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: min(620px, 92vw, 120vh);
    aspect-ratio: 3 / 2;

    background-color: white;
    background-image: var(--buchbild, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    border: 2px solid #c49a25;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);

    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
}


/* 6. Vorschau bei Mausberührung */

@media (hover: hover) and (pointer: fine) {

    .buecherbestellung-breit
    .wpforms-list-2-columns ul > li:hover::before {
        opacity: 1;
        visibility: visible;
    }
}


/* Vorschau bei Tastaturbedienung */

@media (min-width: 768px) {

    .buecherbestellung-breit
    .wpforms-list-2-columns ul > li:focus-within::before {
        opacity: 1;
        visibility: visible;
    }
}


/* ==================================================
   7. BILDER DEN 15 BÜCHERN ZUORDNEN
   ================================================== */


/* 01 Transformations-Argumentationspyramide */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(1) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/02_transformations_argumentationspyramide.webp");
}


/* 02 Transformation der kommunalen Verwaltung */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(2) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/03_transformation_kommunale_verwaltung.webp");
}


/* 03 Mitarbeiterbindung in der Transformation */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(3) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/06_mitarbeiterbindung.webp");
}


/* 04 Der interne Arbeitsmarkt */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(4) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/07_interner_arbeitsmarkt.webp");
}


/* 05 Smart City & Smart Region */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(5) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/09_smart_city_smart_region.webp");
}


/* 06 Führung, die wirkt */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(6) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/13_fuehrung_die_wirkt.webp");
}


/* 07 Transformation kommunizieren */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(7) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/15_transformation_kommunizieren.webp");
}


/* 08 Resilienz von Städten und Gemeinden */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(8) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/Resilienz_Buchvorschau_1200.webp");
}


/* 09 Ablaufpläne für die regionale Transformation */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(9) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/14_regionale_transformation.webp");
}


/* 10 Wirtschaftsförderung als regionales
   Transformationsmanagement */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(10) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/05_wirtschaftsfoerderung_transformationsmanagement.webp");
}


/* 11 Wie leben wir 2035? */
/* IN ARBEIT | NUR VORBESTELLUNG */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(11) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/wie-leben-wir-2035-zukunftsimpulse.webp");
}


/* 12 Ladeinfrastruktur für Elektromobilität Band 1 */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(12) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/11_ladeinfrastruktur_band_1.webp");
}


/* 13 Bürgerschaftliches Engagement */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(13) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/08_buergerschaftliches_engagement.webp");
}


/* 14 Ladeinfrastruktur für Elektromobilität Band 2 */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(14) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/10_ladeinfrastruktur_band_2.webp");
}


/* 15 Kommunale Ansiedlungspolitik */

.buecherbestellung-breit
.wpforms-list-2-columns ul > li:nth-child(15) {
    --buchbild: url("https://die-tueroeffner.de/wp-content/uploads/2026/11/12_kommunale_ansiedlungspolitik.webp");
}


/* ==================================================
   8. SMARTPHONE-DARSTELLUNG
   ================================================== */

@media (max-width: 767px) {

    .buecherbestellung-breit
    .wpforms-list-2-columns ul {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }
}


/* Infosymbol auf reinen Touchgeräten ausblenden,
   da die Vorschau dort nicht per Tippen öffnet */

@media (hover: none) {

    .buecherbestellung-breit
    .wpforms-list-2-columns ul > li::after {
        content: none;
    }
}


/* ==================================================
   ENDE DER BÜCHERBESTELLUNG
   ================================================== */