/* Subheader */
.fullbg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.subhead .fullbg {
    background-size: cover;
    background-position: center center;
    opacity: 0.3;
}

.subhead_muster {
    background-image: url('../gfx/main_muster.svg');
}

.subhead {
    height: 456px;
    background-position: center center;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 0;
}

.subhead--content {
    height: 100%;
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subhead--content p {
    text-align: center;
    margin-top: 24px;
    font-size: 24px;
    line-height: 36px;
}

.subhead--content h1 {
    font-size: 48px;
    line-height: 1;
    color: #000;
    padding-left: 72px;
    padding-right: 72px;
    text-align: center;
}

@media (max-width:767px) {
    .subhead--content h1 {
        font-size: 36px;
    }
}

.subhead--content .breadcrumb {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    color: #000;
}

/* Hauptmenu ---------------------------------------------- */
.mainNav__titleLink svg {
    width: 100%;
}

.mainNav__titleLink svg path,
.mainNav__titleLink svg text {
    fill: var(--secondary);
}

@media (max-width:767px) {
    .mainNav__titleLink {
        transform: scale(1);
    }
}

@media (max-width:559px) {
    .is_fixed .mainNav__titleLink {
        margin-left: 20px;
    }
}

@media (max-width:478px) {
    .mainNav__titleLink {
        width: 130px;
    }
}

.mainNav {
    display: flex;
    height: 48px;
    width: auto;
    align-items: center;
    justify-content: flex-end;
    z-index: 102;
    position: relative;
}

.mainNav__primary {
    display: flex;
    align-items: center;
    height: 48px;
}

@media (max-width:1279px) {
    .mainNav__primary {
        height: auto;
    }
}

.mainNav__mainLinks li a {
    display: flex;
    height: 48px;
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
    position: relative;
}

.mainNav__mainLinks li.is_active .mainNav__mainLinkLabel,
.mainNav__mainLinks li.is_active a {
    color: #000;
    font-weight: 800;
    transition: all 0.3s ease-out;
}

.mainNav__mainLinkLabel {
    height: 24px;
    align-self: center;
    font-weight: 400;
    margin-right: 4px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.4s ease-in;
}

.mainNav__titleLink {
    overflow: hidden;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
}

.mainNav__titleLink img {
    height: 100px;
}

.startHeader--sub .mainNav__titleLink {
    margin-left: 12px;
}

@media (prefers-color-scheme: dark){
    .startHeader--sub .mainNav__titleLink {
        color: #009900;
    }
}

.mainNav__titleLink svg path,
.mainNav__titleLink svg text {
    fill: white;
}

.mainNav {
    width: 230px;
    z-index: 102;
    transform: translateX(100%);
    position: absolute;
    right: 0;
    top: 20px;
}

@media (max-width:478px) {
    .mainNav {
        width: 50vw;
    }
}

.mainNav__primary {
    display: flex;
    align-items: center;
    height: 48px;
}

@media (max-width:1279px) {
    .mainNav__primary {
        height: auto;
    }
}

.is_fixed .mainNav__mainLinks:after {
    content: '';
    width: 100%;
    height: 24px;
    position: absolute;
    bottom: -24px;
    right: 0;
}

.mainNav__mainLinks {
    display: flex;
    list-style: none;
    padding-left: 0;
    flex-direction: column;
    top: 44px;
    margin-top: 0;
    margin-bottom: 0;
}

.mainNav__mainLinks li {
    width: 100%;
    margin-bottom: 12px;
}

.mainNav__mainLinks li:last-child {
    margin-bottom: 0px;
}

@media (max-width:478px) {
    .mainNav__mainLinks li {
        width: 50vw;
    }
}

.mainNav__mainLinks li:hover > a {
    font-weight: 800;
    transition: all 0.3s ease-out;
    background: #a62d27;
}

.mainNav__mainLinks li.is_active > a {
    transition: all 0.3s ease-out;
    background: #fff;
}

.mainNav__mainLinks li.has_submenu > a::before,
.mainNav__mainLinks li.has_submenu > a::after {
    content: '';
    height: 44px;
    position: absolute;
    top: 0px;
    z-index: 100;
}

.mainNav__mainLinks li.has_submenu > a::after {
    width: 20px;
    left: 6px;
    background-image: url('../gfx/arrow.svg');
    transition: left 0.4s ease-in;
}

.mainNav__mainLinks li.has_submenu > a::before {
    width: 14px;
    left: -14px;
    background-image: url('../gfx/arrowbg.svg');
    transform-origin: right center;
    transform: scaleX(0);
    transition: transform 0.4s ease-in;
}

.mainNav__mainLinks li.is_active.has_submenu > a::after,
.mainNav__mainLinks li:hover.has_submenu > a::after {
    left: -8px;
    transition: left 0.3s ease-out;
}

.mainNav__mainLinks li.is_active.has_submenu > a::before,
.mainNav__mainLinks li:hover.has_submenu > a::before {
    transform: scaleX(1);
    transition: transform 0.3s ease-out;
}

.mainNav__mainLinks li .submenu {
    color: #000;
    list-style: none;
    padding: 0;
    transform-origin: right center;
    position: absolute;
    top: -8px;
    transform: translateX(-100%) scaleX(0);
    transition: transform 0.4s ease-in;
    height: 100%;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.4) 0%, #FFFFFF 50%);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow: hidden;
}

