:root {
    --red: #df3027;
    --ink: #202326;
    --muted: #62666b;
    --paper: #f2f3f4;
    --orange: #DF3027
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6
}

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

button,input,textarea {
    font: inherit
}

button,a,input,textarea,summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,button:focus-visible,summary:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 5px
}

.wrap {
    width: min(1240px,calc(100% - 96px));
    margin: auto
}

.topline {
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    padding: 8px 0
}

.topline .wrap {
    display: flex;
    justify-content: space-between
}

.topline a {
    font-weight: bold
}

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #e6e6e6
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px
}

.nav img {
    display: block;
    object-fit: contain
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 600
}

nav>a:not(.button):hover,.text-link:hover {
    color: var(--red)
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    background: #7B8084;
    color: white;
    font-weight: bold;
    padding: 18px 24px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s,transform .2s
}

.button:hover {
    background: #bb241d;
    transform: translateY(-2px)
}

.button span {
    font-size: 22px;
    font-weight: 400
}

.button.small {
    padding: 11px 18px;
    gap: 22px
}

.menu {
    display: none
}

.hero {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 76px 0 24px
}

.hero:after {
    content: '';
    position: absolute;
    right: -100px;
    top: -130px;
    width: 370px;
    height: 700px;
    background: var(--red);
    transform: rotate(32deg);
    opacity: .12;
    pointer-events: none
}

.hero .wrap {
    position: relative;
    z-index: 1
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px
}

.eyebrow>span {
    width: 26px;
    height: 3px;
    background: var(--red)
}

h1 {
    font-size: clamp(45px,6.9vw,94px);
    line-height: 1.06;
    letter-spacing: -4px;
    margin: 31px 0 40px;
    font-weight: 750
}

h1 em {
    font-style: normal;
    color: #DF3027;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px
}

.hero-bottom p {
    max-width: 530px;
    color: #c6c9cc;
    font-size: 19px;
    line-height: 1.7;
    margin: 0
}

.hero-line {
    border-top: 1px solid #ffffff25;
    margin-top: 66px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    color: #aeb2b6;
    font-size: 12px;
    letter-spacing: 1.7px
}

.service-strip {
    background: var(--paper);
    border-bottom: 1px solid #ddd
}

.service-strip .wrap {
    display: grid;
    grid-template-columns: repeat(3,1fr)
}

.service-strip span {
    padding: 24px 0;
    font-weight: 600
}

.service-strip b {
    color: var(--red);
    font-size: 13px;
    margin-right: 20px
}

.section {
    padding-top: 96px;
    padding-bottom: 96px
}

.red {
    color: var(--red)
}

h2 {
    font-size: clamp(32px,3.6vw,49px);
    line-height: 1.15;
    letter-spacing: -1.7px;
    margin: 20px 0 25px
}

h3 {
    font-size: 27px;
    line-height: 1.22;
    letter-spacing: -.65px;
    margin: 25px 0 20px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 70px;
    margin-bottom: 35px
}

.section-heading p {
    max-width: 390px;
    color: var(--muted);
    margin-bottom: 30px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.card {
    border: 1px solid #dedfe1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-width: 0
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--muted)
}

.number {
    font-size: 23px;
    color: var(--red)
}

.card p {
    color: var(--muted);
    margin: 0 0 21px
}

.card ul {
    padding: 0;
    list-style: none;
    margin: 0 0 28px;
    font-size: 14px
}

.card li {
    border-bottom: 1px solid #e3e4e5;
    padding: 10px 0
}

.card>a {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #d3d5d7;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between
}

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

.featured {
    border-top: 3px solid var(--red);
    background: #f6f7f8;
    padding-top: 28px
}

.about {
    background: var(--paper);
    padding: 85px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.about-copy p {
    color: var(--muted)
}

.about-copy .lead {
    font-size: 22px;
    line-height: 1.6;
    color: var(--ink);
    margin-top: 0
}

.about-note {
    border-left: 3px solid var(--red);
    padding-left: 22px;
    margin-top: 30px
}

.about-note span,.about-note strong {
    display: block
}

.about-note span {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 5px
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px
}

.text-link {
    font-weight: bold;
    font-size: 14px
}

details {
    border-bottom: 1px solid #d9dcde
}

summary {
    cursor: pointer;
    font-weight: 600;
    padding: 24px 30px 24px 0;
    position: relative;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

summary:after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--red);
    font-size: 25px;
    top: 18px
}

details[open] summary:after {
    content: '-'
}

details p {
    margin: 0 0 24px;
    color: var(--muted)
}

.career {
    background: var(--red);
    padding: 44px 48px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px
}

.career h2 {
    font-size: 36px;
    margin: 12px 0
}

.career p {
    margin: 0;
    color: #fff
}

.career .eyebrow {
    font-size: 12px
}

.outline {
    background: transparent;
    border-color: #ffffff80;
    white-space: nowrap
}

.outline:hover {
    background: #fff;
    color: var(--red)
}

.contact {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px
}

.muted {
    color: #7b8084
}

.contact>div>p {
    color: var(--muted)
}

.phone {
    display: block;
    font-size: 27px;
    font-weight: bold;
    margin-top: 36px;
    letter-spacing: -.7px
}

.email {
    display: block;
    margin-top: 10px;
    overflow-wrap: anywhere
}

.email:hover {
    color: var(--red)
}

