:root {
    --red: #C50004;
    --red-dark: #990709;
    --anth: #0E1316;
    --dark: #181D1F;
    --mid: #45494B;
    --light: #EFF1F2;
    --lighter: #F5F6F7;
    --white: #FFFFFF;
    --black: #080B0D;
    --max: 1440px;
    --shadow: 0 14px 34px rgba(8, 11, 13, .09);
}

/* ==================================================
   RESET / BASIS
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

p {
    margin: 0 0 1rem;
}

button,
input,
textarea,
a {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 48px), var(--max));
    margin: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 9999;
    background: #fff;
    padding: 10px 14px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e8e8e8;
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    width: 185px;
    flex: 0 0 185px;
}

.brand img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 31px 0 26px;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: .2s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--red);
}

.phone-btn {
    background: var(--red);
    color: #fff;
    padding: 14px 18px;
    font-weight: 800;
    font-size: .92rem;
    border-radius: 2px;
    white-space: nowrap;
}

.phone-btn:hover,
.btn-primary:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: #111;
    margin: 6px 0;
}

body.nav-open {
    overflow: hidden;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 21px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .86rem;
    letter-spacing: .02em;
    border: 1px solid transparent;
    transition: .2s;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-outline {
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

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

.hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #0d1215;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-clean.png');
    background-size: cover;
    background-position: center right;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6,10,12,.94) 0%,
            rgba(6,10,12,.78) 43%,
            rgba(6,10,12,.26) 72%,
            rgba(6,10,12,.12) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 0;
}

.hero-copy {
    max-width: 720px;
    color: #fff;
}

.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(3rem, 5vw, 5.7rem);
    line-height: .95;
    letter-spacing: -.04em;
    font-weight: 900;
}

.hero h1 span,
.section-head h2 span,
.page-hero h1 span {
    color: var(--red);
}

.hero-kicker {
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-copy > p:not(.hero-kicker) {
    max-width: 710px;
    font-size: 1.06rem;
    color: #f1f2f2;
}

.hero-actions {
    margin: 28px 0;
}

.hero-tags {
    font-weight: 800;
    letter-spacing: .08em;
    font-size: .88rem;
}

.hero-tags span {
    color: var(--red);
}

/* ==================================================
   FEATURE STRIP
================================================== */

.feature-strip {
    background: var(--lighter);
    border-bottom: 1px solid #e4e6e7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid article {
    display: flex;
    gap: 15px;
    padding: 28px 20px;
    border-right: 1px solid #dfe2e4;
}

.feature-grid article:first-child {
    border-left: 1px solid #dfe2e4;
}

.feature-icon {
    font-size: 1.9rem;
    color: var(--red);
    font-weight: 900;
    line-height: 1;
}

.feature-grid h3 {
    margin: 0 0 3px;
    font-size: .84rem;
    text-transform: uppercase;
}

.feature-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: .78rem;
    color: var(--mid);
}

.feature-grid p {
    margin: 0;
    font-size: .78rem;
    color: #62676a;
}

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

.section {
    padding: 84px 0;
}

.alt {
    background: var(--lighter);
}

.section-head {
    margin-bottom: 34px;
}

.section-head.centered {
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.section h2,
.dark-panel h2,
.cta-band h2,
.page-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 2.2vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 900;
}

/* ==================================================
   SERVICE CARDS
================================================== */

.cards-grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.cards-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.cards-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 0 0 1px #e2e5e6;
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-card:hover img {
    transform: scale(1.025);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.card-body h3 {
    margin: 0 0 5px;
    font-size: 1.04rem;
    text-transform: uppercase;
}

.card-body small {
    display: block;
    margin-bottom: 15px;
    color: #666;
}

.card-body p {
    font-size: .92rem;
    color: #4c5255;
}

.card-body a {
    margin-top: auto;
    padding-top: 20px;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card-body a:hover {
    color: var(--red);
}

/* ==================================================
   PROJEKTBEREICH
================================================== */

.split-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform .35s ease;
}

.split-content {
    padding: 70px clamp(36px, 7vw, 110px);
}

.mini-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.mini-projects a {
    position: relative;
}

.mini-projects img {
    width: 100%;
    height: 95px;
    margin-bottom: 8px;
    object-fit: cover;
    transition: transform .35s ease;
}

.mini-projects strong {
    font-size: .82rem;
    text-transform: uppercase;
}

.mini-projects span {
    float: right;
    color: var(--red);
}

/* ==================================================
   DARK SPLIT
================================================== */

.dark-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--anth);
    color: #fff;
}

