
/* Schriftgrößen  auf full HD*/
/* 48px → 2.53rem
24px → 1.26rem
22px → 1.16rem
19px → 1rem
32px → 1.68rem
20px → 1.05rem
19px → 1rem */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* -----------------------------------Typografie---------------------------- 
------------------------------------------------------------------------------*/

/* responsiv angepasst an höhe des viewports um alle Tablet Formate zu unterstützen */

h1, .h1{
    font-size: 2.53rem;
    font-family: "baga", sans-serif;
    font-weight: 600;
    line-height:normal;
}


h2, .h2{
    font-size: 1.68rem;
    font-family: "baga", sans-serif;
    font-weight: 500;
    line-height:normal;
}


h3, .h3{
    font-size: 1.16rem;
    font-family: "baga", sans-serif;
    font-weight: 500;
    line-height:normal;
}

p{
    font-size: 1rem;
    font-family: "baga", sans-serif;
    font-weight: 400;
    line-height:normal;
}

.p--medium{
    font-size: 1.16rem;
    font-family: "baga", sans-serif;
    font-weight: 500;
    line-height:normal;
}

header nav li a{
    font-size: 1.26rem;
    font-family: "baga", sans-serif;
    font-weight: 500;
}

.cta-link {
    font-size: 1.26rem;
    font-family: "baga", sans-serif;
    font-weight: 400;

}

.subline{
    font-size: 1.26rem;
    font-family: "baga", sans-serif;
    font-weight: 400;
    line-height:normal;
}

/* mobile Schriftgrößen als absolute Werte da hier kein Skalieren nötig ist */
@media screen and (max-width: 480px){
    .cta-link {
        font-size: 19px;
}
    .subline{
        font-size: 20px;
}
    .p--medium{
        font-size: 22px;
}
    p{
        font-size: 19px;
}
    h1, .h1{
        font-size: 32px;
}

    h2, .h2{
        font-size: 24px;
}

    h3, .h3{
        font-size: 22px;
}
}

/* -----------------------------------Global------------------------------------ 
------------------------------------------------------------------------------*/
body{
    font-size: 1rem;
    font-family: "baga", sans-serif;
    font-weight: 400;
    color: var(--colorTextBlack);

    background-color: var(--colorOffWhite);
    height:100vh;

    overflow-X: clip;
    overflow-Y: clip;
    padding-bottom: 48px;
}

