:root {
    --primaer: #e2001a;
    --primaer-dunkel: #b9000b;
    --hintergrund: #040405;
    --schwarz: #050505;
    --flaeche-dunkel: #101012;
    --linie: rgba(255, 255, 255, .12);
    --text: #f5f5f4;
    --text-gedimmt: #b3b1af;
    --hell-bg: #f2f1ef;
    --hell-text: #141413;
    --hell-gedimmt: #575452;
    --hell-linie: #d8d5d1;
    --seite: min(1410px, calc(100% - 64px));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--hintergrund);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--primaer);
    outline-offset: 3px;
}

.seiten-breite { width: var(--seite); margin-inline: auto; }

.eyebrow {
    margin: 0 0 20px;
    color: var(--primaer);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
}
.eyebrow-hell { color: #fff; }

.btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 27px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primaer { background: var(--primaer); }
.btn-primaer:hover { background: var(--primaer-dunkel); }
.btn-umriss { border-color: rgba(255, 255, 255, .38); background: rgba(0, 0, 0, .16); }
.btn-umriss:hover { border-color: #fff; }
.btn-hell { background: #fff; color: #111; min-height: 62px; }
.pfeil { font-size: 16px; line-height: 1; }
.brief { display: inline-flex; line-height: 1; }
.brief svg { width: 17px; height: 17px; }

.site-header {
    position: relative;
    z-index: 40;
    background: var(--hintergrund);
}

.header-raster {
    min-height: 126px;
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 30px;
}

.logo-link { width: max-content; }
.logo-img { height: 96px; width: auto; }

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 2.2vw, 46px);
}

.nav-link {
    position: relative;
    padding-block: 44px;
    color: #d0cecd;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .15s;
}
.nav-link:hover, .nav-link.aktiv { color: var(--primaer); }
.nav-link.aktiv::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 30px;
    background: var(--primaer);
}

.btn-anfrage { min-height: 58px; }
.nav-kontakt-mobil { display: none; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 4px;
}
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.offen span:nth-child(2) { opacity: 0; }
.burger.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.mit-wartungsbanner { padding-bottom: 46px; }

.wartung-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    background: var(--primaer);
    color: #fff;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 11px 16px;
}

.hero {
    position: relative;
    min-height: 690px;
    background: var(--hintergrund);
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-bild {
    position: absolute;
    z-index: -2;
    inset: 0 calc((100% - var(--seite)) / 2);
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.05);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0 calc((100% - var(--seite)) / 2);
    z-index: -1;
    background:
        linear-gradient(90deg, var(--hintergrund) 0%, rgba(4, 4, 5, .9) 9%, rgba(4, 4, 5, .78) 32%, rgba(4, 4, 5, .4) 54%, rgba(4, 4, 5, .06) 72%, rgba(4, 4, 5, .5) 91%, var(--hintergrund) 100%),
        linear-gradient(0deg, var(--hintergrund) 0%, rgba(4, 4, 5, .85) 13%, rgba(4, 4, 5, 0) 44%),
        linear-gradient(180deg, var(--hintergrund) 0%, rgba(4, 4, 5, .75) 10%, rgba(4, 4, 5, 0) 32%);
}

.hero-inhalt {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 46px 0 200px;
}

.hero-copy { width: min(600px, 52%); }

.hero-headline {
    margin: 0;
    font-size: clamp(44px, 4.3vw, 68px);
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -.01em;
}

.hero-text {
    max-width: 510px;
    margin: 26px 0 32px;
    color: var(--text-gedimmt);
    font-size: 17px;
    line-height: 1.62;
}

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

.boxen-bereich { position: relative; z-index: 3; margin-top: -130px; padding-bottom: 96px; }

.boxen-raster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 220px;
    background: linear-gradient(135deg, rgba(28, 28, 29, .98), rgba(18, 18, 19, .98));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
}