.dark-panel {
    min-height: 390px;
}

.dark-panel.image {
    overflow: hidden;
    background: #101619;
}

.dark-panel.image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform .35s ease;
}

.dark-panel.copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(34px, 5vw, 78px);
    background: var(--anth);
}

.dark-panel.copy:nth-child(3) {
    background: var(--dark);
}

.dark-panel p {
    color: #d6dadd;
}

.dark-panel .btn {
    align-self: flex-start;
    margin-top: 10px;
}

/* ==================================================
   CTA
================================================== */

.cta-band {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    color: #fff;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('../img/cta-clean.png') center / cover no-repeat;
    filter: saturate(.78);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9,14,17,.82);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 50px;
    align-items: center;
    padding: 52px 0;
}

.cta-content p {
    max-width: 780px;
    color: #e7e9e9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cta-actions > a:not(.btn) {
    font-weight: 700;
}

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

.site-footer {
    padding: 52px 0 18px;
    background: var(--anth);
    color: #d7dadd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1fr;
    gap: 42px;
}

.footer-brand img {
    width: 170px;
    margin-bottom: 18px;
    padding: 8px;
    background: #fff;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;
    margin: 7px 0;
    font-size: .9rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #2c3336;
    font-size: .78rem;
    color: #9ea4a6;
}

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

.page-hero {
    background: var(--anth);
    color: #fff;
}

.page-hero.compact {
    padding: 74px 0;
}

.page-hero p {
    max-width: 760px;
    color: #dce0e1;
    font-size: 1.05rem;
}

/* ==================================================
   CONTENT / UNTERNEHMEN
================================================== */

.content-narrow {
    max-width: 980px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 700;
}

.content-narrow p {
    font-size: 1.04rem;
}

.content-narrow blockquote {
    margin: 34px 0 0;
    padding: 24px 28px;
    border-left: 5px solid var(--red);
    background: var(--lighter);
    font-size: 1.17rem;
    font-weight: 700;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.two-col.media {
    align-items: center;
}

.two-col.media img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.two-col.media.reverse > div:first-child {
    order: 2;
}

/* ==================================================
   TIMELINE
================================================== */

.timeline {
    position: relative;
    margin-top: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 113px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d6d9da;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 46px;
    padding: 0 0 34px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 106px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 5px #fff;
}

.timeline-item span {
    color: var(--red);
    font-weight: 900;
}

.timeline-item p {
    margin: 0;
}

.statement {
    margin-top: 30px;
    padding: 30px;
    background: var(--anth);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

/* ==================================================
   LEISTUNGEN / PROJEKTE
================================================== */

.legal-note {
    padding: 14px 16px;
    background: #fff3f3;
    border-left: 4px solid var(--red);
    font-size: .9rem;
}

.project-categories article {
    overflow: hidden;
    background: var(--light);
}

.project-categories img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .35s ease;
}

.project-categories article:hover img {
    transform: scale(1.025);
}

.project-categories article > div {
    padding: 24px;
}

.project-categories h2 {
    font-size: 1.6rem;
}

.project-note {
    margin-top: 50px;
    padding: 38px;
    background: var(--anth);
    color: #fff;
}

/* ==================================================
   KONTAKT
================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 70px;
    align-items: start;
}

.contact-info h2 {
    margin-top: 0;
}

.contact-lines {
    margin-top: 35px;
}

.contact-lines > a {
    display: block;
    padding: 17px 0;
    border-bottom: 1px solid #d9dddf;
    color: #080b0d;
    text-decoration: none;
}

.contact-lines > a:first-child {
    border-top: 1px solid #d9dddf;
}

.contact-lines strong {
    display: block;
    margin-bottom: 5px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-lines span {
    display: block;
    line-height: 1.55;
}

.contact-lines a:hover span {
    color: var(--red);
}

/* GOOGLE MAP */

.contact-map {
    width: 100%;
    height: 340px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #d9dddf;
    background: var(--light);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* KONTAKTFORMULAR */

.contact-form {
    position: relative;
    padding: 34px;
    background: var(--light);
}

.contact-form > label {
    display: block;
    margin-bottom: 18px;
}

.contact-form label {
    color: var(--black);
    font-size: .88rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    border: 1px solid #cbd0d3;
    background: #fff;
    color: var(--black);
    font: inherit;
}

.contact-form input {
    height: 50px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 180px;
    padding: 14px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(197, 0, 4, .10);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-row label {
    display: block;
}

/* ==================================================
   CAPTCHA
================================================== */

.contact-form .captcha-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    width: 100%;
    margin: 8px 0 24px;
}

.contact-form .captcha-box {
    display: flex;
    flex-direction: column;
    width: 190px;
    margin: 0;
}

.contact-form .captcha-label-spacer {
    height: 21px;
    margin: 0 0 8px;
    visibility: hidden;
    font-size: 14px;
    font-weight: 800;
    line-height: 21px;
}

.contact-form .captcha-box img {
    display: block;
    width: 190px;
    height: 64px;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 1px solid #cbd0d3;
    background: #fff;
    object-fit: cover;
}

.contact-form .captcha-refresh {
    display: inline-block;
    align-self: flex-start;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--red);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
}

.contact-form .captcha-refresh:hover {
    color: var(--red-dark);
}

.contact-form .captcha-refresh:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.contact-form .captcha-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
}

