/* =========================================================
   KFZ-TECHNIK HECKER
   Hauptstylesheet
   Bootstrap 4.4.1
   ========================================================= */


/* ---------------------------------------------------------
   GRUNDDEFINITIONEN
   --------------------------------------------------------- */

:root {

    --hecker-green: #99cc66;
    --hecker-green-dark: #336633;

    --hecker-dark: #333333;
    --hecker-dark-2: #003300;

    --hecker-sign-grey: #e3e3e3;

    --hecker-grey: #a8a9ad;

    --hecker-text: #333333;
    --hecker-muted: #666666;

    --hecker-border: #99cc66;
}


html {

    scroll-behavior: smooth;
}


body {

    margin: 0;
    color: var(--hecker-text);
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    line-height: 1.6;
}


a {

    color: var(--hecker-sign-grey);
}


a:hover,
a:focus {

    color: var(--hecker-green-dark);
}


/* ---------------------------------------------------------
   SKIP LINK
   --------------------------------------------------------- */

.skip-link {

    z-index: 2000;
}


/* ---------------------------------------------------------
   HEADER / BEREICH ÜBER DEM MENÜ
   --------------------------------------------------------- */

.site-header {

    background: var(--hecker-green);
}


.topbar {

    background: var(--hecker-green-dark);

    padding: 18px 0;

    border-bottom: 1px solid #cccccc;
}


/* ---------------------------------------------------------
   FIRMENSCHILD
   --------------------------------------------------------- */

.brand-link {

    display: inline-block;
}


.brand-image {

    display: block;

    width: 100%;

    max-width: 1000px;

    height: auto;
}


/* ---------------------------------------------------------
   KONTAKT OBEN
   --------------------------------------------------------- */

.contact-top {

    font-size: .9rem;

    color: #ffffff;
}


.address {

    line-height: 1.5;
}


.phone-link {

    display: inline-block;

    margin-top: 6px;

    font-size: 1.35rem;

    font-weight: 700;

    white-space: nowrap;
}


.phone-link:hover,
.phone-link:focus {

    text-decoration: none;
    color: #99cc66;
}


/* ---------------------------------------------------------
   STICKY NAVIGATION
   --------------------------------------------------------- */

.hecker-nav {

    position: sticky;

    top: 0;

    z-index: 1030;

    width: 100%;

    background: var(--hecker-dark);

    padding: 0;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .25);
}


/* ---------------------------------------------------------
   NAVIGATION LINKS
   --------------------------------------------------------- */

.hecker-nav .navbar-brand {

    font-weight: 700;

    font-size: 1rem;
}


.hecker-nav .nav-link {

    color: #ffffff !important;

    font-weight: 700;

    font-size: .88rem;

    letter-spacing: .03em;

    padding: 1rem .85rem !important;

    transition:
        background-color .2s ease,
        color .2s ease;
}


.hecker-nav .nav-link:hover,
.hecker-nav .nav-link:focus {

    background: var(--hecker-green);

    color: #333333 !important;
}


.hecker-nav .nav-item.active > .nav-link {

    background: var(--hecker-green);
}


/* ---------------------------------------------------------
   DROPDOWN
   --------------------------------------------------------- */

.dropdown-menu {

    border: 0;

    border-radius: 0;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .22);

    margin-top: 0;

    min-width: 13rem;
}


.dropdown-item {

    padding: .7rem 1.1rem;

    color: var(--hecker-green-dark);
}


.dropdown-item:hover,
.dropdown-item:focus {

    background: var(--hecker-green);

    color: #333333;
}


/* ---------------------------------------------------------
   TELEFON-BUTTON
   --------------------------------------------------------- */

.btn-hecker {

    background: var(--hecker-green);

    color: #ffffff;

    border: 1px solid var(--hecker-green);

    font-weight: 700;

    white-space: nowrap;

    transition:
        background-color .2s ease,
        color .2s ease;
}


.btn-hecker:hover,
.btn-hecker:focus {

    background: #ffffff;

    color: var(--hecker-green);

    border-color: #ffffff;
}


/* ---------------------------------------------------------
   HAUPTINHALT
   --------------------------------------------------------- */

main {

    background: #ffffff;
}