address {
    font-style: normal;
    color: var(--muted);
    margin-top: 26px
}

form {
    background: var(--paper);
    padding: 32px
}

form h3 {
    font-size: 23px;
    margin: 0 0 25px
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px
}

input,textarea {
    border: 1px solid #d3d6d8;
    border-radius: 0;
    background: white;
    padding: 13px;
    width: 100%;
    margin-bottom: 16px;
    color: var(--ink)
}

input:focus,textarea:focus {
    outline: 2px solid var(--red);
    outline-offset: 1px
}

textarea {
    resize: vertical
}

.form-note {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 20px
}

form .button {
    width: 100%
}

#form-status {
    font-size: 14px;
    margin: 12px 0 0
}

#form-status:empty {
    display: none
}

footer {
    background: var(--ink);
    color: white;
    padding: 44px 0 24px
}

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

.footer-top strong {
    font-size: 20px;
    letter-spacing: .5px
}

.footer-top strong span {
    color: #f24b41
}

.footer-top p {
    color: #b5b9bc
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    margin-top: 30px;
    padding-top: 24px;
    color: #b5b9bc;
    font-size: 13px
}

.footer-bottom>div {
    display: flex;
    gap: 25px
}

.footer-bottom a:hover {
    color: white
}

.skip {
    position: fixed;
    top: -80px;
    background: white;
    padding: 12px;
    z-index: 100
}

.skip:focus {
    top: 0
}

@media(min-width: 1500px) {
    .hero {
        padding-top:95px;
        padding-bottom: 30px
    }
}

@media(max-width: 1000px) {
    .wrap {
        width:calc(100% - 48px)
    }

    nav {
        gap: 18px
    }

    .nav img {
        width: 150px;
        height: auto
    }

    .hero-bottom {
        gap: 25px
    }

    .hero-bottom .button {
        max-width: 320px
    }

    .cards {
        gap: 12px
    }

    .card {
        padding: 23px
    }

    .featured {
        padding-top: 21px
    }

    .about-grid,.contact,.faq {
        gap: 40px
    }

    .career {
        padding: 35px
    }

    .footer-bottom {
        align-items: flex-start
    }
}

@media(max-width: 760px) {
    html {
        scroll-padding-top:90px
    }

    .wrap {
        width: calc(100% - 36px)
    }

    .topline {
        font-size: 12px
    }

    .topline .wrap>span {
        max-width: 195px;
        line-height: 1.4
    }

    .nav {
        min-height: 82px
    }

    .menu {
        display: flex;
        gap: 12px;
        border: 1px solid #ddd;
        background: white;
        padding: 10px 14px;
        align-items: center;
        font-size: 14px
    }

    nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid #ddd;
        flex-direction: column;
        align-items: stretch
    }

    nav.open {
        display: flex
    }

    nav>a {
        padding: 7px 0
    }

    .hero {
        padding-top: 48px
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px
    }

    h1 {
        font-size: clamp(37px,8.4vw,62px);
        letter-spacing: -1.8px;
        margin-top: 26px;
        overflow-wrap: normal
    }

    .hero-bottom {
        display: block
    }

    .hero-bottom p {
        font-size: 17px;
        max-width: 510px
    }

    .hero-bottom .button {
        margin-top: 26px;
        max-width: none;
        gap: 20px;
        font-size: 14px
    }

    .hero-line {
        margin-top: 40px;
        gap: 20px;
        font-size: 10px;
        letter-spacing: 1px
    }

    .service-strip .wrap {
        grid-template-columns: 1fr
    }

    .service-strip span {
        padding: 13px 0;
        border-bottom: 1px solid #ddd;
        font-size: 14px
    }

    .service-strip span:last-child {
        border: 0
    }

    .service-strip b {
        margin-right: 15px
    }

    .section {
        padding-top: 62px;
        padding-bottom: 62px
    }

    .section-heading {
        display: block;
        margin-bottom: 28px
    }

    h2 {
        letter-spacing: -1px
    }

    .section-heading p {
        margin: 0
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .card {
        padding: 28px
    }

    .card h3 br {
        display: none
    }

    .card h3 {
        font-size: 25px
    }

    .card ul {
        font-size: 15px
    }

    .about {
        padding: 60px 0
    }

    .about-grid,.faq,.contact {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .about-copy .lead {
        font-size: 20px
    }

    .about h2 {
        margin-bottom: 0
    }

    .career {
        display: block;
        padding: 30px
    }

    .career h2 {
        font-size: 30px
    }

    .career .button {
        margin-top: 25px
    }

    .career .eyebrow {
        font-size: 10px
    }

    .contact h2 {
        font-size: 34px
    }

    .phone {
        font-size: 25px;
        margin-top: 26px
    }

    form {
        padding: 25px
    }

    .footer-top,.footer-bottom {
        display: block
    }

    .footer-top strong {
        font-size: 17px
    }

    .footer-bottom>div {
        margin-top: 18px;
        flex-wrap: wrap;
        gap: 15px
    }

    .footer-top p {
        font-size: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none!important
    }
}

/* ----------------------------------------------------------
   Erg nzung: Foto im vorhandenen dunklen Hero-Bereich.
   Farben und bestehendes Layout bleiben unver ndert.
   ---------------------------------------------------------- */
.hero {
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg,
            rgba(32,35,38,1) 0%,
            rgba(32,35,38,1) 33%,
            rgba(32,35,38,.93) 47%,
            rgba(32,35,38,.58) 70%,
            rgba(32,35,38,.30) 100%),
        url("hero-brandschutz.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center, right center;
    background-size: 100% 100%, 62% auto;
}

@media(max-width: 760px) {
    .hero {
        background-image:
            linear-gradient(90deg,
                rgba(32,35,38,.98) 0%,
                rgba(32,35,38,.94) 55%,
                rgba(32,35,38,.67) 100%),
            url("hero-brandschutz.png");
        background-position: center, 66% center;
        background-size: 100% 100%, auto 100%;
    }
}


/* ==========================================================
   Kleine Design-Anpassungen V2
   ========================================================== */

/* Original-Logo deutlich gr  er und besser lesbar */
.nav > a:first-child {
    display: flex;
    align-items: center;
    min-width: 250px;
}
.nav img {
    width: 300px;
    height: auto;
    max-height: 86px;
}

/* Zweite Akzentfarbe aus der Fahrzeugbeschriftung */
.service-strip b,
.number {
    color: var(--orange);
}
.about-note {
    border-left-color: var(--orange);
}
.footer-top strong span {
    color: var(--orange);
}

/* Die Leistungsleiste etwas hochwertiger gestalten */
.service-strip {
    background: #f5f6f6;
    border-bottom: 1px solid #dfe1e2;
    box-shadow: inset 0 1px 0 #fff;
}
.service-strip .wrap {
    gap: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.service-strip span {
    position: relative;
    padding: 16px 18px;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.service-strip span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background: var(--orange);
    opacity: .75;
}
.service-strip span:hover {
    background: #fff;
    border-color: #e3e4e5;
    transform: translateY(-1px);
}
.service-strip b {
    display: inline-block;
    min-width: 34px;
    font-size: 14px;
    margin-right: 10px;
}

/* Powered-by-Zeile */
.powered {
    border-top: 1px solid #ffffff20;
    margin-top: 18px;
    padding-top: 16px;
    text-align: right;
    color: #8f969b;
    font-size: 12px;
}
.powered a {
    color: var(--orange);
    font-weight: 700;
}
.powered a:hover {
    color: #fff;
}

/* Rechtsseiten */
.legal-main {
    padding: 76px 0 96px;
}
.legal-main h1 {
    color: var(--ink);
    font-size: clamp(38px,5vw,62px);
    letter-spacing: -2px;
    margin: 0 0 38px;
}
.legal-main h2 {
    font-size: 25px;
    letter-spacing: -.5px;
    margin-top: 38px;
}
.legal-main p,
.legal-main li {
    max-width: 850px;
    color: var(--muted);
}
.legal-main strong {
    color: var(--ink);
}
.legal-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--orange);
    font-weight: 700;
}
.legal-box {
    background: var(--paper);
    border-left: 4px solid var(--orange);
    padding: 26px 30px;
    max-width: 900px;
}

