/* =========================================================
   VALNARO SYSTEMS
   Main Stylesheet
   ========================================================= */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #02060d;
    --bg-secondary: #050b15;

    --card: #07111f;
    --card-secondary: #091625;

    --blue: #087cff;
    --blue-bright: #1591ff;
    --blue-soft: #42a5ff;

    --white: #f5f8ff;
    --text: #c4cfdf;
    --muted: #738096;

    --border: rgba(255, 255, 255, 0.08);
    --border-blue: rgba(0, 125, 255, 0.32);

    --max-width: 1240px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 75% 18%,
            rgba(0, 108, 255, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 55%,
            rgba(0, 78, 180, 0.08),
            transparent 28%
        ),
        var(--bg);

    color: var(--white);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

section {
    position: relative;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 84px;

    z-index: 1000;

    display: flex;
    align-items: center;

    background: rgba(2, 6, 13, 0.72);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.brand-logo-image {
    width: 42px;
    height: 50px;

    display: block;
    flex: 0 0 auto;

    object-fit: contain;
    object-position: center;

    /* Schwarzer Hintergrund des PNGs wird im dunklen Header optisch ausgeblendet. */
    mix-blend-mode: screen;

    filter:
        drop-shadow(
            0 0 9px rgba(0, 125, 255, 0.55)
        );

    user-select: none;
    -webkit-user-drag: none;
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-name strong {
    font-size: 19px;
    font-weight: 800;

    letter-spacing: 4px;
}

.brand-name span {
    margin-top: 6px;

    color: var(--blue-soft);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 5px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    display: flex;
    align-items: center;

    gap: 36px;
}

nav a {
    color: #9caac0;

    font-size: 13px;

    transition:
        color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}


/* =========================================================
   HEADER BUTTON
   ========================================================= */

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 43px;

    padding:
        0 21px;

    border:
        1px solid rgba(0, 128, 255, 0.55);

    border-radius: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            rgba(0, 128, 255, 0.10),
            rgba(0, 128, 255, 0.03)
        );

    box-shadow:
        inset 0 0 20px
        rgba(0, 128, 255, 0.04),

        0 0 20px
        rgba(0, 128, 255, 0.04);

    font-size: 13px;
    font-weight: 600;

    transition:
        0.25s ease;
}

.header-button:hover {
    background:
        rgba(0, 128, 255, 0.13);

    border-color:
        var(--blue);

    box-shadow:
        0 0 24px
        rgba(0, 128, 255, 0.18);

    transform:
        translateY(-1px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 800px;

    padding-top: 84px;

    display: flex;
    align-items: center;

    position: relative;
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -240px;
    top: 90px;

    background:
        radial-gradient(
            circle,
            rgba(0, 110, 255, 0.11),
            transparent 68%
        );

    pointer-events: none;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;
}

.hero-content {
    max-width: 650px;
}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.eyebrow {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 24px;

    color: #63b5ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 23px;
    height: 1px;

    background:
        var(--blue);

    box-shadow:
        0 0 9px
        var(--blue);
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero h1 {
    margin-bottom: 30px;

    font-size:
        clamp(
            62px,
            7vw,
            96px
        );

    line-height: 0.92;

    letter-spacing: -5px;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    color:
        var(--blue);

    text-shadow:
        0 0 35px
        rgba(0, 116, 255, 0.22);
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-text {
    max-width: 610px;

    margin-bottom: 34px;

    color: #8d9bb0;

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    height: 52px;

    padding:
        0 25px;

    border:
        1px solid
        rgba(85, 170, 255, 0.5);

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #087dff,
            #0064df
        );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 10px 30px
        rgba(0, 103, 255, 0.18);

    transition:
        0.25s ease;
}

.button-primary:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 40px
        rgba(0, 103, 255, 0.28);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 52px;

    padding:
        0 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #bdc9da;

    font-size: 14px;
    font-weight: 600;

    transition:
        0.25s ease;
}

.button-secondary:hover {
    border-color:
        rgba(0, 128, 255, 0.35);

    color: #ffffff;

    background:
        rgba(0, 128, 255, 0.05);
}


/* =========================================================
   HERO POINTS
   ========================================================= */

.hero-points {
    display: flex;

    gap: 28px;

    margin-top: 42px;
}

.hero-point {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #718097;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.hero-point-number {
    color:
        var(--blue);

    font-weight: 800;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    min-height: 470px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 110, 255, 0.13),
            transparent 67%
        );

    filter:
        blur(10px);
}