.contact-form .captcha-field > span {
    display: block;
    height: 21px;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 21px;
}

.contact-form .captcha-field input {
    display: block;
    width: 100%;
    height: 64px;
    margin: 0 !important;
    padding: 0 18px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #cbd0d3;
    color: var(--black);
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: 4px;
    text-transform: uppercase;
    outline: none;
}

.contact-form .captcha-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(197, 0, 4, .10);
}

/* ==================================================
   DATENSCHUTZ CHECKBOX
================================================== */

.contact-form .check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 6px 0 20px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-form .check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.contact-form .check a {
    color: var(--black);
    text-decoration: underline;
}

.contact-form .check a:hover {
    color: var(--red);
}

/* HONEYPOT */

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

.legal h2 {
    margin-top: 30px;
    font-size: 1.35rem;
}

/* ==================================================
   LARGE DESKTOP
================================================== */

@media (min-width: 1600px) {

    :root {
        --max: 1560px;
    }

    .header-inner {
        min-height: 88px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-copy {
        max-width: 800px;
    }

    .service-card img {
        height: 210px;
    }
}

/* ==================================================
   LAPTOP
================================================== */

@media (max-width: 1366px) {

    .container {
        width: min(calc(100% - 36px), 1280px);
    }

    .header-inner {
        gap: 18px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: .76rem;
    }

    .phone-btn {
        font-size: .82rem;
    }

    .brand {
        width: 160px;
        flex-basis: 160px;
    }

    .hero {
        min-height: 590px;
    }

    .cards-grid.four {
        gap: 16px;
    }

    .card-body {
        padding: 20px;
    }

    .dark-panel.copy {
        padding: 50px 40px;
    }
}

/* ==================================================
   TABLET / SMALL LAPTOP
================================================== */

@media (max-width: 1100px) {

    .phone-btn {
        display: none;
    }

    .main-nav {
        gap: 16px;
    }

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

    .feature-grid article:nth-child(odd) {
        border-left: 1px solid #dfe2e4;
    }

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

    .service-card img {
        height: 220px;
    }

    .split-project {
        grid-template-columns: 1fr;
    }

    .split-image img {
        min-height: 400px;
    }

    .dark-split {
        grid-template-columns: 1fr;
    }

    .dark-panel.image {
        min-height: 360px;
    }

    .dark-panel.image img {
        min-height: 360px;
    }

    .dark-panel.copy {
        min-height: auto;
        padding: 54px clamp(28px, 6vw, 64px);
    }

    .dark-panel:nth-child(3) {
        order: 4;
    }

    .dark-panel:nth-child(4) {
        order: 3;
    }

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

    .footer-grid > div:last-child {
        grid-column: 2 / 4;
    }

    .contact-grid {
        gap: 40px;
    }

    .two-col {
        gap: 40px;
    }
}

/* ==================================================
   TABLET / MOBILE NAV
================================================== */

@media (max-width: 860px) {

    .container {
        width: min(calc(100% - 28px), 760px);
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand {
        width: 150px;
        flex-basis: 150px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 72px);
        overflow: auto;
        padding: 14px 24px 24px;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 11px 0;
        border-bottom: 1px solid #eee;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero-media {
        background-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6,10,12,.96) 0%,
                rgba(6,10,12,.82) 58%,
                rgba(6,10,12,.5) 100%
            );
    }

    .hero h1 {
        font-size: clamp(2.7rem, 9vw, 4.4rem);
    }

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

    .section {
        padding: 64px 0;
    }

    .cards-grid.three {
        grid-template-columns: 1fr;
    }

    .project-categories img {
        height: 300px;
    }

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

    .two-col.media.reverse > div:first-child {
        order: 0;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        width: max-content;
        max-width: 100%;
    }

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

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .contact-form .captcha-row {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 18px;
    }

    .contact-map {
        height: 300px;
    }
}