/* mobil */
@media(max-width: 1000px) {
    .nav > a:first-child {
        min-width: 190px;
    }
    .nav img {
        width: 205px;
        max-height: 76px;
    }
}
@media(max-width: 760px) {
    .nav > a:first-child {
        min-width: 0;
    }
    .nav img {
        width: 178px;
        max-height: 66px;
    }
    .service-strip .wrap {
        gap: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .service-strip span {
        padding: 15px 16px 15px 20px;
    }
    .service-strip span::before {
        top: 10px;
        bottom: 10px;
    }
    .powered {
        text-align: left;
    }
}


/* V3: Original-Logo gr  er und sauber proportioniert */
.nav > a:first-child {
    min-width: 285px;
}
.nav img {
    width: 260px;
    height: auto;
    max-height: 82px;
    object-fit: contain;
}

@media(max-width: 1000px) {
    .nav > a:first-child {
        min-width: 225px;
    }
    .nav img {
        width: 220px;
        max-height: 74px;
    }
}

@media(max-width: 760px) {
    .nav > a:first-child {
        min-width: 0;
    }
    .nav img {
        width: 185px;
        max-height: 64px;
    }
}


/* V4: Fahrzeugbild als visueller  bergang zwischen Leistungen und  ber uns */
.vehicle-showcase {
    width: 100%;
    background: var(--ink);
    overflow: hidden;
}

.vehicle-showcase-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.vehicle-showcase-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
    display: block;
}

.vehicle-showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(20,22,24,.90) 0%,
            rgba(20,22,24,.66) 33%,
            rgba(20,22,24,.18) 63%,
            rgba(20,22,24,.08) 100%),
        linear-gradient(0deg,
            rgba(20,22,24,.44) 0%,
            transparent 38%);
}

.vehicle-showcase-copy {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 65px;
    padding-bottom: 62px;
    color: #fff;
}

.vehicle-showcase-copy .eyebrow {
    color: #fff;
    margin-bottom: 16px;
}

.vehicle-showcase-copy .eyebrow > span {
    background: var(--orange);
}

.vehicle-showcase-copy h2 {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-size: clamp(38px,4.3vw,62px);
    line-height: 1.05;
}

.vehicle-showcase-copy h2 strong {
    color: var(--orange);
    font-weight: inherit;
}

