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

:root {
    --bg: #030913;
    --bg2: #071321;
    --panel: #091827;
    --panel-hover: #0d2033;
    --blue: #168cff;
    --blue-light: #25a4ff;
    --text: #f1f6fc;
    --muted: #9aabbd;
    --border: #1b3853;
    --green: #31c95b;
    --purple: #a45cff;
    --gold: #e8b84a;
}

html {
    scroll-behavior: smooth;
}

section[id],
main[id] {
    scroll-margin-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(
            circle at 75% 10%,
            rgba(0, 110, 255, 0.25),
            transparent 35%
        ),
        linear-gradient(180deg, #030913 0%, #020711 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--blue);
    color: white;
    border-radius: 6px;
}

.skip-link:focus {
    left: 8px;
}

/* =========================
   NAVIGATION
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 9, 19, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(40, 75, 105, 0.45);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    font-size: 30px;
    font-weight: 900;
    color: var(--blue);
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1;
}

.logo-text {
    font-size: 17px;
    font-weight: bold;
}

.logo-sub {
    display: block;
    color: var(--blue-light);
    font-size: 11px;
    margin-top: 1px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #c3d0de;
    font-size: 14px;
    transition: 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
    color: white;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--blue);
    background: linear-gradient(
        135deg,
        #168cff,
        #096bd5
    );
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.25);
}

.button-outline {
    background: transparent;
    border-color: #65788c;
}

.button-outline:hover {
    border-color: var(--blue);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: 80px 0;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    color: #b5c3d2;
    font-size: 17px;
    max-width: 590px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.stat {
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat-title {
    display: block;
    font-weight: bold;
    font-size: 14px;
}

.stat-text {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

/* =========================
   COMPUTER MOCKUP
========================= */

.mockup {
    height: 390px;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid #315273;
    background:
        linear-gradient(
            145deg,
            #091a2b,
            #02070d
        );
    box-shadow:
        0 30px 80px rgba(0, 100, 255, 0.20),
        0 0 0 8px rgba(7, 17, 29, 0.6);
    transform: perspective(1000px) rotateY(-5deg);
}

.screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #21415e;
    background: #040a11;
}

.screen-top {
    height: 34px;
    background: #0b1724;
    border-bottom: 1px solid #1b344b;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #516579;
}

.screen-content {
    padding: 22px;
}

.fake-title {
    width: 50%;
    height: 10px;
    background: #17415f;
    border-radius: 5px;
    margin-bottom: 25px;
}

.fake-panel {
    border: 1px solid #1a3b55;
    background: #07121d;
    border-radius: 8px;
    padding: 20px;
}

.pipe {
    width: 65%;
    height: 110px;
    margin: 10px auto 25px;
    border: 5px solid #aebdcb;
    border-radius: 55px 20px 55px 20px;
    transform: rotate(-7deg);
    opacity: 0.85;
}

.fake-row {
    height: 11px;
    border-radius: 5px;
    background: #12344f;
    margin: 9px 0;
}

.fake-row:nth-child(2) {
    width: 80%;
}

.fake-row:nth-child(3) {
    width: 60%;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 36px;
    line-height: 1.2;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: var(--blue);
    margin: 15px auto 0;
}

/* =========================
   PROGRAMS
========================= */

.programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "rohr dok material"
        "kunde1 kunde2 individuell";
    gap: 16px;
    align-items: stretch;
}

#programm-rohr {
    grid-area: rohr;
}

#programm-auftrag {
    grid-area: dok;
}

#programm-material {
    grid-area: material;
}

#programm-individuell {
    grid-area: individuell;
}

#programm-kunde-x01 {
    grid-area: kunde1;
}

#programm-kunde-x02 {
    grid-area: kunde2;
}

.program-preview-video {
    height: auto;
    padding: 0;
    background: #040a11;
}

.program-preview-video video,
.program-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    background: #000;
}

.program-video {
    max-height: none;
    border: 1px solid #24415c;
    border-radius: 12px;
}

.product-hero-video {
    grid-template-columns: 1fr;
}

.product-hero-video .program-video {
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background:
        linear-gradient(
            145deg,
            #091827,
            #06101b
        );
    border: 1px solid #24415c;
    border-radius: 10px;
    padding: 16px;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #3075ad;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--blue);
    font-size: 21px;
    overflow: hidden;
}

.card-icon.has-logo {
    background: #0a121a;
    padding: 0;
}

.card-icon.has-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card.green .card-icon {
    background: var(--green);
}

.card.purple .card-icon {
    background: var(--purple);
}

.card.gold .card-icon {
    background: var(--gold);
    color: #1a1408;
}

.card h3 {
    font-size: 19px;
}

.card-subtitle {
    color: var(--blue-light);
    font-size: 12px;
}

.card.green .card-subtitle {
    color: #49dc68;
}

.card.purple .card-subtitle {
    color: #bd83ff;
}

.card.gold .card-subtitle {
    color: #f0c96a;
}

.card.gold {
    border-color: #6a5420;
    box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.18);
}

.card-description {
    color: #adbdcc;
    font-size: 13px;
    margin-bottom: 0;
}

.program-preview {
    height: 110px;
    margin: 14px 0;
    padding: 15px;
    overflow: hidden;
    background: #040a11;
    border: 1px solid #27445e;
    border-radius: 7px;
}

