
:root {
    --navy-950: #081727;
    --navy-900: #0d2238;
    --navy-850: #102a45;
    --navy-800: #153653;
    --blue-500: #5aa7d8;
    --blue-400: #78bce6;
    --blue-200: #cfe7f6;
    --blue-100: #e8f3fa;

    --white: #ffffff;
    --off-white: #f7fafc;
    --text: #163047;
    --text-soft: #5e7486;

    --line-dark: rgba(255,255,255,.14);
    --line-light: rgba(13,34,56,.12);

    --shadow: 0 18px 50px rgba(8,23,39,.08);
    --radius: 18px;
    --content: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off-white);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4vw;

    background: rgba(8,23,39,.90);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    color: var(--white);
}

.brand {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    color: inherit;
}
header .brand img {
    width: auto !important;
    height: 80px !important;
    max-width: none !important;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    color: #d9e8f3;
}

.nav a {
    transition: color .18s ease, opacity .18s ease;
}

.nav a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 8px 14px;
    border: 1px solid rgba(120,188,230,.55);
    border-radius: 999px;
    background: rgba(90,167,216,.10);
}

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

.applications-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.applications-grid span {
    position: relative;
    padding-left: 16px;
}

.applications-grid span::before {
    content: "•";
    position: absolute;
    left: 0;
}

.hero {
    min-height: 72vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;

    padding: 125px 4vw 72px;

    color: var(--white);

    background:
        radial-gradient(circle at 78% 25%, rgba(90,167,216,.22), transparent 32%),
        linear-gradient(135deg, var(--navy-950), var(--navy-850));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.eyebrow,
.section-label,
.contact-label,
.legal-kicker {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 700;
}

.service-number::before {
    content: "•";
    font-size: 18px;
}

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

.eyebrow {
    margin-bottom: 18px;
    color: var(--blue-400);
}

.hero h1 {
    max-width: 790px;

    font-size: clamp(42px, 5.8vw, 76px);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 650;
}

.hero-copy {
    max-width: 520px;

    margin: 24px 0;

    color: #c9dbe8;
    font-size: clamp(15px, 1.35vw, 18px);
}

.hero-mark {
    position: absolute;
    right: -1vw;
    bottom: -10vh;

    font-size: min(41vw, 520px);
    line-height: .8;
    font-weight: 800;

    color: rgba(120,188,230,.055);

    user-select: none;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--content);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 5vw;
}

.hero-inner {
    width: 100%;
}

.hero-media {
    position: relative;
    min-height: 430px;
}

.hero-photo {
    position: absolute;
    display: block;

    object-fit: cover;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.30),
            0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Großes Bild: Stanzmaschine */
.hero-photo-main {
    z-index: 1;

    top: 0;
    right: 0;

    width: 84%;
    height: 320px;

    object-position: center;
}

/* Kleines, überlappendes Bild: Gebäude und Fuhrpark */
.hero-photo-secondary {
    z-index: 2;

    left: 0;
    bottom: 0;

    width: 58%;
    height: 210px;

    object-position: center;
}

/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 650;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-dark {
    background: var(--blue-500);
    color: var(--navy-950);
}

.button-dark:hover {
    background: var(--blue-400);
}

.button-light {
    background: var(--white);
    color: var(--navy-900);
}

.button-light:hover {
    background: var(--blue-100);
}

.button-outline {
    color: var(--white);
    border-color: rgba(120,188,230,.55);
    background: rgba(255,255,255,.03);
}

.button-outline:hover {
    background: rgba(120,188,230,.12);
}

.product-section .button {
    margin-top: 28px;
}

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

.section {
    padding: 74px 4vw;
}

.section-light {
    background:
        linear-gradient(180deg, var(--off-white), #eef6fb);
    color: var(--text);
}

.section-dark {
    background:
        radial-gradient(circle at 86% 18%, rgba(90,167,216,.16), transparent 30%),
        var(--navy-900);

    color: var(--white);
}

.section-label {
    max-width: var(--content);
    margin: 0 auto;
    padding-bottom: 14px;

    color: #6f8799;
    border-bottom: 1px solid var(--line-light);
}

.section-dark .section-label {
    color: var(--blue-400);
    border-color: var(--line-dark);
}

.section-content {
    max-width: var(--content);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: 7vw;
    align-items: start;

    padding-top: 44px;
}

.section h2 {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.03;
    letter-spacing: -.04em;
    font-weight: 650;
}

.text-column {
    max-width: 540px;
    color: var(--text-soft);
    font-size: clamp(15px, 1.35vw, 18px);
}

.text-column p + p {
    margin-top: 18px;
}

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

.contact-headline {
    max-width: var(--content);
    margin: 0 auto;
    padding: 40px 0 48px;
}

.contact-grid {
    max-width: var(--content);
    margin: 0 auto;
    border-top: 1px solid var(--line-dark);
}

.contact-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;

    padding: 19px 0;

    border-bottom: 1px solid var(--line-dark);
}