/* =========================================================
   CONTROL CARD
   ========================================================= */

.control-card {
    width:
        min(
            560px,
            100%
        );

    min-height: 330px;

    padding: 30px;

    position: relative;

    border:
        1px solid
        rgba(20, 138, 255, 0.38);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 24, 43, 0.96),
            rgba(3, 12, 23, 0.96)
        );

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.55),

        0 0 55px
        rgba(0, 100, 255, 0.08);

    transform:
        perspective(1000px)
        rotateY(-3deg)
        rotateX(2deg);
}

.control-card::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.035),
            transparent 30%
        );

    pointer-events: none;
}


/* =========================================================
   CONTROL CARD TOP
   ========================================================= */

.control-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.control-label {
    color: #53708f;

    font-size: 9px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.online {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #6ec1ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}

.online-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #1ca3ff;

    box-shadow:
        0 0 12px
        #1ca3ff;
}


/* =========================================================
   CONTROL TITLE
   ========================================================= */

.control-title {
    margin-bottom: 27px;

    font-size: 34px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: -1.5px;
}

.control-title span {
    display: block;

    color:
        var(--blue);
}


/* =========================================================
   CONTROL STATS
   ========================================================= */

.control-stats {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-bottom: 28px;
}

.control-stat {
    padding: 15px;

    border:
        1px solid
        rgba(35, 100, 160, 0.28);

    background:
        rgba(10, 30, 50, 0.55);
}

.control-stat small {
    display: block;

    margin-bottom: 8px;

    color: #526a84;

    font-size: 8px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.control-stat strong {
    color: #dce9f8;

    font-size: 15px;
}


/* =========================================================
   CHART
   ========================================================= */

.chart {
    height: 70px;

    display: flex;
    align-items: flex-end;

    gap: 9px;

    padding:
        0 3px;
}

.bar {
    flex: 1;

    min-width: 10px;

    background:
        linear-gradient(
            180deg,
            #1491ff,
            #0064d8
        );

    box-shadow:
        0 0 15px
        rgba(0, 130, 255, 0.15);
}

.bar:nth-child(1) {
    height: 35%;
}

.bar:nth-child(2) {
    height: 57%;
}

.bar:nth-child(3) {
    height: 47%;
}

.bar:nth-child(4) {
    height: 76%;
}

.bar:nth-child(5) {
    height: 62%;
}

.bar:nth-child(6) {
    height: 88%;
}

.bar:nth-child(7) {
    height: 68%;
}


/* =========================================================
   VISUAL LINES
   ========================================================= */

.visual-line {
    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 125, 255, 0.4),
            transparent
        );
}

.line-1 {
    width: 170px;

    right: -60px;
    top: 80px;

    transform:
        rotate(-35deg);
}

.line-2 {
    width: 140px;

    left: -55px;
    bottom: 80px;

    transform:
        rotate(-25deg);
}


/* =========================================================
   TICKER
   ========================================================= */

.ticker {
    overflow: hidden;

    white-space: nowrap;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);

    background:
        rgba(255, 255, 255, 0.012);
}

.ticker-inner {
    min-height: 65px;

    display: flex;
    align-items: center;

    gap: 30px;

    color: #45617e;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.ticker-inner span {
    color:
        var(--blue);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding:
        125px 0;
}

.section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;
}

.section-number {
    margin-bottom: 13px;

    color:
        var(--blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;
}

.section-title {
    font-size:
        clamp(
            38px,
            4vw,
            58px
        );

    line-height: 1;

    letter-spacing: -2.5px;

    font-weight: 750;
}

.section-description {
    max-width: 450px;

    color: #78879d;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.service-card {
    min-height: 285px;

    padding: 27px;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(9, 23, 40, 0.86),
            rgba(4, 12, 22, 0.86)
        );

    transition:
        0.3s ease;
}

.service-card::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 125, 255, 0.14),
            transparent 68%
        );

    pointer-events: none;
}

.service-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(0, 125, 255, 0.35);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.28);
}


/* =========================================================
   SERVICE TOP
   ========================================================= */

.service-top {
    display: block;
    min-height: 0;
}

.service-number,
.service-index {
    display: none;
}

