:root {
    --accent: #0084ff;
    --accent-dark: #0052b3;
    --accent-soft: #33a3ff;
    --bg: #040509;
    --muted: #a3acbe;
    --glass: rgba(10, 16, 26, 0.88);
    --header-height: 224px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0,132,255,0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0,82,179,0.22), transparent 55%),
        var(--bg);
    color: #fff;
}

/* HEADER / NAVIGATION */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.55)
    );
    backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    /* Smooth shrinking on scroll */
    transition: padding 0.25s ease, background 0.3s ease, backdrop-filter 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

header.scrolled {
    padding-top: 4px;
    padding-bottom: 4px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
}

.nav {
    max-width: 1200px;
    margin: auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo-Container sauber als Flex-Item */
.brand {
    display: flex;
    align-items: center;
}

/* Social Icon Base Style */
.social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icons img {
    width: 20px;
    height: 20px;
    opacity: 0.85;
    filter: drop-shadow(0 0 4px rgba(0,132,255,0.4));
    transition: 0.25s ease;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(0,132,255,0.75));
}

/* DESKTOP: Icons sichtbar */
.desktop-icons {
    display: flex;
}

/* MOBILE: Icons erst mal ausblenden */
.mobile-icons {
    display: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 12px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 900px) {

    .desktop-icons {
        display: none; /* Desktop-Icons ausblenden */
    }

    .mobile-icons {
        display: flex; /* Mobile Icons anzeigen */
    }
}

/* LOGO ohne Rahmen */
.logo {
    width: auto;
    height: auto;
    border-radius: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.logo img {
    height: 122px;
    width: auto;
    object-fit: contain;
}

/* Glow nur am Logo */
.logo:hover img {
    filter: drop-shadow(0 0 14px rgba(0,132,255,0.55));
    transform: scale(1.03);
}

/* NEU: Nav füllt Platz zwischen Logo & Icons und startet links */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Menü in den rechten Bereich zwischen Logo & Icons zentrieren */
}

/* Nav-Links näher zum Logo rücken */
nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    align-items: center;
    margin-right: 28px; /* ein zusätzlicher Schub nach links */
}

/* Nav Slide-In Animation */
nav ul li {
    opacity: 0;
    transform: translateY(-6px);
    animation: navIn 0.35s ease forwards;
}

nav ul li:nth-child(1) { animation-delay: 0.05s; }
nav ul li:nth-child(2) { animation-delay: 0.10s; }
nav ul li:nth-child(3) { animation-delay: 0.15s; }

@keyframes navIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent-dark));
    transition: width 0.2s ease-out;
}

nav a:hover::after {
    width: 100%;
}

nav a.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(0,132,255,0.45);
}

nav a.cta::after {
    display: none;
}

nav a.cta:hover {
    filter: brightness(1.05);
}

.menu-btn {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #040509; /* Fallback */
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;       /* ← KEIN ZOOM */
    object-position: center;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.85)
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 152px 20px 60px;
    display: flex;
    gap: 40px;
}

.kicker {
    color: var(--accent-soft);
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

h1 {
    font-family: Montserrat, sans-serif;
    font-size: 48px;
    line-height: 1.02;
    margin: 12px 0 16px;
}

.lead {
    color: var(--muted);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0,132,255,0.5);
}

.secondary-btn {
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(4,5,9,0.7);
}

.secondary-btn:hover {
    border-color: var(--accent-soft);
}

.hero-visual {
    flex: 0 0 420px;
    min-height: 260px;              /* WICHTIG: gibt der Box Volumen */
    padding: 28px 32px;
    border-radius: 20px;
    background: rgba(4,5,9,0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 0 35px rgba(0,132,255,0.35),
        0 18px 40px rgba(0,0,0,0.6);

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* verteilt Inhalt → Box wirkt voll */
}

.hero-visual-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    letter-spacing: 0.02em;
}

.hero-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    margin: 0;
    padding: 0;
}

.hero-features li {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-left: 18px;
}

.hero-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-dark));
    box-shadow: 0 0 10px rgba(0,132,255,0.9);
}

/* CTA unten */
.hero-visual-link {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-soft);
    text-decoration: none;
    align-self: flex-start;
}

.hero-visual-link:hover {
    text-decoration: underline;
}