.contact-label {
    color: #9bc9e7;
}

.contact-item > a {
    width: fit-content;

    font-size: clamp(18px, 1.8vw, 25px);
    font-weight: 550;
    line-height: 1.28;
    letter-spacing: -.015em;

    color: #f4f9fc;

    transition: color .18s ease, opacity .18s ease;
}

.contact-item > a:hover {
    color: var(--blue-400);
}

.contact-actions {
    max-width: var(--content);
    margin: 28px auto 0;

    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 22px 4vw;

    background: var(--navy-950);
    color: #8ca5b7;

    border-top: 1px solid rgba(255,255,255,.08);

    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer a {
    transition: color .18s ease;
}

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

/* =========================================================
   IMPRESSUM + DATENSCHUTZ
========================================================= */

.legal-page {
    min-height: 100vh;

    background:
        linear-gradient(180deg, #eaf4fa 0%, #f8fbfd 52%, #eef6fa 100%);

    color: var(--text);
}

.legal-header {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4vw;

    background:
        linear-gradient(135deg, var(--navy-950), var(--navy-850));

    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.legal-header .brand {
    color: var(--white);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 13px;

    color: #d8e8f2;
    font-size: 12px;

    border: 1px solid rgba(120,188,230,.45);
    border-radius: 999px;

    background: rgba(90,167,216,.08);

    transition: background .18s ease, color .18s ease;
}

.legal-back:hover {
    background: rgba(90,167,216,.18);
    color: var(--white);
}

.legal-main {
    width: min(1040px, 92%);
    margin: 0 auto;
    padding: 68px 0 86px;
}

.legal-kicker {
    margin-bottom: 13px;
    color: #4c91bd;
}

.legal-main > h1 {
    margin-bottom: 38px;

    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 650;

    color: var(--navy-900);
}

.legal-content {
    width: min(780px, 100%);
}

.legal-content section {
    position: relative;

    margin-bottom: 14px;
    padding: 22px 24px;

    background: rgba(255,255,255,.86);

    border: 1px solid rgba(21,54,83,.11);
    border-left: 3px solid rgba(90,167,216,.45);
    border-radius: 14px;

    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin-bottom: 10px;

    color: var(--navy-850);

    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.legal-content p {
    margin-bottom: 11px;

    color: #566f82;

    font-size: 14px;
    line-height: 1.72;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    color: var(--navy-900);
    font-weight: 650;
}

.legal-content a {
    color: #2879ab;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color .18s ease;
}

.legal-content a:hover {
    color: var(--navy-900);
}

.legal-note {
    background: var(--blue-100) !important;
    border-color: rgba(90,167,216,.28) !important;
    border-left-color: var(--blue-500) !important;
    box-shadow: none !important;
}

.legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 4vw;

    background: var(--navy-950);
    color: #8da8ba;

    border-top: 1px solid rgba(255,255,255,.08);

    font-size: 11px;
}

.legal-footer div {
    display: flex;
    gap: 20px;
}

.legal-footer a {
    transition: color .18s ease;
}

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

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 860px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero {
        min-height: 64vh;
    }

    .hero {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-media {
        width: 100%;
        max-width: 680px;
        min-height: 360px;
    }

    .hero-photo-main {
        width: 86%;
        height: 270px;
    }

    .hero-photo-secondary {
        width: 58%;
        height: 175px;
    }
}

@media (max-width: 700px) {
    .site-header,
    .legal-header {
        min-height: 62px;
        padding: 0 20px;
    }

    .brand {
        max-width: 180px;
        font-size: 11px;
        line-height: 1.2;
    }

    .nav {
        gap: 14px;
        font-size: 12px;
    }

    .hero {
        min-height: 60vh;
        padding: 105px 20px 52px;
    }

    .hero h1 {
        font-size: clamp(39px, 10.8vw, 58px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .section {
        padding: 56px 20px;
    }

    .section-content {
        padding-top: 36px;
    }

    .section h2 {
        font-size: clamp(31px, 8vw, 46px);
    }

    .contact-headline {
        padding: 32px 0 38px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 17px 0;
    }

    .contact-item > a {
        font-size: 20px;
    }

    .footer,
    .legal-footer {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-main {
        width: min(92%, 780px);
        padding: 50px 0 68px;
    }

    .legal-main > h1 {
        margin-bottom: 28px;
    }

    .legal-content section {
        padding: 19px 18px;
        border-radius: 12px;
    }

    .legal-back {
        font-size: 11px;
    }
}

@media (max-width: 500px) {
    .nav a:first-child {
        display: none;
    }

    .hero h1 {
        font-size: clamp(37px, 12vw, 50px);
    }

    .section h2 {
        font-size: clamp(30px, 10vw, 41px);
    }

    .hero-mark {
        display: none;
    }


}
