/* Container für Preistabellen */
.preistabelle-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important; /* Alle Elemente werden auf die gleiche Höhe gestreckt */
}

/* Button Kaufen */
.preistabelle .elementor-button.elementor-size-md {
    font-size: 16px !important;
    padding: 10px 30px !important;
    border-radius: 4px !important;
    width: 80% !important;
    /* color: var( --e-global-color-text ) !important; */
    color: var( --e-global-color-secondary ) !important;
    /* background-color: var( --e-global-color-primary ) !important; */
    background-color: var( --e-global-color-accent ) !important;
    margin-bottom: 5px !important;
    transition: background-color 0.3s ease-out !important;
}

/* Stilisierung jeder Preistabelle */
/*.preistabelle01, .preistabelle02, .preistabelle03 {
    flex: 0 0 calc(33.3% - 10px) !important;
    max-width: calc(33.3% - 10px);
    margin: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}*/




/* Basis Stil für alle Preistabellen */
.preistabelle {
    flex: 1 !important; /* Flexibles Wachstum, um den verfügbaren Platz zu nutzen */
    box-sizing: border-box !important; /* Sorgt dafür, dass padding und border in der Breite enthalten sind */
    border-radius: 10px !important; /* Abgerundete Ecken */
    overflow: hidden !important; /* Stellt sicher, dass Inhalt der Rundung der Ecken folgt */
    border: 1px solid rgba(255, 255, 255, 0.73) !important;
    box-shadow: 2px 2px 5px 3px rgba(255, 255, 255, 0.35) !important;
}

/* Stilisierung für 1 oder 2 Preistabellen */
/*.preistabelle-container:only-child .preistabelle,
.preistabelle-container .preistabelle:nth-last-child(2):nth-child(1),
.preistabelle-container .preistabelle:nth-last-child(2):nth-last-child(1) {
    max-width: 48% !important;
}*/

@media (min-width: 600px) {
/* Stilisierung für 1 oder 2 Preistabellen */
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container:only-child .preistabelle,
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container .preistabelle:nth-last-child(2):nth-child(1),
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container .preistabelle:nth-last-child(2):nth-last-child(1) {
    max-width: 48% !important; /* Nutzt 48% der Breite für 1 oder 2 Tabellen */
    flex-direction: column !important; /* Fügt die Flex-Direction hinzu */
}
}

@media (max-width: 768px) {
/* Stilisierung für 1 oder 2 Preistabellen */
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container:only-child .preistabelle,
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container .preistabelle:nth-last-child(2):nth-child(1),
.elementor-element:where(.e-con-full, .elementor-widget) .preistabelle-container .preistabelle:nth-last-child(2):nth-last-child(1) {
    max-width: 100% !important; /* Nutzt 48% der Breite für 1 oder 2 Tabellen */
    flex-direction: column !important; /* Fügt die Flex-Direction hinzu */
}
}


/* Stilisierung für 3 Preistabellen */
@media (min-width: 600px) {
    .preistabelle-container .preistabelle {
        max-width: calc(33.3% - 10px) !important ; /* Drittel der Breite für 3 Tabellen */
    }
    .elementor-element.elementor-element-preisliste.preistabelle.preistabelle02.elementor-widget.elementor-widget-price-table {
    top: -10px;
    }

    .elementor-element.elementor-element-preisliste.preistabelle.preistabelle02.elementor-widget.elementor-widget-price-table .elementor-price-table .elementor-price-table__header {
    padding-bottom: 30px !important;
    }
    .elementor-element.elementor-element-preisliste.preistabelle.preistabelle02.elementor-widget.elementor-widget-price-table .elementor-price-table .elementor-price-table__features-list {
    padding-bottom: 20px !important;
    }
}

/* Anpassungen für mobile Ansicht */
@media (max-width: 768px) {
    .preistabelle {
        max-width: 100%; /* Volle Breite auf kleinen Bildschirmen */
        margin: 5px 0; /* Vertikaler Abstand auf kleinen Bildschirmen */
    }
}




