/* 1. Grundregeln: Schriften, Farben und gemeinsame Seitenbreite. */
@font-face {
    font-family: Neue;
    src: url('assets/helvetica-neue-roman.otf') format('opentype');
    font-display: swap
}

@font-face {
    font-family: NeueCn;
    src: url('assets/helvetica-neue-condensed.otf') format('opentype');
    font-display: swap
}

@font-face {
    font-family: NeueCn;
    src: url('assets/helvetica-neue-bold-condensed.otf') format('opentype');
    font-weight: 700;
    font-display: swap
}

@font-face {
    font-family: NeueCn;
    src: url('assets/helvetica-neue-medium-condensed.otf') format('opentype');
    font-weight: 500;
    font-display: swap
}

@font-face {
    font-family: Neue;
    src: url('assets/helvetica-neue-bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap
}

/* Hier liegen die wiederverwendeten Werte. Ändert man z. B. --pink, ändert sich das Oskar-Pink überall. */
:root {
    --pink: #e5067e;
    --white: #f7f7f7;
    --muted: #9a9a9a;
    --max: 1180px;
    --grid-gap: 25px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

body {
    margin: 0;
    background: #000;
    color: var(--white);
    font-family: Neue, Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

/* Hinweis für die nicht vorgesehene Smartphone-Ansicht im Querformat. */
.orientation-hint {
    display: none
}

@media (max-width:950px) and (hover:none) and (pointer:coarse) and (orientation:landscape) {
    .orientation-hint {
        position: fixed;
        z-index: 10000;
        inset: 0;
        display: grid;
        place-content: center;
        gap: 18px;
        padding: 24px;
        overflow: hidden;
        background: var(--pink);
        color: var(--white);
        text-align: center
    }

    .orientation-hint img {
        display: block;
        width: 110px;
        height: 110px;
        margin-inline: auto
    }

    .orientation-hint p {
        margin: 0;
        /* 14 pt entsprechend der Layoutvorlage. */
        font-size: 14pt;
        font-weight: 400;
        line-height: 1.2
    }
}

/* Hält den Inhalt mittig und verhindert, dass er auf großen Bildschirmen zu breit wird. */
.wrap {
    width: min(var(--max), calc(100% - 80px));
    margin-inline: auto
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.menu-toggle,
.footer-visual {
    display: none
}

.mobile-only {
    display: none
}

.nav-copyright,
.nav .nav-baem {
    display: none
}

/* Der Kreis am Mauszeiger wird per JavaScript ein- und ausgeblendet. */
.link-hover-circle {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(.65);
    transition: opacity .2s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
    will-change: left, top, transform
}

.link-hover-circle.is-visible {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1)
}

@media(pointer:coarse), (prefers-reduced-motion:reduce) {
    .link-hover-circle {
        display: none
    }
}

/* Beim Scrollen blendet das Skript den Hero-Inhalt leicht aus und verschiebt ihn. */
.hero-content,
.product-marquee {
    opacity: var(--hero-scroll-opacity, 1);
    transform: translate3d(0, var(--hero-scroll-shift, 0), 0);
    will-change: opacity, transform
}

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

    .hero-content,
    .product-marquee {
        opacity: 1;
        transform: none
    }
}

/* 2. Startbereich: Hintergrundfoto, Logo, Menü und Überschrift. */
.hero {
    height: 905px;
    position: relative;
    background: #000 url('assets/hero.jpg') center top/1470px auto no-repeat;
    overflow: hidden
}

.hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(transparent, #000);
    pointer-events: none
}

.brand {
    position: fixed;
    z-index: 20;
    left: 28px;
    top: 33px;
    width: 36.55px;
    height: 113.8px;
    display: block
}

.brand img {
    display: block;
    width: 100%;
    height: 100%
}

.nav {
    position: absolute;
    z-index: 3;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 44px;
    font: 18px NeueCn, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    color: #777
}

.nav a {
    transition: color .2s
}

.nav a:hover,
.nav .active {
    color: #fff
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 224.128px
}

.eyebrow {
    margin: 0 0 26.495px;
    font: 23px/23px NeueCn, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1px
}

.eyebrow span {
    color: var(--pink)
}

h1 {
    position: relative;
    margin: 0;
    font: 700 93.876px/85px NeueCn, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0
}

.headline-stroke {
    position: absolute;
    width: 554.88px;
    height: 21.12px;
    object-fit: fill;
    top: 429.967px;
    left: -15.346px
}

.hero-copy {
    margin: 27.881px 0 0;
    font-size: 19px;
    line-height: 27px
}

.production-types {
    display: grid;
    grid-template-columns: 143.53px 120.02px 98.81px 115.69px;
    align-items: start;
    margin-top: 17px;
    width: 478.05px;
    height: 80px
}

.production-type {
    position: relative;
    height: 64px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font: 18px/1 NeueCn, sans-serif;
    text-transform: uppercase
}

.production-type:nth-child(2) {
    padding-left: 18.66px
}

.production-type:nth-child(3) {
    padding-left: 30.17px
}

.production-type:nth-child(4) {
    padding-left: 25.53px
}

.production-type:not(:last-child):after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 58px;
    background: #fff
}

.production-unit {
    display: grid;
    grid-template-rows: 34.5px 18px;
    row-gap: 9px;
    justify-items: center;
    align-items: end;
    width: max-content
}

.production-unit span {
    white-space: nowrap
}

.production-icon {
    display: block;
    align-self: end;
    object-fit: contain
}

.production-type:nth-child(1) .production-icon {
    width: 31.5px;
    height: 31.5px
}

.production-type:nth-child(2) .production-icon {
    width: 32px;
    height: 32px
}

.production-type:nth-child(3) .production-icon {
    width: 41.5px;
    height: 34.5px
}

.production-type:nth-child(4) .production-icon {
    width: 29.5px;
    height: 34.5px
}

.brush-button {
    position: relative;
    left: -7.277px;
    display: flex;
    width: 230.88px;
    height: 51.6px;
    margin-top: 8.439px;
    padding-left: 30.533px;
    align-items: center;
    justify-content: flex-start;
    font: 500 20px/20px NeueCn, sans-serif;
    text-transform: uppercase
}

.brush-button .button-brush {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill
}

.brush-button span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
    transform: translateY(4.3px)
}