.page-placeholder {

    min-height: 500px;

    padding: 80px 0;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {

    margin-top: 60px;

    padding-top: 1.5rem;

    background: var(--hecker-dark);

    color: #dddddd;
}


.site-footer h2 {

    color: #ffffff;

    font-size: 1.35rem;

    margin-bottom: 1rem;
}


.site-footer a {

    color: #ffffff;
}


.footer-bottom {

    margin-top: 25px;

    padding: 15px 0;

    background: #111111;

    font-size: .85rem;

    color: #aaaaaa;
}


/* ---------------------------------------------------------
   TABLET / MOBILE
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .topbar {

        padding: 12px 0;
    }


    .brand-image {

        margin: 0 auto;

        max-height: 100px;

        width: auto;

        max-width: 100%;
    }


    .contact-top {

        padding-top: 10px;
    }


    /* -----------------------------------------------------
       MOBILE NAVIGATION
       ----------------------------------------------------- */

    .hecker-nav .navbar-collapse {

        padding-left: 1.75rem;

        padding-right: 1.25rem;

        padding-bottom: .75rem;
    }


    .hecker-nav .navbar-nav {

        width: 100%;
    }


    .hecker-nav .nav-link {

        padding: .8rem 0 !important;
    }


    /* -----------------------------------------------------
       Dropdowns auf Mobilgeräten
       ----------------------------------------------------- */

    .hecker-nav .dropdown-menu {

        box-shadow: none;

        background: var(--hecker-dark-2);

        margin: 0;

        border-left: 2px solid var(--hecker-green);
    }


    .hecker-nav .dropdown-item {

        color: #ffffff;

        padding-left: 1.5rem;
    }


    .hecker-nav .dropdown-item:hover,
    .hecker-nav .dropdown-item:focus {

        background: var(--hecker-green);

        color: #ffffff;
    }


    /* -----------------------------------------------------
       Anruf-Button
       ----------------------------------------------------- */

    .btn-hecker {

        margin: .75rem 0 1rem;

        display: inline-block;
    }


    /* -----------------------------------------------------
       Kfz-Technik Hecker links einrücken
       ----------------------------------------------------- */

    .hecker-nav .navbar-brand {

        margin-left: 1rem;
    }


    /* -----------------------------------------------------
       Hamburger-Button rechts einrücken
       ----------------------------------------------------- */

    .hecker-nav .navbar-toggler {

        margin-right: 1rem;
    }

}


/* ---------------------------------------------------------
   SMARTPHONE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .topbar {

        padding: 10px 0;
    }


    .brand-image {

        max-height: 78px;
    }


    .contact-top {

        font-size: .78rem;
    }


    .phone-link {

        font-size: 1.1rem;
    }


    .hecker-nav .navbar-brand {

        font-size: .95rem;
    }


    .hecker-nav .navbar-collapse {

        padding-left: 1.75rem;

        padding-right: 1rem;
    }


    .hecker-nav .nav-link {

        padding-top: .75rem !important;

        padding-bottom: .75rem !important;
    }

}


/* =========================================================
   COOKIE-BANNER
   ========================================================= */
/* =========================================================
   COOKIE-EINSTELLUNGEN – KORREKT
   ========================================================= */

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;

    display: none;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 20px;

    background: rgba(0, 0, 0, .65);
}

.cookie-modal.is-visible {
    display: flex;
}

.cookie-modal-box {
    position: relative;

    width: 100%;
    max-width: 560px;
    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;
    color: var(--hecker-text);

    border-radius: 8px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, .4);

    padding: 30px;
}

.cookie-modal-box h2 {
    margin: 0 0 12px;

    color: var(--hecker-dark);

    font-size: 1.5rem;
    font-weight: 700;
}

.cookie-modal-box > p {
    margin: 0 0 20px;
}

.cookie-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--hecker-dark);
    color: #ffffff;

    font-size: 1.5rem;
    line-height: 1;

    cursor: pointer;
}

.cookie-modal-close:hover,
.cookie-modal-close:focus {
    background: var(--hecker-green);
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;
    padding: 15px;

    border: 1px solid var(--hecker-border);
    border-radius: 5px;

    background: #f7f7f7;
}

.cookie-option strong {
    display: block;

    margin-bottom: 5px;

    color: var(--hecker-dark);
}

.cookie-option p {
    margin: 0;

    font-size: .9rem;
    line-height: 1.5;
}

.cookie-required {
    flex-shrink: 0;

    font-size: .85rem;
    font-weight: 700;

    color: var(--hecker-muted);
}

/* =========================================================
   COOKIE-SCHALTER
   ========================================================= */

.cookie-switch {
    position: relative;

    display: block;

    width: 46px;
    height: 24px;

    flex-shrink: 0;

    cursor: pointer;
}

.cookie-switch input {
    position: absolute;

    opacity: 0;

    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;

    inset: 0;

    background: #999999;

    border-radius: 24px;

    transition: background-color .2s ease;
}

.cookie-slider::before {
    content: "";

    position: absolute;

    width: 18px;
    height: 18px;

    left: 3px;
    top: 3px;

    background: #ffffff;

    border-radius: 50%;

    transition: transform .2s ease;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--hecker-green);
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(22px);
}

/* =========================================================
   COOKIE-MODAL BUTTONS
   ========================================================= */

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 20px;
}