/* Anpassungen für mobile Ansicht */
@media (max-width: 768px) {
    .preistabelle01, .preistabelle02, .preistabelle03 {
        max-width: 100% !important;
    }
    .elementor-element.elementor-element-preise.e-con>.e-con-inner {
    flex-direction: column !important;
    }
}

/* Features-Liste */
.elementor-price-table__features-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
}


/* Footer jedes Elements am Ende ausrichten */
.elementor-price-table__footer {
    margin-top: auto;
    width: 100%;
}

/* Hover-Effekte */
.elementor-widget-price-table {
    transition: all 0.7s ease-out;
}

.elementor-row:hover .elementor-widget-price-table {
    filter: blur(4px);
    transform: scale(0.9);
}

.elementor-widget-price-table:hover {
    filter: blur(0) !important;
    transform: scale(1.01) !important;
}

/* Elementor spezifische Anpassungen */
.preistabelle01 .elementor-widget-container,
.preistabelle02 .elementor-widget-container,
.preistabelle03 .elementor-widget-container,
.elementor-widget-price-table,
.elementor-price-table {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-radius: 5px;
    justify-content: space-between;
}


/*.preistabelle-container .elementor-price-table:last-child .elementor-price-table__features-list {
    margin-bottom: 14px;
}*/


.elementor-price-table__header {
    padding: 20px 0;
}

.elementor-price-table__heading,
.elementor-price-table__subheading {
    padding: 0;
    margin: 0;
}

.elementor-price-table__price {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 40px 0;
}

.elementor-price-table__footer {
    padding: 30px 0;
    color: #000;
}

.elementor-widget-price-table .elementor-price-table__button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease-out;
    color: var( --e-global-color-secondary ) !important;
    background-color: var( --e-global-color-accent ) !important;
}

.elementor-price-table__button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease-out;
    color: var( --e-global-color-secondary ) !important;
    background-color: var( --e-global-color-accent) !important;
}

.elementor-price-table__button:hover {
    color: var( --e-global-color-secondary ) !important;
}

.elementor-widget-price-list .elementor-price-list {
    list-style: none;
    padding: 0;
    margin:0;
}

.elementor-widget-price-list .elementor-price-list li {
    margin:0;
}

.elementor-price-list li:not(:last-child) {
    margin-bottom:20px !important;
}

.elementor-price-list .elementor-price-list-image {
    max-width: 50%;
    flex-shrink: 0;
    padding-right:25px;
}

.elementor-price-list .elementor-price-list-image img {
    width:100%;
}

.elementor-price-list .elementor-price-list-header, .elementor-price-list .elementor-price-list-item, .elementor-price-list .elementor-price-list-text {
    display:flex;
}