@media(max-width: 760px) {
    .vehicle-showcase-image,
    .vehicle-showcase-copy {
        min-height: 420px;
    }

    .vehicle-showcase-image > img {
        object-position: 55% 44%;
    }

    .vehicle-showcase-overlay {
        background:
            linear-gradient(90deg,
                rgba(20,22,24,.88) 0%,
                rgba(20,22,24,.60) 72%,
                rgba(20,22,24,.26) 100%),
            linear-gradient(0deg,rgba(20,22,24,.52),transparent 55%);
    }

    .vehicle-showcase-copy {
        padding-top: 42px;
        padding-bottom: 38px;
        justify-content: flex-end;
    }

    .vehicle-showcase-copy h2 {
        font-size: 38px;
        max-width: 430px;
    }
}


/* V7: Service-Leiste hochwertiger und weniger schlicht */
.service-strip {
    background: #f4f5f5;
    border-bottom: 1px solid #d9dcde;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.service-strip .wrap {
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.service-strip span {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 22px 17px 24px;
    background: #fff;
    border: 1px solid #e0e2e3;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(32,35,38,.055);
    overflow: hidden;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

/* schmaler Markenakzent links */
.service-strip span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg,var(--orange),var(--red));
}

/* dezenter dekorativer Ring rechts */
.service-strip span::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(225,132,79,.20);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 15px rgba(225,132,79,.045),
        0 0 0 30px rgba(225,132,79,.025);
    pointer-events: none;
}

.service-strip b {
    position: relative;
    z-index: 1;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--orange);
    background: #fff6f0;
    border: 1px solid #f1cbb4;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .4px;
}

.service-strip span {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.service-strip span:hover {
    transform: translateY(-3px);
    border-color: #efb087;
    box-shadow: 0 14px 30px rgba(32,35,38,.09);
    background: #fffdfa;
}

.service-strip span:hover b {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

@media(max-width: 760px) {
    .service-strip .wrap {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .service-strip span {
        min-height: 72px;
        padding: 12px 18px 12px 20px;
        border-bottom: 1px solid #e0e2e3;
        font-size: 15px;
    }

    .service-strip span::before {
        top: 0;
        bottom: 0;
    }

    .service-strip b {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 13px;
    }
}


/* V8: Hero-Akzent und Footer feinjustiert */
.hero h1 em {
    color: var(--orange) !important;
}

/* Powered by portal-sh.de mittig im Footer */
.powered {
    text-align: center !important;
    width: 100%;
}


/* Korrektur: roten/dunkelroten Balken bzw. Form im Hero-Bild ausblenden */
.hero:after {
    display: none !important;
}


/* V10: Service-Leiste schlicht wie gew nscht + passende Icons */
.service-strip {
    background: #f4f5f5 !important;
    border-top: 1px solid #e6e7e8;
    border-bottom: 1px solid #d9dcde;
    box-shadow: none !important;
}

.service-strip .wrap {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.service-strip .service-item {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    overflow: visible;
}

.service-strip .service-item + .service-item {
    border-left: 1px solid #e0e2e4;
}

.service-strip .service-item::before,
.service-strip .service-item::after {
    display: none !important;
    content: none !important;
}

.service-strip b {
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--orange) !important;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.5px;
}

.service-strip .service-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    opacity: .88;
}

.service-strip .service-label {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.1px;
}

.service-plan .service-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1844f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8l3 3v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2z'/%3E%3Cpath d='M8 3v4h8V3'/%3E%3Cpath d='M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

.service-umsetzen .service-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1844f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4.5a4 4 0 0 0-5.66 5.66L3 16.01V21h4.99l5.85-5.84a4 4 0 0 0 5.66-5.66L14 15'/%3E%3Cpath d='M13 6l5 5'/%3E%3C/svg%3E");
}

.service-warten .service-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e1844f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4.5 4.5 0 0 0-5.8 5.8L3 18v3h3l5.9-5.9a4.5 4.5 0 0 0 5.8-5.8l-3.2 3.2-2.5-2.5 2.8-3.7z'/%3E%3C/svg%3E");
}

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

    .service-strip .service-item {
        min-height: 64px;
        padding: 0 18px;
        gap: 12px;
    }

    .service-strip .service-item + .service-item {
        border-left: 0;
        border-top: 1px solid #e0e2e4;
    }

    .service-strip b {
        font-size: 24px;
        margin-right: 4px !important;
    }

    .service-strip .service-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        background-size: 20px 20px;
    }

    .service-strip .service-label {
        font-size: 15px;
    }
}


/* V10c: Fahrzeugbild etwas transparenter */
.vehicle-showcase-image > img {
    opacity: 0.82 !important;
}


/* V18: Stellenangebot entfernt + Hero-Bild optimiert */
.hero:after {
    display: none !important;
}

/* Hero-Bild etwas gr  er und h her positionieren,
   damit oben weniger dunkle Fl che sichtbar ist */
.hero {
    background-position: center, right 32% !important;
    background-size: 100% 100%, 68% auto !important;
}

/* Karriere-Sektion wurde entfernt - Kontakt etwas harmonischer nachr cken */
.contact {
    padding-top: 86px;
}

@media(max-width: 760px) {
    .hero {
        background-position: center, 72% 26% !important;
        background-size: 100% 100%, auto 112% !important;
    }

    .contact {
        padding-top: 64px;
    }
}


/* V19: Partnerbereich im Footer */
.partners {
    padding-top: 10px;
    padding-bottom: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    border-bottom: 1px solid #ffffff20;
}