.service-arrow {
    display: none;
}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-icon {
    width: 47px;
    height: 47px;

    margin:
        34px 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(0, 125, 255, 0.28);

    border-radius: 10px;

    background:
        rgba(0, 125, 255, 0.055);

    color:
        var(--blue);

    font-size: 20px;

    box-shadow:
        0 0 20px
        rgba(0, 125, 255, 0.05);
}

.service-card h3 {
    margin-bottom: 11px;

    font-size: 18px;
}

.service-card p {
    color: #718096;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   SERVICE TAGS
   ========================================================= */

.service-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.service-tags span {
    padding:
        6px 9px;

    border:
        1px solid
        rgba(0, 125, 255, 0.14);

    border-radius: 6px;

    background:
        rgba(0, 125, 255, 0.035);

    color: #607991;

    font-size: 9px;

    letter-spacing: 0.4px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 67, 130, 0.035),
            transparent
        );
}

.project-grid {
    display: grid;

    grid-template-columns:
        1.35fr 0.65fr;

    gap: 14px;
}

.project-card {
    min-height: 390px;

    padding: 34px;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #071321,
            #030a12
        );
}

.project-card.small {
    min-height: 390px;
}

.project-card::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -170px;
    top: -190px;

    border:
        1px solid
        rgba(0, 125, 255, 0.16);

    border-radius: 50%;

    box-shadow:
        0 0 70px
        rgba(0, 100, 255, 0.05);
}


/* =========================================================
   PROJECT CONTENT
   ========================================================= */

