/* Container und Layout */
.gutschein-container {
    padding: 30px 0px 50px;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Alles untereinander */
.gutschein-single-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gutschein-links,
.gutschein-rechts {
    flex: unset;
    min-width: unset;
}


/* Motive nur Bilder */
.gutschein-motive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    width: 80%;
}

.gutschein-motive .motive-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: transform 0.2s, border 0.2s;
}

.gutschein-motive .motive-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.2s, border 0.2s;
}

.gutschein-motive .motive-box:hover img {
    transform: scale(1.05);
}

.gutschein-motive .motive-box.selected img {
    border: 3px solid #2F4C46;
    border-radius: 6px;
}

/* Eingaben */
.weitere-angaben input[type="text"],
.angaben-kaeufer input[type="text"],
.betrag-wunsch {
    width: 50%;
    padding: 7px;
    border: 1px solid #2F4C46;
    border-radius: 20px;
    background: #d6e0d8;
    color: #2F4C46;
    font-size: inherit; /* Schrift vom Theme */
    box-sizing: border-box;
}

/* Käuferangaben in 2 Spalten */
.kaeufer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px; /* Zeilen- und Spaltenabstand */
}

/* Damit Input-Felder 100% der Spalte ausfüllen */
.kaeufer-grid input[type="text"] {
    width: 100%;
}


/* Radio Buttons */
.betrag-radio-group {
    margin: 8px 0 20px;
}
.betrag-radio-group label {
    margin-right: 15px;
}

/* Datenschutz */
.datenschutz {
    font-size: inherit;
    color: #2F4C46;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}
.datenschutz input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
}

/* Button */
.gutschein-button {
    background: #76A394;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: inherit;
    display: block;
    width: max-content;
    transition: background-color 0.3s;
}


/* Pflichtfeld Hinweis */
.pflichtfeld {
    font-size: 12px;
    color: #2F4C46;
    margin-top: -15px;
    text-align: right;
}

/* =========================
   Gutschein Popup
========================= */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 76, 70, 0.55); 
    
    display: none;
    align-items: center;
    justify-content: center;
    
    z-index: 9999;
}

/* Popup Fenster */

.popup-content {
    background: #76A394;
    
    padding: 100px 80px;
    border-radius: 10px;
    
    max-width: 700px;
    width: 90%;
    
    text-align: center;
    position: relative;
}

/* Überschrift */

.popup-content h2 {
    color: #fff;
    margin-bottom: 10px;
}

/* Text */

.popup-content p {
    color: #fff;
    margin-bottom: 25px;
}

/* Schließen X */

.popup-close {
    position: absolute;
    right: 30px;
    top: 10px;
    
    font-size: 30px;
    color: #fff;
    
    border: none;
    background: none;
    
    cursor: pointer;
}


.popup-content{
    animation: popupFade 0.25s ease;
}

@keyframes popupFade{
    from{
        transform: translateY(20px);
        opacity:0;
    }
    to{
        transform: translateY(0);
        opacity:1;
    }
}

.popup-signature{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:20px;
    }
    
    .popup-signature h2{
    margin:0;
    color:white;
    }
    
    .popup-heart img{
    width:70px;
    height:auto;
    }