/* ==========================================================
   Gutscheine – Seiteninhalt
   ========================================================== */

.voucher-intro {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 72px;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 70px;
    align-items: start;
}

.voucher-copy {
    max-width: 680px;
}

.voucher-eyebrow {
    margin: 0 0 12px;
    color: #cf682a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.voucher-intro h2,
.voucher-note h2 {
    margin: 0 0 20px;
    color: #281913;
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.voucher-intro h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 16px;
    background: #cf682a;
}

.voucher-lead {
    max-width: 640px;
    margin: 0;
    color: #50433d;
    font-size: 1.08rem;
    line-height: 1.7;
}


/* Vorteile */

.voucher-benefits {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.voucher-benefit {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.voucher-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ded5ce;
    border-radius: 50%;

    background: #f7f3ef;
    color: #5c463c;
}

.voucher-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.voucher-benefit strong {
    display: block;
    margin-bottom: 3px;
    color: #281913;
    font-size: 1rem;
}

.voucher-benefit span {
    display: block;
    color: #70645f;
    font-size: 0.94rem;
    line-height: 1.45;
}


/* Button */

.voucher-button {
    min-height: 54px;
    margin-top: 36px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: var(--fs-button);
    border: 1px solid var(--fs-button);
    border-radius: 4px;

    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.voucher-button:hover {
    background: var(--fs-button-hover);
    border-color: var(--fs-button-hover);
    transform: translateY(-1px);
}


/* Hauptbild */

.voucher-visual {
    align-self: start;
    margin-top: 34px;
    padding: 0;
}

.voucher-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 7;
    object-fit: cover;
    border-radius: 14px;
}


/* ==========================================================
   Zweiter Gutschein-Abschnitt
   ========================================================== */

.voucher-note {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 72px;

    display: grid;
    grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: center;
}

.voucher-note-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 14px;
}

.voucher-note-copy {
    max-width: 590px;
    position: relative;
    top: -20px;
}

.voucher-note-copy p:not(.voucher-eyebrow) {
    margin: 0 0 16px;
    color: #514641;
    font-size: 1rem;
    line-height: 1.7;
}


/* Tablet */

@media (max-width: 900px) {

    .voucher-intro,
    .voucher-note {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .voucher-copy,
    .voucher-note-copy {
        max-width: none;
    }
}


/* Mobile */

@media (max-width: 600px) {

    .voucher-intro {
        padding: 0 0 54px;
        gap: 32px;
    }

    .voucher-note {
        padding: 0 0 54px;
        gap: 32px;
    }

    .voucher-intro h2,
    .voucher-note h2 {
        font-size: 2rem;
    }

    .voucher-lead {
        font-size: 1rem;
    }

    .voucher-benefits {
        margin-top: 28px;
        gap: 20px;
    }

    .voucher-benefit {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .voucher-icon {
        width: 48px;
        height: 48px;
    }

    .voucher-button {
        width: 100%;
        margin-top: 30px;
    }

    .voucher-visual img,
    .voucher-note-image img {
        border-radius: 10px;
    }
}
/* ==========================================================
   Gutschein-Shop Modal
   ========================================================== */

.voucher-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.voucher-modal.is-open {
    display: flex;
}

.voucher-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(32, 19, 14, 0.78);
    backdrop-filter: blur(3px);
}

.voucher-modal-window {
    position: relative;
    z-index: 1;

    width: min(1180px, 96vw);
    height: min(860px, 92vh);

    background: #fff;
    border-radius: 6px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    overflow: hidden;
}

.voucher-modal-frame {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #fff;
}

.voucher-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #281913;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.voucher-modal-close:hover,
.voucher-modal-close:focus-visible {
    background: var(--fs-button);
    color: #fff;
}

body.voucher-modal-open {
    overflow: hidden;
}


/* Mobile */

@media (max-width: 700px) {

    .voucher-modal {
        padding: 0;
    }

    .voucher-modal-window {
        width: 100%;
        height: 100dvh;

        border-radius: 0;
    }

    .voucher-modal-close {
        top: 10px;
        right: 10px;
    }
}
/* Muttertag und Vatertag: Vorteile ohne Icons */
.voucher-seasonal .voucher-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.voucher-seasonal .voucher-benefit {
  display: block;
  width: 100%;
  min-width: 0;
}

.voucher-seasonal .voucher-benefit > div {
  width: 100%;
  min-width: 0;
}

.voucher-seasonal .voucher-benefit strong,
.voucher-seasonal .voucher-benefit span {
  display: block;
  word-break: normal;
  overflow-wrap: normal;
}

/* ==========================================================
   MUTTERTAG – GANZJÄHRIGE VORSCHALTSEITE
   Nur bei WBCE-Sichtbarkeit "Versteckt"
   ========================================================== */

.voucher-inactive .voucher-copy h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 18px;
}


@media (max-width: 680px) {
    .voucher-inactive .voucher-copy h2 {
        font-size: 1.75rem;
    }
}