.elementor-price-list .elementor-price-list-item {
    align-items:flex-start;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-text {
    align-items: flex-start;
    flex-wrap: wrap;
    flex-grow:1;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-header {
    align-items: center;
    flex-basis: 100%;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    justify-content:space-between;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-title {
    max-width:80%;
    color: var( --e-global-color-text ) !important;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-price {
    font-weight:600;
}

.elementor-price-list .elementor-price-list-item p.elementor-price-list-description {
    flex-basis: 100%;
    font-size: 14px;
    margin:0;
    color: var( --e-global-color-text ) !important;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-separator {
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom-style: dotted;
    border-bottom-width: 2px;
    height:0;
}

.elementor-price-table {
    text-align:center;
    height: 100%;
}

.elementor-price-table .elementor-price-table__header {
    background: var(--e-global-color-accent) !important;
    padding: 20px 30px 20px 30px;
}

.elementor-price-table .elementor-price-table__heading {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 22px;
    font-weight: 600;
    color: var( --e-global-color-secondary ) !important;
    min-height: 75px;
    display: flex;
justify-content: center;
align-items: center;
}


.elementor-price-table .elementor-price-table__subheading {
    font-size: 13px;
    font-weight: 400;
    color: var( --e-global-color-secondary ) !important;
    min-height: 42px;
}

.elementor-price-table .elementor-price-table__original-price {
    margin-right: 15px;
    text-decoration: line-through;
    font-size: .5em;
    line-height: 1;
    font-weight: 400;
    align-self:center;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__original-price .elementor-price-table__currency {
    font-size: 1em;
    margin:0;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__price {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    color: #000 !important;
    font-weight: 800;
    font-size: 60px;
    padding:40px 10px 30px 10px;
}

.elementor-price-table .elementor-price-table__price .elementor-typo-excluded {
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
    font-size: medium;
    font-style:normal;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__after-price {
    display: flex;
    flex-wrap: wrap;
    text-align: start;
    align-self: stretch;
    align-items: flex-start;
    flex-direction:column;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__integer-part {
    line-height:.8;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__currency, .elementor-price-table .elementor-price-table__fractional-part {
    line-height: 1;
    font-size:.35em;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__currency {
    margin-right:3px;
    padding-left: 3px;
    font-size:.4em;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__period {
    width: 100%;
    font-size: 13px;
    font-weight:400;
    color: #000 !important;
    margin-top: 15px;
}

.elementor-price-table .elementor-price-table__features-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 150%;
    color: #000 !important;
}

.elementor-price-table .elementor-price-table__features-list li {
    font-size: 14px;
    line-height: 150%;
    display: flex;
    align-items: center;
}

.elementor-price-table .elementor-price-table__features-list li .elementor-price-table__feature-inner {
    color: #000 !important;
    padding: 15px 20px 15px 15px;
    display: flex;
    align-items: center;
    width: 100%;
}

.elementor-price-table .elementor-price-table__features-list li:not(:first-child):before {
    content: "";
    display: block;
    border: 0 solid hsla(0, 0%, 47.8%, .3) !important;
    margin: 10px 0 !important;
}

.elementor-price-table .elementor-price-table__features-list i {
    margin-right: 10px;
    font-size:1.3em;
    color: #000;
}

.elementor-price-table .elementor-price-table__features-list svg {
    margin-right: 16px;
    fill: var(--e-global-color-primary) !important;
    height: 1.5em;
    width:1.5em;
    flex-shrink: 0;
}

.elementor-price-table__features-list span {
  line-height: 1.5; /* Einheitlicher Zeilenabstand */
  flex: 1; /* Nimmt den verbleibenden Platz ein */
}

.elementor-price-table .elementor-price-table__features-list svg ~ * {
    vertical-align:text-top;
}

.elementor-price-table .elementor-price-table__footer {
    padding:30px 0 0 0;
}

.elementor-price-table .elementor-price-table__footer p {
    margin-block-end: .2rem !important;
}

.elementor-price-table .elementor-price-table__additional_info {
    font-size: 13px;
    line-height: 1.5 !important;
    color: #000 !important;
    padding: 10px 20px 20px;
}

.elementor-price-table .elementor-price-table__additional_info_payment {
    font-size: 13px;
    line-height: 1.5 !important;
    color: #000 !important;
    padding: 10px 20px 20px;
}

.elementor-price-table__ribbon {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    transform: rotate(90deg);
    width: 150px;
    overflow: hidden;
    height:150px;
}

/*.elementor-price-table__ribbon-inner {
    text-align: center;
    left: 0;
    width: 200%;
    transform: translateY(-37%) translateX(-56%) translateX(51px) rotate(-55deg);
    margin-top: 48px;
    font-size: 11px;
    line-height: 2;
    font-weight: 500;
    text-transform: uppercase;
}*/

.elementor-price-table__ribbon-inner {
    text-align: center;
    left: 0;
    width: 200%;
    transform: translateY(-5%) translateX(-48%) translateX(35px) rotate(-55deg);
    margin-top: 45px;
    font-size: 11px;
    line-height: 2;
    font-weight: 500;
    text-transform: uppercase;
}

/* Beispiel: Erhöhung der Spezifität */
html body .elementor-price-table__ribbon-inner {
    background: var( --e-global-color-primary ) !important;
    fill: var(--e-global-color-primary) !important;
    color: var(--e-global-color-text) !important;
}

.elementor-price-table__ribbon.elementor-ribbon-left {
    transform: rotate(0);
    left: 0;
    right:auto;
}

.elementor-price-table__ribbon.elementor-ribbon-right {
    transform: rotate(90deg);
    left: auto;
    right:0;
}

.elementor-widget-price-table .elementor-widget-container {
    overflow: hidden;
    background-color:#f9fafa;
}

.e-con-inner > .elementor-widget-price-list, .e-con > .elementor-widget-price-list {
    width: var(--container-widget-width);
    --flex-grow: var(--container-widget-flex-grow);
}

/*hover effects*/
.elementor-widget-price-table {
    -webkit-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
    margin: 0px;
}
.elementor-row:hover .elementor-widget-price-table {
    -webkit-filter: blur(4px);
            filter: blur(4px);
    -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
            transform: scale(0.9);
}
.elementor-widget-price-table:hover {
    -webkit-filter: blur(0px) !important;
            filter: blur(0px) !important;
    -webkit-transform: scale(1.01) !important;
        -ms-transform: scale(1.01) !important;
            transform: scale(1.01) !important;
}


.elementor-element.elementor-element-preise {
    --display: flex !important;
    --flex-direction: row !important;
    --container-widget-width: calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% ) !important;
    --container-widget-height: 100% !important;
    --container-widget-flex-grow: 1 !important;
    --container-widget-align-self: stretch !important;
    --justify-content: space-evenly !important;
    --align-items: stretch !important;
    --flex-wrap: nowrap !important;
    --background-transition: 0.3s !important;
}

.elementor-element.elementor-element-preise .e-con > .e-con-inner {
    height: auto !important;
}

/* Hintergrundfarbe für ungerade Listenelemente */
.elementor-price-table__features-list li:nth-child(odd) .elementor-price-table__feature-inner {
    background-color: #F1F3F5 !important;
    border-radius: 2px;
    margin: 5px;
    min-height: 65px;
}

/* Hintergrundfarbe für gerade Listenelemente */
.elementor-price-table__features-list li:nth-child(even) .elementor-price-table__feature-inner {
/*    background-color: #F8F9FA;*/
    border-radius: 2px;
    margin: 5px;
    min-height: 65px;
}


@media (min-width: 769px) {
    .preistabelle-container:nth-of-type(1):nth-last-of-type(3) .preistabelle02,
    .preistabelle-container:nth-of-type(2):nth-last-of-type(2) .preistabelle02,
    .preistabelle-container:nth-of-type(3):nth-last-of-type(1) .preistabelle02 {
        margin-top: -10px;
        border: 1px solid #ebebeb;
        box-shadow: 3px 2.5px 8px rgba(0, 0, 0, 0.07) !important;
    }
}

 
.elementor-price-table__mindestlaufzeit {
    font-size: 11px !important;
    padding: 0 20px;
    color: #000 !important;
    min-height: 65px;
    display: block;
    flex-direction: column;
    justify-content: start;
}

.elementor-price-table__zahlungsbedingungen {
    font-size: 11px !important;
    padding: 0 20px;
    color: #000 !important;
    min-height: 35px;
    display: block;
    flex-direction: column;
    justify-content: start;
}

.elementor-price-table__price_vat {
    font-size: 11px !important;
    padding: 10px 0 20px 0;
    color: #000 !important;
    margin-top: auto;
}

.elementor-price-table__additional_info, 
.elementor-price-table__zahlungsbedingungen, 
.elementor-price-table__mindestlaufzeit, 
.elementor-price-table__price_vat {
    margin-top: auto; /* Schiebt zusätzliche Informationen nach unten, direkt über den Footer */
}