:root {
    --netdark: #353F49;
    --netgreen: #548A77;
    --netgold: #B19358;
    --netwhite: #FFFFFE;
}

@font-face {
        font-family: 'Montserrat';
        src: url('./fonts/Montserrat-Regular.ttf') format('truetype');
        font-weight: 4000;
        font-style: normal;
}
@font-face {
        font-family: 'Montserrat-Bold';
        src: url('./fonts/Montserrat-Bold.ttf') format('truetype');
        font-weight: 700;
        font-style: normal;
}

html {
        overflow-x: hidden;
        font-family: 'Montserrat', sans-serif;
        background-color: var(--netwhite);
        margin: 0;
        padding: 0;
}

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 33%;
}

.shape-darkblue,
.shape-green,
.shape-gold {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    transform: skewX(-25deg);
}

.shape-darkblue {
    background-color: var(--netdark);
    right: -100%;
    z-index: 1;
    width: 150%;
}

.shape-green {
    background-color: var(--netgreen);
    right: 50%;
    z-index: 2;
    width: 15%;
}

.shape-gold {
    background-color: var(--netgold);
    transform: skewX(0deg) !important;
    width: 25% !important;
    top: auto !important;
    bottom: 0;
    height: 35%;
    right: 110%;
}

.navbar {
    position: absolute;
    background-color: transparent;
    width: 80%;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo-div {
    display: flex;
}

.logo {
    background-image: url(https://hub.netsphere-security.de/s/EPmqaTw2SPZJ48k/preview);
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
    flex-shrink: 0;
    margin-top: -10px;
}

.logo-title {
    
    white-space: nowrap;
    margin-top: 35px;
    text-decoration: none;
    font-family: 'Montserrat-Bold';
    color: var(--netdark);
    font-size: 20px;
    margin-left: 1%;
}

.nav-links {
    display: flex;
    gap: 5vw;
    text-decoration: none;
    list-style-type: none;
}

.nav-links a {
    font-size: 22px;
    color: var(--netdark);
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--netgreen);
    text-decoration: underline;
}


.hero-container {
    position: absolute;
    top: 23%;
    left: 10%;
    width: 100vw;
    margin-left: -8.5%;
    font-size: 2.3vw;
}

.hero-features {
    font-size: 1.28vw;
    list-style-type: none;
}

.hero-features li {
    padding-bottom: 10px;
}

.title-highlight {
    color: var(--netgreen);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 60px; /* Etwas mehr Abstand nach oben für mehr Luft */
    flex-wrap: wrap;
    margin-left: 50px;
}

/* Gemeinsame Stile für beide Buttons */
.hero-offer-button, 
.hero-contact-button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}

