:root {
    --main-color: #84bd00;
    --main-dark-color: #1f7e42;
    --main-text-color: #212529;
    --main-primary-dark: rgb(30,93,53);
    --star-color: #ffb32e;
    --dark-transparent: rgba(35, 35, 35, 0.65);
    --white: #ffffff;
    --light: #f3f8e8;
    --font-family-bold: 'Museo 700';
    --dot-bg: #fff;
    --dot-color: #84bd00;
    --dot-size: 5px;
    --dot-space: 8px;

    /* Video Element */
    --plyr-video-control-background-hover: var(--dark-transparent);
    --plyr-range-fill-background: var(--main-color);
}

.landingpage-small ul {
    width: fit-content;
    margin: auto;
}

@media screen and (min-width: 1400px) {
    .container.container-large {
        max-width: 1640px;
    }
}

#main ul li::marker,
.landingpage-small ul li::marker {
    color: var(--main-color);
}

.how-we-work-item {
    background-color: #fff;
    border: 1px solid var(--main-color);
    padding: 2rem;
    text-align: center;
    box-shadow: 0px 0px 10px 0px rgba(132, 189, 0, 0.2);
    width: 100%;
    z-index: 1;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.how-we-work-item h2 {
    font-size: 26px;
    margin-top: 1rem;
}

.how-we-work-item::before {
    content: "";
    position: absolute;
    display: block;
    height: 3px;
    width: 5rem;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        var(--dot-color);
    transform: rotate(90deg);
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    margin-top: -2.5rem;
}

/* .how-we-work-item:first-child::before {
    display: none;
} */

.dotted-center-wrapper {
    padding-top: 2rem;
}

@media screen and (min-width: 782px) {
    .how-we-work-item {
        margin-bottom: 0;
    }

    .how-we-work-item::before {
        display: none;
    }

    .item-top-left {
        margin-left: auto;
        margin-right: 2rem;
    }

    .item-top-right {
        margin-top: 5rem;
        margin-left: 2rem;
    }

    .dotted-center-wrapper {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media screen and (min-width: 992px) {
    .how-we-work-item {
        max-width: 350px;
    }
}

.item-dotted {
    position: absolute;
    z-index: -1;
}

.item-dotted.item-dotted-top {
    width: 150px;
    right: -100px;
    top: 50%;
}

.item-dotted .item-dots {
    display: block;
    height: 3px;
    background:
        linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        var(--dot-color);
}

.item-dotted.item-dotted-bottom {
    width: 100px;
    transform: rotate(90deg);
    left: 2rem;
}

.item-dotted.item-dotted-top-bottom {
    width: 100px;
    transform: rotate(90deg);
    right: 2rem;
}

.item-dotted.item-dotted-center {
    width: 12rem;
    left: 0;
    right: 0;
    margin: auto;
}

@media screen and (min-width: 1200px) {
    .item-dotted.item-dotted-center {
        width: 14rem;
    }
}

/* Kundenbewertungen */

.customer-review {
    border: 2px solid #c8c8c8;
    background: #f9f9f9;
    padding: 1.5rem;
}

.customer-review .customer-review-text p {
    line-height: 1.25em;
    font-size: 24px;
}

.customer-review .customer-review-text {
    color: var(--main-text-color);
}

.customer-review .customer-review-text strong {
    color: var(--main-color);
}

.customer-review .customer-review-stars {
    color: var(--star-color);
}

.customer-review .customer-review-name {
    margin-bottom: 0;
    font-size: 14px;
}

.customer-review .customer-review-stars i {
    margin-right: 0.1rem;
}

@media screen and (min-width: 780px) and (max-width: 992px) {
    .customer-review {
        padding: 1rem;
    }

    .customer-review .customer-review-text p {
        font-size: 20px;
    }
}

.list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-color);
    position: absolute;
    left: 0;
}

/* Header Overlay */

.header-overlay {
    position: relative;
    overflow: unset;
}

.btnButton,
.btnText {
    font-family: "Museo Sans 700";
    font-weight: 500;
}

.header-overlay-content {
    position: relative;
}

.header-overlay-bubble {
    position: relative;
    left: 0;
    margin: 0;
    width: 8rem;
    background: rgb(132, 189, 0);
    border-radius: 50em;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    hyphens: auto;
    padding: 0.75rem;
    font-size: 14px;
    line-height: 1.2em !important;
    margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
    .header-overlay-content {
        max-width: 80%;
    }

    .header-overlay-bubble {
        position: absolute;
        left: 100%;
        bottom: 0;
        width: 11rem;
        height: 11rem;
        font-size: 15px;
        line-height: 1.5em !important;
        margin-bottom: 0;
    }
}


.btn-custom a {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    font-family: "Museo Sans 700";
    transition: background-color 400ms;
}

.btn-custom a:hover {
    transition: background-color 400ms;
    color: #fff !important;
    background-color: var(--star-color) !important;
}

@media screen and (min-width: 992px) and (max-width: 1410px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        font-size: 16px;
    }
}