.partners-heading {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.partner-card {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    padding: 12px 18px;
    min-height: 72px;
    transition: opacity .2s ease;
}

.partner-card:hover {
    opacity: .92;
}

.partner-card img {
    width: 260px;
    height: auto;
    display: block;
}

.partner-card span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

@media(max-width: 760px) {
    .partners {
        display: block;
        padding-bottom: 26px;
    }

    .partners-heading {
        margin-bottom: 16px;
    }

    .partner-card {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
    }

    .partner-card img {
        width: min(230px, 68vw);
    }

    .partner-card span {
        font-size: 12px;
    }
}


/* V20: produktionsfertiges Kontaktformular */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 18px;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.45;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 18px;
}

.privacy-check a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

form button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

#form-status.success {
    color: #237a3b;
    font-weight: 700;
}

#form-status.error {
    color: #a62b25;
    font-weight: 700;
}

/* Footer nach Entfernen der alten Brand-/Slogan-Zeile */
footer .partners {
    padding-top: 0;
}

footer .footer-bottom {
    margin-top: 26px;
}

/* Partner-Hover bewusst dezent halten */
.partner-card {
    transition: none;
}
.partner-card:hover {
    opacity: 1;
}


/* V22: Footer ohne horizontale Trennlinien */
footer .partners,
footer .footer-bottom,
footer .powered {
    border-top: 0 !important;
    border-bottom: 0 !important;
}


/* CSP-konforme 404-Seite */
.error-title {
    color: #202326;
    font-size: clamp(42px,6vw,74px);
    letter-spacing: -2px;
}


/* V23: Footer neu angeordnet */
footer {
    padding: 38px 0 24px !important;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 56px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 12px;
}

.footer-legal a {
    color: #d5d8da;
    font-size: 13px;
    text-decoration: none;
}

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