/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 24px), 560px);
    }

    .brand {
        width: 138px;
        flex-basis: 138px;
    }

    .brand img {
        height: 52px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding: 56px 0;
    }

    .hero-media {
        background-position: 62% center;
    }

    .hero-overlay {
        background: rgba(6,10,12,.77);
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.1rem);
    }

    .hero-kicker {
        max-width: 320px;
        font-size: 1.12rem;
    }

    .hero-copy > p:not(.hero-kicker) {
        font-size: .96rem;
    }

    .btn {
        min-height: 48px;
    }

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

    .feature-grid article,
    .feature-grid article:first-child,
    .feature-grid article:nth-child(odd) {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid #dfe2e4;
    }

    .cards-grid.four {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 230px;
    }

    .split-content {
        padding: 50px 24px;
    }

    .mini-projects {
        grid-template-columns: 1fr;
    }

    .mini-projects img {
        height: 150px;
    }

    .dark-panel.image {
        min-height: 280px;
    }

    .dark-panel.image img {
        min-height: 260px;
    }

    .dark-panel.copy {
        padding: 44px 24px;
    }

    .section h2,
    .dark-panel h2,
    .cta-band h2,
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero.compact {
        padding: 52px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row label {
        margin-bottom: 18px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-form .captcha-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 24px;
    }

    .contact-form .captcha-box {
        width: 100%;
    }

    .contact-form .captcha-label-spacer {
        display: none;
    }

    .contact-form .captcha-box img {
        width: 220px;
        max-width: 100%;
        height: 72px;
    }

    .contact-form .captcha-field > span {
        height: auto;
        margin-bottom: 8px;
    }

    .contact-form .captcha-field input {
        height: 60px;
        padding: 0 15px;
        font-size: 24px;
        line-height: 60px;
        letter-spacing: 3px;
    }

    .contact-map {
        height: 250px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 46px;
        gap: 4px;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-item span {
        font-size: .9rem;
    }

    .statement {
        padding: 24px;
        font-size: 1.08rem;
    }

    .project-categories img {
        height: 220px;
    }

    .cta-content {
        padding: 46px 0;
    }

    .cta-actions {
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .footer-brand img {
        width: 155px;
    }
}

/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .service-card,
    .service-card img,
    .project-categories img,
    .mini-projects img,
    .dark-panel.image img {
        transition: none !important;
    }
}
.contact-map {
    width: 100%;
    height: 340px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #d9dddf;
    background: #eff1f2;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-lines {
    margin-top: 35px;
}

.contact-line {
    padding: 17px 0;
    border-bottom: 1px solid #d9dddf;
}

.contact-line:first-child {
    border-top: 1px solid #d9dddf;
}

.contact-line strong {
    display: block;
    margin-bottom: 5px;
    color: #c50004;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-line span {
    display: block;
    line-height: 1.55;
}

.contact-line span a {
    display: inline;
    color: #080b0d;
    text-decoration: none;
}

.contact-line span a:hover {
    color: #c50004;
}


.contact-form .check {
    margin: 6px 0 20px;
}

.contact-form {
    min-height: 100%;
}

.footer-bottom span a {
    display: inline;
    margin: 0;
    color: #d7dadd;
    font-weight: 700;
}

.footer-bottom span a:hover {
    color: #ffffff;
}
/* ==================================================
   COOKIE / DATENSCHUTZ POPUP
================================================== */

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    padding: 30px;

    background: rgba(8, 11, 13, .78);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* POPUP */

.cookie-modal {
    position: relative;

    display: flex;
    flex-direction: column;

    width: min(900px, calc(100vw - 60px));
    max-height: min(900px, calc(100vh - 60px));

    overflow-y: auto;

    background: #FFFFFF;
    color: #080B0D;

    border-top: 6px solid #C50004;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .35);
}


/* LOGO */

.cookie-logo {
    padding: 32px 42px 0;
}

.cookie-logo img {
    width: 190px;
    height: auto;
}


/* CONTENT */

.cookie-modal-content {
    padding: 30px 42px 20px;
}

.cookie-modal-content h2 {
    margin: 0 0 24px;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -.035em;
}

.cookie-modal-content > p {
    max-width: 750px;

    color: #45494B;

    font-size: 16px;
    line-height: 1.7;
}


/* INFOKÄSTEN */

.cookie-info-box {
    margin-top: 18px;

    padding: 20px 22px;

    background: #F5F6F7;

    border-left: 4px solid #C50004;
}

.cookie-info-box strong {
    display: block;

    margin-bottom: 7px;

    font-size: 15px;
    font-weight: 800;
}

.cookie-info-box p {
    margin: 0;

    color: #45494B;

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


/* DATENSCHUTZ LINK */

.cookie-privacy-link {
    margin-top: 22px !important;
}

.cookie-privacy-link a {
    color: #C50004;

    font-weight: 700;
    text-decoration: underline;
}

.cookie-privacy-link a:hover {
    color: #990709;
}


/* BUTTON BEREICH */

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;

    margin-top: auto;

    padding: 25px 42px 34px;

    border-top: 1px solid #E4E6E7;
}


/* BUTTONS */

.cookie-btn {
    min-height: 52px;

    padding: 14px 25px;

    border: 1px solid transparent;

    font-family: inherit;
    font-size: 13px;
    font-weight: 900;

    text-transform: uppercase;

    cursor: pointer;

    transition: .2s;
}

.cookie-btn-primary {
    background: #C50004;
    border-color: #C50004;

    color: #FFFFFF;
}

.cookie-btn-primary:hover {
    background: #990709;
    border-color: #990709;
}

.cookie-btn-secondary {
    background: #FFFFFF;

    border-color: #0E1316;

    color: #0E1316;
}

.cookie-btn-secondary:hover {
    background: #0E1316;

    color: #FFFFFF;
}


/* BODY SCROLL SPERREN */

body.cookie-modal-open {
    overflow: hidden;
}


/* ==================================================
   GOOGLE MAP PLACEHOLDER
================================================== */

.contact-map {
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 330px;

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

    padding: 30px;

    background: #EFF1F2;

    text-align: center;
}

.map-placeholder[hidden] {
    display: none !important;
}

.map-placeholder-inner {
    max-width: 420px;
}

.map-placeholder strong {
    display: block;

    margin-bottom: 10px;

    color: #080B0D;

    font-size: 22px;
    font-weight: 900;
}

.map-placeholder p {
    margin: 0;

    color: #45494B;

    line-height: 1.6;
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 330px;

    border: 0;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

    .cookie-consent {
        padding: 20px;
    }

    .cookie-modal {
        width: min(760px, calc(100vw - 40px));
        max-height: calc(100vh - 40px);
    }

}


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

@media (max-width: 600px) {

    .cookie-consent {
        padding: 12px;
    }

    .cookie-modal {
        width: 100%;
        max-height: calc(100vh - 24px);
    }

    .cookie-logo {
        padding: 24px 22px 0;
    }

    .cookie-logo img {
        width: 155px;
    }

    .cookie-modal-content {
        padding: 24px 22px 18px;
    }

    .cookie-modal-content h2 {
        font-size: 30px;
    }

    .cookie-modal-content > p {
        font-size: 14px;
    }

    .cookie-actions {
        flex-direction: column;

        padding: 20px 22px 24px;
    }

    .cookie-btn {
        width: 100%;
    }

}

/* ==========================================================
   TEAM
========================================================== */

.team-section {
    background: #ffffff;
}


/* INTRO */
.team-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.team-intro > div:first-child {
    max-width: 560px;
}

.team-intro-text {
    max-width: 560px;
}

.team-intro h2 {
    margin: 8px 0 0;
}

.team-intro-text {
    max-width: 650px;
}

.team-intro-text p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.7;
}