.mainNav__mainLinks li.is_active .submenu,
.mainNav__mainLinks li:hover .submenu,
.mainNav__mainLinks li .submenu:hover {
    transform: translateX(-100%) scaleX(1);
    transition: transform 0.3s ease-out;
}

.mainNav__mainLinks li .submenu li a {
    color: #000;
    justify-content: flex-start;
    font-size: 14px;
    height: 36px;
    padding-left: 16px;
    padding-right: 12px;
    background: none;
    font-weight: 400;
}

@media (max-width:478px) {
    .mainNav__mainLinks li .submenu li a {
        padding-left: 24px;
    }
}

.mainNav__mainLinks li .submenu li.is_active a {
    color: var(--p-color);
    font-weight: 800;
}

.menubutton {
    display: flex;
    justify-content: center;
    height: 44px;
    position: absolute;
    align-items: center;
    background-color: #ffffff;
    z-index: 101;
    pointer-events: all;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px;
    overflow: hidden;
}

.menutoggle {
    padding-left: 16px;
    padding-right: 8px;
    right: 0px;
    top: 0px;
}

@media (min-width:1279px) {
    .menutoggle {
        display: none;
    }
}

.mainNav__mainLinks li a {
    display: flex;
    height: 44px;
    font-family: 'Raleway', sans-serif;
    padding-left: 18px;
    padding-right: 24px;
    align-items: center;
    position: relative;
    justify-content: flex-start;
    transition: background-color 0.4s ease-in;
    background: var(--primary);
    text-decoration: none;
}

@media (max-width:478px) {
    .mainNav__mainLinks li a {
        padding-right: 12px;
        height: 38px;
    }
}

.mainNav__mainLinks > li > a {
    position: relative;
    z-index: 1;
}

.mainNav__mainLinks li.is_active {
    z-index: 200;
}

/* Divider --------------------------------------------------------------------- */
.divider {
    min-height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0px 10px 30px rgba(0, 0, 0, 0.6);
    background-color: #ffffff;
}

.parallaxbg {
    height: 120%;
    width: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    mix-blend-mode: multiply;
    background-image: url('https://pinegrow.com/placeholders/img12.jpg');
}

/* Slider --------------------------------------------------------------------- */
.pgia-slider {
    height: auto;
    min-height: 100vh;
    padding: 0px 24px;
    display: flex;
    align-items: center;
}

@media (max-width:478px) {
    .pgia-slider {
        position: relative;
        margin-top: 40px;
    }
}

.pgia-slide {
    padding: 0 24px;
    align-items: center;
    justify-content: flex-start;
    background: none;
}

@media (max-width:478px) {
    .pgia-slide {
        padding: 0;
    }
}

