/*
Theme Name: CZOCK Theme
Theme URI: https://github.com/elementor/hello-biz-child/
Description: CZOCK Theme, design by Aorta.Design
Author: AddUse GmbH
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */

#headermenu-main .elementor-nav-menu .menu-item a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    #headermenu-main .elementor-nav-menu {
        padding-top: 20px;
    }
    #headermenu-main .elementor-nav-menu .menu-item a {
        border-radius: 0;
        border: 0;
    }
}

body {
    position: relative;
    /*background: linear-gradient(
            180deg,
            rgba(253, 232, 231, 0.15) 0%,
            rgba(255, 190, 215, 0.15) 100%
        ),
        #fff;*/
    background: linear-gradient(
            180deg,
            rgba(253, 232, 231, 0.2) 0%,
            rgba(255, 190, 215, 0.2) 100%
        ),
        #fff;
}

body::before {
    content: '';
    position: fixed; /* oder absolute, wenn nur auf Body */
    inset: 0;
    background: url('img/czock-bg-noise.png') 0 0 / 182px 182px repeat;
    mix-blend-mode: overlay;
    pointer-events: none; /* verhindert Klick-Probleme */
    z-index: 0;
}

body * {
    position: relative;
    z-index: 1; /* Content überlagert die Textur */
}

#content {
    min-height: 45vh;
}

strong {
    font-weight: 600;
}

.margin-top-auto {
    margin-top: auto;
}

/* color overwrite */
.global-color-main {
    color: var(--e-global-color-06ee92b);
}

.adduse-icon-link a:focus svg {
    color: #2d4c50 !important;
}

.adduse-icon-link a:focus:hover svg {
    color: var(--e-global-color-063c3b7) !important;
}

.au-title-switcher .au-current {
    padding-left: 3px;
    margin-left: -3px;
    display: inline-block;
    overflow: visible;
}

/* Hintergrund ausschalten auf Mobile */
@media (max-width: 768px) {
    body::before {
        background: none;
    }
}

/* 
Animation kleiner Zeilenabstand
Animation im Desktop
*/

/* Diese soll im tablet und mobile nicht mehr position absolut sein */
@media (max-width: 1024px) {
    #footer-copyline {
        position: relative;
    }
    .au-pre {
        display: block;
    }
}

.au-pre {
    display: inline-block;
}
.add-point-green:not(:empty) h1::after,
.add-point-bordaux:not(:empty) h1::after,
.add-point-green:not(:empty) h2::after,
.add-point-bordaux:not(:empty) h2::after {
    content: '.';
    color: #742b3b;
    font-family: 'Roboto';
}

.add-point-green:not(:empty) h1::after,
.add-point-green:not(:empty) h2::after {
    content: '.';
    color: var(--e-global-color-06ee92b);
    font-family: 'Roboto';
}

.add-point-pine:not(:empty) h1::after,
.add-point-pine:not(:empty) h2::after {
    content: '.';
    color: #348580;
}
/*
.angebot-box::after {
    content: '';
    display: inline-block;
    width: 69px;
    min-height: 32px;
    margin-left: 0.5rem;
    background: url('img/arrow-right-white.svg') no-repeat center / contain;
    z-index: 2;
    position: absolute;
    bottom: 32px;
}

.angebot-box:hover::after {
    background: url('img/arrow-right-coral.svg') no-repeat center / contain;
}

.box-green.angebot-box:hover::after {
    background: url('img/arrow-right-green.svg') no-repeat center / contain;
}
*/
.elementor-element .angebot-box:hover {
    background-color: #742b3b !important;
}

.elementor-element .angebot-box.box-green:hover {
    background-color: var(--e-global-color-06ee92b) !important;
}

.elementor-element .angebot-box {
    min-height: 400px;
}

.number-bubble,
.number-bubble-2 {
    width: 48px;
    height: 48px;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
    color: #e94e52;
}