@media screen and (max-width:767px){
    body{
        height:unset;
        overflow-Y: unset;
    }
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

button{
    background-color: unset;
    border: unset;
}
main{
    padding: 48px 48px 0px 48px;
    height: calc(100% - 94px);
    display:flex;
    flex-direction: column;
}

@media screen and (max-width: 767px){
    main{
        height: 100%;
    }
}

@media screen and (max-width:480px){
    main{
        padding: 48px 24px 0px 24px;
    }
}
/* anpassung Sektions Wrapper */

.wrapper{
    height:100%;
    width:100%;
}

/* Anpassungen am Grid  */

.grid__row{
    height: calc(100% + (var( --gridGutter)*2));
}

@media screen and (max-width:480px){
    .grid__row{
        height: 100%;
    }
}

/* einstellungen Pointer effekte */

[data-pointer-hover]{
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
/* -----------------------------------Hauptnavigation---------------------------- 
------------------------------------------------------------------------------*/

header{
    height: clamp(74px,8.6vh,94px);
    background-color: var(--colorAccent);
    padding: 12px 48px;
}

@media screen and (max-width: 767px){
    header{
    height: 80px;
    padding: 12px 48px;
}
}

header .wrapper{
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap:24px;
}

header .mainmenu ul{
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap: 3.3vw;
}

header .mainmenu ul li a{
    color: var(--colorTextWhite);
    border-radius: 16px 8px;
    border: 1px solid var(--colorOffWhite);
    padding:12px;
    min-width: max-content;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

header .mainmenu ul li a.active{
    background-color: var(--colorOffWhite);
    color: var(--colorTextBlack);
}
header .logo img{
    width: 84px;
    height: 54px;
}

header .rechtstexte ul{
    display:flex;
    flex-direction:column;
    gap: 12px;
}

header .rechtstexte li a{
    font-size: 14px;
    font-family: "baga", sans-serif;
    font-weight: 400;
    color: var(--colorTextWhite);
    text-decoration: underline;
}
@media screen and (max-width: 1180px){
    header .mainmenu ul li a{
       font-size:16px;
    }
}

/* mobile menu ----------------------------
-----------------------------------------*/

header .mobilemenu{
    height:100%;
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap:8px;
    position:relative;
    /* overflow:clip; */
}

/* aussehen Bürger Menü */
header .mobilemenu span{
    width:32px;
    height:4px;
    background-color: var(--colorOffWhite);
    border-radius:200px;

}
/* Container welcher das Mobile Menü enthällt */
header .mobilemenu__panel{
    position: fixed;
    top: 79px;
    right: 0;
    /* größe des panels passt sich responsiv an viewport an, sodas es ihn niemals voll ausfüllt */
    width: min(320px, calc(100vw - 32px));
    padding: 24px;
    border-radius: 0px 0px 0px 8px;
    background-color: var(--colorAccent);
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* durchsichtig wird erst opäk wenn das menü aktiviert wird */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    /* sanfte Animation für das aktivieren des menüs */
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    z-index: 20;
}

/* Stauts des panels wenn aktiv */
header .mobilemenu.is-open .mobilemenu__panel{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

header .mobilemenu__links,
header .mobilemenu__rechtstexte{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

header .mobilemenu button{
    width:100%;
}

/* aussehen der Links im mobile menü */
header .mobilemenu__links a{
    display:block;
    color: var(--colorTextWhite);
    border-radius: 16px 8px;
    border: 1px solid var(--colorOffWhite);
    padding: 12px;
    min-width: max-content;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

header .mobilemenu__links a.active{
    background-color: var(--colorOffWhite);
    color: var(--colorTextBlack);
}

/* Rechtstexte mobile menü */
header .mobilemenu__rechtstexte a{
    font-size: 14px;
    font-family: "baga", sans-serif;
    font-weight: 400;
    color: var(--colorTextWhite);
    text-decoration: underline;
}

/* ausblenden main menu und rechtstexte auf mobile
setzen des headers auf sticky für mobile */
@media screen and (max-width: 1023px){
    header .mainmenu,
    header .rechtstexte{
        display:none;
    }
}

/* Sticky Header wenn Scroll verhalten aktiviert wird  */
@media screen and (max-width: 767px){
     header{
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 10000;
    }
    body{
        padding-top:94px;
    }
}
/* ausblenden mobile menü für desctop */
@media screen and (min-width: 1024px){
    header .mobilemenu{
        display:none;
    }
      header .mobilemenu__panel{
        display: none;
    }
}

/* Hover bzw Pointer Effekte Hauptmenü, Hover im Media query damit er nur auf Geräten mit Maus geschiet */

@media (hover: hover) and (pointer: fine){
    header .mainmenu ul li a:not(.active):hover,
    header .mobilemenu__links a:not(.active):hover{
        background-color: var(--colorOffWhite);
        color: var(--colorTextBlack);
        transform: translateY(-2px);
    }
}

header .mainmenu ul li a:not(.active).is-pointer-active,
header .mobilemenu__links a:not(.active).is-pointer-active{
    background-color: var(--colorOffWhite);
    color: var(--colorTextBlack);
    transform: translateY(-2px);
}

/* -----------------------------------Komponenten---------------------------- 
------------------------------------------------------------------------------*/

/* bg-image-------------------
----------------------------- */

.bg-image{
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
/* buttons --------------------
-----------------------------*/

.cta-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 16px 8px;
    background-color: var(--colorPrimary);
    color: var(--colorTextWhite);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-link.ghost{
    background-color: var(--colorOffWhite);
    color: var(--colorTextBlack);
    border: solid 1px var(--colorBlack);
}

/* Hover bzw Pointer Effekte cta-links, Hover im Media query damit er nur auf Geräten mit Maus geschiet */

@media (hover: hover) and (pointer: fine){

    .cta-link:hover{
        background-color: var(--colorAccent);
        transform: translateY(-2px) scale(1.08);
    }
}

.cta-link.is-pointer-active{
    background-color: var(--colorAccent);
    transform: translateY(-2px) scale(1.08);
}

/* widgets----------------------
-------------------------------*/

.widget--colorblind{
    padding:12px;
    border-radius: 12px 0 0 12px;
    border: 3px solid var(--colorAccent);
    background-color: var(--colorBlack);
    display:flex;
    flex-direction: column;
    align-items:center;
    gap:12px;

    position:absolute;
    right: -4px;
    top: clamp(120px,15vh,140px);
    transition: all 0.3s ease
}

@media screen and (max-width: 767px){
    .widget--colorblind{
        top: unset;
        bottom:50px;
    }
}
.widget--colorblind p{
    font-size: 1rem;
    color: var(--colorTextWhite);
}

.widget--colorblind img{
    width: 5vh;
    height: auto;
}

@media (hover: hover) and (pointer: fine){
    .widget--colorblind:hover{
        transform: translateY(-2px) scale(1.08);
    }
}

.widget--colorblind.is-pointer-active{
    transform: translateY(-2px) scale(1.08);
}

@media screen and (max-width:767px){
    .widget--colorblind{
        position: fixed;
    }
}

/* Sektion teaser Karten------------------ 
----------------------------------------*/

.section--teaser .grid__col{
    height: 50%;
}

.teaser{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height:100%;
    padding: 24px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.teaser__headline{
    color: var(--colorTextWhite);
    margin-bottom: 24px;
    font-weight:400;
    text-align: center;
}

.teaser__headline span{
    font-weight: 600;
    color: var(--colorTextWhite);
}

.teaser__subline{
    margin-bottom: 48px;
    color: var(--colorTextWhite);
}

.teaser--hero{
    color: var(--colorTextWhite);
    text-align: center;
}

.teaser--hero .p--medium{
    margin-bottom: 16px;
}

.teaser--hero .teaser__headline{
    margin-bottom: 0px;
}
@media screen and (max-width:767px){
    .section--teaser .grid__col{
        height: 424px;
    }
    .section--teaser{
        height: 100%;
    }
    .teaser__headline{
        text-align:center;
    }
    .teaser__subline{
        text-align: center;
}
}


/* Sektion image (Lovestory) ------------------
---------------------------------------------*/

.section--image .grid__col{
    height:50%;
}

.section--image .bg-image{
    width: 100%;
    height: 100%;
}

@media screen and (max-width:767px){
    .section--image .bg-image{
        height: 424px;
    }
}

.section--image .textbox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height:100%;
}

.section--image .textbox__headline{
    line-height: 1.2;
    margin-bottom: 8px;
}

.section--image .textbox__headline span{
    font-weight:600;
}

.section--image .subline{
    margin-bottom: 32px;
}

.section--image .p--medium{
    margin-bottom: 22px;
    color: var(--colorTextGreen);
}

.section--image .cta-link{
   margin: 48px auto 0 auto;
}

/* Swiper-Slider--------------------
----------------------------------- */

/* Pagination und Bedienelemente */

.swiper-slider__pagination{
    display: flex;
    justify-content: space-between;
    align-items:center;
    width:420px;

    position: fixed;
    bottom: 16px;
    right:50%;
    transform: translateX(50%);
}

.swiper-slider__pagination img{
    width:114px;
    height:29px;
}

.swiper-slider__pagination span{
    display:inline-block;
    width: 32px;
    height: 32px;
    border-radius:200px;
    border: solid 2px var(--colorPrimary);
}

/* ausschalten der Buttons Wenn am Ende oder Anfang des Sliders */
.swiper-slider__pagination button:disabled{
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.swiper-slider__pagination button[class*="to-page"] span{
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.swiper-slider__pagination button[class*="to-page"].active span{
    transform: scale(1.08);
    background-color: var(--colorAccent);
}

.swiper-slider__pagination{
    z-index: 2;
}

.swiper-slider__pagination button{
    /* display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0; */
    background: transparent;
    cursor: pointer;
}

/* swiper------------*/
/* ausblenden des Fokus welcher beim anklicken auftrit */
.swiper-slider:focus{
    outline: none;
}
.swiper-slider{
    height:100%;
    position: relative;
    overflow: hidden;
    overscroll-behavior-x: contain;
}

/* Dieses Element wird vom Script erzeugt und dient als "Fahrbahn" für die SLides 
   Es verteilt die Slides Horizontal*/
.swiper-slider__track{
    height:100%;
    display: grid;
    grid-auto-flow: column;
    /* 101% damit die Schatten des nächsten swipes nicht sichtbar sind */
    grid-auto-columns: 101%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pinch-zoom;
}

.swiper-slider__track::-webkit-scrollbar{
    display: none;
}

/* pages innerhalb des Sliders */
.swiper-slider__page{
    width: 100%;
    min-width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Änderung des Sliders sollte er nur eine einzige Seite enthalten */
.swiper-slider.is-single-page .swiper-slider__track{
    overflow: hidden;
}

.swiper-slider.is-single-page .swiper-slider__pagination{
    display: none;
}

/* größe der Inhalte innerhalb der Pages 
verhindert Abschneiden der Schatten*/
.swiper-slider .swiper-slider__page section{
    height: 97%;
    width: 94%;
}
/* ------------section--hero-----
-------------------------------- */

.section--hero{
    height: 100%;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}
.section--hero .bg-image{
    width: 100%;
    height: 97%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.section--hero .textbox{
    width: 65%;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 24px 32px;
    color: var(--colorTextWhite);
    border-radius: 8px;
    text-align: center;
}

 .section--hero .textbox h1{
    font-weight:400;
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: center;
 }

   .section--hero .textbox h1 span{
    font-weight:600;
 }

 .section--hero .subline{
    margin-bottom: 32px;
    text-align: center;
 }

 .section--hero p.p--medium{
    text-align: center;
    margin-bottom: 32px;
 }

 .section--hero .cta-link{
    margin-left: auto;
    margin-right: auto;
    display:block;
 }


 /* Section Product -- Produktkarten auf der Angebots Seite
 ------------------------------------------------ */
 .section--product{
    height:97%;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
 }
 /* Produktkarten */

 .product-card{
    display:flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items:center;
    height: 100%;
    border-radius: 8px;
    background-color: var(--colorBg);
    position: relative;
 }

 .product-card .bg-image{
    height: 60%;
    width:100%;
    border-radius: 8px 8px 0px 0px;
 }

 .product-card h2{
    color: var(--colorTextGreen);
    text-align: center;
    margin-bottom: 24px;
    margin-top: 32px;
 }
 .product-card > p{
    padding: 0px 32px;
    text-align: center;
 }

 .product-card__pricetag{
    display: flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
    gap:12px;
    position:absolute;
    bottom: 32px;
    width: fit-content;
 }

 .product-card__pricetag .text{
    font-size: 1.26rem;
 }

 .product-card__pricetag .iconbox{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
 }

 .product-card__pricetag .iconbox .icon{
    width: 32px;
    height: auto;
 }

 .product-card__pricetag .iconbox p{
    font-size: 1.68rem;
    font-weight: 600;
 }

/* ------------section--workshop-----
-------------------------------- */
/* textbox */
.section--workshop .workshop__textbox h2,
.section--workshop .workshop__textbox h2 span{
    color: var(--colorTextGreen);
}

.section--workshop .workshop__textbox h2{
    margin-bottom: 32px; 
}

.section--workshop .workshop__textbox h2 span{
    font-weight: 600;
}

.section--workshop .workshop__textbox .p--medium{
    margin-bottom: 16px;
}

.section--workshop .workshop__textbox .workshop__termin{
    margin-top: 24px;
    margin-bottom: 48px;
    font-weight: 500;
}

.section--workshop .workshop__textbox .workshop__termin span{
    color: var(--colorTextGreen);
}

/* iconbox */

.workshop__iconbox .row{
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

/* cta */
.section--workshop .cta-link{
    margin-top: 48px;
}

/* anpassung Grid */
.section--workshop .grid__row{
    align-items: center;
}

/* bg-image Workshop Print Karte */
.section--workshop .bg-image{
    width:100%;
    height: auto;
    aspect-ratio: 3/2;
}

/* Image Swap Animation-----------------
--------------powered by AI--------------------- */
.image-swap{
    position: relative;
    background-image: none;
    overflow: hidden;
    isolation: isolate;
}

.image-swap::before,
.image-swap::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.image-swap::before{
    background-image: var(--original-image);
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.image-swap::after{
    background-image: var(--swap-image);
    opacity: 0;
    transform: scale(1.02);
    filter: brightness(0.94);
}

.image-swap.image-swap-active::before{
    animation: image-swap-original-out 0.55s ease forwards;
}

.image-swap.image-swap-active::after{
    animation: image-swap-new-in 0.55s ease forwards;
}

.image-swap.image-swap-reset::before{
    animation: image-swap-original-in 0.55s ease forwards;
}

.image-swap.image-swap-reset::after{
    animation: image-swap-new-out 0.55s ease forwards;
}

@keyframes image-swap-original-out{
    0%{
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }

    100%{
        opacity: 0;
        transform: scale(1.03);
        filter: brightness(0.94);
    }
}

@keyframes image-swap-new-in{
    0%{
        opacity: 0;
        transform: scale(1.02);
        filter: brightness(0.94);
    }

    100%{
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes image-swap-original-in{
    0%{
        opacity: 0;
        transform: scale(1.02);
        filter: brightness(0.94);
    }

    100%{
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes image-swap-new-out{
    0%{
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }

    100%{
        opacity: 0;
        transform: scale(1.03);
        filter: brightness(0.94);
    }
}

/* Gutscheingenerator --------------------------------
---------------------------------------------------*/

/* allgemein -------*
--------------------/

/* darstellung der Radials Responsive Größe */
 input[type="radio"]{
    width: 2.96vh;
    height: 2.96vh;
    min-width: 2.96vh;
    flex-shrink: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    border: solid 2px var(--colorPrimary);
    background-color: var(--colorOffWhite);
    cursor: pointer;
}

 input:checked{
    background-color: var(--colorAccent)!important;
    box-shadow: inset 0 0 0 2px var(--colorOffWhite)!important;
}

/* Darstellung der Textfelder */
input[type="text"]{
    border: 1px solid var(--colorPrimary);
    border-radius: 8px;
    font-size: 1rem;
    padding: 12px;
    background-color: var(--colorBg);
    text-align: center;
    font-size: 0.9rem;
}

/* Motivauswahl-------
--------------------- */

.section--gutscheingenerator .gutschein-auswahl{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section--gutscheingenerator .gutschein-auswahl h2{
    margin-top: 24px;
    margin-bottom: 16px;
}
.section--gutscheingenerator .gutschein-auswahl .bg-image{
    position: relative;
    width:100%;
    height: 60%;
}
/* textbox auf dem Gutschein */
.section--gutscheingenerator .gutschein-auswahl .bg-image .text{
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 24px;
    background-color: rgba(0,0,0, 0.8);
    color: var(--colorTextWhite);
    border-radius: 8px;
    text-align:center;
    line-height: 1.7;
}
.section--gutscheingenerator .gutschein-auswahl .bg-image .text span{
    font-weight: 400;
}

/* Logo und Betrag auf dem Gutschein */
.section--gutscheingenerator .gutschein-auswahl .buehne{
    width: fit-content;;
    height: 25%;
    position:absolute;
    top: 0;
    left: 0;
    background-color: var(--colorPrimary);
    color: var(--colorTextWhite);
    border-radius: 8px 0px 8px 0px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.section--gutscheingenerator .gutschein-auswahl .buehne span{
    font-size: 1.68rem;
}
.section--gutscheingenerator .gutschein-auswahl .buehne .logo{
    width: auto;
    height: 100%;
}

/* motivauswahl menü */
#motivwahl{
    display:flex;
    gap: 2vh;
    justify-content: space-between;
    align-items: space-between;
    max-width: 350px;
    min-width:200px;
    white-space: nowrap;
    flex-wrap: wrap;
}
#motivwahl div{
    width: 40%;
    display:flex;
    align-items:center;
    gap: 12px;
}


#motivwahl label{
    cursor: pointer;
}

/* Dateneingabe-------------
-------------------------- */

.grid__col.gutschein-daten h2{
    margin-bottom: 3vh;
    font-size: 1.26rem;
    color: var(--colorTextGreen);
}
#gutschein-daten{
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

#gutschein-daten fieldset{
    border: unset;
}

#gutschein-daten legend{
    margin-bottom: 16px;
}


/* Auswahl des Betrages ---------
--------------------------------*/
.gutschein-daten__betrag-auswahl{
    display: flex;
    flex-wrap:wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.gutschein-daten__betrag-auswahl div{
    display:flex;
    align-items:center;
    gap: 12px;
}

.gutschein-daten__betrag-auswahl label{
    cursor: pointer;
}

/* Käufer Daten eingabe---------- 
---------------------------------*/
.gutschein-daten__gruppe--kaeufer .gutschein-daten__row--zwei,
.gutschein-daten__gruppe--kaeufer .gutschein-daten__row--vier{
    display:flex;
    gap:12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.gutschein-daten__gruppe--kaeufer legend{
    font-weight: 600;
}
/* responsive Anpassung der Input Breiten um Umbrechen zu vermeiden
    so ist eine Darstellung auf den Tablet größen gewährleistet */
.gutschein-daten__gruppe--kaeufer input[type="text"]{
    width:15vh;
}
.gutschein-daten__gruppe--kaeufer #kaeufer-plz,
.gutschein-daten__gruppe--kaeufer #kaeufer-nummer{
    width: 96px!important;
}

/* submit button--------------
--------------------------- */

.gutschein-daten button[type="submit"]{
    width: fit-content;
}

/* dantenschutz Checkbox---------
------------------------------- */
.gutschein-daten__checkbox {
    display:flex;
    gap:12px;
    align-items: center;
}
.gutschein-daten__checkbox input{
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-shrink: 0;
    border: solid 1px var(--colorPrimary);
    border-radius: 8px;
    margin: 0px;
    background-color: var(--colorOffWhite);
    cursor: pointer;
}

.gutschein-daten__checkbox label{
    font-size: 0.8rem;
}

/* Gutschein Popup und Anmelde Popup auf der Event Seite
----------------------------------- */

.gutschein-popup,
.anmelde-popup{
    position: fixed;
    inset: 0;
    display:flex;
    justify-content:center;
    align-items:center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Popup sichtbar */
.gutschein-popup.is-open,
.anmelde-popup.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Overlay */
.gutschein-popup__overlay,
.anmelde-popup__overlay{
    position:absolute;
    inset:0;
    background-color: rgba(0, 0, 0, 0.45);
}

.gutschein-popup__dialog{
    position:relative;
    max-width: 640px;
    width: min(100%, 640px);
    padding: 32px;
    border-radius: 16px;
    background-color: var(--colorOffWhite);
    z-index: 1;
    display:flex;
    flex-direction:column;
    gap: 24px;
    text-align: center;
}

/* Gemeinsame Überschriften */
.gutschein-popup__dialog h2,
.anmelde-popup__dialog h2{
    color: var(--colorTextGreen);
}

/* Close Buttons */
.gutschein-popup__close,
.anmelde-popup__close{
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 28px;
}


/* anmelde Popup Events--------
------------------------------ */

/* Dialog standardmäßig versteckt */
.anmelde-popup__dialog{
    position:relative;
    max-width: 640px;
    width: min(100%, 640px);
    padding: 32px;
    border-radius: 16px;
    background-color: var(--colorOffWhite);
    z-index: 1;

    display:none;
    flex-direction:column;
    gap: 24px;
    text-align: center;
}

/* Formular sichtbar */
.anmelde-popup__dialog.active{
    display:flex;
}

/* Bestätigung standardmäßig versteckt */
.anmelde-popup__bestaetigung{
    position:relative;
    max-width: 640px;
    width: min(100%, 640px);
    padding: 56px 32px 32px 32px;;
    border-radius: 16px;
    background-color: var(--colorOffWhite);
    z-index: 1;

    display:none;
    flex-direction:column;
    gap: 24px;
    text-align: center;
    
}

/* Bestätigung sichtbar */
.anmelde-popup__bestaetigung.active{
    display:flex;
}

.anmelde-popup button:not([class*="__close"]){
    margin-top: 32px;
}

/* eingabefelder Anmeldeformular */
.anmeldedaten{
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.anmeldedaten input{
    width: 40%;
}
/* -----------------------------------Sektions Spezifisch---------------------------- 
------------------------------------------------------------------------------*/
/* Gutscheingenerator Unterseite ----
------------------------------------*/

/* anpassung Hero section */

.gutschein .section--hero .p--medium{
    margin-bottom: 12px;
    margin-top: 32px;
}

.gutschein .section--hero .cta-link{
    margin-top: 32px;
}


/* Mobile Version Aller Unterseiten mit Swipern----------------------------------
-------------------------------------------------------------------------------*/

@media screen and (max-width: 763px){

    /* verwendung des Wrappers ausserhalb des Swipers
    als neuen Flex Container betrift alle Unterseiten mit Swiper */
    section.wrapper{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:48px;
    }

    /* zerlegung des Sliders damit der Inhalt srollbar wird 
    dies betrifft alle Unterseiten mit Swipern*/
    .swiper-slider__pagination{
        display: none;
    }
    .swiper-slider,
    .swiper-slider__page,
    .swiper-slider .grid__row,
    .swiper-slider .grid__col,
    .swiper-slider__track,
    .swiper-slider .section--product{
        display: contents;
    }

    /* umbau der Hero section für mobile betrifft alle Unterseiten mit Swiper */

    .swiper-slider .section--hero{
        width: 100%;
    }

    .swiper-slider .section--hero .textbox{
        width:100%;
        height:100%;
        background-color: rgba( 0,0,0, 0.6);
        padding: 32px 12px;
    }


    .swiper-slider .section--hero .cta-link,
    .swiper-slider .section--teaser .cta-link{
        display: none;
    }

    .swiper-slider .section--hero p.p--medium{
        margin-bottom: 12px;
        font-size: 19px;
        /* font-weight: 400; */
    }

    .swiper-slider .teaser--hero h1{
        margin-bottom: 8px;
    }
    
    .swiper-slider .teaser--hero .subline{
        margin-bottom: 32px;
    }
    
    /* Umbau der Produktkarten der Angebots Unterseite */
    .swiper-slider .product-card{
        height: fit-content;
        padding-bottom:120px;
    }

    .swiper-slider .product-card .bg-image{
        height:250px;
    }

    .swiper-slider .product-card h2{
        padding: 0px 16px;
    }

    .swiper-slider .product-card p{
        padding: 0px 16px;
    }
    /* Umbau der Workshop Seite  */

    .swiper-slider .teaser:not(.teaser--hero){
        display: none;
    }

    .swiper-slider .teaser--hero{
        margin-bottom: 48px;
    }
    .swiper-slider .section--workshop .bg-image{
        margin-bottom:24px;
    }

    .swiper-slider .section--workshop .cta-link{
        margin-top:24px;
        margin-bottom:60px;
    }

    .swiper-slider .workshop__iconbox .row{
        margin-bottom: 16px;

    }

    /* Umbau des Gutschein Generators
        Strukturelle Änderungen inder Reihenfolge beim scrollen */
    .section--gutschein-auswahl{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
      .section--gutscheingenerator #gutschein-daten{
        display: contents;
     }
     .section--gutscheingenerator .daten__headline{
        order: 1;
     }
      .section--gutscheingenerator .gutschein-daten__gruppe--beschenkt{
        order: 2;
     }
     .section--gutscheingenerator .gutschein-daten__gruppe--betrag{
        order: 3;
     }
     .section--gutscheingenerator .gutschein-daten__gruppe--kaeufer{
        order: 4
     }
       .section--gutscheingenerator .bg-image{
        order: 5;
    }
      .section--gutscheingenerator .motiv__headline{
        order: 6;
     }

       .section--gutscheingenerator #motivwahl{
        order: 7;
     }
    
       .section--gutscheingenerator .gutschein-daten__checkbox{
        order: 8;
     }
        .section--gutscheingenerator .cta-link{
        order: 9;
     }
    .section--gutscheingenerator .gutschein-auswahl .bg-image{
     height: 350px;
    }
    
    /* Änderungen Typo */
    #motivwahl{
        white-space: unset;
    }
    .section--gutscheingenerator .gutschein-auswahl .bg-image .text {
        white-space: nowrap;
        font-size: 18px;
    }

}