.pgia-slide > div {
    padding: 24px;
    color: var(--secondary);
    height: 100%;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 45.31%);
    box-shadow: 0px 11px 22px -10px rgba(0, 0, 0, 0.2);
}

@media (max-width:478px) {
    .pgia-slide > div {
        padding: 24px 36px;
    }
}

.pgia-slide h3 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
    margin-bottom: 12px;
}

.pgia-slide h3,
.pgia-slide h2 {
    text-align: center;
}

@media (max-width: 478px) {
    .pgia-slider[data-slider-slides-per-page="4"] .pgia-slide {
        flex-basis: 100%;
    }
}

.pgia-slide,
.pgia-slide:nth-child(odd) {
    background: none;
}

.pgia-slide,
.pgia-slide:nth-child(even) {
    background: none;
}

.pgia-slide h2 {
    line-height: 1.2;
    margin-bottom: 12px;
}

.pgia-slide h3 {
    line-height: 1;
    margin-bottom: 12px;
    color: #ccc;
}

.pgia-slide h3,
.pgia-slide h2 {
    text-align: center;
}

.pgia-control.next {
    right: 48px;
}

@media (max-width:478px) {
    .pgia-control.next {
        right: 20vw;
        font-size: 36px;
        top: -60px;
    }
}

.pgia-control.prev {
    left: 48px;
}

@media (max-width:478px) {
    .pgia-control.prev {
        left: 20vw;
        font-size: 36px;
        top: -60px;
    }
}

.pgia-slide:nth-child(even) {
    background: none;
}

.rating {
    transform: translateX(-50%);
    left: 50%;
    position: relative;
}

.pgia-pagination-item {
    background-color: var(----punsch);
    opacity: 1;
}

.referenzportrait {
    position: relative;
    width: 80px;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
}

/* Akkoedeon */
.akkordeonbox {
    grid-column: span 12;
    position: relative;
    color: #000;
    border-radius: 0.75rem;
    overflow: hidden;
}

.akkordeonbox.is_open {
    box-shadow: 0px 11px 22px -10px rgba(0, 0, 0, 0.2);
}

.akkordeon--header {
    height: 72px;
    background-size: cover;
    position: relative;
    cursor: pointer;
    background-position: center top;
    transition: height 0.3s ease-in;
    background-image: url('https://pinegrow.com/placeholders/img11.jpg');
}

.akkordeon--header--expand {
    background-position: center center;
}

.is_open .akkordeon--header--expand {
    height: 288px;
    transition: height 0.3s ease-out;
}

.togglegfx {
    width: 45px;
    height: 45px;
    position: absolute;
    right: 24px;
    top: 13.5px;
    transform-origin: center center;
    transform: rotate(0deg);
    transition: transform 0.5s ease-out;
}

.is_open .togglegfx {
    transform-origin: center center;
    transform: rotate(45deg);
    transition: transform 0.5s ease-out;
}

.is_open .akkordeon--header--expand .togglegfx path {
    stroke: #fff;
}

.togglegfx path {
    stroke: #fff;
    transition: stroke 0.5s ease-out;
}