.brush-button .button-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 18.812px;
    height: 12.094px;
    margin-left: 14.548px;
    object-fit: contain;
    transform: translateY(1.737px)
}

.references {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    display: flex;
    align-items: center
}

.references-label {
    font: 18px NeueCn, sans-serif;
    text-transform: uppercase;
    margin-right: 28px
}

.reference-logos {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 33px
}

.reference-logos img {
    display: block;
    max-height: 53px;
    max-width: 180px;
    object-fit: contain
}

.reference-logos .logo-combo {
    width: 354px;
    max-width: 354px;
    height: 25px
}

.hero-content {
    top: -25px
}

.brush-button span {
    font-weight: 600
}

/* 3. Laufband: zwei gleiche Gruppen werden um die halbe Breite verschoben. */
.product-marquee {
    --marquee-gap: 11px;
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 74px;
    overflow: hidden
}

.product-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: product-marquee-scroll 86s linear infinite
}

.product-marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap)
}

.product-marquee-group span {
    display: flex;
    flex: 0 0 auto;
    height: 40px;
    padding: 4px 22px 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #212121;
    color: var(--white);
    font: 15px/1 Neue, Arial, sans-serif;
    white-space: nowrap
}

/* Die eigentliche Bewegung des Laufbands. */
@keyframes product-marquee-scroll {
    to {
        transform: translateX(-50%)
    }
}

@media(prefers-reduced-motion:reduce) {
    .product-marquee-track {
        animation: none
    }
}

.product-marquee {
    bottom: 60px
}

/* 4. Einleitung unter dem Startbild. */
.coming {
    height: 279px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--grid-gap);
    align-items: center
}

.coming h2 {
    margin: 2px 0 0;
    font: 700 62px/.95 NeueCn, sans-serif;
    text-transform: uppercase;
    letter-spacing: -.5px
}

.coming h2 span {
    color: var(--pink)
}

.coming p {
    font-size: 19px;
    line-height: 1.4;
    margin: 52px 0 0
}