.project-label {
    margin-bottom: 25px;

    color: #3e607e;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.project-card h3 {
    max-width: 500px;

    margin-bottom: 17px;

    font-size: 35px;

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.project-card h3 span {
    color:
        var(--blue);
}

.project-card p {
    max-width: 480px;

    color: #718096;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   PROJECT BOTTOM
   ========================================================= */

.project-bottom {
    position: absolute;

    left: 34px;
    right: 34px;
    bottom: 30px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.project-status {
    color: #63829e;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.project-arrow {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(0, 125, 255, 0.28);

    border-radius: 50%;

    color:
        var(--blue);

    font-size: 17px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 100px;

    align-items: center;
}

.about-big {
    font-size:
        clamp(
            40px,
            5vw,
            70px
        );

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 750;
}

.about-big span {
    color:
        var(--blue);
}

.about-text {
    margin-bottom: 30px;

    color: #8190a5;

    font-size: 16px;

    line-height: 1.8;
}

.about-points {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 13px;
}

.about-point {
    padding: 18px;

    border-left:
        2px solid
        var(--blue);

    background:
        rgba(0, 125, 255, 0.035);

    color: #9eacbf;

    font-size: 13px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding-bottom: 130px;
}

.contact-box {
    position: relative;

    padding: 70px;

    overflow: hidden;

    border:
        1px solid
        rgba(0, 125, 255, 0.24);

    border-radius: 15px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(0, 110, 255, 0.10),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #071525,
            #030a12
        );
}

.contact-box::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -260px;
    top: -270px;

    border:
        1px solid
        rgba(0, 125, 255, 0.12);

    border-radius: 50%;
}

.contact-content {
    max-width: 720px;

    position: relative;

    z-index: 2;
}

.contact-content h2 {
    margin-bottom: 22px;

    font-size:
        clamp(
            42px,
            5vw,
            68px
        );

    line-height: 0.98;

    letter-spacing: -3px;
}

.contact-content h2 span {
    color:
        var(--blue);
}

.contact-content p {
    margin-bottom: 30px;

    color: #8190a5;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 38px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-copy {
    color: #46566c;

    font-size: 11px;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #596a80;

    font-size: 11px;

    transition:
        color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE – 1050 PX
   ========================================================= */

@media (max-width: 1050px) {

    nav {
        gap: 20px;
    }

    .hero-grid {
        gap: 35px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid {
        gap: 50px;
    }
}


/* =========================================================
   RESPONSIVE – 800 PX
   ========================================================= */

@media (max-width: 800px) {

    .container,
    .header-inner {
        width:
            min(
                var(--max-width),
                calc(100% - 32px)
            );
    }

    header {
        height: 72px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;

        padding-top: 150px;
        padding-bottom: 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size:
            clamp(
                54px,
                16vw,
                78px
            );

        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .control-card {
        transform: none;
    }

    .hero-points {
        flex-wrap: wrap;

        gap:
            14px 22px;
    }

    .section {
        padding: 85px 0;
    }

    .section-header {
        display: block;
    }

    .section-description {
        margin-top: 22px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card.small {
        min-height: 330px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px 25px;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVE – 480 PX
   ========================================================= */

@media (max-width: 480px) {

    .brand-logo-image {
        width: 36px;
        height: 43px;
    }

    .brand-name strong {
        font-size: 16px;

        letter-spacing: 3px;
    }

    .brand-name span {
        font-size: 7px;
    }

    .header-button {
        height: 39px;

        padding:
            0 13px;

        font-size: 11px;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .control-card {
        padding: 22px;
    }

    .control-title {
        font-size: 28px;
    }

    .control-stats {
        gap: 7px;
    }

    .control-stat {
        padding: 11px;
    }

    .ticker-inner {
        font-size: 8px;

        letter-spacing: 2px;
    }

    .service-card {
        padding: 23px;
    }

    .project-card {
        padding: 27px;
    }

    .project-bottom {
        left: 27px;
        right: 27px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }
}

/* =========================================================
   VALNARO SYSTEMS – LEISTUNGEN / LAYOUT FIX
   ========================================================= */

.services,
.services-section,
#leistungen {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Abschnitts-Kopf */
.services-header,
.services-intro {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 55px auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(400px, 1.3fr);
    align-items: end;
    column-gap: 80px;
}

/* Kleine Nummerierung */
.section-label,
.services-label {
    margin: 0 0 20px 0;
    white-space: nowrap;
}

/* Überschrift */
.services-header h2,
.services-intro h2 {
    margin: 0;
    max-width: 500px;
}

/* Beschreibung rechts */
.services-header p,
.services-intro p {
    margin: 0;
    max-width: 700px;
    line-height: 1.7;
}

/* Kartenbereich */
.services-grid,
.service-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* Einzelne Karten */
.service-card {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Karten-Text darf nicht ausbrechen */
.service-card p {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Tags */
.service-card .tags,
.service-card .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Laufende Textleiste */
.marquee,
.ticker {
    width: 100%;
    overflow: hidden;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .services,
    .services-section,
    #leistungen {
        padding-left: 40px;
        padding-right: 40px;
    }

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .services-header,
    .services-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .services-header p,
    .services-intro p {
        max-width: 700px;
    }

    .services-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .services,
    .services-section,
    #leistungen {
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-header,
    .services-intro {
        margin-bottom: 30px;
    }

    .services-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}

/* =========================================
   LEISTUNGEN – SECTION HEADER
   ========================================= */

.services .section-header {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto 70px;

    display: grid;
    grid-template-columns: 150px minmax(420px, 0.8fr) minmax(500px, 1.2fr);
    align-items: center;

    column-gap: 45px;
}


/* Nummer links */

.services .section-number {
    align-self: center;

    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    white-space: nowrap;

    color: #1684ff;
    font-weight: 600;
}

.services .section-number span {
    color: #1684ff;
}


/* Überschrift */

.services .section-title {
    min-width: 0;
}

.services .section-title h2 {
    margin: 0;
    max-width: 560px;

    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.03em;

    font-weight: 700;
    color: #f4f7ff;
}

.services .section-title h2 span {
    color: #f4f7ff;
}

/* Beschreibung rechts */

.services .section-description {
    min-width: 0;
}

.services .section-description p {
    margin: 0;

    max-width: 850px;

    font-size: 16px;
    line-height: 1.7;

    color: #91a5bd;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .services .section-header {
        grid-template-columns: 120px minmax(320px, 0.8fr) minmax(350px, 1.2fr);
        column-gap: 30px;
    }

    .services .section-title h2 {
        font-size: clamp(34px, 4vw, 48px);
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .services .section-header {
        width: min(100% - 40px, 650px);

        display: block;

        margin-bottom: 50px;
    }

    .services .section-number {
        margin-bottom: 20px;
    }

    .services .section-title h2 {
        max-width: 100%;

        font-size: clamp(38px, 9vw, 52px);
        line-height: 1.05;
    }

    .services .section-description {
        margin-top: 25px;
    }

    .services .section-description p {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* =========================================================
   VALNARO SYSTEMS
   HERO DASHBOARD – PREMIUM VERSION
   ========================================================= */


/* ---------------------------------------------------------
   HERO VISUAL
   --------------------------------------------------------- */

.hero-visual {
    min-height: 560px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1400px;
}


/* ---------------------------------------------------------
   GLOW
   --------------------------------------------------------- */

.visual-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 112, 255, 0.16),
            transparent 68%
        );

    filter: blur(12px);

    pointer-events: none;
}


/* ---------------------------------------------------------
   DASHBOARD CARD
   --------------------------------------------------------- */

.control-card {
    width: min(620px, 100%);

    min-height: 420px;

    padding: 30px;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(15, 137, 255, 0.42);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 25, 44, 0.98),
            rgba(2, 10, 20, 0.98)
        );

    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.58),
        0 0 80px rgba(0, 110, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transform:
        perspective(1400px)
        rotateY(-7deg)
        rotateX(4deg)
        rotateZ(0.3deg);

    transform-style: preserve-3d;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}


/* leichte Bewegung beim Hover */

.control-card:hover {
    transform:
        perspective(1400px)
        rotateY(-4deg)
        rotateX(2deg)
        translateY(-5px);

    box-shadow:
        0 55px 110px rgba(0, 0, 0, 0.62),
        0 0 90px rgba(0, 110, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* Glas-Highlight */

.control-card::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            125deg,
            rgba(255,255,255,0.055),
            transparent 25%,
            transparent 70%,
            rgba(0,125,255,0.035)
        );

    pointer-events: none;
}


/* Lichtkante */

.control-card::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -180px;
    top: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 125, 255, 0.14),
            transparent 68%
        );

    pointer-events: none;
}


/* ---------------------------------------------------------
   DASHBOARD HEADER
   --------------------------------------------------------- */

.dashboard-header {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.dashboard-kicker {
    color: #496985;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 7px;
}


.dashboard-demo {
    color: #7790a9;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.4px;
}


.dashboard-status {
    display: flex;
    align-items: center;

    gap: 7px;

    padding:
        7px 10px;

    border:
        1px solid
        rgba(0, 125, 255, 0.18);

    border-radius: 6px;

    background:
        rgba(0, 125, 255, 0.045);

    color: #5fb7ff;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.3px;

    white-space: nowrap;
}


.dashboard-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #1595ff;

    box-shadow:
        0 0 12px
        rgba(21, 149, 255, 0.9);
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.dashboard-title {
    position: relative;

    z-index: 2;

    margin-bottom: 24px;

    color: #f3f7ff;

    font-size: 31px;

    font-weight: 750;

    line-height: 0.95;

    letter-spacing: -1.5px;
}


.dashboard-title span {
    display: block;

    color: #087dff;

    text-shadow:
        0 0 28px
        rgba(0, 125, 255, 0.20);
}


/* ---------------------------------------------------------
   MAIN STATS
   --------------------------------------------------------- */

.dashboard-stats {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 9px;

    margin-bottom: 11px;
}


.dashboard-stat {
    min-width: 0;

    padding: 13px;

    border:
        1px solid
        rgba(42, 105, 160, 0.28);

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 31, 51, 0.72),
            rgba(4, 17, 29, 0.72)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,0.025);
}


.stat-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

    margin-bottom: 9px;
}


.stat-top > span:first-child {
    color: #55728d;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.2px;
}


.stat-icon {
    width: 18px;
    height: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(0, 125, 255, 0.22);

    border-radius: 5px;

    color: #1689ff;

    font-size: 8px;

    font-weight: 700;
}


.dashboard-stat strong {
    display: block;

    margin-bottom: 7px;

    color: #eaf3ff;

    font-size: 16px;

    font-weight: 750;

    letter-spacing: -0.4px;
}


.dashboard-stat small {
    display: block;

    color: #4d6983;

    font-size: 7px;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   UPTIME PROGRESS
   --------------------------------------------------------- */

.stat-progress {
    width: 100%;

    height: 3px;

    margin:
        2px 0 6px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.05);
}


.stat-progress span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #087dff,
            #37a5ff
        );

    box-shadow:
        0 0 8px
        rgba(0,125,255,0.45);
}