.box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    text-align: center;
}
.box + .box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: var(--linie);
}
.box-icon { width: 52px; height: 52px; margin-bottom: 16px; color: var(--primaer); }
.box-icon svg { width: 100%; height: 100%; }
.box h3 { margin: 0 0 7px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.box p { max-width: 260px; margin: 0; color: #9e9b99; font-size: 14px; line-height: 1.5; }

.seiten-kopf {
    position: relative;
    background: var(--hintergrund);
    background:
        repeating-conic-gradient(from -8deg at 84% 4%, color-mix(in srgb, var(--primaer) 5%, transparent) 0deg .9deg, transparent .9deg 11deg),
        repeating-conic-gradient(from 30deg at 8% 118%, rgba(255, 255, 255, .022) 0deg .7deg, transparent .7deg 14deg),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 18px),
        radial-gradient(640px 220px at 15% 75%, color-mix(in srgb, var(--primaer) 5%, transparent), transparent 65%),
        linear-gradient(180deg, color-mix(in srgb, var(--hintergrund), #fff 2.5%), color-mix(in srgb, var(--hintergrund), #fff 1%));
    padding: 76px 0 70px;
    border-bottom: 1px solid var(--linie);
}
.seiten-kopf .eyebrow { margin-bottom: 14px; }
.seiten-kopf h1 {
    font-size: clamp(44px, 4.6vw, 72px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.025em;
}

.abschnitt { padding-block: 96px; }
.abschnitt.hell { background: var(--hell-bg); color: var(--hell-text); }

.abschnitt-titel {
    margin: 64px 0 30px;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.abschnitt-titel:first-child { margin-top: 0; }

.seiten-inhalt { max-width: 880px; min-width: 0; font-size: 17px; }
.seiten-inhalt h2 {
    margin: 52px 0 20px;
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.seiten-inhalt h2:first-child { margin-top: 0; }
.seiten-inhalt h3 { margin: 32px 0 12px; font-size: 21px; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.seiten-inhalt p { margin-bottom: 20px; line-height: 1.75; overflow-wrap: break-word; }
.seiten-inhalt ul, .seiten-inhalt ol { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 13px; }
.seiten-inhalt ol { counter-reset: punkt; }
.seiten-inhalt li { padding-left: 30px; position: relative; line-height: 1.6; overflow-wrap: break-word; }
.seiten-inhalt ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primaer);
    font-weight: 900;
}
.seiten-inhalt ol li { counter-increment: punkt; }
.seiten-inhalt ol li::before {
    content: counter(punkt, decimal-leading-zero);
    position: absolute;
    left: 0;
    color: var(--primaer);
    font-size: 13px;
    font-weight: 800;
    top: 3px;
}
.seiten-inhalt a { color: var(--primaer); font-weight: 700; border-bottom: 2px solid var(--primaer); padding-bottom: 1px; overflow-wrap: anywhere; }
.seiten-inhalt img { max-width: 100%; height: auto; margin: 10px 0 20px; }
.seiten-inhalt table { display: block; max-width: 100%; overflow-x: auto; }
.seiten-inhalt pre { max-width: 100%; overflow-x: auto; }

.abschnitt.hell .seiten-inhalt p, .abschnitt.hell .seiten-inhalt li { color: var(--hell-gedimmt); }
.abschnitt.hell .seiten-inhalt a { color: var(--hell-text); }
.abschnitt:not(.hell) .seiten-inhalt p, .abschnitt:not(.hell) .seiten-inhalt li { color: var(--text-gedimmt); }

.rechts-stand { font-size: 14px; opacity: .65; }

.team-raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 28px;
}
.team-karte { background: #fff; border: 1px solid var(--hell-linie); }
.team-bild { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.team-info { padding: 24px 26px 28px; }
.team-info h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; }
.team-rolle { display: block; margin: 4px 0 12px; color: var(--primaer); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.team-info p { color: var(--hell-gedimmt); font-size: 14.5px; line-height: 1.65; }

.video-gross { aspect-ratio: 16 / 9; max-width: 980px; margin-bottom: 20px; }
.video-gross iframe { width: 100%; height: 100%; border: 1px solid var(--hell-linie); border-radius: 6px; }
.youtube-platzhalter {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #161619, #050506);
    border: 1px solid var(--hell-linie);
    border-radius: 6px;
}
.youtube-platzhalter iframe { width: 100%; height: 100%; border: 0; }
.youtube-laden {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}
.youtube-laden:hover .youtube-symbol { background: var(--primaer-dunkel); transform: scale(1.06); }
.youtube-laden strong { font-size: 15px; }
.youtube-laden small { max-width: 440px; color: #bbb9b6; font-size: 12px; line-height: 1.45; }
.youtube-symbol {
    width: 58px;
    height: 40px;
    display: grid;
    place-items: center;
    padding-left: 3px;
    border-radius: 9px;
    background: var(--primaer);
    transition: transform .15s, background .15s;
}

.video-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.video-karte iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--hell-linie); border-radius: 6px; }
.video-karte video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--hell-linie); border-radius: 6px; }
.video-titel { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--hell-gedimmt); }

.galerie-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.galerie-bild {
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: #111;
    filter: saturate(1.02);
    transition: transform .25s, filter .25s;
}
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; }
.galerie-bild:hover { transform: scale(1.03); filter: saturate(1.15); }

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 4, 5, .93);
    align-items: center;
    justify-content: center;
    padding: 30px 92px;
}
.lightbox.offen { display: flex; }
body.lightbox-offen { overflow: hidden; }
.lightbox-figur { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; border-radius: 6px; max-height: 82vh; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox-text {
    margin-top: 16px;
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lightbox-text strong { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.lightbox-text span { color: #b9b6b3; font-size: 14.5px; line-height: 1.55; }

.galerie-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.galerie-filter button {
    background: none;
    border: 1px solid var(--hell-linie);
    border-radius: 999px;
    color: var(--hell-gedimmt);
    padding: 9px 20px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    transition: all .15s;
}
.galerie-filter button:hover { border-color: var(--primaer); color: var(--primaer); }
.galerie-filter button.aktiv { background: var(--primaer); border-color: var(--primaer); color: #fff; }
.galerie-raster .lightbox-link.versteckt { display: none; }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(4, 4, 5, .6);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    color: #fff;
    width: 52px;
    height: 52px;
    font-size: 22px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.lightbox-nav:hover { background: var(--primaer); border-color: var(--primaer); }
.lightbox-zurueck { left: 22px; }
.lightbox-weiter { right: 22px; }
.lightbox-schliessen {
    position: absolute;
    top: 18px;
    right: 26px;
    background: none;
    border: none;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}
.lightbox-schliessen:hover { color: var(--primaer); }

.referenz {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    margin-bottom: 34px;
    background: linear-gradient(135deg, rgba(28, 28, 29, .98), rgba(18, 18, 19, .98));
    border: 1px solid rgba(255, 255, 255, .1);
}
.referenz { align-items: start; box-shadow: 0 14px 40px rgba(20, 18, 15, .16); }
.referenz-bild { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; max-height: 480px; align-self: start; min-height: 0; background-size: cover; background-position: center; }
.referenz-text { padding-top: 40px; padding-bottom: 40px; }
.referenz-text { padding: 46px 48px; display: flex; flex-direction: column; justify-content: center; }
.referenz-text h3 { margin-bottom: 14px; font-size: clamp(22px, 2vw, 30px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.referenz-text p { color: var(--text-gedimmt); line-height: 1.7; }
.referenz.gespiegelt .referenz-bild { order: 2; }

.referenz-liste { display: grid; gap: 34px; }

.referenz-eintrag {
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--hell-linie);
    padding: 44px 48px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 18, 15, .05);
}

.referenz-eintrag-bild {
    float: left;
    border-radius: 6px;
    width: min(46%, 560px);
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    margin: 4px 42px 20px 0;
}
.referenz-eintrag.gespiegelt .referenz-eintrag-bild { float: right; margin: 4px 0 20px 42px; }

.referenz-meta {
    display: block;
    margin-bottom: 10px;
    color: var(--primaer);
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.referenz-zitat {
    clear: both;
    margin: 26px 0 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--primaer);
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: var(--hell-text);
}

.referenz-eintrag h3 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.1vw, 31px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.01em;
    color: var(--hell-text);
}
.referenz-eintrag p { margin: 0; color: var(--hell-gedimmt); font-size: 16.5px; line-height: 1.78; }

.kontakt-raster {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
    margin-top: 40px;
}
.kontakt-liste { list-style: none; display: grid; gap: 16px; color: var(--hell-gedimmt); }
.kontakt-liste strong { color: var(--hell-text); text-transform: uppercase; font-size: 15px; }
.kontakt-liste a { color: var(--hell-text); font-weight: 700; border-bottom: 2px solid var(--primaer); }

.kontakt-formular label {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--hell-gedimmt);
}
.kontakt-formular input,
.kontakt-formular select,
.kontakt-formular textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 14px 15px;
    background: #fff;
    border: 1px solid var(--hell-linie);
    color: var(--hell-text);
    font-family: inherit;
    font-size: 15px;
    border-radius: 0;
}
.kontakt-formular input:focus,
.kontakt-formular select:focus,
.kontakt-formular textarea:focus { outline: none; border-color: var(--primaer); }
.kontakt-formular input:focus-visible,
.kontakt-formular select:focus-visible,
.kontakt-formular textarea:focus-visible { outline: 3px solid var(--primaer); outline-offset: 2px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-feld {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.meldung { padding: 15px 18px; margin-bottom: 22px; font-size: 14.5px; font-weight: 600; }
.meldung.erfolg { background: rgba(28, 150, 80, .12); border: 1px solid #1c9650; color: #14733d; }
.meldung.fehler { background: color-mix(in srgb, var(--primaer) 10%, transparent); border: 1px solid var(--primaer); color: var(--primaer); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
}

.gross-titel {
    margin: 0;
    font-size: clamp(32px, 3.4vw, 54px);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    max-width: 640px;
}

.intro-copy p { margin: 0 0 26px; color: var(--hell-gedimmt); font-size: 18px; line-height: 1.75; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .04em;
    border-bottom: 2px solid var(--primaer);
    padding-bottom: 7px;
    width: max-content;
}
.text-link-dunkel { color: var(--hell-text); }
.text-link:hover .pfeil { transform: translateX(4px); }
.text-link .pfeil { transition: transform .2s; }

.heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 52px;
}
.heading-text { max-width: 380px; margin: 0 0 6px; color: #969390; line-height: 1.7; }
.abschnitt.hell .heading-text { color: var(--hell-gedimmt); }

.leistung-karten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--linie);
}
.leistung-karte {
    padding: 36px 40px 34px;
    border-bottom: 1px solid var(--linie);
}
.leistung-karte + .leistung-karte { border-left: 1px solid var(--linie); }
.leistung-karte span { color: var(--primaer); font-size: 13px; font-weight: 800; }
.leistung-karte h3 { margin: 18px 0 12px; font-size: 23px; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.leistung-karte p { margin: 0; color: #9f9c99; line-height: 1.7; }

.vorschau-fuss { margin-top: 44px; }

.cta-band { background: var(--primaer); }
.cta-inhalt {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-block: 55px;
}
.cta-band .eyebrow { margin-bottom: 10px; }
.cta-titel {
    max-width: 770px;
    font-size: clamp(34px, 3.7vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.btn-hell { flex: 0 0 auto; }
.btn-hell:hover { background: #eee; }

.site-footer { background: #080808; padding: 75px 0 25px; color: #aaa7a4; }

.footer-raster {
    display: grid;
    grid-template-columns: 1.3fr 1fr .9fr;
    gap: clamp(40px, 5vw, 90px);
    padding-bottom: 56px;
}

.footer-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, max-content));
    gap: 12px 48px;
}

.footer-logo { height: 92px; width: auto; }
.footer-marke .footer-text { max-width: 360px; margin-top: 22px; line-height: 1.7; font-size: 14.5px; }

.footer-spalte { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-spalte h3 { margin: 0 0 8px; color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.footer-spalte a, .footer-spalte span { font-size: 14.5px; }
.footer-spalte a:hover { color: var(--primaer); }

.footer-unten {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--linie);
    font-size: 12px;
    text-transform: uppercase;
}
.footer-social { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    transition: color .15s, background .15s;
}
.footer-social a:hover { color: var(--primaer); background: rgba(255, 255, 255, .06); }
.footer-social + .footer-rechtliches { margin-left: 0; }
.footer-rechtliches { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.footer-rechtliches a:hover { color: var(--primaer); }
.admin-link { display: inline-flex; opacity: .45; transition: opacity .15s, color .15s; }
.admin-link:hover { opacity: 1; color: var(--primaer); }

.wartung-body {
    background: var(--hintergrund);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}
.wartung-box { max-width: 560px; }
.wartung-box img { height: 130px; width: auto; margin: 0 auto 34px; }
.wartung-box h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 18px; line-height: 1.05; }
.wartung-box p { color: var(--text-gedimmt); font-size: 16.5px; line-height: 1.7; overflow-wrap: break-word; }
.wartung-kontakte { display: grid; gap: 7px; margin-top: 22px; }
.wartung-kontakt { margin: 0; }
.wartung-kontakt a { color: var(--primaer); font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
    .header-raster { grid-template-columns: 200px 1fr auto; }
    .logo-img { height: 74px; }
    .nav-link { padding-block: 36px; }
    .nav-link.aktiv::after { bottom: 24px; }
}

@media (max-width: 940px) {
    :root { --seite: min(100% - 42px, 1060px); }
    .header-raster { grid-template-columns: 1fr auto; min-height: 96px; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #121214;
        border-block: 1px solid var(--linie);
        padding: 10px 0;
    }
    .main-nav.offen { display: flex; }
    .nav-link { padding: 15px 24px; }
    .nav-link.aktiv::after { display: none; }
    .nav-kontakt-mobil {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin: 10px 24px;
        padding: 14px 18px;
        background: var(--primaer);
        color: #fff;
    }
    .nav-kontakt-mobil:hover, .nav-kontakt-mobil.aktiv { background: var(--primaer-dunkel); color: #fff; }
    .btn-anfrage { display: none; }
    .burger { display: flex; }
    .hero-bild { opacity: .85; }
    .hero-copy { width: 74%; }
    .hero-inhalt { padding-top: 30px; }
    .boxen-raster { grid-template-columns: repeat(2, 1fr); }
    .box:nth-child(3)::before { display: none; }
    .box:nth-child(n+3) { border-top: 1px solid var(--linie); }
    .seiten-kopf { padding-top: 56px; }
    .kontakt-raster { grid-template-columns: 1fr; gap: 45px; }
    .referenz { grid-template-columns: 1fr; }
    .referenz.gespiegelt .referenz-bild { order: 0; }
    .referenz-bild { aspect-ratio: 16 / 10; align-self: auto; }
    .referenz-eintrag { padding: 30px 24px; }
    .referenz-eintrag-bild, .referenz-eintrag.gespiegelt .referenz-eintrag-bild { float: none; width: 100%; aspect-ratio: 16 / 10; margin: 0 0 20px; }
    .cta-inhalt { flex-direction: column; align-items: flex-start; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .heading-row { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 40px; }
    .leistung-karten { grid-template-columns: 1fr; }
    .leistung-karte { min-height: 0; padding: 30px 4px 28px; }
    .leistung-karte + .leistung-karte { border-left: 0; }
    .leistung-karte h3 { padding-top: 20px; }
    .footer-raster { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 640px) {
    :root { --seite: calc(100% - 44px); }
    .lightbox { padding: 20px 16px; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 19px; }
    .lightbox-zurueck { left: 10px; }
    .lightbox-weiter { right: 10px; }
    .logo-img { height: 60px; }
    .header-raster { min-height: 88px; }
    .hero { min-height: auto; }
    .hero-bild { background-position: 61% center; opacity: .7; }
    .hero::after {
        background:
            linear-gradient(90deg, rgba(4, 4, 5, .96), rgba(4, 4, 5, .74) 74%, rgba(4, 4, 5, .45)),
            linear-gradient(0deg, var(--hintergrund) 0%, rgba(4, 4, 5, .8) 14%, rgba(4, 4, 5, 0) 46%),
            linear-gradient(180deg, rgba(4, 4, 5, .6), rgba(4, 4, 5, 0) 22%);
    }
    .hero-inhalt { padding: 24px 0 170px; }
    .hero-copy { width: 100%; }
    .eyebrow { font-size: 12px; }
    .hero-headline { font-size: clamp(36px, 10.5vw, 50px); }
    .hero-text { font-size: 15px; }
    .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 13px; }
    .hero-buttons .btn { width: 100%; }
    .boxen-raster { grid-template-columns: 1fr; }
    .box { min-height: 175px; }
    .box + .box::before { display: none; }
    .box:nth-child(n+2) { border-top: 1px solid var(--linie); }
    .abschnitt { padding-block: 70px; }
    .seiten-kopf { padding: 44px 0 48px; }
    .seiten-kopf h1 { font-size: clamp(36px, 11vw, 52px); overflow-wrap: anywhere; hyphens: auto; }
    .seiten-inhalt { font-size: 16px; }
    .seiten-inhalt h2 { margin-top: 44px; font-size: clamp(25px, 7.6vw, 32px); line-height: 1.08; }
    .seiten-inhalt h3 { font-size: 19px; line-height: 1.15; }
    .feld-reihe { grid-template-columns: 1fr; }
    .wartung-body { padding: 24px 22px; }
    .wartung-box { width: 100%; }
    .wartung-box img { max-width: min(260px, 78vw); height: auto; max-height: 110px; object-fit: contain; }
    .wartung-box h1 { font-size: clamp(28px, 9vw, 38px); overflow-wrap: anywhere; hyphens: auto; }
    .footer-unten { flex-direction: column; gap: 12px; }
    .footer-social, .footer-rechtliches { margin-left: 0; }
    .referenz-text { padding: 30px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

body.kopierschutz {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
body.kopierschutz input,
body.kopierschutz textarea,
body.kopierschutz select {
    -webkit-user-select: text;
    user-select: text;
}
body.kopierschutz img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.wartung-admin {
    position: fixed;
    right: 20px;
    bottom: 18px;
    color: var(--text-gedimmt);
}

.nach-oben {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--primaer);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s, transform .2s, visibility .2s, background .15s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.nach-oben.sichtbar { opacity: 1; visibility: visible; transform: translateY(0); }
.nach-oben:hover { background: var(--primaer-dunkel); }
.nach-oben svg { width: 20px; height: 20px; }