/* 5. Leistungsbereich: pinker Hintergrund, Werkzeugbild und Raster mit Leistungen. */
.services {
    height: clamp(632px, 47.3129vw, 695.5px);
    background: var(--pink) url('assets/pink-brush-bg.jpg') center/100% 100% no-repeat;
    position: relative;
    overflow: hidden
}

.services-inner {
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap)
}

.toolbox {
    position: absolute;
    left: -90px;
    bottom: -2px;
    width: 625px;
    height: auto
}

.service-content {
    grid-column: 7/-1;
    padding-top: 103px
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--grid-gap);
    row-gap: 53px;
    transform: translateY(10px)
}

.service-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px
}

.service-item svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: #fff;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.service-item h3 {
    font: 700 18px NeueCn, sans-serif;
    text-transform: uppercase;
    margin: 2px 0 4px;
    white-space: nowrap
}

.service-item p {
    font-size: 15px;
    line-height: 1.27;
    margin: 0
}

.services-note {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    margin: 57px 0 0 0
}

.services-note {
    width: 600px;
    max-width: none;
    line-height: 20px;
    margin-top: 67px
}

.service-icon {
    display: block;
    width: 43px;
    height: 43px;
    object-fit: contain
}

/* Ab 901 px: Regeln nur für Desktop und größere Bildschirme. */
@media(min-width:901px) {
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 800px;
        background-size: cover;
        background-position: center top
    }

    .coming {
        position: relative;
        display: block
    }

    .coming h2 {
        position: absolute;
        top: 115.521px;
        left: -1.78px;
        margin: 0;
        font-size: 72.041px;
        line-height: 71.02px
    }

    .coming p {
        position: absolute;
        top: 188.5px;
        left: calc(50% + 12.5px);
        margin: 0;
        line-height: 28px
    }

    .services {
        overflow: visible
    }

    .toolbox {
        left: -55.524px;
        top: -111.871px;
        bottom: auto;
        width: 722.5px
    }

    .legal .legal-inner {
        grid-template-columns: calc(50% + 12.5px) 210px 45px minmax(0, 1fr) 44px;
        column-gap: 0
    }

    .legal-inner>* {
        grid-row: 1
    }

    .legal-inner>span {
        grid-column: 1
    }

    .legal-inner>a:first-of-type {
        grid-column: 2
    }

    .legal-inner>a:nth-of-type(2) {
        grid-column: 4
    }

    .legal-inner>.to-top {
        grid-column: 5
    }
}

@media(min-width:1800px) {
    .hero-content {
        top: 5px;
        margin-left: 10vw;
        margin-right: 0;
        transform: scale(1.15);
        transform-origin: left 200px
    }
}

@media(min-width:2300px) {
    .hero-content {
        margin-left: 9vw;
        transform: scale(1.28)
    }
}

/* 6. Fußbereich mit Kontakt und rechtlicher Zeile. */
footer {
    height: 531px;
    background: #000
}

.contact {
    height: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--grid-gap);
    padding-top: 84px
}

.about {
    font-size: 19px;
    line-height: 1.42;
    margin: 0
}

.contact-details {
    padding-left: 0
}

.contact-big {
    position: relative;
    display: block;
    font-size: 49px;
    line-height: 1.22;
    letter-spacing: -1.1px;
    width: max-content
}

.contact-big+.contact-big {
    margin-top: 7px
}

.contact-big:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1)
}

.contact-big:hover:after,
.contact-big:focus-visible:after {
    transform: scaleX(1)
}

.contact-meta {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 45px;
    margin-top: 63px;
    font-size: 15px;
    line-height: 1.3
}

.contact-meta p {
    margin: 0
}

.contact-meta address {
    font-style: normal
}

.legal {
    height: 71px;
    border-top: 1px solid #292929
}

.legal-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 260px 330px;
    align-items: center;
    font-size: 13px;
    color: #777
}

.legal a:hover {
    color: #fff
}

.to-top {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: space-around;
    justify-self: end
}

.to-top:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px
}

.to-top img {
    display: block;
    width: 12.21px;
    height: 19px;
    transition: filter .2s ease
}

.to-top:hover img,
.to-top:focus-visible img {
    filter: brightness(0) invert(1)
}

@media(min-width:901px) {
    .contact {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: var(--grid-gap)
    }

    .about {
        grid-column: 1/6;
        width: 480px
    }

    .contact-details {
        grid-column: 7/-1
    }
}