.team-intro-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   GRID
========================================================== */

.team-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 38px 28px;
}


/* ==========================================================
   CARD
========================================================== */

.team-card {
    position: relative;

    background: #F5F6F7;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.team-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(14, 19, 22, .12);
}

 /* ==========================================================
   IMAGE
========================================================== */

.team-card-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #EFF1F2;

    display: flex;
    align-items: center;
    justify-content: center;
}


.team-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition: transform .35s ease;
}


/* Placeholder */

.team-card-image img[src*="nopic"] {
    object-fit: contain;
    background: #ffffff;
}


/* dezenter Hover */

.team-card:hover .team-card-image img {
    transform: scale(1.015);
}


/* leichter Verlauf unten */

.team-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(14, 19, 22, .10),
            transparent 30%
        );

    pointer-events: none;
}
/* ==========================================================
   CONTENT
========================================================== */

.team-card-content {
    position: relative;

    padding:
        24px 25px 27px;
}


.team-card-line {
    position: absolute;

    top: 0;
    left: 25px;

    width: 42px;
    height: 4px;

    background: #C50004;

    transform: translateY(-2px);
}


.team-card-content h3 {
    margin: 0 0 7px;

    color: #0E1316;

    font-size: 1.25rem;
    line-height: 1.25;

    font-weight: 800;
}