/* ---------------------------------------------------------
   LOWER DASHBOARD
   --------------------------------------------------------- */

.dashboard-bottom {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.55fr 0.75fr;

    gap: 9px;
}


/* ---------------------------------------------------------
   PERFORMANCE
   --------------------------------------------------------- */

.performance-box,
.system-box {
    min-width: 0;

    padding: 14px;

    border:
        1px solid
        rgba(42, 105, 160, 0.24);

    border-radius: 8px;

    background:
        rgba(5, 19, 32, 0.62);
}


.performance-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;
}


.performance-header > div {
    display: flex;

    align-items: baseline;

    gap: 8px;
}


.performance-header span {
    color: #55718c;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.performance-header strong {
    color: #dcecff;

    font-size: 13px;
}


.performance-header small {
    color: #198cff;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* ---------------------------------------------------------
   CHART
   --------------------------------------------------------- */

.dashboard-chart {
    height: 67px;

    display: flex;

    align-items: flex-end;

    gap: 6px;

    padding:
        0 1px;
}


.dashboard-chart span {
    flex: 1;

    min-width: 5px;

    border-radius:
        3px 3px 0 0;

    background:
        linear-gradient(
            180deg,
            #1591ff,
            #0065d9
        );

    box-shadow:
        0 0 12px
        rgba(0, 125, 255, 0.13);
}


/* ---------------------------------------------------------
   SYSTEM BOX
   --------------------------------------------------------- */

.system-box {
    display: flex;

    flex-direction: column;

    justify-content: space-between;

    gap: 12px;
}


.system-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding-bottom: 11px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.045);
}