.angebot-box:hover .number-bubble p {
    color: #742b3b !important;
}

.angebot-box.box-green:hover .number-bubble p {
    color: #2d4c50 !important;
}

.number-bubble-2 {
    width: 76px;
    height: 76px;
}

.box-bubble-title {
    min-height: 114px;
}

.elementor-element .angebot-box.box-green .box-bubble-title {
    min-height: auto;
}

.box-bubble-title h2,
.box-bubble-title h3 {
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.36em;
}

.elementor-element .angebot-box.box-green .box-bubble-title h2,
.elementor-element .angebot-box.box-green .box-bubble-title h3 {
    font-size: 32px;
}

.box-bubble-text {
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5em;
}

.elementor-element .angebot-box.box-green .box-bubble-text {
    font-size: 22px !important;
}

.elementor-nav-menu--layout-horizontal .current_page_item a {
    background-color: var(--e-global-color-feab5a3);
    color: var(--e-global-color-063c3b7) !important;
    border-color: var(--e-global-color-feab5a3) !important;
}

/* ============================================
   Milestone Timeline Widget Styles
   ============================================ */

.au-milestone-timeline-wrapper {
    position: relative;
    padding: 0px 0;
}

.au-milestone-path {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 1px !important;
    height: 0;
    background-color: #2d4c50 !important;
    transition: height 2s ease-out 0s;
    z-index: 1;
}

.au-milestone-timeline {
    position: relative;
    z-index: 2;
}

.au-milestone-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 75px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.au-milestone-item.au-milestone-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for each milestone */
.au-milestone-item:nth-child(1) {
    transition-delay: 0s;
}

.au-milestone-item:nth-child(2) {
    transition-delay: 0.15s;
}

.au-milestone-item:nth-child(3) {
    transition-delay: 0.3s;
}

.au-milestone-item:nth-child(4) {
    transition-delay: 0.45s;
}

.au-milestone-item:nth-child(5) {
    transition-delay: 0.6s;
}

.au-milestone-item:nth-child(6) {
    transition-delay: 0.75s;
}

.au-milestone-item:nth-child(7) {
    transition-delay: 0.9s;
}

.au-milestone-item:nth-child(8) {
    transition-delay: 1.05s;
}

.au-milestone-item:nth-child(9) {
    transition-delay: 1.2s;
}

.au-milestone-item:nth-child(10) {
    transition-delay: 1.35s;
}

/* Left alignment - content on left, bubble in center, empty right */
.au-milestone-item.au-milestone-left .au-milestone-content {
    grid-column: 1;
    text-align: right;
    padding-right: 0;
    justify-self: end;
}

.au-milestone-item.au-milestone-left .au-milestone-number-wrapper {
    grid-column: 2;
}

/* Right alignment - empty left, bubble in center, content on right */
.au-milestone-item.au-milestone-right .au-milestone-content {
    grid-column: 3;
    text-align: left;
    padding-left: 0;
    justify-self: start;
}

.au-milestone-item.au-milestone-right .au-milestone-number-wrapper {
    grid-column: 2;
}

.au-milestone-number-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
    z-index: 3;
}

.au-milestone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #e94e52;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.au-milestone-content {
    flex: 0 1 auto;
}

h3.au-milestone-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    padding-top: 0;
}

.au-milestone-description {
    margin: 0;
    line-height: 1.6;
}

.au-milestone-description p {
    margin: 0 0 10px 0;
}

