:root {
    --tuerkis: #00a0ad;
    --tuerkis-hell: #3bc4cc;
    --rot: #e60024;
    --nacht: #061d25;
    --nacht-2: #0a2b35;
    --text: #12242a;
    --text-hell: #d8e6e9;
    --weiss: #ffffff;
    --flaeche: #f3f7f7;
    --linie: rgba(6, 29, 37, 0.13);
    --schatten: 0 24px 70px rgba(4, 26, 33, 0.14);
    --radius: 22px;
    --container: 1180px;
    --kopfhoehe: 88px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--kopfhoehe) + 20px);
}

body {
    margin: 0;
    color: var(--text);
    background: var(--weiss);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menue-offen {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

.sprunglink {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--nacht);
    background: var(--weiss);
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.sprunglink:focus {
    transform: translateY(0);
}

.kopfzeile {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--kopfhoehe);
    color: var(--weiss);
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.kopfzeile.ist-kompakt,
.seite-recht .kopfzeile {
    background: rgba(6, 29, 37, 0.94);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.kopfzeile__innen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--kopfhoehe);
    gap: 32px;
}

.marke {
    display: block;
    width: clamp(205px, 22vw, 290px);
    flex: 0 0 auto;
}

.marke img {
    width: 100%;
}

.hauptnavigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2vw, 30px);
    font-size: 0.93rem;
    font-weight: 650;
}

.hauptnavigation a {
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.hauptnavigation a:not(.nav-extern)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--rot);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
}

.hauptnavigation a:hover::after,
.hauptnavigation a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-extern {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-extern:hover,
.nav-extern:focus-visible {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.7);
}

.menueknopf {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--weiss);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    cursor: pointer;
}

.menueknopf span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menueknopf[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menueknopf[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menueknopf[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: max(720px, 92vh);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--weiss);
    background-color: var(--nacht);
    background-image:
        linear-gradient(90deg, rgba(5, 28, 36, 0.99) 0%, rgba(5, 28, 36, 0.94) 38%, rgba(5, 28, 36, 0.36) 68%, rgba(5, 28, 36, 0.68) 100%),
        radial-gradient(circle at 72% 30%, rgba(0, 160, 173, 0.24), transparent 34%),
        url("../bilder/lkw.webp");
    background-repeat: no-repeat;
    background-position: center, center, right -45px bottom 36px;
    background-size: cover, cover, min(66vw, 930px) auto;
}

.hero__gitter {
    position: absolute;
    z-index: 0;
    inset: -70px;
    pointer-events: none;
    opacity: 0.66;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.046) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.046) 1px, transparent 1px);
    background-position:
        0 0,
        0 0;
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.94) 48%, rgba(0, 0, 0, 0.28) 72%, transparent 91%);
    mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.94) 48%, rgba(0, 0, 0, 0.28) 72%, transparent 91%);
    transform: skewY(-2.5deg) scale(1.08);
    transform-origin: center;
    will-change: background-position;
}

.hero__routen {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    opacity: 0.76;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 28%, #000 49%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 28%, #000 49%, #000 100%);
}

.hero__route {
    fill: none;
    stroke: rgba(85, 226, 232, 0.46);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-dasharray: 4 11;
    vector-effect: non-scaling-stroke;
}

.hero__route--zwei {
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.1;
}

.hero__route--drei {
    stroke: rgba(85, 226, 232, 0.3);
    stroke-width: 1.05;
}

.hero__routenpunkt {
    fill: #6ff7ff;
    opacity: 0;
    filter: drop-shadow(0 0 7px rgba(111, 247, 255, 0.9));
}

.hero__knoten {
    fill: #65e9ef;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px rgba(101, 233, 239, 0.78));
}

.hero__knoten--start {
    fill: var(--rot);
    filter: drop-shadow(0 0 7px rgba(230, 0, 36, 0.82));
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 7px;
    background: var(--rot);
}

.hero__innen {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--kopfhoehe) + 40px);
    padding-bottom: 88px;
}

.hero__inhalt {
    max-width: 980px;
}

.hero h1 {
    max-width: 980px;
    font-size: clamp(2.65rem, 4.5vw, 4.8rem);
    line-height: 1.04;
}

.hero h1 br {
    display: block;
}

@media (min-width: 641px) {
    .hero h1 {
        white-space: nowrap;
    }
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--tuerkis-hell);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--dunkel {
    color: #087f89;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.1;
    text-wrap: balance;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 7vw, 6.7rem);
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.25rem, 4.6vw, 4.3rem);
    letter-spacing: -0.045em;
}