/* SECTIONS */

.section {
    max-width: 1200px;
    padding: 40px 20px;
    margin: auto;
}

h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

a {
    color: var(--accent); 
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--accent-soft); 
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kacheln pro Reihe */
    gap: 18px;
}

.card {
    background: var(--glass);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.card {
    display: flex;
    flex-direction: column;
}

.card h4 {
    margin-bottom: 6px;
    color: var(--accent-soft);
}

.muted {
    color: var(--muted);
}

/* SERVICE */
.service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 0 18px rgba(0, 132, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ABOUT */

.about-header {
    max-width: 720px;
    margin-bottom: 26px;
}

.about-pill {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: radial-gradient(circle at 0 0, rgba(0,132,255,0.35), rgba(4,5,9,0.95));
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.about-card {
    position: relative;
    padding: 18px 18px 16px 22px;
    border-radius: 16px;
    background: radial-gradient(circle at 0 0, rgba(0,132,255,0.18), rgba(4,5,9,0.98));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 14px 35px rgba(0,0,0,0.7);
}

.about-card::before {
    content: "";
    position: absolute;
    left: 18px;   
    top: 22px;    
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-dark));
    box-shadow: 0 0 12px rgba(0,132,255,0.7);
}

.about-card h3 {
    margin-left: 16px;
    margin-bottom: 6px;
    font-size: 17px;
}

.about-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-card-wide {
    grid-column: 1 / -1;
}

.about-card-wide {
    text-align: center;
}

.about-card-wide h3 {
    margin-left: 0;
    display: inline-block; 
    position: relative;
    padding-left: 22px;    
}

.about-card-wide h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-dark));
    box-shadow: 0 0 12px rgba(0,132,255,0.7);
}

.about-card-wide::before {
    display: none;
}

/* KONTAKT */
.contact {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}

form {
    background: var(--glass);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

label {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: rgba(2,4,9,0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    margin-bottom: 12px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 1px rgba(0,132,255,0.4);
}

button {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 10px 14px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,132,255,0.45);
}

button:hover {
    filter: brightness(1.07);
}

.status {
    margin-top: 8px;
    color: var(--muted);
}

.contact-info {
    background: var(--glass);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* FOOTER */

footer {
    text-align: center;
    color: var(--muted);
    padding: 28px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

/* MOBILE */
@media (max-width: 900px) {


    header {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    /* Header erlaubt Inhalt in einer Reihe */
    .nav {
        display: flex;
        align-items: center;      /* ALLES in der Zeile vertikal ausrichten */
        justify-content: space-between;        
        padding: 6px 12px; /* weniger Höhe, gleiche Seitenluft */

    }

    .logo img {
        height: 74px;
    }

    /* Desktop Icons ausblenden */
    .desktop-icons {
        display: none;
    }

     .mobile-icons {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;      /* Icons vertikal anpassen */
        gap: 18px;
    }

    .mobile-icons img {
        height: 22px;
        width: 22px;
        margin-bottom: 0;
    }

    /* Logo bleibt links */
    .brand {
        flex: 0 0 auto;
    }

    /* Burger Menü rechts */
    .menu-btn {
        display: inline-flex;     /* statt inline-block → erlaubt zentrieren */
        align-items: center;      /* vertikal zentriert */
        justify-content: center;  /* horizontal zentriert */
        height: 40px;             /* gleiche Höhe wie Icon-Row */
        width: 40px;
        padding: 0;
        border-radius: 10px;
    }

    /* Menü (Nav UL) einklappen */
    nav ul {
        display: none;
    }

    h1 {
        font-size: 36px;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    @media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr); /* 2 Kacheln */
    }
}
}



@media (max-width: 700px) {
    .about-card {
        padding: 16px;
    }

    .about-card h3 {
        margin-left: 12px;
        font-size: 16px;
    }
}

section {
    scroll-margin-top: var(--header-height);
}


@media (max-width: 700px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: calc(136px + env(safe-area-inset-top, 0px)) 16px 40px;
        flex-direction: column;
    }

    .hero-bg {
        max-height: 60vh; /* verhindert zu hohe Hero-Bilder */
    }
}

@media (max-width: 700px) {
    .hero-visual {
        flex: 1;
        width: 100%;
        min-height: auto;
        padding: 22px 20px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