.au-milestone-description p:last-child {
    margin-bottom: 0;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .au-milestone-path {
        left: 24px;
        transform: none;
    }

    .au-milestone-item {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .au-milestone-item.au-milestone-left .au-milestone-number-wrapper,
    .au-milestone-item.au-milestone-right .au-milestone-number-wrapper {
        order: 1;
        grid-column: auto;
    }

    .au-milestone-item.au-milestone-left .au-milestone-content,
    .au-milestone-item.au-milestone-right .au-milestone-content {
        order: 2;
        grid-column: auto;
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        max-width: none;
    }

    .au-milestone-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .au-milestone-title {
        font-size: 20px !important;
        margin-bottom: 10px;
    }

    .au-milestone-description {
        font-size: 14px;
    }
}

.two-fonts h1 i {
    font-family: var(--e-global-typography-2a71e1b-font-family), Sans-serif !important;
    font-weight: 700 !important;
    color: var(--e-global-color-primary) !important;
}

.two-fonts h1 {
    font-family: 'General Sans', Sans-serif !important;
    font-size: 98px;
    font-weight: 600 !important;
    font-style: normal !important;
    color: var(--e-global-color-93eb634) !important;
}

/* Kontaktseite */
.map-standort {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: var(--e-global-color-feab5a3);
    font-weight: 600;
}

.redpoint {
    width: 14px;
    height: 14px;
    background: var(--e-global-color-feab5a3);
    border-radius: 50%;
    position: relative;
}

.redpoint.wubbern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    border: 1px solid black;
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
}

.menu-icon-top {
    background: url('img/chc_open.svg') no-repeat center;
    background-size: 35px;
    width: 67px;
    height: 67px;
    cursor: pointer;
}

/* ============================================
   Scroll Menu Icon Styles
   ============================================ */

#scroll-menu-icon {
    position: fixed;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-out, visibility 0.1s ease-out;
    border-radius: 50%;
    width: 66px;
    height: 66px;
    border-radius: 33px;
    background: #eb5c5f;
    padding: 15px;
    right: 60px;
    top: 44px;
}

#scroll-menu-icon.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
}

/* Hide on mobile */
@media (max-width: 768px) {
    #scroll-menu-icon,
    .menu-icon-top {
        display: none;
    }
}

/* ============================================
   Fullscreen Menu Styles
   ============================================ */

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            180deg,
            rgba(116, 43, 59, 0.98) 0%,
            rgba(116, 43, 59, 0.95) 100%
        ),
        #742b3b;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    overflow-y: auto;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0px 20px 0px;
}

.fullscreen-nav {
    flex: 1;
    display: flex;
    width: 100%;
}

.fullscreen-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.fullscreen-menu-list li {
    margin: 0 0 20px 0;
}

.fullscreen-menu-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: inline-block;
}

.fullscreen-menu-list a:hover {
    color: var(--e-global-color-feab5a3);
}

.fullscreen-menu-footer {
    width: 100%;
    max-width: 600px;
    margin-top: 60px;
}

.fullscreen-language-switch {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 12px;
    margin-bottom: 40px;
}

.fullscreen-language-switch .lang-option {
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fullscreen-language-switch .lang-option.active {
    color: #ffffff;
}

.lang-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.lang-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 255, 255);
    transition: 0.4s;
    border-radius: 34px;
}

.lang-slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #eb5c5f;
    transition: 0.4s;
    border-radius: 50%;
}

.lang-toggle input:checked + .lang-slider {
    background-color: rgba(255, 255, 255, 0.3);
}

.lang-toggle input:checked + .lang-slider:before {
    transform: translateX(24px);
}

.fullscreen-cta {
    text-align: left;
    max-width: 300px;
}

.fullscreen-cta h2 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 30px 0;
}

.fullscreen-cta-button {
    display: inline-block;
    padding: 9px 30px;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.fullscreen-cta-button:hover {
    background-color: #ffffff;
    color: #742b3b;
}

body.menu-open {
    overflow: hidden;
}

/* Menu trigger should stay on top */
.menu-icon-trigger {
    position: relative;
    z-index: 10;
}

/* ============================================
   Mobile Menu Bar Styles
   ============================================ */

.mobile-menu-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 62.69px;
    background: var(--e-global-color-06ee92b);
    padding: 12px 20px;
    z-index: 2;
    margin: 24px;
}