.akkordeon--content {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-out;
    max-height: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.akkordeonbox--slim .akkordeon--content {
    max-height: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.is_open .akkordeon--content {
    max-height: 600px;
    transition: all 0.5s ease-out;
    background: rgba(255, 255, 255, 0.9);
}

.akkordeon--contentcontainer {
    grid-column: 2 / span 10;
    padding-top: 48px;
    padding-bottom: 72px;
    opacity: 0.4;
    transition: opacity 0.2s ease-out;
}

@media (max-width:767px) {
    .akkordeon--contentcontainer {
        grid-column: 1 / span 12;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width:478px) {
    .akkordeon--contentcontainer {
        padding-left: 18px;
        padding-right: 8px;
    }
}

.is_open .akkordeon--contentcontainer {
    opacity: 1;
}

.akkordeon--heading {
    font-size: 24px;
    line-height: 24px;
    color: #fff;
    display: flex;
    height: 100%;
    align-items: center;
    padding-left: 24px;
    padding-right: 72px;
    font-weight: 400;
    position: relative;
}

@media (max-width:767px) {
    .akkordeon--heading {
        font-size: 24px;
    }
}

.akkordeon--gfx {
    background: var(--secondary);
    transition: all 0.5s ease-in;
    height: 100%;
    mix-blend-mode: multiply;
    position: absolute;
    width: 100%;
}

.is_open .akkordeon--gfx {
    background: var(--accent);
    transition: all 0.5s ease-out;
}

@media (max-width:478px) {
    .akkordeon--heading {
        font-size: 16px;
        line-height: 24px;
    }
}

.is_open .akkordeon--header--expand .akkordeon--heading {
    background: rgba(255, 255, 255, 0);
    color: #fff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Gallery --------------------------------------------------------------------- */
.pgia-gallery-lightbox-inline {
    height: calc(100vh - 7.5rem);
}

.autoload_more {
}

.pgia-gallery-thumbnails img {
    opacity: 0.7;
    width: 100px;
}

.pgia-gallery-thumbnails a {
    margin-left: 2px;
    margin-right: 2px;
}

.gal_title {
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    top: 24px;
    color: #656565;
}

@media (max-width:767px) {
    .gal_title {
        top: 6px;
    }
}

.pgia-gallery-count {
    position: absolute;
    bottom: 30px;
    color: #656565;
    text-align: center;
    left: 0;
    right: 0;
}

.pgia-gallery {
    position: relative;
}

.pgia-gallery-lightbox-slide {
    bottom: 24px;
    top: 24px;
    right: 24px;
    left: 24px;
    grid-column: 2 / span 12;
}

@media (max-width:478px) {
    .pgia-gallery-lightbox-slide {
        bottom: 0;
        top: 0;
        right: 0;
        left: 0;
        grid-column: 1 / span 14;
    }
}

.pgia-gallery-thumbnails {
    display: none;
}

.pgia-gallery-lightbox {
    background-color: transparent;
}

.pgia-control,
.pgia-control:link {
    color: var(--primary);
    background: #fff;
    box-shadow: none;
    transition: all 0.4s ease-in;
    text-decoration: none;
}

.pgia-control:hover,
.pgia-control:link:hover {
    background: var(--accent);
    color: #fff;
    transition: all 0.3s ease-out;
}

@media (max-width:478px) {
    .pgia-control,
    .pgia-control:link {
        opacity: 0.5;
    }
}

/* Header / Footer ---------------------------------------------------------------------- */
.header {
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0;
    pointer-events: none;
}

.heading_div {
    text-align: center;
    padding: 48px 24px;
}

.footer {
    display: flex;
    position: relative;
    overflow: hidden;
    background-repeat: repeat;
    padding-top: 48px;
    color: #000;
    z-index: 0;
}

@media (max-width:767px) {
    .footer_logo {
        display: flex;
        justify-content: center;
    }
}

.footer .is_active > a {
    font-weight: 800;
    color: var(--accent);
}

.footer ul {
    padding: 0;
    list-style: none;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer li {
    margin: 12px 0;
}

@media (max-width:478px) {
    .footer li {
        text-align: center;
    }
}

.footer ul li a {
    color: #000;
    font-size: 0.75rem;
    line-height: 1.5;
    text-decoration: none;
}

.footer--heading {
    font-size: 1.25rem;
    line-height: 2.25rem;
}

@media (max-width:478px) {
    .footer--heading {
        text-align: center;
    }
}

/* Cards ---------------------------------------------------------------------- */
.contact_card {
    padding-top: 120px;
    position: relative;
}

.contact_promicard {
    position: relative;
    text-align: center;
}

.contact_card__img {
    width: 167px;
    height: 167px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
}

.contact_promicard__img {
    width: 80%;
    height: auto;
    border-radius: 50%;
    position: relative;
    object-fit: cover;
}

@media (max-width:767px) {
    .contact_promicard__img {
        width: 66%;
    }
}

.contact_card__body {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding-top: 72px;
    text-align: center;
}

.contact_promicard__body {
    text-align: center;
}

.contact_card__heading {
    font-weight: 400;
    font-size: 30px;
    line-height: 48px;
    margin-bottom: 12px;
}

@media (max-width:574px) {
    .contact_card__heading {
        font-size: 24px;
    }
}

.contact_card__subheading {
    font-weight: 800;
    font-size: 24px;
    line-height: 48px;
    margin-bottom: 24px;
}

a.contact_card__mail {
    text-align: left;
    display: block;
    padding: 12px 12px 12px 68px;
    background: #fff;
    border-radius: 12px;
    position: relative;
    color: var(--p-color);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

@media (max-width:478px) {
    a.contact_card__mail {
        padding: 12px 12px 12px 48px;
    }
}

.contact_card__mail:before {
    content: '';
    display: block;
    width: 22px;
    height: 18px;
    position: absolute;
    top: 16px;
    left: 24px;
    background-image: url('../gfx/mail--sub.svg');
    background-size: contain;
}

@media (max-width:478px) {
    .contact_card__mail:before {
        left: 16px;
    }
}

a.link_card {
    text-decoration: none;
    min-height: 240px;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    position: relative;
    box-shadow: 0px 15px 30px -15px rgba(60, 33, 10, 0.31);
    transition: all 0.3s ease-in;
    background-position: center center;
    background-image: url('https://pinegrow.com/placeholders/img10.jpg');
}

a.link_card--disabled {
    box-shadow: none;
}

a.link_card:hover {
    box-shadow: 0px 15px 30px #f1e1bc);
    transition: all 0.3s ease-out;
}

.link_card__gfx {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: var(--primary);
    mix-blend-mode: screen;
    transition: all 0.3s ease-in;
}

.link_card__heading {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    padding: 24px;
    color: #000;
    transition: all 0.3s ease-in;
}

a.link_card--disabled .link_card__gfx {
    background: #aaa;
}

a.link_card:hover .link_card__gfx {
    background: var(--accent);
    transition: all 0.3s ease-out;
}

.link_card.link_card--disabled:hover .link_card__gfx {
    background: #aaa;
    transition: all 0.3s ease-out;
}

.link_card:hover .link_card__heading {
    color: var(--pur);
    transition: all 0.3s ease-out;
}

.link_card--disabled:hover .link_card__heading {
    background: none;
    transition: all 0.3s ease-out;
    color: #000;
}

.standard_contact {
    position: relative;
    z-index: 0;
    background-color: #FCCE97;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
    margin-top: -24px;
    box-shadow: 0px -10px 25px rgba(122, 67, 0, 0.2);
}

@media (max-width:1278px) {
    .contact_infos {
        text-align: center;
    }
}

/* Linkteaser Cards ---------------------------------------------------------------------- */
.linkteaser {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 12px 12px;
    box-shadow: 0px 10px 40px -10px rgba(80, 55, 5, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.maplinkteaser {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 12px 12px;
    box-shadow: 0px 10px 40px -10px rgba(80, 55, 5, 0.4);
    display: flex;
    flex-direction: column;
}

.linkteaser_img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.linkteaser_content {
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.3) 80.21%);
    padding: 36px 24px;
    height: 100%;
}

.linkteaser_content p:last-child {
    margin: 0;
}

a.linkteaser_button {
    font-size: 16px;
    line-height: 24px;
    font-weight: 800;
    color: var(--kaffee);
    text-align: center;
    padding: 24px;
    background-color: var(--pur);
    text-decoration: none;
    transition: all 0.3s ease-in;
}

a.linkteaser_button:hover {
    color: #000;
    background-color: var(--secondary);
    transition: all 0.3s ease-out;
}

.maplinkteaser a.linkteaser_button:before {
    content: '';
    width: 48px;
    height: 48px;
    position: absolute;
    top: 12px;
    left: 6px;
    background-image: url('../gfx/cta--map.svg');
}