.footer-navi-image {
    width: 1rem;
    height: auto;
    object-fit: contain;
    margin-right: 0.5rem;
}


footer .link-white:hover {
    opacity: 0.8;
}

#main .slider-partner-custom .pgcsimplygalleryblock-slider-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
    overflow: unset !important;
}

/* #main .pgcsimplygalleryblock-slider-collection .pgcsimplygalleryblock-slider-slider-view {
    height: 100% !important;
    overflow: unset !important;
} */

#main .slider-partner-custom .pgcsimplygalleryblock-slider-collection {
    min-height: 150px;
}

#main .slider-partner-custom .pgcsimplygalleryblock-slider-item-wrap img {
    /* position: relative!important; */
    left: unset !important;
    right: unset !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100px !important;
    object-fit: contain !important;
}

@media screen and (max-width: 991px) {
    #main .slider-partner-custom .pgcsimplygalleryblock-slider-dot-navi {
        position: absolute;
        width: 100%;
        bottom: 0;
    }
}

/* Videos */
.card-video {
    background-color: var(--white);
    padding: 25px;
}

.card-video .video-element {
    margin-bottom: 25px;
}

.comparison-table {
    background: rgb(31,126,103);
    background: linear-gradient(90deg, rgba(31,126,103,1) 0%, rgba(31,126,64,1) 50%, rgba(31,126,66,1) 100%);
    -webkit-box-shadow: 5px 5px 10px 0px rgba(31,126,103,0.5); 
    box-shadow: 5px 5px 10px 0px rgba(31,126,103,0.5);
    padding: 30px;
    font-size: 1.125rem;
    color: #fff;
    border-radius: 2rem;
}

.comparison-table table thead th {
    padding-top: 0 !important;
    min-width: 150px;
}

.comparison-table table td, .comparison-table table thead th {
    border: none;
    border-bottom: 1px solid #fff;
    padding: 20px 10px;
}


.comparison-table table tr:last-child td {
    border: none !important;
    padding-bottom: 0;
}

.comparison-table table td img {
    height: 30px;
    border-radius: 15px;
}

.comparison-table table thead {
    border: none;
}

.header-video-2025 {
    position: relative;
    margin-bottom: 2rem;
}

.header-video-2025 .media-container .wp-block-image,
.header-video-2025 .media-container .wp-block-video {
    height: 300px;
}
.header-video-2025 img,
.header-video-2025 video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header-video-2025 .header-media-overlay {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: var(--main-primary-dark);
    color: var(--white);
}

.header-video-2025:has(.button-kostenloses-erstgespraech) {
    margin-bottom: 8rem;
}

