
/* Züggle – SCHRIFTARTEN */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}



/* =========================================
   Züggle - CORPORATE DESIGN
========================================= */

:root {
    --green: #0D3B2E;
    --green-dark: #06271E;
    --orange: #F59E0B;
    --orange-hover: #E88A00;
    --white: #FFFFFF;
    --offwhite: #F5F5F0;
    --dark: #1F2937;
    --gray: #64706B;
    --border: #E4E7E3;
    --radius: 14px;
    --shadow: 0 10px 35px rgba(13, 59, 46, 0.08);
}


/* =========================================
   GRUNDEINSTELLUNGEN
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.2;
    color: var(--green);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1240px, 90%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    color: #986000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1.3px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}


/* =========================================
   NAVIGATION
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1440px;
    min-height: 88px;
    padding: 12px 5%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    width: 185px;
    height: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navigation a {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.25s ease;
}

.navigation a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

.navigation a:hover,
.navigation a.active {
    color: var(--green);
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    padding: 15px 24px;
    border: 2px solid transparent;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--orange);
    color: var(--green-dark);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-3px);
}


/* =========================================
   HERO - STARTSEITE
========================================= */

.hero {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;

    background-color: var(--green-dark);
    background-image:
        linear-gradient(
            90deg,
            rgba(6, 39, 30, 0.65),
            rgba(6, 39, 30, 0.1)
        ),
        url("../images/hero.webp");

    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-label {
    color: var(--orange);
    animation: fadeUp 0.7s ease both;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(38px, 5.2vw, 76px);
    font-weight: 800;
    letter-spacing: -2.5px;
    max-width: 800px;

    animation: fadeUp 0.9s ease 0.15s both;
}

.hero h1 span {
    color: var(--orange);
}

.hero-description {
    max-width: 540px;
    color: #E4EDE7;
    font-size: 18px;
    margin-top: 26px;

    animation: fadeUp 0.9s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;

    animation: fadeUp 0.9s ease 0.45s both;
}


/* =========================================
   VORTEILE
========================================= */

.benefits {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    font-size: 15px;
    font-weight: 600;
    color: var(--green);
}

.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E9F2ED;
    color: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   DIENSTLEISTUNGEN
========================================= */

.services {
    background: var(--offwhite);
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-heading > p:last-child:not(.eyebrow) {
    color: var(--gray);
    margin-top: 18px;
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(13, 59, 46, 0.13);
}

.service-image {
    height: 290px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-content {
    padding: 32px;
}

.service-number {
    font-size: 12px;
    color: #986000;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.service-content h3 {
    font-size: 25px;
    margin: 14px 0;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 22px;
}

.text-link {
    display: inline-block;
    font-weight: 700;
    color: var(--green);
    transition: color 0.3s ease, transform 0.3s ease;
}

.text-link:hover {
    color: #986000;
    transform: translateX(5px);
}


/* =========================================
   ÜBER Züggle
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    overflow: hidden;
    border-radius: var(--radius);
}

.about-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-content p:not(.eyebrow) {
    color: var(--gray);
    margin-top: 22px;
}

.about-content .btn {
    margin-top: 30px;
}


/* =========================================
   ABLAUF
========================================= */

.process {
    background: var(--offwhite);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow 0.3s ease;
}

.process-card:hover {
    box-shadow: var(--shadow);
}

.step-number {
    display: block;
    font-size: 46px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.process-card p {
    color: var(--gray);
}


/* =========================================
   CALL TO ACTION
========================================= */

.cta-section {
    background: var(--green);
    padding: 70px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-content .eyebrow {
    color: var(--orange);
}

.cta-content h2 {
    color: var(--white);
}

.cta-content p:not(.eyebrow) {
    color: #D5E5DC;
    margin-top: 16px;
}

.cta-content .btn {
    flex-shrink: 0;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--offwhite);
    padding-top: 65px;
    color: var(--gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #986000;
}

.footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}


/* =========================================
   ANIMATIONEN
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-pending {
    opacity: 0;
    translate: 0 30px;

    transition:
        opacity 0.8s ease,
        translate 0.8s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.reveal-pending.visible {
    opacity: 1;
    translate: 0 0;
}


/* =========================================
   HAMBURGER-MENÜ
========================================= */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--green);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================
   TABLET & SMARTPHONE
========================================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 20px;
    }

    .nav-cta {
        display: none;
    }

    .about-grid {
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 580px;
    }
}

@media (max-width: 768px) {

    .section {
        padding: 65px 0;
    }

    .nav-container {
        min-height: 74px;
    }

    .logo img {
        width: 150px;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .navigation.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navigation a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .navigation a::after {
        display: none;
    }

    .hero {
        min-height: 620px;

        background-image:
            linear-gradient(
                rgba(6, 39, 30, 0.78),
                rgba(6, 39, 30, 0.85)
            ),
            url("../images/hero.webp");

        background-position: 65% center;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 380px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit {
        font-size: 13px;
        justify-content: flex-start;
    }

    .services-grid,
    .about-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 230px;
    }

    .service-content {
        padding: 25px;
    }

    .about-image img {
        height: 300px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* Barrierefreiheit: reduzierte Animationen */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal-pending {
        opacity: 1;
        translate: none;
    }
}

/* =========================================
   BERNPC - DEVELOPER CREDIT
========================================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.developer-credit a {
    display: inline-block;
    margin: 0;
    font-weight: 700;
    color: var(--green);
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #986000;
    text-decoration: underline;
}

/* Smartphone */

@media (max-width: 768px) {

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

}
/* Navigation mit zusätzlichem Menüpunkt */

@media (min-width: 769px) and (max-width: 1150px) {

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 14px;
    }

    .nav-container {
        gap: 20px;
    }

    .logo img {
        width: 155px;
    }

    .nav-cta {
        display: none;
    }

}

/* =========================================
   ZÜGGLE – KONTAKTDATEN
========================================= */

.aside-contact.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
    padding-top: 25px;
}

.contact-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
}