/* Bis 900 px: Tablet und Mobil. Das Layout wird einspaltiger und luftiger. */
@media(max-width:900px) {
    .wrap {
        width: min(100% - 40px, var(--max))
    }

    .hero {
        height: auto;
        min-height: 900px;
        background-position: 57% top;
        background-size: auto 760px
    }

    .brand {
        left: 18px;
        top: 20px
    }

    .nav {
        top: 38px;
        left: auto;
        right: 20px;
        transform: none;
        gap: 18px;
        font-size: 14px
    }

    .nav a:nth-child(n+4) {
        display: none
    }

    .hero-content {
        padding-top: 180px
    }

    .references {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-top: 145px;
        padding-bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .reference-logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start
    }

    .coming {
        height: auto;
        min-height: 300px;
        display: block;
        padding-block: 65px
    }

    .coming h2 {
        min-width: 0
    }

    .coming p {
        margin-top: 35px
    }

    .services {
        height: auto;
        min-height: 1050px;
        background-size: auto 100%
    }

    .services-inner {
        display: block
    }

    .toolbox {
        opacity: .3;
        left: -100px;
        width: 525px
    }

    .service-content {
        position: relative;
        margin-left: 0;
        padding: 75px 20px 65px 210px
    }

    .service-grid {
        grid-template-columns: 1fr;
        row-gap: 38px
    }

    .services-note {
        width: auto;
        max-width: 100%;
        margin-top: 45px
    }

    footer {
        height: auto
    }

    .contact {
        height: auto;
        grid-template-columns: 1fr;
        padding-block: 70px;
        gap: 50px
    }

    .contact-big {
        font-size: 40px
    }

    .legal-inner {
        grid-template-columns: 1fr auto auto 44px;
        gap: 25px
    }

    .legal-inner {
        font-size: 12px
    }
}

/* Bis 600 px: Telefon-Ansicht mit kleineren Texten und weniger Navigation. */
@media(max-width:600px) {
    .nav {
        display: none
    }

    .hero {
        min-height: 985px;
        background-position: 60% top;
        background-size: auto 630px
    }

    .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 95%)
    }

    .hero-content {
        padding-top: 170px
    }

    .eyebrow {
        font-size: 18px
    }

    h1 {
        font-size: 53px;
        line-height: .94
    }

    .headline-stroke {
        top: 306px;
        width: 330px
    }

    .hero-copy {
        margin-top: 28px;
        font-size: 16px
    }

    .production-types {
        width: 100%;
        max-width: 390px;
        grid-template-columns: repeat(4, 1fr)
    }

    .production-type,
    .production-type:nth-child(2),
    .production-type:nth-child(3),
    .production-type:nth-child(4) {
        justify-content: center;
        padding-left: 0;
        font-size: 13px
    }

    .production-type:first-child {
        justify-content: flex-start
    }

    .brush-button {
        margin-top: 26px
    }

    .references {
        margin-top: 170px
    }

    .reference-logos {
        gap: 25px
    }

    .reference-logos .logo-combo {
        width: 280px
    }

    .reference-logos img {
        max-width: 135px
    }

    .coming h2 {
        font-size: 48px
    }

    .coming p {
        font-size: 16px
    }

    .services {
        min-height: 1210px
    }

    .toolbox {
        width: 430px;
        left: -155px
    }

    .service-content {
        padding: 65px 0 55px 110px
    }

    .service-grid {
        column-gap: 0
    }

    .service-item {
        grid-template-columns: 40px 1fr;
        gap: 10px
    }

    .service-item svg,
    .service-icon {
        width: 35px;
        height: 35px
    }

    .service-item h3 {
        font-size: 16px
    }

    .service-item p {
        font-size: 14px
    }

    .services-note {
        font-size: 14px
    }

    .about {
        font-size: 16px
    }

    .contact-big {
        font-size: 27px;
        letter-spacing: -.5px
    }

    .contact-meta {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 50px
    }

    .legal {
        height: auto;
        padding: 25px 0
    }

    .legal-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 15px 25px
    }

    .to-top {
        margin-left: auto
    }
}