h3 {
    margin-bottom: 14px;
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.hero__text {
    max-width: 720px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.schaltflaeche {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.schaltflaeche:hover,
.schaltflaeche:focus-visible {
    transform: translateY(-2px);
}

.schaltflaeche--primaer {
    color: var(--weiss);
    background: var(--rot);
    box-shadow: 0 16px 34px rgba(230, 0, 36, 0.25);
}

.schaltflaeche--primaer:hover,
.schaltflaeche--primaer:focus-visible {
    box-shadow: 0 20px 42px rgba(230, 0, 36, 0.34);
}

.schaltflaeche--sekundaer {
    color: var(--weiss);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
}

.schaltflaeche--sekundaer:hover,
.schaltflaeche--sekundaer:focus-visible {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.58);
}

.hero__daten {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.91rem;
}

.hero__daten span {
    position: relative;
}

.hero__daten span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    width: 3px;
    height: 3px;
    background: var(--tuerkis);
    border-radius: 50%;
}

.scrollhinweis {
    position: absolute;
    z-index: 4;
    bottom: 32px;
    left: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scrollhinweis span {
    position: relative;
    width: 1px;
    height: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.24);
}

.scrollhinweis span::after {
    content: "";
    position: absolute;
    inset: -100% 0 auto;
    height: 100%;
    background: var(--tuerkis-hell);
    animation: scrollimpuls 1.8s ease-in-out infinite;
}

@keyframes scrollimpuls {
    0% { transform: translateY(0); }
    70%, 100% { transform: translateY(200%); }
}


.kennzahlen {
    position: relative;
    z-index: 5;
    padding: 0 0 36px;
    background: var(--flaeche);
}

.kennzahlen__raster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -54px;
    overflow: hidden;
    background: var(--weiss);
    border: 1px solid rgba(7, 49, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 24px 65px rgba(4, 26, 33, 0.16);
}

.kennzahl {
    position: relative;
    min-height: 225px;
    padding: 38px clamp(28px, 4vw, 58px);
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 18%, rgba(0, 160, 173, 0.13), transparent 30%),
        var(--weiss);
}

.kennzahl + .kennzahl {
    border-left: 1px solid var(--linie);
}

.kennzahl::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -72px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(0, 160, 173, 0.16);
    border-radius: 50%;
}