.system-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.system-label {
    display: block;

    margin-bottom: 5px;

    color: #526e88;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.1px;
}


.system-row strong {
    color: #e0edfb;

    font-size: 14px;
}


.security-check {
    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(0, 142, 255, 0.28);

    border-radius: 50%;

    color: #168dff;

    font-size: 12px;

    background:
        rgba(0,125,255,0.06);
}


.load-ring {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        2px solid
        rgba(0,125,255,0.16);

    border-top-color:
        #168dff;

    border-right-color:
        #168dff;

    border-radius: 50%;

    color: #70bfff;

    font-size: 7px;

    font-weight: 700;
}


/* ---------------------------------------------------------
   DASHBOARD FOOTER
   --------------------------------------------------------- */

.dashboard-footer {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 13px;

    padding-top: 11px;

    border-top:
        1px solid
        rgba(255,255,255,0.045);

    color: #3d5a73;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


/* ---------------------------------------------------------
   DECORATIVE LINES
   --------------------------------------------------------- */

.visual-line {
    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,125,255,0.45),
            transparent
        );

    pointer-events: none;
}


.line-1 {
    width: 190px;

    right: -55px;
    top: 82px;

    transform:
        rotate(-35deg);
}


.line-2 {
    width: 160px;

    left: -60px;
    bottom: 75px;

    transform:
        rotate(-25deg);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hero-grid {
        gap: 35px;
    }

    .control-card {
        width: min(590px, 100%);
    }

    .dashboard-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .hero-visual {
        min-height: 500px;

        margin-top: 20px;
    }

    .control-card {
        width: 100%;

        min-height: auto;

        padding: 22px;

        transform:
            perspective(1200px)
            rotateY(-3deg)
            rotateX(2deg);
    }

    .control-card:hover {
        transform:
            perspective(1200px)
            rotateY(-2deg)
            rotateX(1deg)
            translateY(-3px);
    }

    .dashboard-title {
        font-size: 28px;
    }

    .dashboard-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .dashboard-bottom {
        grid-template-columns: 1fr;
    }

    .dashboard-chart {
        height: 55px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .hero-visual {
        min-height: 460px;
    }

    .control-card {
        padding: 18px;

        border-radius: 13px;
    }

    .dashboard-header {
        margin-bottom: 19px;
    }

    .dashboard-kicker {
        font-size: 7px;
        letter-spacing: 2.3px;
    }

    .dashboard-demo {
        font-size: 8px;
    }

    .dashboard-status {
        padding: 6px 7px;

        font-size: 7px;
    }

    .dashboard-title {
        font-size: 25px;

        margin-bottom: 18px;
    }

    .dashboard-stat {
        padding: 11px;
    }

    .dashboard-stat strong {
        font-size: 14px;
    }

    .dashboard-bottom {
        gap: 7px;
    }

    .performance-box,
    .system-box {
        padding: 11px;
    }

    .dashboard-footer {
        font-size: 6px;

        letter-spacing: 1px;
    }

}

/* Standardmäßig kein Text-Cursor */
html,
body,
body * {
    cursor: default;
}

/* Klickbare Elemente */
a,
button,
.btn,
.cta,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

/* Eingabefelder dürfen weiterhin Text-Cursor haben */
input,
textarea,
select {
    cursor: text;
}

/* Normale Website-Inhalte nicht auswählbar */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
small,
label,
.card,
.service-card,
.hero,
.services,
section {
    user-select: none;
    -webkit-user-select: none;
}

/* =========================================================
   ANFRAGE MODAL
   ========================================================= */

body.modal-open {
    overflow: hidden;
}


/* Hintergrund */

.inquiry-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(0, 119, 255, 0.12),
            transparent 45%
        ),
        rgba(1, 7, 16, 0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.inquiry-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Modal */

.inquiry-modal {
    position: relative;

    width: min(720px, 100%);

    max-height: 90vh;
    overflow-y: auto;

    padding: 46px;

    border: 1px solid rgba(0, 119, 255, 0.28);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 23, 40, 0.98),
            rgba(2, 10, 20, 0.98)
        );

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(0, 119, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transform:
        translateY(30px)
        scale(0.97);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1);
}


