/* =========================================
   GRUNDEINSTELLUNGEN
========================================= */

:root {
    --navy: #061725;
    --navy-light: #0b2233;
    --navy-soft: #102b3e;
    --gold: #d3a63f;
    --gold-light: #e3ba58;
    --white: #ffffff;
    --off-white: #f5f5f2;
    --light-gray: #e6e8e9;
    --text: #15222c;
    --gray: #68737c;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 18px 50px rgba(5, 22, 35, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.button,
.small-button,
.header-button,
.form-button {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button:hover,
.small-button:hover,
.header-button:hover,
.form-button:hover {
    transform: translateY(-2px);
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 88px;
    background: rgba(6, 23, 37, 0.98);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.logo {
    min-width: 156px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}

.logo-main {
    color: var(--white);
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -5px;
}

.logo-main span {
    color: var(--white);
}

.logo-main::after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 5px;
    margin: 0 0 7px 4px;
    background: var(--gold);
    transform: skew(-25deg);
}

.logo-sub {
    margin-top: 5px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.main-navigation a {
    position: relative;
    padding: 34px 0 29px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--gold);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}

.header-button {
    min-height: 44px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-button:hover {
    background: var(--gold-light);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    min-height: 635px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("images/hero.jpg")
        center center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 31, 0.98) 0%,
            rgba(4, 19, 31, 0.9) 28%,
            rgba(4, 19, 31, 0.5) 54%,
            rgba(4, 19, 31, 0.12) 100%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 570px;
    padding: 70px 0;
    color: var(--white);
}

.hero-content h1 {
    margin-top: 14px;
    font-size: clamp(58px, 6.3vw, 84px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-content > p {
    max-width: 445px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 48px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.button-gold {
    background: var(--gold);
    color: var(--navy);
}

.button-gold:hover {
    background: var(--gold-light);
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(6, 23, 37, 0.3);
    color: var(--white);
}

.button-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}


/* =========================================
   LEISTUNGEN
========================================= */

.services {
    padding: 72px 0 77px;
    background: var(--white);
}

.center-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.center-heading h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.center-heading p {
    margin-top: 12px;
    color: var(--gray);
    font-size: 14px;
}

.service-grid {
    margin-top: 47px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    color: var(--gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item h3 {
    min-height: 36px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.service-item p {
    margin-top: 4px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================
   ALLES AUS EINER HAND
========================================= */

.about-preview {
    padding: 64px 0;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 32% 68%;
    align-items: stretch;
}

.about-preview-content {
    padding: 37px 55px 37px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.about-preview-content h2 {
    margin-top: 11px;
    font-size: clamp(36px, 4.4vw, 51px);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
}

.about-preview-content p {
    margin: 20px 0 25px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.7;
}

.about-image-grid {
    min-height: 330px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.about-image-grid figure {
    min-width: 0;
    overflow: hidden;
}

.about-image-grid img {
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.about-image-grid figure:hover img {
    transform: scale(1.04);
}


/* =========================================
   PROJEKTE
========================================= */

.projects {
    padding: 62px 0 72px;
    background: var(--off-white);
}

.section-heading-row {
    margin-bottom: 27px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading-row h2 {
    margin-top: 4px;
    color: var(--navy);
    font-size: clamp(29px, 4vw, 41px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.small-button {
    min-height: 43px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.small-button:hover {
    background: var(--gold-light);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.project-card {
    min-width: 0;
}

.project-image {
    height: 180px;
    overflow: hidden;
    background: var(--light-gray);
}

.project-image img {
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1.04);
}

.project-card h3 {
    margin-top: 12px;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.4;
}

.project-card p {
    margin-top: 2px;
    color: var(--gray);
    font-size: 11px;
}


/* =========================================
   KONTAKT MIT FORMULAR
========================================= */

.contact {
    padding: 78px 0;
    background: var(--navy);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 75px;
}

.contact-content h2 {
    margin-top: 12px;
    font-size: clamp(38px, 4.7vw, 57px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.contact-description {
    max-width: 510px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.75;
}

.contact-details {
    margin-top: 31px;
    display: grid;
    gap: 15px;
}

.contact-details a,
.contact-details > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-details small {
    display: block;
    margin-bottom: 1px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.contact-symbol {
    width: 22px;
    color: var(--gold);
    font-size: 18px;
    line-height: 1.3;
}

.contact-form-wrapper {
    padding: 39px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field label {
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d8dddf;
    border-radius: 0;
    outline: none;
    background: #f8f8f6;
    color: var(--text);
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.form-field input {
    height: 50px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 145px;
    padding: 14px 15px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    background: var(--white);
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-check input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--gold);
}

.form-button {
    width: 100%;
    min-height: 52px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--gold);
    color: var(--navy);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.form-button:hover {
    background: var(--gold-light);
}

.honeypot {
    position: absolute;
    left: -9999px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #04111c;
    color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner p {
    font-size: 10px;
}

.footer-links {
    align-self: stretch;
    display: flex;
}

.footer-links a {
    padding: 0 24px;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--gold);
}


/* =========================================
   ÜBER-UNS-SEITE
========================================= */

.subpage-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("images/hero.jpg")
        center 56% / cover
        no-repeat;
}

.subpage-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 31, 0.98),
            rgba(4, 19, 31, 0.76),
            rgba(4, 19, 31, 0.4)
        );
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.subpage-hero-content h1 {
    margin-top: 8px;
    font-size: clamp(52px, 7vw, 78px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.subpage-hero-content p {
    max-width: 590px;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.about-introduction {
    padding: 75px 0;
}

.introduction-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.introduction-grid h2 {
    margin-top: 8px;
    color: var(--navy);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.introduction-grid p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
}

.introduction-grid p + p {
    margin-top: 17px;
}

.team-section {
    padding: 80px 0;
    background: var(--off-white);
}

.team-grid {
    display: grid;
    gap: 60px;
}

.person-card {
    display: grid;
    grid-template-columns: 43% 57%;
    min-height: 590px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.person-card-reverse .person-image {
    order: 2;
}

.person-card-reverse .person-content {
    order: 1;
}

.person-image {
    min-height: 590px;
    background: #dfe3e5;
}

.person-image img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.person-content {
    padding: 53px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-role {
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.person-content h2 {
    margin-top: 7px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.person-description {
    margin-top: 19px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.75;
}

.person-tags {
    margin-top: 23px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.person-tags span {
    padding: 7px 11px;
    border: 1px solid #d7dcde;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.references-box {
    margin-top: 27px;
    padding: 23px;
    border-left: 4px solid var(--gold);
    background: var(--off-white);
}

.references-box h3 {
    color: var(--navy);
    font-size: 15px;
    text-transform: uppercase;
}

.references-box ul {
    margin-top: 13px;
    padding-left: 19px;
    color: var(--gray);
    font-size: 13px;
}

.references-box li + li {
    margin-top: 7px;
}

.about-cta {
    padding: 58px 0;
    background: var(--navy);
    color: var(--white);
}

.about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-cta h2 {
    margin-top: 4px;
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.about-cta p {
    max-width: 620px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 17px;
    }

    .main-navigation a {
        font-size: 9px;
    }

    .header-button {
        display: none;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 42px 25px;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-preview-content {
        max-width: 660px;
        padding: 0;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .project-image {
        height: 240px;
    }

    .contact-grid {
        gap: 45px;
    }

    .person-card {
        grid-template-columns: 42% 58%;
    }

}


/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 72px;
    }

    .container {
        width: min(100% - 32px, 1180px);
    }

    .site-header {
        height: 72px;
    }

    .logo-main {
        font-size: 32px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .menu-button {
        display: block;
        z-index: 1002;
    }

    .menu-button.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-button.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset: 72px 0 0;
        z-index: 1001;
        padding: 40px 24px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--navy);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-15px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .main-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-navigation a {
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .main-navigation a::after {
        display: none;
    }

    .hero {
        min-height: 620px;
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 19, 31, 0.96),
                rgba(4, 19, 31, 0.65)
            );
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: clamp(49px, 15vw, 63px);
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        max-width: 310px;
        flex-direction: column;
        align-items: stretch;
    }

    .services {
        padding: 58px 0;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 15px;
    }

    .service-item:last-child {
        grid-column: 1 / -1;
        max-width: 270px;
        margin: 0 auto;
    }

    .about-preview {
        padding: 55px 0;
    }

    .about-image-grid {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
    }

    .about-image-grid img {
        height: 190px;
        min-height: 190px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 235px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        padding-top: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
    }

    .footer-links a {
        min-height: 50px;
        flex: 1;
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .subpage-hero {
        min-height: 330px;
    }

    .introduction-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .person-card {
        grid-template-columns: 1fr;
    }

    .person-card-reverse .person-image,
    .person-card-reverse .person-content {
        order: initial;
    }

    .person-image {
        min-height: 430px;
        height: 430px;
    }

    .person-content {
        padding: 30px 24px;
    }

    .about-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}
/* Ergänzungen für die vollständige Website */
.hero,
.subpage-hero { background-color: var(--navy); }

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #102b3e, #061725);
    color: rgba(255, 255, 255, 0.76);
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.6;
    text-transform: uppercase;
}

.project-image.image-placeholder { height: 180px; }
.section-intro { max-width: 700px; margin: -12px 0 28px; color: var(--gray); font-size: 13px; }
.subpage-hero-content { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.subpage-hero-copy { max-width: 590px; }
.subpage-logo { width: min(390px, 36vw); height: auto; }

.legal-page { min-height: 100vh; padding: 80px 0; background: var(--off-white); }
.legal-content { max-width: 800px; padding: 46px; background: var(--white); box-shadow: var(--shadow); }
.legal-back { display: inline-block; margin-bottom: 28px; color: var(--gold); font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.legal-content h1 { color: var(--navy); font-size: 44px; line-height: 1; text-transform: uppercase; }
.legal-content h2 { margin-top: 32px; color: var(--navy); font-size: 20px; }
.legal-content p { margin-top: 12px; color: var(--gray); }
.legal-content a { color: var(--navy); }
.legal-note { padding: 15px; border-left: 4px solid var(--gold); background: var(--off-white); font-size: 13px; }

@media (max-width: 760px) {
    .subpage-hero-content { align-items: flex-start; flex-direction: column; gap: 24px; }
    .subpage-logo { width: min(330px, 82vw); }
    .project-image.image-placeholder { height: 235px; }
    .legal-page { padding: 35px 0; }
    .legal-content { padding: 28px 20px; }
    .legal-content h1 { font-size: 35px; }
}

/* =========================================
   DESIGN-UPDATE · PREMIUM-UNTERNEHMENSAUFTRITT
========================================= */

body {
    background: #f7f8fa;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.site-header {
    height: 82px;
    background: rgba(5, 20, 32, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.main-navigation a { padding: 31px 0 26px; font-size: 10px; }
.main-navigation a::after { bottom: 16px; }
.header-button { min-height: 42px; border-radius: 2px; }
.logo-main { font-size: 39px; }

.hero {
    min-height: 760px;
    background-image: url("images/hero-pro.png");
    background-position: center center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 18, 29, 0.98) 0%, rgba(4, 18, 29, 0.9) 35%, rgba(4, 18, 29, 0.42) 61%, rgba(4, 18, 29, 0.12) 100%);
}

.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-content { max-width: 585px; padding: 112px 0 95px; }
.hero-content h1 { font-size: clamp(62px, 6.4vw, 92px); letter-spacing: -3px; line-height: 0.88; }
.hero-content > p { max-width: 485px; font-size: 17px; }
.hero-brand { width: min(420px, 36vw); margin: 90px 0 25px; opacity: 0.98; filter: drop-shadow(0 20px 35px rgba(0,0,0,.32)); }
.hero-brand img { width: 100%; height: auto; }
.hero-proof { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 750; letter-spacing: .4px; text-transform: uppercase; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof span::before { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); content: ""; }

.services { padding: 98px 0 96px; background: #fff; }
.center-heading p { font-size: 15px; }
.service-grid { margin-top: 58px; gap: 14px; }
.service-item { padding: 24px 14px; border-radius: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.service-item:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(5,22,35,.10); }
.service-icon { width: 58px; height: 58px; margin-bottom: 20px; }
.service-item h3 { min-height: auto; font-size: 11px; }

.about-preview { padding: 0; background: #071c2d; }
.about-preview-grid { grid-template-columns: 40% 60%; }
.about-preview-content { padding: 72px 62px 72px 0; }
.about-preview-content p { font-size: 14px; }
.about-image-grid { min-height: 430px; gap: 4px; }
.about-image-grid img { min-height: 430px; }

.projects { padding: 100px 0; background: #f7f8fa; }
.section-intro { margin: -8px 0 33px; max-width: 650px; font-size: 14px; }
.project-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { overflow: hidden; border: 1px solid #e6eaed; background: #fff; box-shadow: 0 13px 30px rgba(5,22,35,.07); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 23px 42px rgba(5,22,35,.14); }
.project-image { position: relative; height: 285px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-label { position: absolute; top: 16px; left: 16px; padding: 7px 10px; background: rgba(5,23,37,.86); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.project-card h3 { margin: 18px 18px 0; font-size: 16px; }
.project-card p { margin: 5px 18px 20px; font-size: 12px; }

.contact { padding: 104px 0; background: linear-gradient(135deg, #061725, #102b3e); }
.contact-form-wrapper { border-radius: 4px; }
.form-button, .button-gold, .small-button { box-shadow: 0 10px 22px rgba(211,166,63,.20); }

.subpage-hero { min-height: 460px; background-image: url("images/hero-pro.png"); }
.subpage-logo { width: min(420px, 35vw); filter: drop-shadow(0 18px 30px rgba(0,0,0,.30)); }

@media (max-width: 760px) {
    .site-header { height: 72px; }
    .main-navigation a { padding: 18px 0; }
    .hero { min-height: 690px; background-position: 65% center; }
    .hero-inner { display: block; }
    .hero-content { padding: 82px 0 34px; }
    .hero-content h1 { font-size: clamp(52px, 15vw, 68px); }
    .hero-brand { width: min(310px, 80vw); margin: 8px 0 48px; }
    .hero-proof { margin-top: 25px; }
    .about-preview-grid { grid-template-columns: 1fr; }
    .about-preview-content { padding: 60px 0 25px; }
    .about-image-grid { min-height: 340px; }
    .about-image-grid img { min-height: 170px; height: 170px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-image { height: 300px; }
    .subpage-logo { width: min(320px, 82vw); }
}

/* Logo im Hero-Bild: rechts oben */
.hero-brand {
    position: absolute;
    top: 42px;
    right: 0;
    width: min(285px, 26vw);
    margin: 0;
}

@media (max-width: 760px) {
    .hero-brand {
        top: 28px;
        right: 0;
        width: min(205px, 54vw);
        margin: 0;
    }
}

/* Echtes Firmenlogo oben links */
.logo.logo-image {
    width: 108px;
    min-width: 108px;
    height: 74px;
    display: flex;
    align-items: center;
}

.logo.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Das Logo erscheint nur im Kopf der Website, nicht auf dem Hausbild. */
.hero-brand { display: none; }

@media (max-width: 760px) {
    .logo.logo-image {
        width: 86px;
        min-width: 86px;
        height: 62px;
    }
}

/* Original-Symbole aus dem Firmenlogo */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-services {
    padding: 42px 0;
    background: #ffffff;
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
}

.brand-services-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand-service {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .6px;
    text-align: center;
    text-transform: uppercase;
}

.brand-service img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .brand-services-row { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
    .brand-service:last-child { grid-column: 1 / -1; }
}

/* Vier Projektbereiche */
.project-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .project-grid { grid-template-columns: 1fr; }
}

/* Kopf-Logo: bestätigte Version ohne Symbolreihe */
.logo.logo-image {
    width: 170px;
    min-width: 170px;
    height: 60px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo.logo-image img {
    width: 170px;
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    transform: none;
}

@media (max-width: 760px) {
    .logo.logo-image {
        width: 130px;
        min-width: 130px;
        height: 46px;
    }

    .logo.logo-image img {
        width: 130px;
        transform: none;
    }
}

/* Bestätigung nach erfolgreicher Kontaktanfrage */
.form-success {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--gold);
    background: #f4f7f5;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.5;
}

.form-success strong {
    color: #0c6b3b;
    font-size: 15px;
}

/* Mobilmenü: deckender Hintergrund und gut lesbare Menüpunkte */
@media (max-width: 760px) {
    body.menu-open {
        overflow: hidden;
    }

    .main-navigation {
        background: #061925 !important;
        box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
    }

    .main-navigation.is-open {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-navigation a {
        color: #ffffff !important;
        border-bottom-color: rgba(255, 255, 255, 0.18);
        font-size: 15px;
        letter-spacing: 0.7px;
    }

    .main-navigation a.active {
        color: var(--gold) !important;
    }
}
/* Korrektur: Mobilmenü füllt zuverlässig den gesamten Bildschirm. */
@media (max-width: 760px) {
    .main-navigation {
        height: calc(100vh - 72px) !important;
        height: calc(100dvh - 72px) !important;
        overflow-y: auto;
        box-sizing: border-box;
    }
}