.mobile-menu-bar {
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding: 0 32px 0 24px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.25);
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background-color: transparent;
}

/*
.mobile-menu-btn.menu-icon-trigger.active {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}
*/

.mobile-menu-icon {
    width: 53px;
    height: 32px;
    color: #ffffff;
}

.mobile-icon-c {
    margin-top: -16px;
}

.fullscreen-close-trigger {
    width: 66px;
    height: 66px;
    border-radius: 33px;
    background: #eb5c5f;
    padding: 15px;
    cursor: pointer;
    position: absolute;
    right: 60px;
    top: 44px;
}
.fullscreen-close-trigger svg {
    transform: rotate(45deg);
    display: block;
}

.two-col {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 600px;
    width: 100%;
    gap: 20px;
}

.mobile-menu-language {
    display: none;
}

/* Show mobile menu bar only on mobile */
@media (max-width: 768px) {
    .mobile-menu-bar {
        display: flex;
    }

    .fullscreen-menu-content {
        padding: 0px 20px 0px;
    }

    .fullscreen-menu-list li {
        margin: 0 0 15px 0;
    }

    .fullscreen-menu-list a {
        font-size: 22px;
    }

    .fullscreen-cta h2 {
        font-size: 50px;
    }

    .fullscreen-cta-button {
        font-size: 17px;
    }
    .two-col {
        flex-direction: column !important;
        order: 2;
    }

    .fullscreen-close-trigger {
        background-color: transparent;
        bottom: 24px;
        right: 60px;
        top: auto;
    }

    .fullscreen-menu-footer {
        margin: 0 0 82px;
    }

    .fullscreen-language-switch {
        display: none;
    }

    .mobile-menu-language {
        display: block;
        position: absolute;
        bottom: 5px;
        left: 24px;
    }

    .mobile-menu-language .fullscreen-language-switch {
        display: block;
    }
}

/* Adjust for smaller screen heights */
@media (max-height: 700px) {
    .fullscreen-menu-content {
        padding: 0px 20px 0px;
        justify-content: flex-start;
    }

    .fullscreen-menu-list li {
        margin: 0 0 15px 0;
    }

    .fullscreen-menu-list a {
        font-size: 28px;
    }

    .fullscreen-cta h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .fullscreen-menu-footer {
        margin-top: 40px;
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .fullscreen-menu-list a {
        font-size: 24px;
    }

    .fullscreen-menu-list li {
        margin: 0 0 10px 0;
    }

    .fullscreen-cta h2 {
        font-size: 24px;
    }

    .fullscreen-cta-button {
        font-size: 14px;
        padding: 10px 28px;
    }
}

/* Very small screens */
@media (max-height: 600px) {
    .fullscreen-menu-content {
        padding: 0px 20px 0px;
    }

    .fullscreen-menu-list a {
        font-size: 22px;
    }

    .fullscreen-menu-list li {
        margin: 0 0 8px 0;
    }

    .fullscreen-cta h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .fullscreen-menu-footer {
        margin-top: 30px;
    }

    .fullscreen-language-switch {
        margin-bottom: 25px;
    }
}

/* ============================================
   Footer Menu Hover Effect
   ============================================ */

footer .elementor-nav-menu a:hover {
    font-size: 16px !important;
    color: #e94e52 !important;
    transition: font-size 0.3s ease, color 0.3s ease;
}

/* ============================================
   Multiply Background Effect Class
   Usage: Add 'multiply-bg' class to any Elementor element
   The background will be multiplied with elements behind it
   ============================================ */

.multiply-bg > .elementor-background-overlay {
    mix-blend-mode: multiply;
}

/* For sections/columns without overlay - apply to container */
.multiply-bg,
.multiply-bg > .elementor-container,
.multiply-bg > .elementor-column-wrap,
.multiply-bg > .elementor-widget-wrap {
    mix-blend-mode: multiply;
}