.team-card-content p {
    margin: 0;

    color: #45494B;

    font-size: .9rem;
    line-height: 1.45;

    font-weight: 600;
}


/* ==========================================================
   ABSCHLUSS
========================================================== */

.team-statement-inner {
    max-width: 100%;
}


.team-statement-inner h2 {
    margin:
        8px 0 25px;
}


.team-statement-inner p {
    width: 100%;
    max-width: none;

    margin: 0;

    font-size: 1.05rem;
    line-height: 1.75;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .team-intro {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-bottom: 50px;
    }


    .team-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px 22px;
    }

}
@media (max-width: 1000px) {

    .team-card-image {
        height: 240px;
    }

}

@media (max-width: 620px) {

    .team-card-image {
        height: 220px;
    }

}

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

@media (max-width: 620px) {

    .team-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .team-card {
        max-width: 480px;

        width: 100%;

        margin-left: auto;
        margin-right: auto;
    }


    .team-card-image {
        aspect-ratio: 4 / 4.7;
    }


    .team-card-content {
        padding:
            21px 21px 23px;
    }


    .team-card-line {
        left: 21px;
    }


    .team-card-content h3 {
        font-size: 1.15rem;
    }


    .team-intro {
        margin-bottom: 38px;
    }

}


/* ==========================================================
   FEATURE STRIP
========================================================== */

.feature-strip {
    background: #ffffff;

    padding-top: 8px;
    padding-bottom: 8px;

    border-top: 0;
    border-bottom: 0;
}


/* ==========================================================
   GRID
========================================================== */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* ==========================================================
   ITEM
========================================================== */

.feature-item {
    position: relative;

    min-height: 165px;

    display: flex;
    gap: 16px;

    padding: 26px 22px;

    background: #F5F6F7;

    border: 1px solid #E1E4E6;

    box-sizing: border-box;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease;
}


/* ==========================================================
   HOVER
========================================================== */

.feature-item:hover {
    transform: translateY(-4px);

    background: #ffffff;

    border-color: #D3D7D9;

    box-shadow:
        0 12px 28px rgba(14, 19, 22, .10);
}


/* ==========================================================
   NUMBER
========================================================== */

.feature-no {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #C50004;

    font-size: .72rem;
    font-weight: 800;

    letter-spacing: 1px;
}


/* ==========================================================
   CONTENT
========================================================== */

.feature-content {
    min-width: 0;
}


.feature-content h3 {
    margin: 0 0 8px;

    color: #0E1316;

    font-size: .86rem;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: .4px;

    text-transform: uppercase;
}


.feature-content strong {
    display: block;

    margin-bottom: 10px;

    color: #0E1316;

    font-size: .95rem;
    line-height: 1.4;
}


.feature-content p {
    margin: 0;

    color: #555B5E;

    font-size: .82rem;
    line-height: 1.55;
}


/* ==========================================================
   RED ACCENT
========================================================== */

.feature-item::after {
    content: "";

    position: absolute;

    left: 22px;
    bottom: 0;

    width: 36px;
    height: 3px;

    background: #C50004;

    transition:
        width .22s ease;
}


.feature-item:hover::after {
    width: 62px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

}


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

@media (max-width: 620px) {

    .feature-strip {
        padding-top: 8px;
        padding-bottom: 8px;
    }


    .feature-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .feature-item {
        min-height: auto;

        padding: 22px 20px;
    }


    .feature-item::after {
        left: 20px;
    }

}