.inquiry-overlay.active .inquiry-modal {
    transform:
        translateY(0)
        scale(1);
}


/* Oberer blauer Glow */

.inquiry-modal::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 12%;
    right: 12%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #087cff,
        transparent
    );

    box-shadow:
        0 0 18px rgba(0, 124, 255, 0.8);
}


/* Schließen */

.inquiry-close {
    position: absolute;

    top: 20px;
    right: 22px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 119, 255, 0.2);
    border-radius: 50%;

    background: rgba(0, 119, 255, 0.04);

    color: #7d91aa;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.inquiry-close:hover {
    color: #ffffff;

    border-color: rgba(0, 119, 255, 0.7);

    background: rgba(0, 119, 255, 0.12);
}


/* Header */

.inquiry-label {
    margin-bottom: 15px;

    color: #087cff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;
}


.inquiry-header h2 {
    margin: 0 0 16px;

    color: #f5f8fc;

    font-size: clamp(34px, 5vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}


.inquiry-header h2 span {
    color: #087cff;
}


.inquiry-header p {
    max-width: 560px;

    margin: 0 0 34px;

    color: #72869f;

    font-size: 15px;
    line-height: 1.7;
}


/* Formular */

.inquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 16px;
}


.inquiry-field {
    margin-bottom: 16px;
}


.inquiry-field label {
    display: block;

    margin-bottom: 8px;

    color: #a8b7c9;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.04em;
}


.inquiry-field input,
.inquiry-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid rgba(67, 100, 132, 0.32);
    border-radius: 10px;

    outline: none;

    background: rgba(4, 15, 27, 0.82);

    color: #f5f8fc;

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.inquiry-field textarea {
    min-height: 125px;

    resize: vertical;
}


.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
    color: #4d6279;
}


.inquiry-field input:focus,
.inquiry-field textarea:focus {
    border-color: rgba(0, 124, 255, 0.75);

    background: rgba(5, 18, 32, 0.95);

    box-shadow:
        0 0 0 3px rgba(0, 124, 255, 0.08),
        0 0 25px rgba(0, 124, 255, 0.05);
}


/* Datenschutz */

.inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 4px 0 22px;

    color: #657991;

    font-size: 11px;
    line-height: 1.5;

    cursor: pointer;
}


.inquiry-consent input {
    margin-top: 2px;

    accent-color: #087cff;

    cursor: pointer;
}


/* Button */

.inquiry-submit {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 20px;

    border: 1px solid #087cff;
    border-radius: 10px;

    background: #087cff;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0, 124, 255, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.inquiry-submit:hover {
    background: #1685ff;

    box-shadow:
        0 14px 40px rgba(0, 124, 255, 0.28);

    transform: translateY(-1px);
}


.inquiry-submit:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}


.inquiry-submit span {
    font-size: 17px;
}


/* Status */

.inquiry-status {
    min-height: 20px;

    margin-top: 14px;

    text-align: center;

    font-size: 13px;
}


.inquiry-status.success {
    color: #4ade80;
}


.inquiry-status.error {
    color: #f87171;
}


/* Honeypot */

.inquiry-honeypot {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
}


/* Mobile */

@media (max-width: 700px) {

    .inquiry-overlay {
        padding: 15px;
    }

    .inquiry-modal {
        padding: 34px 22px 25px;

        border-radius: 18px;

        max-height: 92vh;
    }

    .inquiry-header h2 {
        font-size: 38px;
    }

    .inquiry-row {
        grid-template-columns: 1fr;

        gap: 0;

        margin-bottom: 0;
    }

    .inquiry-close {
        top: 14px;
        right: 14px;
    }

}