.footer-partner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-partner .partners-heading {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-partner .partner-card {
    margin: 0;
}

.footer-center {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    color: #aeb3b6;
    font-size: 12px;
}

.footer-center a {
    color: var(--orange);
    font-weight: 700;
}

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

.footer-separator {
    color: #656b6f;
}

/* Alte Footer-Regeln vollst ndig neutralisieren */
footer .partners,
footer .footer-bottom,
footer .powered,
footer .footer-top {
    display: none !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media(max-width: 760px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-legal {
        order: 2;
        padding-bottom: 0;
        gap: 22px;
    }

    .footer-partner {
        order: 1;
    }

    .footer-partner .partner-card {
        width: 100%;
        justify-content: space-between;
    }

    .footer-center {
        margin-top: 24px;
        flex-wrap: wrap;
        gap: 6px 8px;
    }
}

/* ==========================================================
   V25   Smartphone-Optimierung
   Bestehendes Desktop-Design bleibt unver ndert.
   ========================================================== */
@media (max-width: 760px) {
    html { scroll-padding-top: 72px; }
    body { font-size: 15px; line-height: 1.5; overflow-x: hidden; }
    .wrap { width: calc(100% - 28px); }

    /* kompakter Kopfbereich */
    .topline { padding: 5px 0; }
    .topline .wrap { justify-content: flex-end; align-items: center; }
    .topline .wrap > span { display: none; }
    .topline a { font-size: 12px; }

    .nav { min-height: 68px; }
    .nav > a:first-child { min-width: 0 !important; }
    .nav img { width: 150px !important; max-height: 52px !important; }
    .menu { padding: 8px 10px; font-size: 13px; gap: 8px; }
    nav { top: 68px; padding: 14px; gap: 2px; box-shadow: 0 12px 28px rgba(0,0,0,.10); }
    nav > a { padding: 10px 4px; }
    nav .button.small { width: 100%; margin-top: 6px; }

    /* Hero deutlich ruhiger und k rzer */
    .hero {
        padding: 34px 0 18px !important;
        background-position: center, 72% 28% !important;
        background-size: 100% 100%, auto 104% !important;
    }
    .hero .eyebrow { font-size: 10px; letter-spacing: 1.2px; gap: 8px; }
    .hero .eyebrow > span { width: 20px; }
    h1 {
        font-size: clamp(33px, 9.6vw, 44px) !important;
        line-height: 1.03;
        letter-spacing: -1.25px;
        margin: 18px 0 22px;
    }
    .hero-bottom { display: block; }
    .hero-bottom p { font-size: 15px; line-height: 1.5; max-width: 100%; }
    .hero-bottom .button { width: 100%; margin-top: 18px; padding: 14px 16px; font-size: 14px; }
    .button { padding: 14px 16px; gap: 16px; }
    .button span { font-size: 18px; }
    .hero-line { margin-top: 24px; padding-top: 12px; font-size: 9px; letter-spacing: .6px; }
    .hero-line span:last-child { display: none; }

    /* Leistungsleiste weniger hoch */
    .service-strip .wrap { grid-template-columns: 1fr; gap: 0; padding: 0; }
    .service-strip .service-item,
    .service-strip span { min-height: 0; padding: 11px 4px 11px 12px; font-size: 13px; }
    .service-strip .service-item + .service-item,
    .service-strip span + span { border-top: 1px solid #e0e2e4; }
    .service-strip b { font-size: 18px; min-width: 28px; margin-right: 8px !important; }
    .service-strip .service-icon { width: 18px; height: 18px; flex-basis: 18px; background-size: 18px 18px; }
    .service-strip .service-label { font-size: 13px; }

    /* Abschnitte und  berschriften kompakter */
    .section { padding-top: 44px; padding-bottom: 44px; }
    .section-heading { margin-bottom: 20px; gap: 14px; }
   .section-heading p {
    max-width: 390px;
    color: #3f4347;
    margin-bottom: 30px;
}
    h2 { font-size: clamp(28px, 8vw, 35px); line-height: 1.08; letter-spacing: -.8px; margin: 12px 0 16px; }

    /* Leistungs-Karten */
    .cards { grid-template-columns: 1fr !important; gap: 12px; }
    .card { padding: 19px 17px; }
    .card-top { font-size: 10px; }
    .number { font-size: 17px; }
    .card h3 { font-size: 21px; line-height: 1.15; margin: 14px 0 10px; }
    .card p { font-size: 14px; margin-bottom: 10px; }
    .card ul { font-size: 13.5px; margin-bottom: 14px; }
    .card li { padding: 6px 0; }
    .card > a { padding-top: 12px; font-size: 13px; }

    /* Fahrzeugbereich: Bild bleibt, nimmt aber nicht den halben Screen ein */
    .vehicle-showcase { grid-template-columns: 1fr !important; }
    .vehicle-showcase-image,
    .vehicle-showcase-copy { min-height: 0 !important; }
    .vehicle-showcase-image { height: 54vw; min-height: 210px !important; max-height: 300px; }
    .vehicle-showcase-image > img { object-position: 53% 46%; opacity: .88 !important; }
    .vehicle-showcase-copy { padding: 26px 14px 28px !important; }
    .vehicle-showcase-copy h2 { font-size: clamp(28px, 8vw, 35px); line-height: 1.05; max-width: 320px; }

    /*  ber uns */
    .about { padding: 44px 0; }
    .about-grid { grid-template-columns: 1fr !important; gap: 18px; }
    .about h2 br { display: none; }
    .about-copy .lead { font-size: 17px; line-height: 1.48; }
    .about-copy p { margin: 0 0 13px; }
    .about-note { margin-top: 16px; padding-left: 14px; }

    /* FAQ */
    .faq { grid-template-columns: 1fr !important; gap: 20px; }
    .faq .text-link { display: inline-block; margin-bottom: 2px; }
    summary { padding: 16px 34px 16px 0; font-size: 15px; line-height: 1.35; }
    summary:after { top: 10px; }
    details p { margin-bottom: 16px; font-size: 14px; line-height: 1.5; }

    /* Kontakt */
    .contact { grid-template-columns: 1fr !important; padding-top: 44px !important; gap: 22px; }
    .contact h2 { font-size: clamp(28px, 8vw, 35px); }
    .phone { font-size: 21px; margin-top: 18px; }
    .email, address { font-size: 14px; overflow-wrap: anywhere; }
    address { margin-top: 16px; }
    form { padding: 18px 15px; }
    form h3 { font-size: 20px; margin-bottom: 16px; }
    label { font-size: 13px; }
    input, textarea { width: 100%; padding: 12px; margin-bottom: 12px; font-size: 16px; }
    textarea { min-height: 110px; }
    .privacy-check, .form-note { font-size: 12px; }

    /* Footer */
    footer { padding: 28px 0 18px !important; }
    .footer-main { grid-template-columns: 1fr !important; gap: 18px; }
    .footer-partner { order: 1; gap: 8px; }
    .footer-legal { order: 2; gap: 16px; flex-wrap: wrap; padding-bottom: 0; }
    .footer-partner .partner-card { width: 100%; min-height: 56px; padding: 8px 10px; justify-content: space-between; }
    .footer-partner .partner-card img { width: min(200px, 62vw); height: auto; }
    .footer-partner .partner-card span { font-size: 11px; }
    .footer-center { margin-top: 16px; font-size: 11px; flex-wrap: wrap; gap: 5px 8px; }

   .button span,
    .card > a span,
    .phone span,
    .text-link span {
        font-size: 0;
        line-height: 0;
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        flex: 0 0 10px;
    }
}

@media (max-width: 390px) {
    .wrap { width: calc(100% - 22px); }
    .nav img { width: 138px !important; }
    .menu { font-size: 12px; }
    h1 { font-size: 32px !important; }
    .hero-line { display: none; }
    .section { padding-top: 38px; padding-bottom: 38px; }
    .card { padding: 17px 14px; }
    .vehicle-showcase-image { min-height: 195px !important; }
    .footer-partner .partner-card span { display: none; }

   .button span,
    .card > a span,
    .phone span,
    .text-link span {
        font-size: 0;
        line-height: 0;
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        flex: 0 0 10px;
    }
}



/* ==========================================================
   V29   Fahrzeug dezent als Website-Hintergrund
   Lesbarkeit bleibt priorisiert.
   ========================================================== */
body {
    position: relative;
    background-color: #f5f6f7;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(245,246,247,.98) 0%,
            rgba(245,246,247,.97) 26%,
            rgba(245,246,247,.94) 48%,
            rgba(245,246,247,.90) 68%,
            rgba(245,246,247,.84) 100%),
        url("fahrzeug-showcase.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: center, center top 110px;
    background-size: 100% 100%, min(1240px, 90vw) auto;
    opacity: 1;
}

main,
header,
.topline,
footer {
    position: relative;
    z-index: 1;
}

.section.wrap,
.about,
.legal-main {
    position: relative;
}

/* bestehende dunkle/helle Fl chen behalten, damit Texte ruhig bleiben */
.cards .card,
form,
.partner-card,
.legal-box {
    box-shadow: 0 10px 26px rgba(32,35,38,.04);
}

@media (max-width: 1000px) {
    body::before {
        background-position: center, center top 135px;
        background-size: 100% 100%, min(1120px, 118vw) auto;
    }
}

@media (max-width: 760px) {
    body::before {
        background:
            linear-gradient(180deg,
                rgba(245,246,247,.98) 0%,
                rgba(245,246,247,.96) 24%,
                rgba(245,246,247,.93) 54%,
                rgba(245,246,247,.90) 100%),
            url("fahrzeug-showcase.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center, center 235px;
        background-size: 100% 100%, 185% auto;
    }
}

@media (max-width: 390px) {
    body::before {
        background-position: center, center 210px;
        background-size: 100% 100%, 205% auto;
    }
}

/* ==========================================================
   V31   finale Feinanpassungen
   Fahrzeug vollfl chig, Hero lesbar, Karten sauber ausgerichtet
   ========================================================== */

/* Fahrzeug-Hintergrund  ber die gesamte Breite */
body::before {
    background:
        linear-gradient(90deg,
            rgba(245,246,247,.94) 0%,
            rgba(245,246,247,.92) 26%,
            rgba(245,246,247,.88) 48%,
            rgba(245,246,247,.82) 68%,
            rgba(245,246,247,.76) 100%),
        url("fahrzeug-showcase.webp") !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
}

/* Hero leicht transparent, damit der globale Fahrzeug-Hintergrund durchscheint */
.hero {
    background: rgba(32,35,38,.86) !important;
}

/* Hero-Texte klar lesbar */
.hero .eyebrow {
    color: #fff !important;
}

.hero h1 {
    color: #fff !important;
}

.hero h1 em {
    color: var(--orange) !important;
}

/* Leistungskarten: gleiche H he und saubere horizontale Ausrichtung */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.card {
    min-width: 0;
    padding: 30px;
    display: grid;
    grid-template-rows:
        auto
        minmax(90px, auto)
        minmax(78px, auto)
        1fr
        auto;

    background: rgba(255,255,255,.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    border: 1px solid rgba(255,255,255,.72);
    box-shadow:
        0 8px 25px rgba(32,35,38,.12),
        inset 0 0 0 1px rgba(255,255,255,.20);
}

.card h3 {
    margin: 25px 0 0;
    align-self: start;
}

.card p {
    margin: 0;
    align-self: start;
}

.card ul {
    margin: 0;
    align-self: start;
}

.card > a {
    margin-top: 20px;
    align-self: end;
}

/* hervorgehobene mittlere Karte beh lt den roten Akzent */
.featured {
    border-top: 3px solid var(--red);
    padding: 28px 30px 30px;
}

/* Smartphone: Karten wieder flexibel untereinander */
@media (max-width: 760px) {
    body::before {
        background:
            linear-gradient(180deg,
                rgba(245,246,247,.96) 0%,
                rgba(245,246,247,.94) 24%,
                rgba(245,246,247,.90) 54%,
                rgba(245,246,247,.86) 100%),
            url("fahrzeug-showcase.webp") !important;
        background-repeat: no-repeat, no-repeat !important;
        background-position: center, center !important;
        background-size: 100% 100%, cover !important;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card,
    .featured {
        display: flex;
        flex-direction: column;
        padding: 19px 17px;
    }

    .featured {
        border-top: 3px solid var(--red);
    }

    .card h3,
    .card p,
    .card ul {
        min-height: 0;
    }

    .card > a {
        margin-top: auto;
    }
}

/* ==========================================================
   V32   FAQ in derselben Glasoptik wie die Leistungskarten
   ========================================================== */
.faq details {
    background: rgba(255,255,255,.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,.72);
    box-shadow:
        0 8px 25px rgba(32,35,38,.12),
        inset 0 0 0 1px rgba(255,255,255,.20);
    padding: 0 24px;
    margin-bottom: 14px;
}

.faq summary {
    padding: 24px 34px 24px 0;
    font-weight: 700;
    color: var(--ink);
}

.faq details p {
    color: #4f5458;
    margin: 0 0 24px;
    line-height: 1.6;
}

.faq summary::after {
    color: var(--red);
    font-size: 24px;
    right: 0;
    top: 18px;
}

@media (max-width: 760px) {
    .faq details {
        padding: 0 16px;
        margin-bottom: 10px;
    }

    .faq summary {
        padding: 18px 28px 18px 0;
        font-size: 15px;
    }

    .faq details p {
        margin: 0 0 18px;
        font-size: 14px;
    }
}


/* ==========================================================
   V33 – Kundenanpassungen
   1. Hero-Fußzeile entfernt
   2. Firmenlogo im Header größer
   3. Hero-Hintergrund transparenter
   ========================================================== */

/* 1: untere Zeile im Hero ausblenden */
.hero-line {
    display: none !important;
}

/* nach Entfernen der Hero-Zeile etwas weniger Leerraum unten */
.hero {
    padding-bottom: 42px;
}

/* 2: Firmenlogo im Header größer darstellen */
.nav > a:first-child {
    min-width: 385px;
}

.nav img {
    width: 370px !important;
    max-height: 108px !important;
    height: auto;
    object-fit: contain;
}

/* 3: dunkle Hero-Fläche transparenter */
.hero {
    background: rgba(32,35,38,.72) !important;
}

@media (max-width: 1000px) {
    .nav > a:first-child {
        min-width: 300px;
    }

    .nav img {
        width: 285px !important;
        max-height: 90px !important;
    }
}

@media (max-width: 760px) {
    .nav > a:first-child {
        min-width: 0;
    }

    .nav img {
        width: 195px !important;
        max-height: 66px !important;
    }

    /* mobil etwas dunkler lassen, damit die Schrift sicher lesbar bleibt */
    .hero {
        background: rgba(32,35,38,.78) !important;
        padding-bottom: 28px;
    }
}

@media (max-width: 390px) {
    .nav img {
        width: 175px !important;
        max-height: 60px !important;
    }
}


/* ==========================================================
   V35 – weicher Übergang am unteren Hero-Rand
   ========================================================== */
.hero {
    background: linear-gradient(
        180deg,
        rgba(32,35,38,.72) 0%,
        rgba(32,35,38,.68) 35%,
        rgba(32,35,38,.55) 55%,
        rgba(32,35,38,.40) 70%,
        rgba(32,35,38,.24) 82%,
        rgba(32,35,38,.10) 92%,
        rgba(32,35,38,0) 100%
    ) !important;
}
@media (max-width: 760px) {
    .hero {
        background: linear-gradient(
        rgba(32,35,38,.72) 0%,
        rgba(32,35,38,.68) 35%,
        rgba(32,35,38,.55) 55%,
        rgba(32,35,38,.40) 70%,
        rgba(32,35,38,.24) 82%,
        rgba(32,35,38,.10) 92%,
        rgba(32,35,38,0) 100%
    ) !important;
    }
}
@media (max-width: 390px) {
    .hero {
        background: linear-gradient(
        rgba(32,35,38,.72) 0%,
        rgba(32,35,38,.68) 35%,
        rgba(32,35,38,.55) 55%,
        rgba(32,35,38,.40) 70%,
        rgba(32,35,38,.24) 82%,
        rgba(32,35,38,.10) 92%,
        rgba(32,35,38,0) 100%
    ) !important;
    }
}

.hero-bottom p {
    color: #fff !important;
}

/* ==========================================================
   V40 – temporäre Mitarbeitersuche als Aktionsbanner
   AUSBLENDEN: in index.html bei .hiring-note die Klasse
   "is-active" entfernen. EINBLENDEN: "is-active" ergänzen.
   ========================================================== */
.hiring-note {
    display: none;
}

.hiring-note.is-active {
    width: 100%;
    display: block;
    position: relative;
    margin: 34px 0 34px;
    padding: 0;
    color: var(--ink);
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(255,255,255,.78);
    border-top: 3px solid var(--orange);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow:
        0 10px 28px rgba(32,35,38,.14),
        inset 0 0 0 1px rgba(255,255,255,.22);
}

.hiring-badge {
    display: inline-block;
    margin: 0 0 0 22px;
    transform: translateY(-50%);
    padding: 6px 11px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.15px;
}

.hiring-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 4px 24px 22px;
}

.hiring-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.hiring-note strong {
    color: var(--ink);
    font-size: 23px;
    line-height: 1.15;
    font-weight: 800;
}

.hiring-copy > span {
    color: #44494d;
    font-size: 15px;
    line-height: 1.5;
    max-width: 760px;
}

.hiring-note a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    background: rgba(255,255,255,.54);
    border: 1px solid rgba(32,35,38,.16);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    padding: 12px 15px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hiring-note a:hover {
    background: rgba(255,255,255,.82);
    border-color: var(--orange);
    color: var(--orange);
}

@media (max-width: 760px) {
    .hiring-note.is-active {
        margin: 28px 0 24px;
    }

    .hiring-badge {
        margin-left: 16px;
        font-size: 9px;
        letter-spacing: .9px;
    }

    .hiring-content {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 16px 17px;
    }

    .hiring-note strong {
        font-size: 19px;
    }

    .hiring-copy > span {
        font-size: 13.5px;
    }

    .hiring-note a {
        width: fit-content;
        font-size: 13px;
        padding: 10px 13px;
    }
}


/* ==========================================================
   V41 – Mobile-Menü immer über dem Hero
   ========================================================== */
header {
    z-index: 1000 !important;
}

@media (max-width: 760px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000 !important;
        overflow: visible;
    }

    .nav {
        position: relative;
        z-index: 1001;
    }

    .menu {
        position: relative;
        z-index: 1003;
    }

    nav {
        z-index: 1002 !important;
        background: rgba(255,255,255,.98) !important;
        color: var(--ink) !important;
        box-shadow: 0 14px 30px rgba(32,35,38,.18);
        border-top: 1px solid #eceeef;
        border-bottom: 1px solid #dfe2e4;
    }

    nav.open {
        display: flex;
    }

    nav > a:not(.button) {
        color: var(--ink) !important;
        background: transparent;
    }

    nav > a:not(.button):hover,
    nav > a:not(.button):focus-visible {
        color: var(--orange) !important;
    }

    .hero,
    .hero .wrap,
    main {
        z-index: 0 !important;
    }
}