/* Einzelne Kontaktinformationen */

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--green);
    text-decoration: none;

    transition: transform 0.3s ease;
}

.contact-details .contact-item:hover {
    transform: translateX(5px);
}


/* Hintergrund der Icons */

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #E2EBE5;
    color: var(--green);

    border-radius: 10px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.05);
}


/* Beschriftung */

.contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.contact-info small {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 3px;
}

.contact-info strong {
    font-size: 15px;
    font-weight: 600;
}

.contact-info > span {
    font-size: 14px;
}

.contact-item:hover .contact-info strong {
    color: #986000;
}


/* =========================================
   SVG ICONS
========================================= */

.contact-icon::before {
    content: "";
    display: block;

    width: 23px;
    height: 23px;

    background: currentColor;

    mask: var(--contact-symbol) center / contain no-repeat;
    -webkit-mask: var(--contact-symbol) center / contain no-repeat;
}


/* Standort */

.icon-location {
    --contact-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}


/* Telefon */

.icon-phone {
    --contact-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 3.1 5.2 2 2 0 0 1 5.1 3h3a2 2 0 0 1 2 1.7l.5 3a2 2 0 0 1-.6 2.1l-1.3 1.3a16 16 0 0 0 5.2 5.2l1.3-1.3a2 2 0 0 1 2.1-.6l3 .5a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
}


/* E-Mail */

.icon-mail {
    --contact-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='m2 7 10 7L22 7'/%3E%3C/svg%3E");
}


/* Website */

.icon-globe {
    --contact-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='10'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}


/* MWST */

.icon-document {
    --contact-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E");
}

/* =========================================
   ZÜGGLE – FOOTER KONTAKTDATEN
========================================= */

.footer .footer-company {
    font-weight: 600;
    color: var(--green);
    margin-bottom: 15px;
}

.footer .footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    width: fit-content;
    max-width: 100%;
    margin-bottom: 12px;

    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    overflow-wrap: anywhere;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-contact-row .contact-icon {
    width: 19px;
    height: 22px;

    background: transparent;
    color: var(--green);

    border-radius: 0;
}

.footer-contact-row .contact-icon::before {
    width: 17px;
    height: 17px;
}

.footer a.footer-contact-row:hover {
    color: var(--green);
    transform: translateX(3px);
}

.footer a.footer-contact-row:hover .contact-icon {
    color: var(--orange);
}


/* =========================================
   FOOTER – NEUES LAYOUT
========================================= */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 60px;
}

.footer-grid > div:last-child {
    justify-self: center;
}


/* Unterste Zeile */

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;

    gap: 20px;

    margin-top: 40px;
    padding-top: 22px;
    padding-bottom: 22px;

    border-top: 1px solid rgba(13, 59, 46, 0.15);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.footer-bottom .developer-credit {
    text-align: right;
}

.footer-bottom .developer-credit a {
    display: inline;
    font-weight: 700;
    color: #0D3B2E;
    text-decoration: none;
}

.footer-bottom .developer-credit a:hover {
    color: #F59E0B;
}


/* Tablet */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

}


/* Smartphone */

@media (max-width: 650px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid > div:last-child {
        justify-self: start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .developer-credit {
        text-align: center;
    }

}