@media screen and (min-width: 782px) {
    .header-video-2025:has(.button-kostenloses-erstgespraech) {
        margin-bottom: 2rem;
    }
    .header-video-2025 .media-container .wp-block-image,
    .header-video-2025 .media-container .wp-block-video {
        height: 350px;
    }
    .header-video-2025.header-video-fullheight .media-container .wp-block-image,
    .header-video-2025.header-video-fullheight .media-container .wp-block-video {
        height: 500px;
    }
    .header-video-2025 .header-media-overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(7, 41, 20, 0.95);
    }
}
@media screen and (min-width: 1200px) {
    .header-video-2025 .media-container-image .header-media-overlay {
        background-color: rgba(0, 0, 0, 0.75);
    }
    .header-video-2025.header-video-fullheight .media-container .wp-block-image,
    .header-video-2025.header-video-fullheight .media-container .wp-block-video {
        height: 700px;
    }
    .parallax-section-header {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
}
.parallax-section-header h1 {
    margin-bottom: 0;
}

.parallax-section-header h1,
.parallax-section-header h2 {
    color: #fff;
}
@media screen and (max-width: 767px) {
    .parallax-section-header .psbParallaxSection {
        padding: 0.5rem!important;
    }   
}

.header-video-main-headline {
    margin-bottom: 1.5rem;
}
@media screen and (min-width: 992px) {
    .header-video-main-headline {
        margin-bottom: 3rem;
    }
}

.header-video-2025 .bBlocksTextHighlight {
    color: var(--main-color);
    background-color: transparent;
    padding: 0;
}

.header-video-2025 h3 {
    color: var(--white);
    font-size: 1.25rem!important;
}
.header-video-2025 h1,
    .header-video-2025 h2 {
        font-size: 1.5rem;
        line-height: 1em;
    }

@media screen and (min-width:1200px) {
    .header-video-2025 h1,
    .header-video-2025 h2 {
        font-size: 2.5rem;
        line-height: 1em;
    }
    .header-video-2025 h3 {
        margin-top: 1.5rem;
        font-size: 1.5rem!important;
    }
    .header-video-2025 p {
        font-size: 1.1rem;
        line-height: 1.5em;
    }
}

@media screen and (max-width: 782px) {
.button-kostenloses-erstgespraech.button-header-kostenloses-erstgespraech a, 
.button-kostenloses-erstgespraech.button-header-kostenloses-erstgespraech {
        display: none;
    }
}

.button-kostenloses-erstgespraech a {
    animation: pulse 2s infinite;
}
.button-kostenloses-erstgespraech a,
.button-kostenloses-erstgespraech {
    aspect-ratio: 1 / 1;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25em;
    border-radius: 50em;
    transform: scale(1) rotate(10deg);
}

/* .header-video-2025 .wp-block-buttons {
    justify-content: flex-end;
} */

@media screen and (max-width: 782px) {
    .button-kostenloses-erstgespraech a,
    .button-kostenloses-erstgespraech {
        width: 150px;
        height: 150px;
        font-size: 1rem!important;
        position: absolute;
        right: 2rem;
        top: calc(100% - 90px);
    }

}
@media screen and (min-width: 783px) {
    .button-kostenloses-erstgespraech.button-header-kostenloses-erstgespraech {
        display: block;
    }
}


.button-kostenloses-erstgespraech a {
    outline: 10px solid rgba(132, 189, 0, .35);
}

@keyframes pulse {
    0% {
        transform: scale(0.98) rotate(10deg);
        box-shadow: 0 0 0 0 rgba(132, 189, 0, 0.7);
    }

    70% {
        transform: scale(1) rotate(10deg);
        box-shadow: 0 0 0 10px rgba(208, 4, 60, 0);
    }

    100% {
        transform: scale(0.98) rotate(10deg);
        box-shadow: 0 0 0 0 rgba(208, 4, 60, 0);
    }
}

.header-video-2025 .video-content-element .is-provider-youtube .wp-block-embed__wrapper,
.header-video-2025 .video-content-element .wp-block-video {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media screen and (min-width: 782px) {
    .header-video-2025 .video-content-element video {
        width: 90%;
        height: 80%;
    }
}

.bBlocksTextHighlight {
    color: var(--main-color);
    background-color: transparent;
    padding: 0;
}


.wp-block-post-content.wp-block-post-content {
    background-color: #f5f5f5;
}

.em-icon-box {
    height: 100%;
    background-color: var(--main-primary-dark);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
    padding: 1.7rem;
    position: relative;
}

.em-icon-box.em-icon-box-highlight {
    background-color: var(--main-color);
}

.em-icon-box h2,
.em-icon-box h3,
.em-icon-box h4,
.em-icon-box p {
    color: var(--white);
}

.em-icon-box p {
    line-height: 1.5em;
    padding-top: 2rem;
    margin-bottom: 0;
    position: relative;
}
.em-icon-box p::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: calc(100% - 1rem);
    background-color: #fff;
    height: 1px;
    width: 80px;


}

.em-icon-box h2,
.em-icon-box h3 {
    font-family: var(--font-family-bold);
}

.em-icon-box img {
    max-height: 3rem;
    max-width: 3rem;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: 1rem;
}
.em-icon-box.em-icon-box-highlight p.em-icon-box-step,
.em-icon-box p.em-icon-box-step {
    border-top: 0;
    padding: 0;
    margin: 0;
    font-size: 7rem;
    line-height: 0.75em;
    color: var(--main-color);
    position: absolute;
    bottom: -4px;
    right: -8px;
}
.em-icon-box.em-icon-box-highlight p.em-icon-box-step.em-icon-box-step-large {
    font-size: 8.5rem;
}


.em-icon-box.em-icon-box-highlight p.em-icon-box-step {
    color: var(--main-dark-color);
}

.em-icon-box p.em-icon-box-step:before {
    display: none;
}

.em-icon-box:has(.em-icon-box-step) {
    padding-bottom: 6rem;
}

@media screen and (min-width: 1024px) {
    p.text-lg {
        font-size: 1.25rem;
        line-height: 1.5em;
    }
}

.wp-block-columns.wp-small-gap {
    gap: 1em;
}
@media screen and (min-width: 782px) and (max-width: 1200px) {
    .wp-block-columns.wp-4columns {
        flex-wrap: wrap!important;
    }
    .wp-block-columns.wp-4columns > .wp-block-column.is-layout-flow {
        flex-grow: unset;
        flex-basis: calc(50% - 1em);
    }
}


.box-counter {
    text-align: center;
    position: relative;
}


.box-counter h2 {
    font-family: 'Museo Sans 900';
    color: var(--main-primary-dark);
    position: absolute;
    top: calc(75px - 2rem);
    left: 0;
    right: 0;
    font-size: 4rem;
}

.box-counter p {
    max-width: 250px;
    margin: auto;
    margin-top: 1rem;
    line-height: 1.5em;
}

.box-counter img {
    transform: scale(1);
    transition: transform 400ms;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    max-width: 150px;
}

.box-counter:hover img {
    transform: scale(1.25);
}

@media screen and (min-width: 1200px) {
    .box-counter h2 {
        font-size: 4rem;
    }
}

.iframe-height iframe {
    height: 100%;
}

.iframe-portrait iframe {
    aspect-ratio: 9 / 16!important;
}

.vimeo-16-9-ratio .wp-block-embed__wrapper {
    position: relative;
	padding-bottom: 56%; /* 16/9 Video */
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.vimeo-16-9-ratio .wp-block-embed__wrapper iframe {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 992px) {
    .contact-agri-service-overlay h2 {
        font-size: 1.8rem;
    }
    .contact-agri-service-overlay h3 {
        font-size: 1.25rem;
    }
}


/* .pgcsimplygalleryblock-slider-content {
    padding-bottom: 5rem !important;
} */


.parallax-icon-container {
    display: flex;
    flex-direction: row;
}

@media screen and (min-width: 782px) {
    .parallax-icon-container {
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 782px) {
.parallax-icon-container img {
    margin-right: 0.75rem;
    display: block;
    max-width: 3rem;
}
}


.table-responsive table {
    min-width: 576px;
}