@media(prefers-reduced-motion:reduce) {
    .contact-big:after {
        transition: none
    }
}

/* 7. Unterseiten: gemeinsame Kopfzeile und Gestaltung des Impressums. */
/* Impressum */
.subpage-header {
    position: absolute;
    z-index: 10;
    inset: 0 0 auto;
    height: 165px
}

.imprint-main {
    height: 1816px;
    border-bottom: 1px solid #292929
}

.imprint-content {
    padding-top: 222px
}

.imprint-content h1 {
    margin: 0 0 31px;
    font: 700 60px/1 NeueCn, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0
}

.imprint-content h2 {
    margin: 0 0 16px;
    font: 700 28px/1 NeueCn, sans-serif;
    text-transform: uppercase
}

.imprint-content h3 {
    margin: 18px 0 1px;
    font: 700 18px/20px NeueCn, sans-serif;
    text-transform: uppercase
}

.imprint-content p {
    margin: 0;
    font-size: 15px;
    line-height: 20px
}

.imprint-content a[href^="mailto:"],
.imprint-content .text-link {
    text-decoration: underline;
    text-decoration-thickness: auto;
    text-underline-offset: auto
}

.imprint-company {
    margin-bottom: 62px
}

.imprint-section {
    margin-top: 0;
    margin-bottom: 58px
}

.imprint-section h2 {
    margin-bottom: 16px
}

.imprint-section p+p {
    margin-top: 20px
}

.legal-page .legal a.active {
    color: #fff
}

@media(max-width:900px) {
    .subpage-header {
        height: 130px
    }

    .imprint-main {
        height: auto;
        min-height: 0
    }

    .imprint-content {
        padding-top: 165px;
        padding-bottom: 90px
    }

    .imprint-content h1 {
        font-size: 46px
    }

    .imprint-company {
        margin-bottom: 55px
    }

    .imprint-section {
        margin-bottom: 52px
    }
}

@media(max-width:600px) {
    .subpage-header {
        height: 110px
    }

    .imprint-content {
        padding-top: 135px;
        padding-bottom: 70px
    }

    .imprint-content h1 {
        font-size: 38px;
        line-height: .98;
        margin-bottom: 35px
    }

    .imprint-content h2 {
        font-size: 24px
    }

    .imprint-content h3 {
        font-size: 17px
    }

    .imprint-content p {
        font-size: 14px;
        line-height: 20px
    }
}

/* 8. Datenschutzerklärung: nutzt viele Regeln des Impressums und ergänzt Abstände für längere Texte. */
/* Datenschutzerklaerung */
.privacy-main {
    border-bottom: 1px solid #292929
}

.privacy-content {
    padding-bottom: 120px
}

.privacy-content>h1 {
    margin-bottom: 48px
}

.privacy-content .imprint-section {
    margin-bottom: 64px
}

.privacy-content .imprint-section h2 {
    margin-bottom: 27px
}

.privacy-content .imprint-section h3 {
    margin-top: 30px;
    margin-bottom: 8px
}

.privacy-content .imprint-section h2+h3 {
    margin-top: 0
}

.privacy-content .imprint-section p+p {
    margin-top: 20px
}

.privacy-content ul {
    margin: 10px 0 20px;
    padding-left: 20px;
    font-size: 15px;
    line-height: 20px
}

.privacy-content .privacy-address {
    margin-top: 20px
}

.privacy-content a[href^="mailto:"],
.privacy-content .text-link {
    text-decoration: underline;
    text-decoration-thickness: auto;
    text-underline-offset: auto
}

.privacy-version {
    margin-top: 15px;
    color: #9a9a9a
}

@media(max-width:900px) {
    .privacy-content {
        padding-bottom: 90px
    }

    .privacy-content>h1 {
        margin-bottom: 42px
    }

    .privacy-content .imprint-section {
        margin-bottom: 55px
    }
}

@media(max-width:600px) {
    .privacy-content {
        padding-bottom: 70px
    }

    .privacy-content ul {
        font-size: 14px;
        line-height: 20px
    }

    .privacy-content .imprint-section h3 {
        margin-top: 26px
    }
}

.imprint-content a[href^="tel:"],
.privacy-content a[href^="tel:"] {
    text-decoration: underline;
    text-decoration-thickness: auto;
    text-underline-offset: auto
}

