/* Gemeinsame Styles */
.card-body.text-center > p {
    font-size: 14px;
}

.card-image-overlay.action {
    position: relative;
}

.action {
    height: 332px !important;
}

/* Video-Styles */
.card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    padding: 5px;
}

/* Text-Overlay über Video/Bild sichtbar machen */
.card-image-overlay.action .actiontext-top,
.card-image-overlay.action .actiontext-mid,
.card-image-overlay.action .actiontext-low,
.card-image-overlay.action .actiontext-low-small-split-1,
.card-image-overlay.action .actiontext-low-small-split-2,
.card-image-overlay.action .actiontext-center,
.card-image-overlay.action .card-title {
    z-index: 1;
}

/* Wenn kein Beschreibungstext vorhanden ist */
.card:not(:has(.card-body)) .action {
    margin: 0;
}

/* Aktionsbubble Styles */
.bubble-3.actionbubble {
    width: 80px;
    height: 80px;
    background: #ff9934;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.bubble-3.actionbubble .bubble-3-inner {
    width: 70px;
    height: 70px;
    background: #ffc018;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

/* Standard-Position (Fallback) */
.bubble-3.actionbubble {
    display: flex;
    bottom: 220px;
    right: 70px;
}

/* Für Template: Text in der Mitte (wenig Text) */
.template-center-small .bubble-3.actionbubble {
    display: flex;
    bottom: 30px;
    right: 35px;
}

/* Für Template: Text in der Mitte (mehr Text) */
.template-center-large .bubble-3.actionbubble {
    display: flex;
    bottom: 30px;
    right: 35px;
}

/* Für Template: Text rechts */
.template-right .bubble-3.actionbubble {
    display: none;
}

/* Für Template: no-text */
.template-no-text .bubble-3.actionbubble {
    display: flex;
    bottom: 30px;
    right: 35px;
}

/* Orange (Standard) */
.bubble-3.actionbubble.bubble-orange {
    background: #ff9934;
}
.bubble-3.actionbubble.bubble-orange .bubble-3-inner,
.bubble-3.actionbubble .bubble-3-inner.bubble-inner-orange {
    background: #ffc018;
}

/* Türkis */
.bubble-3.actionbubble.bubble-turquoise {
    background: #49b8b6;
}
.bubble-3.actionbubble.bubble-turquoise .bubble-3-inner,
.bubble-3.actionbubble .bubble-3-inner.bubble-inner-turquoise {
    background: #50c8c6;
}

/* Grün */
.bubble-3.actionbubble.bubble-green {
    background: #80b62c;
}
.bubble-3.actionbubble.bubble-green .bubble-3-inner,
.bubble-3.actionbubble .bubble-3-inner.bubble-inner-green {
    background: #8fcb2f;
}

/* Template: Text in der Mitte (wenig Text) */
.template-center-small .actiontext-center {
    position: absolute;
    background-color: var(--center-text-bg-color, #50c8c6);
    color: var(--text-bg-color, #fff);
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: -1px;
    left: 50%; /* Zentriert horizontal */
    transform: translate(-50%, -50%); /* Exakte Zentrierung */
    text-align: center; /* Text-Inhalt zentrieren */
    padding: 10px 10px; /* Gleichmäßiges Padding */
    font-size: 1.2rem; /* Einheitliche Schriftgröße */
    font-weight: 800; /* Schriftgewicht */
    max-width: 90%; /* Begrenzte Breite, um Überlauf zu verhindern */
    white-space: nowrap;
}

.template-center-small .actiontext-center.textpos-standard {
    top: 17%; /* oder was du möchtest */
}
.template-center-small .actiontext-center.textpos-middle {
    top: 32%; /* oder was du möchtest */
}


/* Template: Text in der Mitte (mehr Text) */
.template-center-large .actiontext-top,
.template-center-large .actiontext-mid,
.template-center-large .actiontext-low,
.template-center-large .actiontext-low-small-split-1,
.template-center-large .actiontext-low-small-split-2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    width: auto;           /* passt die Breite an den Inhalt an */
    max-width: 100%;  
}

.template-center-large .actiontext-top {
    position: absolute;
    top: 70px;
    font-size: 35px;
    background-color: transparent;
    border-color: transparent;
    color: var(--text-color, #fff);
    font-weight: 600;
    text-shadow: var(--text-shadow, 0 0 5px rgba(0,0,0,.3));
}

.template-center-large .actiontext-mid {
    position: absolute;
    font-size: 32px;
    top: 120px;
    background-color: var(--center-text-bg-color, #50c8c6);
    color: var(--text-bg-color, #fff);
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 800;
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: -1px;
}

.template-center-large .actiontext-low {
    display:block;
    position: absolute;
    font-size: 15px;
    top: 180px;
    left: 22%; /* Zentriert horizontal */
    text-align: center; /* Text-Inhalt zentrieren */
    padding-left: 10px;
    padding-right: 10px;
    /*font-size: 1rem; /* Einheitliche Schriftgröße */
    font-weight: 600; /* Schriftgewicht */
    max-width: 90%; /* Begrenzte Breite, um Überlauf zu verhindern */
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    writing-mode: lr-tb;
    background-color: var(--center-text-bg-color, #50c8c6);
    color: var(--text-bg-color, #fff);
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: 0px;
}

.template-center-large .actiontext-low-small-split-1 {
    display:none;
}

.template-center-large .actiontext-low-small-split-2 {
    display:none;
}

/* Template: Text rechts */
.template-right .actiontext-top {
    position: absolute;
    top: 60px;
    left: 130px;
    font-size: 35px;
    background-color: transparent;
    border-color: transparent;
    color: var(--text-color, #fff);
    font-weight: 600;
    text-shadow: var(--text-shadow, 0 0 5px rgba(0,0,0,.3));
}

.template-right .actiontext-mid {
    position: absolute;
    font-size: 35px;
    left: 140px;
    top: 120px;
    background-color: var(--center-text-bg-color, #8fcb2f);
    color: var(--text-bg-color, #fff);
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 800;
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: -1px;
}

.template-right .actiontext-low {
    display: none;
}

.template-right .actiontext-low-small-split-1 {
    position: absolute;
    font-size: 15px;
    left: 125px;
    top: 190px;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    writing-mode: lr-tb;
    background-color: var(--center-text-bg-color, #8fcb2f);
    color: var(--text-bg-color, #fff);
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 600;
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: 0px;
}

.template-right .actiontext-low-small-split-2 {
    position: absolute;
    font-size: 15px;
    left: 125px;
    top: 230px;
    background-color: var(--center-text-bg-color, #8fcb2f);
    color: var(--text-bg-color, #fff);
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 600;
    text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
    letter-spacing: 0px;
}


/* Responsive Styles */
@media (min-width: 375px) {
    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-top {
        font-size: 1.1rem; 
        padding: 10px 15px; 
        top: 18%;
    }    

    .template-center-small .actiontext-center.textpos-standard {
        top: 18%; 
    }
    .template-center-small .actiontext-center.textpos-middle {
        top: 31%; 
    }
    
    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-top {
        font-size: 2.3rem; 
        padding: 10px 15px; 
        top: 18%;
    }

    .template-center-large .actiontext-mid {
        font-size: 35px;
        top: 130px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .template-center-large .actiontext-low {
        top: 195px;
        left: 30%;
    }
 
    /* Text rechts */
    .template-right .actiontext-top {
        top: 60px;
        left: 165px;
        font-size: 40px;
    }

    .template-right .actiontext-mid {
        font-size: 35px;
        left: 190px;
        top: 130px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .template-right .actiontext-low-small-split-1 {
        left: 165px;
        top: 200px;
    }

    .template-right .actiontext-low-small-split-2 {
        top: 235px;
    }
}
    
@media (min-width: 425px) {
    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-top {
        font-size: 1.5rem; /* Einheitliche Schriftgröße */
        padding: 10px 20px; /* Gleichmäßiges Padding */
    }
    
    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-low {
        top: 195px;
        left: 35%;
    }

    /* Text rechts */
    .template-right .actiontext-top {
        left: 200px;
    }

    .template-right .actiontext-mid {
        left: 220px;
    }

    .template-right .actiontext-low-small-split-1 {
        left: 200px;
    }

    .template-right .actiontext-low-small-split-2 {
        left: 205px;
    }
    
}

@media (max-width: 767px) {
    .action {
        height: 332px !important;
    }

    /* Text rechts */
    .template-right .actiontext-top {
        top: 60px;
        left: 110px;
        font-size: 40px;
    }

    .template-right .actiontext-low-small-split-1 {
        left: 110px;
        top: 200px;
    }

    .template-right .actiontext-mid {
        font-size: 35px;
        left: 140px;
        top: 130px;
    }
}

@media (min-width: 768px) {
    .action {
        height: 384px !important;
    }


    .bubble-3.actionbubble {
        width: 120px;
        height: 120px;
        background: #ff9934;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        position: absolute;

    }
    
    .bubble-3.actionbubble .bubble-3-inner {
        width: 105px;
        height: 105px;
        background: #ffc018;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: bold;
        font-size: 1.4rem;
        text-shadow: 0 0 5px rgba(0, 0, 0, .3);
        padding:0;
        max-height: 100%;
        max-width: 100%;
    }

    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-center {
        padding: 10px 30px; /* Gleichmäßiges Padding */
        font-size: 2rem; /* Einheitliche Schriftgröße */
        font-weight: 800; /* Schriftgewicht */
        max-width: 90%; /* Begrenzte Breite, um Überlauf zu verhindern */
    }

    .template-center-small .actiontext-center.textpos-standard {
        top: 17%; /* oder was du möchtest */
    }
    .template-center-small .actiontext-center.textpos-middle {
        top: 40%; /* oder was du möchtest */
    }

    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-top {
        top: 54px;
        font-size: 55px;
    }

    .template-center-large .actiontext-mid {
        font-size: 55px;
        top: 140px;
    }

    .template-center-large .actiontext-low {
        display:block;
        position: absolute;
        font-size: 20px;
        top: 245px;
        left: 40%; /* Zentriert horizontal */
        text-align: center; /* Text-Inhalt zentrieren */
        max-width: 90%; /* Begrenzte Breite, um Überlauf zu verhindern */
        background-color: var(--center-text-bg-color, #50c8c6);
        color: var(--text-bg-color, #fff);
        padding-left: 20px;
        padding-right: 20px;
        font-weight: 600;
        text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
        letter-spacing: 0px;
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        writing-mode: lr-tb;
    }
   
    /* Text rechts */
    .template-right .actiontext-top {
        top: 54px;
        left: 420px;
        font-size: 55px;
    }

    .template-right .actiontext-mid {
        font-size: 55px;
        left: 440px;
        top: 140px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .template-right .actiontext-low {
        display:block;
        position: absolute;
        font-size: 20px;
        left: 350px;
        top: 245px;
        background-color: var(--center-text-bg-color, #8fcb2f);
        color: var(--text-bg-color, #fff);
        padding-left: 20px;
        padding-right: 20px;
        font-weight: 600;
        text-shadow: var(--text-bg-shadow, 0 0 5px rgba(0,0,0,.3));
        letter-spacing: 0px;
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        writing-mode: lr-tb;
    }

    .template-right .actiontext-low-small-split-1 {
        display:none;
    }

    .template-right .actiontext-low-small-split-2 {
        display:none;
    }
}

@media (min-width: 996px) {
    .action {
        height: 384px !important;
    }

    .bubble-3.actionbubble {
        bottom: 200px;
        right: 60px;
    }

    .bubble-3.actionbubble .bubble-3-inner {
        font-size: 1.5rem;
    }

    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-center {
        padding: 10px 30px; /* Gleichmäßiges Padding */
        font-size: 2.5rem; /* Einheitliche Schriftgröße */
        font-weight: 800; /* Schriftgewicht */
        max-width: 90%; /* Begrenzte Breite, um Überlauf zu verhindern */
    }

    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-top {
        top: 55px;
        font-size: 70px;
    }

    .template-center-large .actiontext-mid {
        font-size: 60px;
        top: 155px;
    }

    .template-center-large .actiontext-low {
        font-size: 26px;
        top: 260px;
        left: 40%; /* Zentriert horizontal */
        text-align: center; /* Text-Inhalt zentrieren */
        padding-left: 30px;
        padding-right: 30px;
    }

    /* Text rechts */
    .template-right .actiontext-top {
        top: 55px;
        left: 570px;
        font-size: 70px;
    }

    .template-right .actiontext-mid {
        font-size: 60px;
        left: 610px;
        top: 155px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .template-right .actiontext-low {
        font-size: 26px;
        left: 485px;
        top: 260px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1440px) {
    .action {
        height: 420px !important;
    }

    .card-body.text-center > p
    {
        font-size:16px;
    }

    .bubble-3.actionbubble {
        width: 160px;
        height: 160px;
    }
    
    .bubble-3.actionbubble .bubble-3-inner {
        width: 140px;
        height: 140px;
        font-size: 1.8rem;
    }


    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-center {
        padding: 10px 50px; /* Gleichmäßiges Padding */
        font-size: 3rem; /* Einheitliche Schriftgröße */
    }

    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-top {
        top: 40px;
        font-size: 85px;
    }

    .template-center-large .actiontext-mid {
        font-size: 80px;
        top: 160px;
        padding-left: 125px;
        padding-right: 125px;
        font-weight: 800;
    }

    .template-center-large .actiontext-low {
        font-size: 34px;
        top: 300px;
        left: 40%; /* Zentriert horizontal */
        padding-left: 40px;
        padding-right: 40px;
    }

   /* Text rechts */
   .template-right .actiontext-top {
        top: 65px;
        left: 825px;
        font-size: 85px;
    }

    .template-right .actiontext-mid {
        font-size: 80px;
        left: 752px;
        top: 185px;
        padding-left: 125px;
        padding-right: 125px;
        font-weight: 800;
    }

    .template-right .actiontext-low {
        font-size: 34px;
        left: 705px;
        top: 325px;
        padding-left: 40px;
        padding-right: 40px;
        font-weight: 600;
    }
}

@media (min-width: 1850px) {
    .card-body.text-center > p
    {
        font-size:16px;
    }

    .action {
        height: 482px !important;
    }

    .bubble-3.actionbubble {
        bottom: 250px;
        right: 80px;
    }

    .bubble-3.actionbubble .bubble-3-inner {
        font-size: 2rem;
    }

    /* Text in der Mitte (wenig Text) */
    .template-center-small .actiontext-center {
        top: var(--center-text-top,20%); /* Zentriert vertikal im Parent-Element */
        padding: 10px 50px; /* Gleichmäßiges Padding */
        font-size: 3.5rem; /* Einheitliche Schriftgröße */
    }

    /* Text in der Mitte (mehr Text) */
    .template-center-large .actiontext-top {
        top: 10px;
        font-size: 100px;
    }

    .template-center-large .actiontext-mid {
        font-size: 100px;
        top: 155px;
    }

    .template-center-large .actiontext-low {
        font-size: 34px;
        top: 330px;
        left: 45%; /* Zentriert horizontal */
    }

    /* Text rechts */
    .template-right .actiontext-top {
        top: 20px;
        left: 980px;
        font-size: 100px;
    }

    .template-right .actiontext-mid {
        font-size: 100px;
        left: 925px;
        top: 155px;
        padding-left: 125px;
        padding-right: 125px;
        font-weight: 800;
    }

    .template-right .actiontext-low {
        font-size: 34px;
        left: 900px;
        top: 330px;
        padding-left: 40px;
        padding-right: 40px;
        font-weight: 600;
    }
}