/* 1. Angebot anfordern (Der goldene Premium-Button) */
.hero-offer-button {
    background-color: #c5a059; /* Das edle Gold aus deiner Grafik */
    color: #ffffff;
    border: 2px solid #c5a059;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.hero-offer-button:hover {
    background-color: transparent;
    color: var(--netdark); /* Sanftes, dunkleres Gold beim Hover */
    border-color: #b08d4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

/* 2. Kontakt aufnehmen (Im dezenten Branding-Dunkelblau) */
.hero-contact-button {
    background-color: transparent;
    color: #2b3641; /* Das edle Dunkelblau */
    border: 2px solid #2b3641;
}

.hero-contact-button:hover {
    background-color: #2b3641;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Knackiges Feedback beim Klicken */
.hero-offer-button:active,
.hero-contact-button:active {
    transform: translateY(0);
}

.mobile-menu {
    display: none;
}

/* =========================================================
   RESPONSIVE STYLES
   Gilt ausschließlich für Tablets und kleinere Bildschirme.
   Alle Desktop-Styles oberhalb von 1080px bleiben unverändert.
   ========================================================= */
@media (max-width: 1080px) {
    body {
        min-height: 100svh;
        margin: 0;
        overflow-x: hidden;
        background-color: var(--netwhite);
    }

    /* Die dekorativen Desktop-Shapes werden auf kleineren Screens ausgeblendet. */
    .hero-shapes,
    .shape-darkblue,
    .shape-green,
    .shape-gold {
        display: none;
    }

    /* Kompakte, touchfreundliche Navigation ohne Änderung am HTML. */
    .navbar {
        position: relative;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        padding: 12px clamp(18px, 4vw, 42px);
        border-bottom: 1px solid rgba(53, 63, 73, 0.12);
        background-color: var(--netwhite);
        box-sizing: border-box;
    }

    .logo-div {
        min-width: 0;
        align-items: center;
    }

    .logo {
        width: 74px;
        height: 74px;
        margin-top: 0;
    }

    .logo-title {
        margin: 0 0 0 8px;
        align-self: center;
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        position: relative;
        z-index: 30;
        display: block;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        width: 48px;
        height: 48px;
        display: grid;
        align-content: center;
        gap: 5px;
        padding: 0 12px;
        border: 1px solid rgba(53, 63, 73, 0.18);
        border-radius: 50%;
        background-color: var(--netwhite);
        box-shadow: 0 7px 20px rgba(53, 63, 73, 0.08);
        cursor: pointer;
        list-style: none;
        box-sizing: border-box;
    }

    .menu-toggle::-webkit-details-marker {
        display: none;
    }

    .menu-toggle::marker {
        content: "";
    }

    .menu-toggle span {
        width: 100%;
        height: 2px;
        display: block;
        border-radius: 2px;
        background-color: var(--netdark);
        transition: transform 240ms ease, opacity 180ms ease;
    }

    .mobile-menu[open] .menu-toggle {
        position: fixed;
        top: 18px;
        right: 18px;
    }

    .mobile-menu[open] .menu-toggle span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu[open] .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] .menu-toggle span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu::before {
        content: "";
        position: fixed;
        z-index: 1000;
        inset: 0;
        visibility: hidden;
        opacity: 0;
        background-color: rgba(31, 39, 46, 0.42);
        backdrop-filter: blur(3px);
        pointer-events: none;
        transition: opacity 280ms ease, visibility 0s linear 280ms;
    }

    .mobile-menu[open]::before {
        visibility: visible;
        opacity: 1;
        transition: opacity 280ms ease;
    }

    .menu-drawer {
        position: fixed;
        z-index: 1001;
        top: 0;
        right: 0;
        width: min(86vw, 380px);
        height: 100dvh;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        padding: 104px 30px 34px;
        border-left: 1px solid rgba(53, 63, 73, 0.12);
        background-color: var(--netwhite);
        box-shadow: -24px 0 70px rgba(53, 63, 73, 0.2);
        box-sizing: border-box;
        transform: translateX(105%);
        transition:
            transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 320ms;
    }

    .mobile-menu[open] .menu-drawer {
        visibility: visible;
        transform: translateX(0);
        transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .drawer-kicker {
        margin-bottom: 22px;
        color: var(--netgreen);
        font-family: 'Montserrat-Bold', sans-serif;
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .menu-drawer a {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid rgba(53, 63, 73, 0.12);
        color: var(--netdark);
        font-size: 1rem;
        text-decoration: none;
        transition:
            color 180ms ease,
            padding 180ms ease,
            background-color 180ms ease;
    }

    .menu-drawer a:hover,
    .menu-drawer a:focus-visible {
        padding-inline: 8px;
        color: var(--netgreen);
        background-color: rgba(84, 138, 119, 0.06);
        outline: none;
    }

    .menu-drawer a > span:last-child {
        color: var(--netgold);
    }

    body:has(.mobile-menu[open]) {
        overflow: hidden;
    }

    /* Hero wird aus der absoluten Desktop-Positionierung gelöst. */
    .hero-section {
        position: relative;
        min-height: calc(100svh - 135px);
        padding: clamp(54px, 8vw, 88px) clamp(24px, 6vw, 64px) 64px;
        background-color: var(--netwhite);
        box-sizing: border-box;
    }

    .hero-container {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 900px);
        margin: 0 auto;
        font-size: initial;
    }

    .hero-container h1 {
        margin: 0;
        color: var(--netdark);
        font-size: clamp(3rem, 7.6vw, 5rem);
        font-weight: 400;
        letter-spacing: -0.045em;
        line-height: 1.08;
    }

    .title-highlight {
        display: inline-block;
        margin-bottom: 8px;
        color: var(--netgreen);
        font-size: clamp(2.35rem, 6.2vw, 4.2rem);
        letter-spacing: -0.04em;
        line-height: 1.1;
        white-space: nowrap;
    }

    .hero-features {
        display: grid;
        gap: 12px;
        max-width: 860px;
        margin: 42px 0 0;
        padding: 0;
        font-size: clamp(0.95rem, 2vw, 1.12rem);
        line-height: 1.55;
    }

    .hero-features li {
        padding-bottom: 0;
    }

    .check-icon {
        color: var(--netgreen);
        font-family: 'Montserrat-Bold', sans-serif;
    }

    .hero-buttons {
        gap: 14px;
        margin: 42px 0 0;
    }

    .hero-offer-button,
    .hero-contact-button {
        min-height: 52px;
        padding: 14px 22px;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 10px 14px;
    }

    .logo {
        width: 58px;
        height: 58px;
    }

    .logo-title {
        margin-left: 5px;
        font-size: 15px;
    }

    .mobile-menu[open] .menu-toggle {
        top: 14px;
        right: 14px;
    }

    .menu-drawer {
        width: min(88vw, 340px);
        padding: 92px 22px 28px;
    }

    .hero-section {
        min-height: auto;
        padding: 44px 18px 48px;
    }

    .hero-container h1 {
        font-size: clamp(2.05rem, 9.4vw, 3.25rem);
        letter-spacing: -0.04em;
        line-height: 1.08;
    }

    .title-highlight {
        margin-bottom: 10px;
        font-size: clamp(1.45rem, 7.1vw, 2.45rem);
        white-space: nowrap;
    }

    .hero-features {
        gap: 14px;
        margin-top: 34px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-features li {
        padding-left: 0;
    }

    .hero-buttons {
        display: grid;
        gap: 12px;
        margin-top: 34px;
    }

    .hero-offer-button,
    .hero-contact-button {
        width: 100%;
        min-height: 54px;
    }
}

@media (max-width: 380px) {
    .logo-title {
        font-size: 14px;
    }

    .hero-section {
        padding-inline: 15px;
    }

    .menu-drawer {
        width: 92vw;
        padding-inline: 19px;
    }
}