/* 9. Scroll-Effekte: JavaScript steuert diese Variablen. Bei reduzierter Bewegung bleiben Inhalte normal sichtbar. */
.services .toolbox {
    opacity: var(--services-image-opacity, 1);
    transform: translate3d(var(--services-image-shift, 0), 0, 0);
    will-change: opacity, transform
}

.services .service-content {
    opacity: var(--services-content-opacity, 1);
    transform: translate3d(var(--services-content-shift, 0), 0, 0);
    will-change: opacity, transform
}

@media(prefers-reduced-motion:reduce) {
    .services .toolbox {
        opacity: 1;
        transform: none
    }

    .services .service-content {
        opacity: 1;
        transform: none
    }
}

@media(max-width:900px) and (prefers-reduced-motion:reduce) {
    .services .toolbox {
        opacity: .3
    }
}

/* Der Fußbereich kann ebenfalls beim Erscheinen dezent eingeblendet werden. */
footer {
    opacity: var(--footer-reveal-opacity, 1);
    transform: translate3d(0, var(--footer-reveal-shift, 0), 0);
    clip-path: inset(0 0 var(--footer-reveal-clip, 0) 0);
    transform-origin: bottom center;
    will-change: opacity, transform, clip-path
}

@media(prefers-reduced-motion:reduce) {
    footer {
        opacity: 1;
        transform: none;
        clip-path: none
    }
}