.kennzahl__wert {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 2px;
    color: var(--nacht);
    font-size: clamp(3.4rem, 7vw, 6rem);
    font-weight: 880;
    letter-spacing: -0.065em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.kennzahl__wert--mit-praefix {
    gap: 13px;
}

.kennzahl__plus {
    color: var(--rot);
    font-size: 0.58em;
    letter-spacing: 0;
}

.kennzahl__praefix {
    color: #087f89;
    font-size: clamp(0.95rem, 1.7vw, 1.25rem);
    font-weight: 850;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.kennzahl p {
    position: relative;
    z-index: 1;
    margin: 0 0 2px;
    color: var(--nacht);
    font-size: clamp(1.18rem, 2vw, 1.5rem);
    font-weight: 820;
}

.kennzahl__hinweis {
    position: relative;
    z-index: 1;
    display: block;
    color: #63777c;
    font-size: 0.94rem;
}

.abschnitt {
    padding: clamp(82px, 10vw, 140px) 0;
}

.abschnitt--hell {
    background: var(--flaeche);
}

.abschnitt--dunkel {
    color: var(--weiss);
    background:
        radial-gradient(circle at 10% 80%, rgba(0, 160, 173, 0.15), transparent 30%),
        var(--nacht);
}

.abschnittskopf {
    max-width: 760px;
    margin: 0 auto clamp(46px, 7vw, 76px);
    text-align: center;
}

.abschnittskopf p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: #52666c;
    font-size: 1.08rem;
}

.abschnittskopf--links {
    margin: 0;
    text-align: left;
}

.abschnittskopf--links p:last-child {
    margin: 0;
}

.kartenraster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.leistungskarte {
    position: relative;
    min-height: 290px;
    padding: 34px;
    overflow: hidden;
    background: var(--weiss);
    border: 1px solid rgba(7, 49, 58, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(4, 40, 47, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leistungskarte::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -58px;
    width: 145px;
    height: 145px;
    background: linear-gradient(135deg, rgba(0, 160, 173, 0.14), rgba(230, 0, 36, 0.07));
    border-radius: 50%;
}

.leistungskarte:hover {
    transform: translateY(-7px);
    box-shadow: var(--schatten);
}

.leistungskarte__nummer {
    display: inline-block;
    margin-bottom: 58px;
    color: var(--tuerkis);
    font-size: 0.84rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.leistungskarte p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #5a6d72;
}

.unternehmen {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: start;
    gap: clamp(56px, 9vw, 120px);
}

.unternehmen__text p:not(.eyebrow) {
    max-width: 650px;
    color: var(--text-hell);
    font-size: 1.1rem;
}

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tuerkis-hell);
    font-weight: 800;
    text-decoration-thickness: 1px;
}

.textlink span {
    transition: transform 0.2s ease;
}

.textlink:hover span,
.textlink:focus-visible span {
    transform: translate(3px, -3px);
}

.textlink--dunkel {
    color: #087f89;
}

.fakten {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fakten div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.fakten dt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fakten dd {
    margin: 0;
    font-weight: 750;
}

.abschnitt--faq {
    background: var(--weiss);
}

.faq-raster {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(48px, 8vw, 110px);
}

.faq-liste {
    border-top: 1px solid var(--linie);
}

.faq-eintrag {
    border-bottom: 1px solid var(--linie);
}

.faq-eintrag summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 2px;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq-eintrag summary::-webkit-details-marker {
    display: none;
}

.faq-eintrag summary span {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.faq-eintrag summary span::before,
.faq-eintrag summary span::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 2px;
    width: 18px;
    height: 2px;
    background: var(--tuerkis);
    transition: transform 0.2s ease;
}

.faq-eintrag summary span::after {
    transform: rotate(90deg);
}

.faq-eintrag[open] summary span::after {
    transform: rotate(0);
}

.faq-antwort {
    padding: 0 50px 22px 2px;
    color: #5a6d72;
}

.faq-antwort p {
    margin: 0;
}

.kontakt {
    position: relative;
    overflow: hidden;
    color: var(--weiss);
    background: var(--tuerkis);
}

.kontakt::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -140px;
    width: 520px;
    height: 520px;
    border: 95px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.kontakt__raster {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
    align-items: center;
    gap: clamp(45px, 8vw, 100px);
}

.kontakt__intro .eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.kontakt__intro p:last-child {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.kontaktkarte {
    padding: clamp(28px, 5vw, 48px);
    color: var(--text);
    background: var(--weiss);
    border-radius: var(--radius);
    box-shadow: 0 28px 70px rgba(0, 61, 69, 0.22);
}

.kontaktkarte address {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
    font-style: normal;
}

.kontaktkarte address strong {
    margin-bottom: 5px;
    font-size: 1.35rem;
}

.kontaktkarte address span {
    color: #5c6d72;
}

.kontaktkarte__zeilen {
    border-top: 1px solid var(--linie);
}

.kontaktkarte__zeilen > * {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid var(--linie);
    text-decoration: none;
}

.kontaktkarte__zeilen span {
    color: #6b7a7e;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kontaktkarte__zeilen strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.kontaktkarte__zeilen a:hover strong,
.kontaktkarte__zeilen a:focus-visible strong {
    color: #087f89;
}

.fusszeile {
    color: rgba(255, 255, 255, 0.72);
    background: #031319;
}

.fusszeile__raster {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    gap: 50px;
    padding-top: 74px;
    padding-bottom: 58px;
}

.fuss-logo {
    display: block;
    width: min(300px, 100%);
    margin-bottom: 22px;
}

.fusszeile h2 {
    margin-bottom: 18px;
    color: var(--weiss);
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fusszeile p {
    max-width: 430px;
    margin: 0;
}

.fusszeile address {
    font-style: normal;
}

.fusszeile ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fusszeile li + li {
    margin-top: 8px;
}

.fusszeile a:hover,
.fusszeile a:focus-visible {
    color: var(--weiss);
}

.fusszeile__unten {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.ceis-werbung {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 114px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ceis-werbung picture,
.ceis-werbung img {
    display: block;
    width: 100%;
    height: auto;
}

.ceis-werbung img {
    filter: invert(1);
}

.ceis-werbung:hover,
.ceis-werbung:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
}

.nach-oben {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    color: var(--weiss);
    background: var(--nacht);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.nach-oben.ist-sichtbar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.recht-hero {
    padding: calc(var(--kopfhoehe) + 88px) 0 80px;
    color: var(--weiss);
    background:
        radial-gradient(circle at 80% 30%, rgba(0, 160, 173, 0.24), transparent 34%),
        var(--nacht);
    border-bottom: 6px solid var(--rot);
}

.recht-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 7vw, 6rem);
}

.recht-hero p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.08rem;
}

.rechtstext {
    max-width: 900px;
}

.rechtstext article {
    padding: 34px 0;
    border-bottom: 1px solid var(--linie);
}

.rechtstext article:first-child {
    padding-top: 0;
}

.rechtstext article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.rechtstext h2 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.025em;
}

.rechtstext p:last-child {
    margin-bottom: 0;
}

[data-einblenden] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-einblenden].ist-sichtbar {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #ffd15c;
    outline-offset: 4px;
}

@media (max-width: 980px) {
    :root {
        --kopfhoehe: 78px;
    }

    .menueknopf {
        display: block;
    }

    .hauptnavigation {
        position: fixed;
        inset: var(--kopfhoehe) 0 auto;
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 20px;
        color: var(--weiss);
        background: rgba(6, 29, 37, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.24);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .hauptnavigation.ist-offen {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hauptnavigation a {
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hauptnavigation a::after {
        display: none;
    }

    .nav-extern {
        margin-top: 10px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
    }

    .hero {
        min-height: 760px;
        align-items: start;
        background-image:
            linear-gradient(180deg, rgba(5, 28, 36, 0.98) 0%, rgba(5, 28, 36, 0.91) 48%, rgba(5, 28, 36, 0.35) 70%, rgba(5, 28, 36, 0.74) 100%),
            radial-gradient(circle at 72% 30%, rgba(0, 160, 173, 0.22), transparent 36%),
            url("../bilder/lkw.webp");
        background-position: center, center, center bottom 30px;
        background-size: cover, cover, min(1080px, 132vw) auto;
    }

    .hero__innen {
        padding-top: calc(var(--kopfhoehe) + 76px);
        padding-bottom: 330px;
    }

    .hero__inhalt {
        max-width: 820px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 4.8vw, 3.2rem);
    }

    .scrollhinweis {
        display: none;
    }

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

    .leistungskarte {
        min-height: auto;
    }

    .leistungskarte__nummer {
        margin-bottom: 34px;
    }

    .unternehmen,
    .faq-raster,
    .kontakt__raster {
        grid-template-columns: 1fr;
    }

    .kontakt__raster {
        gap: 38px;
    }

    .fusszeile__raster {
        grid-template-columns: 1.3fr 1fr;
    }

    .fusszeile__raster > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .kennzahlen__raster {
        margin-top: -40px;
    }

    .kennzahl {
        min-height: 205px;
        padding: 34px 30px;
    }

    .hero__gitter {
        opacity: 0.5;
        background-size: 42px 42px;
        -webkit-mask-image: linear-gradient(120deg, #000 0%, rgba(0, 0, 0, 0.78) 58%, transparent 94%);
        mask-image: linear-gradient(120deg, #000 0%, rgba(0, 0, 0, 0.78) 58%, transparent 94%);
    }

    .hero__routen {
        opacity: 0.55;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 18%, #000 47%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 18%, #000 47%, #000 100%);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .marke {
        width: 205px;
    }

    .hero {
        min-height: 820px;
        background-position: center, center, 60% bottom 30px;
        background-size: cover, cover, 150vw auto;
    }

    .hero__gitter {
        inset: -40px;
        opacity: 0.42;
        background-size: 38px 38px;
        transform: skewY(-2deg) scale(1.05);
    }

    .hero__routen {
        opacity: 0.42;
    }

    .hero__route--drei,
    .hero__routenpunkt[data-route-index="2"] {
        display: none;
    }

    .hero__innen {
        padding-top: calc(var(--kopfhoehe) + 48px);
        padding-bottom: 285px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 2.75rem);
        white-space: normal;
    }

    h1 {
        font-size: clamp(2.75rem, 14vw, 4.2rem);
    }

    h2 {
        font-size: clamp(2.05rem, 10vw, 3.1rem);
    }

    .hero__aktionen {
        display: grid;
    }

    .schaltflaeche {
        width: 100%;
    }

    .hero__daten {
        display: grid;
        gap: 2px;
    }

    .hero__daten span::after {
        display: none;
    }

    .kennzahlen {
        padding-bottom: 20px;
    }

    .kennzahlen__raster {
        grid-template-columns: 1fr;
        margin-top: -26px;
    }

    .kennzahl {
        min-height: 170px;
        padding: 28px;
    }

    .kennzahl + .kennzahl {
        border-top: 1px solid var(--linie);
        border-left: 0;
    }

    .kennzahl__wert {
        font-size: clamp(3.2rem, 18vw, 4.8rem);
    }

    .kennzahl__wert--mit-praefix {
        gap: 9px;
    }

    .kennzahl__praefix {
        font-size: 0.9rem;
    }

    .abschnitt {
        padding: 76px 0;
    }

    .leistungskarte {
        padding: 28px;
    }

    .fakten div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .faq-eintrag summary {
        font-size: 1rem;
    }

    .faq-antwort {
        padding-right: 10px;
    }

    .kontaktkarte {
        padding: 24px;
    }

    .kontaktkarte__zeilen > * {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .kontaktkarte__zeilen strong {
        text-align: left;
    }

    .fusszeile__raster {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 58px;
    }

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

    .fusszeile__unten {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .ceis-werbung {
        width: 108px;
    }

    .recht-hero {
        padding-top: calc(var(--kopfhoehe) + 62px);
        padding-bottom: 58px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__gitter {
        will-change: auto;
    }

    .hero__routenpunkt--bewegung {
        display: none;
    }

    [data-einblenden] {
        opacity: 1;
        transform: none;
    }
}

/* Eigene 404-Seite */
.seite-fehler .kopfzeile {
    background: rgba(6, 29, 37, 0.94);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.fehlerseite {
    min-height: 70vh;
}

.fehler-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 720px;
    padding: calc(var(--kopfhoehe) + 84px) 0 88px;
    color: var(--weiss);
    background:
        radial-gradient(circle at 78% 24%, rgba(0, 160, 173, 0.28), transparent 31%),
        linear-gradient(125deg, #061d25 0%, #082b35 54%, #04151b 100%);
    border-bottom: 6px solid var(--rot);
}

.fehler-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -180px;
    bottom: -230px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(255, 255, 255, 0.022),
        0 0 0 180px rgba(255, 255, 255, 0.014);
}

.fehler-hero__gitter {
    position: absolute;
    z-index: -1;
    inset: -80px;
    opacity: 0.55;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: skewY(-3deg) scale(1.08);
    animation: fehler-gitter-fahrt 13s linear infinite;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.85) 62%, transparent 96%);
    mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, 0.85) 62%, transparent 96%);
}

.fehler-hero__raster {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
    align-items: center;
    gap: clamp(34px, 6vw, 84px);
}

.fehler-hero__inhalt {
    position: relative;
    z-index: 3;
}

.fehler-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(3.35rem, 6vw, 6.3rem);
}

.fehler-hero__text {
    max-width: 680px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.fehler-status {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.9rem;
}

.fehler-status__signal {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    background: var(--rot);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(230, 0, 36, 0.55);
    animation: fehler-signal 1.8s ease-out infinite;
}

.fehler-hero__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fehler-szene {
    position: relative;
    min-height: 450px;
    align-self: end;
}

.fehler-lkw {
    position: absolute;
    z-index: 3;
    right: -120px;
    bottom: -52px;
    width: min(680px, 58vw);
    filter: drop-shadow(0 38px 30px rgba(0, 0, 0, 0.32));
    transform-origin: 58% 86%;
    animation: fehler-lkw-fahrt 4.6s ease-in-out infinite;
}

.fehler-lkw img {
    width: 100%;
}

.fehler-schild {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 3%;
    display: grid;
    justify-items: center;
    min-width: 132px;
    padding: 12px 20px 15px;
    color: var(--nacht);
    background: var(--weiss);
    border: 6px solid var(--rot);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    line-height: 1;
    transform: rotate(4deg);
    animation: fehler-schild-wackeln 4.6s ease-in-out infinite;
}

.fehler-schild::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 8px;
    height: 170px;
    background: repeating-linear-gradient(to bottom, #d8e1e3 0 22px, #7c8a8e 22px 44px);
    border-radius: 0 0 5px 5px;
}

.fehler-schild span,
.fehler-schild small {
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fehler-schild strong {
    margin: 5px 0;
    color: var(--rot);
    font-size: 3.1rem;
    letter-spacing: -0.07em;
}

.fehler-route {
    position: absolute;
    z-index: 1;
    right: 4%;
    bottom: 44px;
    left: 2%;
    height: 90px;
}

.fehler-route__linie {
    position: absolute;
    top: 42px;
    right: 24px;
    left: 24px;
    height: 4px;
    background: repeating-linear-gradient(90deg, rgba(59, 196, 204, 0.8) 0 18px, transparent 18px 32px);
    animation: fehler-route 1.1s linear infinite;
}

.fehler-route__punkt {
    position: absolute;
    z-index: 2;
    top: 31px;
    width: 24px;
    height: 24px;
    background: var(--nacht);
    border: 5px solid var(--tuerkis-hell);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(59, 196, 204, 0.12);
}

.fehler-route__punkt--start {
    left: 0;
}

.fehler-route__punkt--ziel {
    right: 0;
    border-color: var(--rot);
    box-shadow: 0 0 0 8px rgba(230, 0, 36, 0.12);
}

.fehler-hilfe__raster {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1.3fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.fehler-hilfe h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087f89;
    font-weight: 850;
    text-decoration: none;
}

.textlink span {
    transition: transform 0.2s ease;
}

.textlink:hover span,
.textlink:focus-visible span {
    transform: translateX(5px);
}

.fehler-ceis {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: clamp(28px, 4vw, 44px);
    color: var(--weiss);
    background:
        linear-gradient(135deg, rgba(0, 160, 173, 0.18), transparent 52%),
        var(--nacht);
    border-radius: var(--radius);
    box-shadow: var(--schatten);
}

.fehler-ceis__logo {
    display: block;
    width: 100%;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fehler-ceis__logo img {
    width: 100%;
    filter: invert(1);
}

.fehler-ceis__logo:hover,
.fehler-ceis__logo:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
}

.fehler-ceis__kicker {
    margin-bottom: 8px;
    color: var(--tuerkis-hell);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fehler-ceis h2 {
    margin-bottom: 13px;
    font-size: clamp(1.55rem, 2.4vw, 2.3rem);
    letter-spacing: -0.035em;
}

.fehler-ceis p:not(.fehler-ceis__kicker) {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.72);
}

@keyframes fehler-gitter-fahrt {
    to {
        background-position: 48px 96px, 48px 96px;
    }
}

@keyframes fehler-route {
    to {
        background-position: 32px 0;
    }
}

@keyframes fehler-signal {
    70%, 100% {
        box-shadow: 0 0 0 10px rgba(230, 0, 36, 0);
    }
}

@keyframes fehler-lkw-fahrt {
    0%, 100% {
        transform: translateY(0) rotate(-0.2deg);
    }
    50% {
        transform: translateY(-7px) rotate(0.15deg);
    }
}

@keyframes fehler-schild-wackeln {
    0%, 100% {
        transform: rotate(4deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@media (max-width: 980px) {
    .fehler-hero {
        min-height: auto;
    }

    .fehler-hero__raster,
    .fehler-hilfe__raster {
        grid-template-columns: 1fr;
    }

    .fehler-szene {
        min-height: 390px;
    }

    .fehler-lkw {
        right: -70px;
        width: min(720px, 88vw);
    }

    .fehler-schild {
        right: 10%;
    }

    .fehler-hilfe__raster {
        gap: 38px;
    }
}

@media (max-width: 640px) {
    .fehler-hero {
        padding-top: calc(var(--kopfhoehe) + 54px);
        padding-bottom: 54px;
    }

    .fehler-hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.25rem);
    }

    .fehler-status {
        align-items: flex-start;
        border-radius: 18px;
    }

    .fehler-status__signal {
        margin-top: 6px;
    }

    .fehler-hero__aktionen {
        display: grid;
    }

    .fehler-szene {
        min-height: 300px;
    }

    .fehler-lkw {
        right: -78px;
        bottom: -15px;
        width: min(650px, 125vw);
    }

    .fehler-schild {
        top: 0;
        right: 3%;
        min-width: 105px;
        padding: 10px 14px 12px;
        border-width: 4px;
    }

    .fehler-schild strong {
        font-size: 2.35rem;
    }

    .fehler-schild::after {
        height: 120px;
    }

    .fehler-route {
        right: 2%;
        bottom: 24px;
    }

    .fehler-ceis {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fehler-ceis__logo {
        width: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fehler-hero__gitter,
    .fehler-status__signal,
    .fehler-lkw,
    .fehler-schild,
    .fehler-route__linie {
        animation: none !important;
    }
}