/* =========================================================
   COOKIE-BANNER
   ========================================================= */

.cookie-banner {
    position: fixed;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 2000;

    background: var(--hecker-grey);
    color: #ffffff;

    border-top: 3px solid var(--hecker-green);
    border-radius: 8px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .35);

    padding: 20px 24px;

    font-size: .92rem;
}

.cookie-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.cookie-text {
    flex: 1;

    color: var(--hecker-dark-2);

    line-height: 1.55;
}

.cookie-text h2 {
    margin: 0 0 6px;

    color: var(--hecker-dark);

    font-size: 1.15rem;
}

.cookie-text p {
    margin: 0;
}

.cookie-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}

.cookie-more {
    margin-top: 8px;

    padding: 0;

    border: 0;

    background: transparent;
    color: var(--hecker-green);

    text-decoration: underline;

    cursor: pointer;
}

.cookie-more:hover,
.cookie-more:focus {
    color: var(--hecker-green-dark);
}

.btn-cookie {
    display: inline-block;

    padding: 9px 15px;

    border-radius: 4px;
    border: 1px solid transparent;

    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;

    line-height: 1.3;

    cursor: pointer;
}

.btn-cookie-primary {
    background: var(--hecker-green);
    border-color: var(--hecker-green);

    color: #ffffff;
}

.btn-cookie-primary:hover,
.btn-cookie-primary:focus {
    background: var(--hecker-green-dark);
    border-color: var(--hecker-green-dark);

    color: #ffffff;
}

.btn-cookie-secondary {
    background: var(--hecker-dark);
    border-color: var(--hecker-dark);

    color: #ffffff;
}

.btn-cookie-secondary:hover,
.btn-cookie-secondary:focus {
    background: var(--hecker-green);
    border-color: var(--hecker-green);

    color: var(--hecker-dark);
}

/* =========================================================
   COOKIE-EINSTELLUNGEN IM FOOTER
   ========================================================= */

.cookie-settings-link {
    padding: 0;

    border: 0;

    background: transparent;
    color: #ffffff;

    font-family: inherit;

    cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
    color: var(--hecker-green);
    text-decoration: underline;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 17px;

        border-radius: 7px;

        font-size: .88rem;
    }

    .cookie-content {
        display: block;
    }

    .cookie-text {
        margin-bottom: 14px;
    }

    .cookie-actions {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .btn-cookie {
        width: 100%;
    }

    .cookie-modal {
        padding: 10px;
    }

    .cookie-modal-box {
        max-height: 94vh;

        padding: 24px 17px;

        border-radius: 7px;
    }

    .cookie-option {
        align-items: flex-start;
    }

    .cookie-modal-actions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;
    }

    .cookie-modal-actions .btn-cookie {
        width: 100%;
    }
}

/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .cookie-slider,
    .cookie-slider::before,
    .btn-cookie {
        transition: none;
    }
}
/* =========================================================
   SCROLL-TO-TOP BUTTON
   ========================================================= */

.scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--hecker-green);
    color: #333;

    text-decoration: none;
    border-radius: 50%;

    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 9999;
}

/* Button sichtbar */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover */
.scroll-to-top:hover {
    background-color: var(--hecker-green-dark);
    color: #ffffff;

    transform: translateY(-4px);

    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.25);
}

/* Pfeil */
.scroll-to-top span {
    display: block;
    margin-top: -4px;
}

/* Smartphone */
@media (max-width: 767px) {

    .scroll-to-top {
        right: 15px;
        bottom: 15px;

        width: 44px;
        height: 44px;

        font-size: 24px;
    }
}

/* =========================================================
   COOKIE-BUTTON "NUR NOTWENDIGE" – ERZWUNGENE SICHTBARKEIT
   Gilt im Banner und im Einstellungsfenster.
   ========================================================= */

#cookieBanner #cookieReject,
#cookieModal #cookieModalReject,
.cookie-banner .btn-cookie-secondary,
.cookie-modal .btn-cookie-secondary {
    background-color: #333333 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    box-shadow: none;
}

#cookieBanner #cookieReject:hover,
#cookieBanner #cookieReject:focus,
#cookieModal #cookieModalReject:hover,
#cookieModal #cookieModalReject:focus,
.cookie-banner .btn-cookie-secondary:hover,
.cookie-banner .btn-cookie-secondary:focus,
.cookie-modal .btn-cookie-secondary:hover,
.cookie-modal .btn-cookie-secondary:focus {
    background-color: #99cc66 !important;
    background-image: none !important;
    border-color: #99cc66 !important;
    color: #333333 !important;
}
.anton {
    padding-top: 200px;
}
.weiter {
    color: #336633;
}
.weiter:hover {
    color: #99cc66;
}
.logo-hecker-hell {
    margin-left: 1200px;
}
.sk-zwei {
}