/* 10. Verbindliches Smartphone-Layout nach der 390-Pixel-Vorlage. */
@media(max-width:600px) {
    :root {
        --mobile-margin: 20px;
        --mobile-gap: 16px;
        --mobile-content-top: 180px
    }

    /* Die sichtbaren Inhalte der Zielbereiche beginnen wie die Rechtstexte bei 180 Pixeln. */
    #leistungen {
        scroll-margin-top: calc(var(--mobile-content-top) - 26px)
    }

    #referenzen {
        scroll-margin-top: var(--mobile-content-top)
    }

    #kontakt {
        scroll-margin-top: calc(var(--mobile-content-top) - 60px)
    }

    html,
    body {
        background: #000
    }

    body {
        overflow-x: hidden
    }

    body.menu-open {
        overflow: hidden
    }

    .wrap {
        width: calc(100% - (2 * var(--mobile-margin)));
        max-width: none
    }

    .brand {
        left: 0;
        top: 35px;
        width: 34px;
        height: 105px
    }

    .menu-toggle {
        position: fixed;
        z-index: 32;
        top: 23px;
        right: 14px;
        display: flex;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer
    }

    .menu-toggle::before,
    .menu-toggle::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 33px;
        height: 1.5px;
        border-radius: 999px;
        background: #fff;
        transform: translateX(-50%);
        transform-origin: center;
        transition: top .32s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1), width .32s cubic-bezier(.22, 1, .36, 1)
    }

    .menu-toggle::before {
        top: 18px
    }

    .menu-toggle::after {
        top: 25px
    }

    .menu-toggle[aria-expanded="true"]::before {
        top: 21.5px;
        width: 27px;
        transform: translateX(-50%) rotate(45deg)
    }

    .menu-toggle[aria-expanded="true"]::after {
        top: 21.5px;
        width: 27px;
        transform: translateX(-50%) rotate(-45deg)
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--pink);
        outline-offset: 2px
    }

    .nav {
        position: fixed;
        z-index: 30;
        inset: 0 0 0 auto;
        width: calc(100% - 96px);
        display: flex;
        padding: 182px 24px 29px;
        background: var(--pink);
        transform: translate3d(calc(100% + 48px), 0, 0);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 15px;
        font: 400 32px/1 NeueCn, sans-serif;
        text-transform: uppercase;
        color: #fff;
        white-space: normal;
        visibility: hidden;
        pointer-events: none;
        transition: transform .48s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .48s;
        will-change: transform
    }

    .nav::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -48px;
        width: 48px;
        background: linear-gradient(to left, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
        pointer-events: none
    }

    .nav.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s
    }

    .nav a,
    .nav a:nth-child(n+4) {
        display: block
    }

    .nav a.nav-baem {
        display: block
    }

    .nav a.active,
    .nav .active {
        color: #fff
    }

    .nav-copyright {
        display: block;
        margin-top: auto;
        font: 13px/1 Neue, Arial, sans-serif;
        text-transform: none;
        white-space: nowrap
    }

    .hero {
        height: 849px;
        min-height: 0;
        background-color: #000;
        background-image: url('assets/_Smartphone/Header-Image@2x.webp');
        background-position: center top;
        background-size: 100% auto;
        background-repeat: no-repeat
    }

    /* Breitere Smartphones: Der Header folgt dem Seitenverhältnis des Hintergrundbilds. */
    @media (min-width: 431px) {
        .hero {
            height: 217.1137vw
        }
    }

    .hero:before,
    .hero:after {
        display: none
    }

    .hero-content {
        top: 0;
        padding-top: 263px
    }

    @media (min-width: 431px) {
        .hero-content {
            padding-top: 330px
        }
    }

    .eyebrow {
        margin: 0 0 14px;
        font-size: 21px;
        line-height: 21px;
        letter-spacing: 0
    }

    .hero h1 {
        font-size: 61px;
        line-height: 55px
    }

    /* Sehr schmale Smartphones: Die zwei vorgesehenen Headline-Zeilen bleiben lesbar. */
    @media (max-width: 374px) {
        .hero h1 {
            font-size: 55px;
            line-height: 51px
        }
    }

    @media (min-width: 375px) and (max-width: 389px) {
        .hero h1 {
            font-size: 58px;
            line-height: 54px
        }
    }

    .headline-stroke {
        position: relative;
        top: auto;
        left: -17px;
        display: block;
        width: 364px;
        height: 16px;
        margin-top: -9px
    }

    .hero-copy {
        margin-top: 13px;
        font-size: 17px;
        line-height: 22px
    }

    .mobile-only {
        display: initial
    }

    .desktop-only {
        display: none
    }

    .production-types {
        width: 100%;
        max-width: none;
        height: 65px;
        margin-top: 10px;
        grid-template-columns: 123.2px 93.01px 58.46px 75.33px
    }

    .production-type,
    .production-type:nth-child(2),
    .production-type:nth-child(3),
    .production-type:nth-child(4) {
        height: 58px;
        padding-left: 0;
        justify-content: flex-start;
        font-size: 16px
    }

    .production-type:nth-child(2) {
        padding-left: 10px
    }

    .production-type:nth-child(3) {
        padding-left: 11.2px
    }

    .production-type:nth-child(4) {
        padding-left: 10.67px
    }

    .production-type:not(:last-child):after {
        top: 1.4px;
        height: 45.55px
    }

    .production-unit {
        grid-template-rows: 27px 16px;
        row-gap: 8px
    }

    .production-type:nth-child(1) .production-icon,
    .production-type:nth-child(2) .production-icon {
        width: 24px;
        height: 24px
    }

    .production-type:nth-child(3) .production-icon {
        width: 30px;
        height: 25px
    }

    .production-type:nth-child(4) .production-icon {
        width: 21px;
        height: 25px
    }

    .brush-button {
        left: -7.36px;
        width: 188.16px;
        height: 44.56px;
        margin-top: 4px;
        padding-left: 20.82px;
        font-size: 18px;
        line-height: 18px
    }

    .brush-button span {
        transform: translateY(3px)
    }

    .brush-button .button-arrow {
        width: 15px;
        height: 10px;
        margin-left: 11px;
        transform: translateY(0.5px)
    }

    .product-marquee {
        bottom: 89.6px;
        --marquee-gap: 9.25px
    }

    .product-marquee-group span {
        min-width: 119.44px;
        height: 32.81px;
        padding: 3px 11px 0;
        border-radius: 8px;
        background: #262626;
        font-size: 13px;
        line-height: 13px
    }

    .coming {
        min-height: 0;
        height: 240px;
        padding-block: 24px 30px
    }

    .coming h2 {
        font-size: 46px;
        line-height: 44px;
        letter-spacing: 0
    }

    .coming p {
        margin-top: 18px;
        font-size: 17px;
        line-height: 22px
    }

    .coming p br {
        display: none
    }

    .services {
        height: 1261px;
        min-height: 1261px;
        padding: 84px 0 92px;
        background: linear-gradient(to bottom,
                transparent 0 68px,
                var(--pink) 68px calc(100% - 69px),
                transparent calc(100% - 69px) 100%);
        overflow: hidden
    }

    .services:before,
    .services:after {
        content: "";
        position: absolute;
        z-index: 0;
        left: 0;
        width: 100%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        pointer-events: none
    }

    .services:before {
        top: 0;
        height: 68px;
        background-image: url('assets/_Smartphone/pinselstrich-oben_smartphone.webp')
    }

    .services:after {
        bottom: 0;
        height: 69px;
        background-image: url('assets/_Smartphone/pinselstrich-unten_smartphone.webp')
    }

    .services-inner {
        z-index: 1;
        height: auto;
        display: block
    }

    .toolbox-picture {
        display: block;
        width: calc(100% + 32px);
        margin: -13px -12px -17px -20px
    }

    .services .toolbox {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        display: block;
        width: 100%;
        height: auto;
        opacity: 1;
        transform: none
    }

    .services .service-content {
        position: relative;
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none
    }

    .service-grid {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 38.6px;
        transform: none
    }

    .service-item {
        min-width: 0;
        grid-template-columns: 51.68px minmax(0, 1fr);
        gap: 14px
    }

    .service-item svg,
    .service-icon {
        width: 35px;
        height: 35px;
        margin-left: 10px
    }

    .service-item h3 {
        margin: 1px 0 5px;
        font-size: 17px;
        line-height: 1;
        white-space: normal
    }

    .service-item p {
        font-size: 13px;
        line-height: 17px
    }

    .service-item p br {
        display: none
    }

    .services-note {
        width: auto;
        max-width: none;
        margin: 49px 0 0;
        font-size: 14px;
        line-height: 20px;
        text-align: center
    }

    footer {
        height: auto;
        background: #000
    }

    .contact {
        position: relative;
        z-index: 1;
        height: 474px;
        display: block;
        padding: 60px 0 0
    }

    .about {
        margin: 0;
        padding-bottom: 35px;
        border-bottom: 1px solid #333;
        font-size: 17px;
        line-height: 23px;
        letter-spacing: -.03px
    }

    .contact-details {
        margin-top: 37px;
        padding-left: 0
    }

    .contact-big {
        width: max-content;
        max-width: 100%;
        font-size: 32px;
        line-height: 41px;
        letter-spacing: -.5px
    }

    .contact-big+.contact-big {
        margin-top: 0
    }

    .contact-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--mobile-gap);
        margin-top: 26px;
        font-size: 13px;
        line-height: 19px
    }

    .footer-visual {
        position: relative;
        z-index: 0;
        display: block;
        width: 100%;
        height: calc(220.1024vw - 65px);
        overflow: hidden;
        background: #000
    }

    .footer-visual img {
        display: block;
        width: 100%;
        height: auto
    }

    .footer-visual+.legal {
        position: relative;
        z-index: 1;
        margin-top: -51px;
        background: rgba(0, 0, 0, .56)
    }

    .legal {
        height: 51px;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, .16)
    }

    .legal-inner,
    .legal .legal-inner {
        width: calc(100% - (2 * var(--mobile-margin)));
        height: 100%;
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: space-between;
        column-gap: 0;
        align-items: center;
        font-size: 11px;
        line-height: 1;
        white-space: nowrap
    }

    .legal-inner>span {
        grid-column: 1
    }

    .legal-inner>a:first-of-type {
        grid-column: 2;
        justify-self: start
    }

    .legal-inner>a:nth-of-type(2) {
        grid-column: 3;
        justify-self: start
    }

    .legal-inner>.to-top {
        display: none
    }

    .subpage-header {
        height: 96px
    }

    .legal-page .imprint-content {
        padding-top: 180px
    }

    .legal-page .contact {
        height: auto;
        padding-bottom: 42px
    }

    .page-end-anchor {
        display: block;
        width: 0;
        height: 0
    }

    .privacy-content>h1 {
        font-size: 33px;
        overflow-wrap: anywhere
    }
}

@media(max-width:600px) and (prefers-reduced-motion:reduce) {
    .nav,
    .menu-toggle::before,
    .menu-toggle::after {
        transition: none
    }
}