.program-preview:has(img) {
    padding: 0;
}

.program-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.preview-line {
    height: 9px;
    background: #14344e;
    border-radius: 4px;
    margin: 9px 0;
}

.preview-line:nth-child(2) {
    width: 75%;
}

.preview-line:nth-child(3) {
    width: 55%;
}

.check-list {
    display: grid;
    gap: 8px;
    color: #c3ced9;
    font-size: 12px;
}

.check-list span::before {
    content: "✓";
    width: 18px;
    height: 18px;
    margin-right: 7px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: white;
}

.card.green .check-list span::before {
    background: var(--green);
}

.card.purple .check-list span::before {
    background: var(--purple);
}

.card.gold .check-list span::before {
    background: var(--gold);
    color: #1a1408;
}

.card-buttons {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.card-buttons .button {
    flex: 1;
    padding: 9px 8px;
    font-size: 11px;
    white-space: nowrap;
}

/* =========================
   BENEFITS
========================= */

.benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid #17314a;
    border-bottom: 1px solid #17314a;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 8px;
}

.benefit-title {
    display: block;
    font-size: 13px;
    font-weight: bold;
}

.benefit-text {
    color: #8799ad;
    font-size: 11px;
    margin-top: 4px;
}

/* =========================
   ABOUT
========================= */

.about {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about p {
    color: #aebdcb;
    font-size: 16px;
}

/* =========================
   CONTACT
========================= */

.contact-box {
    max-width: 800px;
    margin: auto;
    background: linear-gradient(
        145deg,
        #091827,
        #06101b
    );
    border: 1px solid #24415c;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.contact-box h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-box p {
    color: var(--muted);
    margin-bottom: 25px;
}

.contact-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-info {
    color: #a9bacb;
    margin-bottom: 25px;
}

.contact-info a {
    color: var(--blue-light);
}

.contact-info a:hover {
    color: white;
}

/* =========================
   LEGAL PAGES
========================= */

.legal {
    max-width: 800px;
    margin: 40px auto 80px;
    background: linear-gradient(145deg, #091827, #06101b);
    border: 1px solid #24415c;
    border-radius: 12px;
    padding: 40px;
}

.legal h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.legal h2 {
    font-size: 18px;
    margin: 28px 0 10px;
}

.legal p,
.legal li {
    color: #aebdcb;
    font-size: 15px;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal a {
    color: var(--blue-light);
}

.legal a:hover {
    color: white;
}

.note {
    border: 1px dashed #3075ad;
    background: rgba(22, 140, 255, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
    color: #cfe6ff;
    font-size: 14px;
}

/* =========================
   PRODUCT PAGE
========================= */

.product-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 70px 0 30px;
}

.product-hero-video {
    grid-template-columns: 1fr;
}

.product-hero-video .program-video {
    max-width: 1100px;
    width: 100%;
    max-height: none;
}

.product-logo {
    width: min(420px, 92%);
    margin-bottom: 22px;
    display: block;
}

.product-logo.icon {
    width: 120px;
    border-radius: 28px;
}

.product-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    margin-bottom: 18px;
}

.product-hero p {
    color: #b5c3d2;
    font-size: 17px;
    max-width: 620px;
    margin-bottom: 22px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0 30px;
}

.feature-item {
    background: linear-gradient(145deg, #091827, #06101b);
    border: 1px solid #24415c;
    border-radius: 10px;
    padding: 18px;
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-item p {
    color: #adbdcc;
    font-size: 13px;
    margin: 0;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.gallery-item {
    display: block;
    width: 100%;
    background: #040a11;
    border: 1px solid #24415c;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    text-align: left;
    color: inherit;
    padding: 0;
    font: inherit;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.gallery-item figcaption,
.gallery-item .shot-caption {
    display: block;
    padding: 14px 16px 16px;
    color: #c3d0de;
    font-size: 13px;
}

.gallery-item:hover {
    border-color: #3075ad;
    transform: translateY(-4px);
    transition: 0.2s;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(2, 7, 17, 0.92);
    display: grid;
    place-items: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1200px, 94vw);
    max-height: 78vh;
    border-radius: 10px;
    border: 1px solid #315273;
}

.lightbox p {
    color: #c3d0de;
    text-align: center;
    margin-top: 12px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: transparent;
    border: 0;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 80px;
    padding: 55px 0 25px;
    background: #020711;
    border-top: 1px solid #102439;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer-column h3 {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
    display: block;
    color: #8999aa;
    font-size: 12px;
    margin: 7px 0;
}

.footer-column a:hover {
    color: var(--blue);
}

.copyright {
    text-align: center;
    color: #566779;
    font-size: 11px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid #102439;
}

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

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(3, 9, 19, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 10px 0 16px;
    }

    nav.is-open {
        display: flex;
    }

    nav a {
        padding: 12px 4%;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 0;
        min-height: auto;
    }

    .mockup {
        height: 300px;
        transform: none;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .legal {
        padding: 25px;
    }

    .product-hero,
    .gallery,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 12px;
    }

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

    .programs {
        grid-template-columns: 1fr;
        grid-template-areas:
            "rohr"
            "dok"
            "kunde1"
            "kunde2"
            "individuell"
            "material";
    }

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

    .contact-box {
        padding: 25px;
    }
}