/* =========================================================
   LOGO – nicht als Text/Element auswählbar
   ========================================================= */

.brand,
.brand-logo-image,
.brand-name {
    user-select: none;
    -webkit-user-select: none;
}

.brand-logo-image {
    pointer-events: none;
}

/* =========================================================
   VALNARO HEADER LOGO
========================================================= */

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: fit-content;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 220px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

/* Desktop */
@media (min-width: 769px) {
    .brand-logo {
        width: 220px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .brand-logo {
        width: 195px;
        max-height: 62px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .brand-logo {
        width: 165px;
        max-height: 55px;
    }
}

/* Sehr kleine Smartphones */
@media (max-width: 400px) {
    .brand-logo {
        width: 145px;
        max-height: 50px;
    }
}

/* =========================================================
   IMPRESSUM / DATENSCHUTZ MODAL
========================================================= */

.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 5, 15, 0.82);
    backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.legal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legal-modal {
    position: relative;

    width: min(760px, 100%);
    max-height: min(80vh, 850px);

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(8, 22, 40, 0.98),
            rgba(2, 10, 21, 0.99)
        );

    border: 1px solid rgba(13, 138, 255, 0.35);
    border-radius: 18px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.65),
        0 0 45px rgba(13, 138, 255, 0.08);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.3s ease;
}

.legal-overlay.active .legal-modal {
    transform: translateY(0) scale(1);
}


/* Schließen */

.legal-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    color: #fff;
    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.legal-close:hover {
    background: rgba(13, 138, 255, 0.15);
    border-color: rgba(13, 138, 255, 0.5);
    transform: rotate(90deg);
}


/* Header */

.legal-header {
    padding: 38px 45px 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-label {
    margin-bottom: 10px;

    color: #0d8aff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.legal-header h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.1;
}


/* Inhalt */

.legal-content {
    max-height: calc(80vh - 150px);

    overflow-y: auto;

    padding: 30px 45px 40px;

    color: #aebdce;

    font-size: 15px;
    line-height: 1.75;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;

    color: #fff;
}

.legal-content h1:first-child,
.legal-content h2:first-child,
.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content a {
    color: #0d8aff;
}

.legal-loading {
    color: #718399;
}


/* Footer Buttons */

.footer-links button {
    border: 0;
    padding: 0;

    background: transparent;

    color: inherit;

    font: inherit;

    cursor: pointer;

    transition: color 0.2s ease;
}

.footer-links button:hover {
    color: #0d8aff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .legal-overlay {
        padding: 15px;
    }

    .legal-modal {
        max-height: 88vh;
        border-radius: 15px;
    }

    .legal-header {
        padding: 30px 25px 20px;
    }

    .legal-header h2 {
        font-size: 30px;
    }

    .legal-content {
        max-height: calc(88vh - 125px);
        padding: 25px;
        font-size: 14px;
    }

    .legal-close {
        top: 14px;
        right: 14px;

        width: 36px;
        height: 36px;
    }
}
/* =========================================================
   E-MAIL COPY BUTTON
========================================================= */

.email-copy-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.email-link {
    color: #0d8aff;
    text-decoration: none;
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 8px;

    border: 1px solid rgba(13, 138, 255, 0.35);
    border-radius: 6px;

    background: rgba(13, 138, 255, 0.06);

    color: #9eafc2;

    font-family: inherit;
    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: rgba(13, 138, 255, 0.12);
    border-color: rgba(13, 138, 255, 0.6);
    color: #ffffff;
}

.copy-email-btn:active {
    transform: scale(0.96);
}

.copy-email-btn span:first-child {
    font-size: 11px;
}

/* =========================================================
   MOBILE – HORIZONTAL OVERFLOW FIX
========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

/* Nichts darf breiter als der Viewport werden */
img,
video,
svg,
canvas,
iframe {
    max-width: 100%;
}

/* Mobile Elemente begrenzen */
@media (max-width: 768px) {

    .container,
    .hero,
    .hero-content,
    section,
    header,
    main,
    footer {
        max-width: 100%;
    }

    /* verhindert versehentliche 100vw + Padding Überbreite */
    * {
        max-width: 100%;
    }
}