/* ===========================================================================
   DS SPORTWAGEN – ds-sportwagen.de
   ---------------------------------------------------------------------------
   Farben, Schriften und Formensprache sind identisch mit dem Shop-Theme
   (DsSportwagenTheme), damit Website und Shop als ein Auftritt wirken.

   Aufbau:
     1  Stellschrauben
     2  Grundlagen
     3  Bausteine (Buttons, Abschnitte, Überschriften)
     4  Kopfbereich und Navigation
     5  Hero
     6  Inhaltsbausteine
     7  Formulare
     8  Fußbereich
     9  Bewegung und Reveal
    10  Responsive
    11  Reduzierte Bewegung und Druck
   =========================================================================== */

/* ===========================================================================
   SCHRIFT
   ---------------------------------------------------------------------------
   Oswald liegt lokal unter assets/fonts/ (SIL Open Font License, siehe
   OFL.txt dort). Dadurch lädt die Seite schneller und es gehen keine
   Besucherdaten an Google – die Datenschutzerklärung bleibt dadurch kürzer.
   =========================================================================== */
@font-face {
    font-family: "Oswald";
    src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Oswald";
    src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Oswald";
    src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===========================================================================
   1  STELLSCHRAUBEN
   =========================================================================== */
:root {
    /* Farben – identisch mit dem Shop-Theme */
    --ds-red:      #e2001a;   /* CI-Rot – vom Kunden noch zu bestätigen */
    --ds-red-hot:  #ff2a3d;
    --ds-bg:       #0d0f13;
    --ds-panel:    #15181e;
    --ds-header:   #0a0c10;
    --ds-steel:    #262c37;
    --ds-amber:    #ffb020;
    --ds-green:    #2fd06b;
    --ds-ink:      #f4f6f9;
    --ds-text:     #c9d1db;
    --ds-mute:     #8f99a7;

    /* Schriften – Oswald wird in der HTML-Datei geladen */
    --ds-font-display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, system-ui, sans-serif;
    --ds-font-mono:    ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --ds-font-body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Raster */
    --ds-max: 1340px;
    --ds-pad: clamp(20px, 5vw, 68px);
    --ds-header-h: 84px;
}

/* ===========================================================================
   2  GRUNDLAGEN
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--ds-bg);
    color: var(--ds-text);
    font-family: var(--ds-font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Filmkorn über allem – nimmt dem Dunkel das Digitale */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: .2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.5'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

::selection { background: var(--ds-red); color: #fff; }

/* Sprungmarke für Tastaturnutzer */
.ds-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    padding: 14px 22px;
    background: var(--ds-red);
    color: #fff;
    font-family: var(--ds-font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.ds-skip:focus { left: 0; }

/* ===========================================================================
   3  BAUSTEINE
   =========================================================================== */
.ds-wrap {
    max-width: var(--ds-max);
    margin-inline: auto;
    padding-inline: var(--ds-pad);
}

.ds-display {
    font-family: var(--ds-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -.025em;
    /* 1.02 statt enger: bei weniger rutschen die Punkte von Ä, Ö und Ü
       in die Zeile darüber. Auf einer deutschen Seite fällt das sofort auf. */
    line-height: 1.1;
    margin: 0;
    color: var(--ds-ink);
}

.ds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-family: var(--ds-font-mono);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ds-mute);
}
.ds-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--ds-red);
}

/* ------------------------------------------------------------- Buttons --- */
.ds-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 34px;
    border: 2px solid transparent;
    font-family: var(--ds-font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transform: skewX(-11deg);
    overflow: hidden;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}
.ds-btn > span {
    position: relative;
    z-index: 2;
    transform: skewX(11deg);
}
/* Beim Hover läuft Weiß ein; die Schrift nimmt die vorherige Buttonfarbe an */
.ds-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ds-ink);
    transform: translateX(-101%);
    transition: transform .34s cubic-bezier(.65, 0, .35, 1);
}
.ds-btn:hover::before { transform: translateX(0); }

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

.ds-btn--ghost { border-color: var(--ds-steel); color: var(--ds-ink); }
.ds-btn--ghost:hover { border-color: var(--ds-ink); color: var(--ds-bg); }

.ds-btn--dark { background: var(--ds-header); color: #fff; }
.ds-btn--dark:hover { color: var(--ds-header); }

/* ---------------------------------------------------------- Abschnitte --- */
.ds-section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.ds-section--tint { background: #0a0c10; }
.ds-section--panel { background: var(--ds-panel); }

.ds-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: clamp(36px, 5vw, 60px);
}
.ds-head h2 { font-size: clamp(32px, 5vw, 68px); }
.ds-head p {
    max-width: 44ch;
    margin: 0;
    color: var(--ds-mute);
    font-size: 16px;
}

/* ===========================================================================
   4  KOPFBEREICH UND NAVIGATION
   =========================================================================== */
.ds-header {
    position: sticky;
    top: 0;
    z-index: 150;
    background: rgba(10, 12, 16, .9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ds-steel);
    transition: background-color .3s ease;
}
.ds-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--ds-header-h);
}

/* Firmenlogo als Bilddatei (weiße Variante für den dunklen Grund) */
.ds-logo { display: flex; align-items: center; flex: 0 0 auto; }
.ds-logo img {
    height: clamp(30px, 3.2vw, 40px);
    width: auto;
    transition: opacity .2s ease;
}
.ds-logo:hover img { opacity: .82; }

.ds-nav { display: flex; align-items: center; gap: 4px; }
.ds-nav__link {
    position: relative;
    padding: 10px 15px;
    font-family: var(--ds-font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ds-text);
    transition: color .22s ease;
}
.ds-nav__link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 2px;
    height: 3px;
    background: var(--ds-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.ds-nav__link:hover,
.ds-nav__link[aria-current="page"] { color: #fff; }
.ds-nav__link:hover::after,
.ds-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Shop-Link hebt sich ab – er führt aus der Seite heraus */
.ds-nav__shop {
    margin-left: 8px;
    padding: 11px 20px;
    background: var(--ds-red);
    color: #fff;
    font-family: var(--ds-font-display);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: skewX(-11deg);
    transition: background-color .25s ease, color .25s ease;
}
.ds-nav__shop span { display: block; transform: skewX(11deg); }
.ds-nav__shop:hover { background: #fff; color: var(--ds-red); }

/* ------------------------------------------------- Mobile Navigation --- */
.ds-burger {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--ds-steel);
    cursor: pointer;
}
.ds-burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--ds-ink);
    transition: transform .3s ease, opacity .25s ease;
}
.ds-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ds-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ds-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ds-mobilenav {
    position: fixed;
    inset: var(--ds-header-h) 0 0 0;
    z-index: 140;
    display: none;
    flex-direction: column;
    padding: 28px var(--ds-pad) 40px;
    background: var(--ds-bg);
    overflow-y: auto;
}
.ds-mobilenav.is-open { display: flex; }
.ds-mobilenav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--ds-steel);
    font-family: var(--ds-font-display);
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ds-ink);
}
.ds-mobilenav a:hover { color: var(--ds-red); }
.ds-mobilenav .ds-btn { margin-top: 28px; width: 100%; }

body.ds-nav-open { overflow: hidden; }

/* ===========================================================================
   5  HERO
   =========================================================================== */
.ds-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92svh, 860px);
    padding: clamp(70px, 9vw, 120px) 0;
    overflow: hidden;
}
.ds-hero__bg {
    position: absolute;
    inset: -6% 0;
    background-color: #0a0c0f;
    background-size: cover;
    background-position: center 55%;
    will-change: transform;
}
/* Das Heromotiv ist das erste sichtbare Bild und bestimmt damit, wann
   Google die Seite als geladen zählt. Es liegt deshalb als <img> im
   Dokument: so sieht der Browser es schon beim Lesen des HTML und muss
   nicht erst das Stylesheet auswerten. */
.ds-hero__bg picture { display: block; width: 100%; height: 100%; }
.ds-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}
.ds-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(9,11,14,.97) 0%, rgba(9,11,14,.87) 38%, rgba(9,11,14,.3) 76%, rgba(9,11,14,.62) 100%),
        linear-gradient(180deg, rgba(9,11,14,.85) 0%, transparent 26%, rgba(9,11,14,.96) 100%);
}
/* Scanlines – Anmutung einer Instrumententafel */
.ds-hero__veil::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.026) 0 1px, transparent 1px 4px);
}
.ds-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
}
/* Der Text bleibt auf der linken Seite, damit rechts das Bild wirkt */
.ds-hero__text { max-width: 54rem; }
.ds-hero h1 { font-size: clamp(44px, 8.6vw, 124px); }
.ds-hero h1 em { font-style: normal; color: var(--ds-red); display: block; }

/* Zeilenweiser Aufzug beim Laden */
/* Der Aufzug beim Laden braucht overflow:hidden – deshalb oben etwas
   Luft, damit die Umlautpunkte nicht abgeschnitten werden. */
.ds-line { display: block; overflow: hidden; padding-top: .08em; }
.ds-line > span {
    display: block;
    transform: translateY(105%);
    transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}
body.is-ready .ds-line > span { transform: none; }
body.is-ready .ds-line:nth-child(2) > span { transition-delay: .09s; }
body.is-ready .ds-line:nth-child(3) > span { transition-delay: .18s; }

.ds-hero__sub {
    max-width: 46ch;
    margin: 28px 0 34px;
    font-size: clamp(16px, 1.55vw, 19px);
    color: #ccd3dc;
}
.ds-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.ds-hero__sub,
.ds-hero__cta {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
}
body.is-ready .ds-hero__sub { opacity: 1; transform: none; transition-delay: .4s; }
body.is-ready .ds-hero__cta { opacity: 1; transform: none; transition-delay: .55s; }

/* Kopfzeile kleiner Seiten */
.ds-pagehead {
    position: relative;
    padding: clamp(70px, 9vw, 120px) 0 clamp(44px, 6vw, 72px);
    border-bottom: 1px solid var(--ds-steel);
    background: linear-gradient(180deg, #0a0c10, var(--ds-bg));
    overflow: hidden;
}
.ds-pagehead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: min(420px, 45%);
    height: 3px;
    background: var(--ds-red);
}
.ds-pagehead h1 { font-size: clamp(38px, 6.5vw, 86px); }
.ds-pagehead p {
    max-width: 58ch;
    margin: 20px 0 0;
    color: var(--ds-mute);
    font-size: 17px;
}

/* --------------------------------------------------- Drehzahlmesser --- */
/* Liegt fest unten rechts und folgt beim Scrollen den Abschnitten.
   Links neben dem WhatsApp-Knopf, damit sich beide nicht überlagern. */
.ds-tacho {
    position: fixed;
    right: clamp(16px, 2.5vw, 30px);
    bottom: calc(clamp(16px, 2.5vw, 30px) + 74px);
    z-index: 155;
    width: clamp(132px, 13vw, 176px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(.92);
    transition: opacity .6s ease .6s, transform .6s cubic-bezier(.2, .8, .3, 1) .6s;
}
body.is-ready .ds-tacho { opacity: 1; transform: none; }
.ds-tacho canvas { width: 100%; height: auto; }

.ds-shift {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}
.ds-shift i {
    width: 11px;
    height: 5px;
    background: #1e222a;
    transition: background-color .1s linear, box-shadow .1s linear;
}
.ds-tacho[data-shift="1"] .ds-shift i:nth-child(-n+2),
.ds-tacho[data-shift="2"] .ds-shift i:nth-child(-n+4),
.ds-tacho[data-shift="3"] .ds-shift i {
    background: var(--ds-amber);
    box-shadow: 0 0 9px rgba(255, 176, 32, .9);
}
.ds-tacho[data-shift="3"] .ds-shift i {
    background: var(--ds-red-hot);
    box-shadow: 0 0 14px rgba(255, 42, 61, 1);
    animation: ds-blink .16s steps(1) infinite;
}
@keyframes ds-blink { 50% { opacity: .25; } }

/* ===========================================================================
   6  INHALTSBAUSTEINE
   =========================================================================== */

/* ------------------------------------------------- Leistungs-Kacheln --- */
.ds-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
}
.ds-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    padding: 32px;
    background: var(--ds-panel);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.ds-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #14171d;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: grayscale(.55) contrast(1.05);
    transition: transform .8s cubic-bezier(.2, .8, .3, 1), filter .5s ease;
}
.ds-card:hover .ds-card__img { transform: scale(1.13); filter: grayscale(0) contrast(1.05); }
.ds-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,16,.12) 28%, rgba(10,12,16,.95) 100%);
}
.ds-card__body { position: relative; z-index: 2; }
.ds-card h3 {
    margin: 0 0 10px;
    font-family: var(--ds-font-display);
    /* Begrenzt, damit lange Wörter wie "Auspuffanlagen" in die Kachel passen */
    font-size: clamp(22px, 2.1vw, 29px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--ds-ink);
    overflow-wrap: break-word;
    hyphens: auto;
}
.ds-card p {
    margin: 0 0 20px;
    color: #c6ccd5;
    font-size: 15px;
    overflow-wrap: break-word;
}
.ds-card__go {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ds-font-display);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ds-red);
}
.ds-card__go i {
    width: 26px;
    height: 2px;
    background: var(--ds-red);
    transition: width .3s ease;
}
.ds-card:hover .ds-card__go i { width: 46px; }

/* ----------------------------------------------------------- Split ----- */
.ds-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(30px, 5vw, 78px);
    align-items: center;
}
.ds-split--flip .ds-split__media { order: 2; }
.ds-split__media {
    position: relative;
    min-height: 480px;
    border: 1px solid var(--ds-steel);
    overflow: hidden;
}
.ds-split__media i {
    position: absolute;
    inset: -10% 0;
    background-color: #14171d;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Dasselbe für echte Bilder. Die Motive liegen als <img> im Dokument und
   nicht als CSS-Hintergrund, damit Google sie über die Bildersuche findet
   und der Alternativtext mitzählt. Das Verhalten bleibt gleich: füllend
   beschnitten, mit etwas Überstand für die Parallaxbewegung. */
.ds-split__media img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    background-color: #14171d;
    will-change: transform;
}
.ds-split h2 { font-size: clamp(30px, 4.4vw, 58px); margin-bottom: 22px; }
.ds-split p { color: var(--ds-mute); margin: 0 0 26px; }

/* ------------------------------------------------------------ Listen --- */
.ds-list { list-style: none; margin: 0 0 34px; padding: 0; }
.ds-list li {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--ds-steel);
    font-size: 16px;
}
.ds-list li:last-child { border-bottom: 1px solid var(--ds-steel); }
.ds-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    background: var(--ds-red);
    transform: skewX(-14deg);
}

/* ------------------------------------------------------- Kennzeichen --- */
/* Aufgegriffen aus der Shop-Startseite: Marken als deutsche Nummernschilder */
.ds-plates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 14px;
    perspective: 900px;
}
.ds-plate {
    position: relative;
    display: flex;
    align-items: center;
    height: 68px;
    background: linear-gradient(180deg, #fbfcfd, #dfe3e8);
    border: 2px solid #0d0f13;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}
.ds-plate::before {
    content: "D";
    flex: 0 0 32px;
    align-self: stretch;
    display: grid;
    place-items: end center;
    padding-bottom: 7px;
    background: linear-gradient(180deg, #1c3faa, #16337f);
    color: #fff;
    font-family: var(--ds-font-display);
    font-size: 12px;
    font-weight: 700;
}
.ds-plate::after {
    content: "★★★";
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    text-align: center;
    font-size: 6px;
    letter-spacing: 1px;
    color: #ffcc00;
}
.ds-plate__name {
    flex: 1;
    padding: 0 12px;
    font-family: var(--ds-font-display);
    font-size: clamp(17px, 1.9vw, 23px);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #101317;
}
.ds-plate:hover {
    transform: rotateX(9deg) rotateY(-5deg) translateY(-5px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .62);
}
.ds-plate__flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.85) 50%, transparent 62%);
    transform: translateX(-110%);
    transition: transform .55s ease;
}
.ds-plate:hover .ds-plate__flash { transform: translateX(110%); }

/* ----------------------------------------------------------- Projekte -- */
.ds-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.ds-project {
    position: relative;
    padding: 32px;
    background: var(--ds-panel);
    border: 1px solid var(--ds-steel);
    transition: border-color .3s ease, transform .3s cubic-bezier(.2, .8, .3, 1);
}
.ds-project:hover { border-color: #414b5c; transform: translateY(-5px); }
.ds-project::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--ds-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}
.ds-project:hover::before { transform: scaleX(1); }
.ds-project__tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    background: rgba(226, 0, 26, .14);
    border: 1px solid rgba(226, 0, 26, .4);
    font-family: var(--ds-font-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ds-red-hot);
}
.ds-project h3 {
    margin: 0 0 12px;
    font-family: var(--ds-font-display);
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--ds-ink);
}
.ds-project p { margin: 0; font-size: 15px; color: var(--ds-mute); }

/* Zwei ausführliche Projektkarten nebeneinander statt drei knapper */
.ds-projects--zwei { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

.ds-project--gross { padding: 38px 36px; }
.ds-project--gross h3 { font-size: clamp(27px, 3vw, 34px); }

/* Die Karten im Raster sind gleich hoch, die Teilelisten aber
   unterschiedlich lang. Als Spalte gesetzt, sitzt die Galerie am unteren
   Rand – sonst hängt bei der kürzeren Karte ein Loch darunter. */
.ds-project--gross { display: flex; flex-direction: column; }
.ds-project--gross .ds-galerie { margin-top: auto; padding-top: 28px; }

/* Zwischenüberschrift über der Teileliste */
.ds-project__label {
    margin: 26px 0 4px !important;
    font-family: var(--ds-font-mono);
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ds-ink) !important;
}

/* Engere Variante der Strichliste – innerhalb einer Karte */
.ds-list--eng { margin-bottom: 0; }
.ds-list--eng li { padding: 11px 0; font-size: 15px; }
.ds-list--eng li:last-child { border-bottom: 0; }

/* ------------------------------------------------- Projektgalerie --- */
/* Raster aus Vorschaubildern unter der Teileliste. Die Kacheln sind
   Schaltflächen, keine Verweise: sie führen nirgendwohin, sondern öffnen
   das Bild groß. Tastaturbedienung und Vorlesen stimmen damit von selbst. */
.ds-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(132px, 30%), 1fr));
    gap: 8px;
    margin-top: 28px;
}
.ds-galerie__kachel {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--ds-steel);
    background: #14171d;
    cursor: zoom-in;
    transition: border-color .25s ease;
}
.ds-galerie__kachel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(.4) contrast(1.04);
    transform: scale(1.02);
    transition: transform .55s cubic-bezier(.2, .8, .3, 1), filter .35s ease;
}
.ds-galerie__kachel:hover img,
.ds-galerie__kachel:focus-visible img {
    transform: scale(1.1);
    filter: grayscale(0) contrast(1.04);
}
.ds-galerie__kachel:hover { border-color: var(--ds-red); }
.ds-galerie__kachel:focus-visible {
    outline: 2px solid var(--ds-red-hot);
    outline-offset: 2px;
}

/* ------------------------------------------------ Großansicht (Lupe) --- */
.ds-lupe {
    padding: 0;
    border: 0;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
}
/* Die Unschärfe nimmt der Seite dahinter die Kontur, sonst liest man
   die Navigation durch und das Bild steht nicht für sich. */
.ds-lupe::backdrop {
    background: rgba(6, 8, 11, .96);
    backdrop-filter: blur(6px);
}
/* Kräftige Farbflächen leuchten durch den abgedunkelten Hintergrund.
   Solange das Bild offen ist, treten sie ab. */
.ds-whatsapp, .ds-tacho { transition: opacity .25s ease; }
.lupe-offen .ds-whatsapp,
.lupe-offen .ds-tacho { opacity: 0; pointer-events: none; }

.ds-lupe__buehne {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: clamp(50px, 7vh, 80px) clamp(14px, 7vw, 92px);
    box-sizing: border-box;
}
.ds-lupe__buehne img {
    max-width: 100%;
    /* Platz für die Bildunterschrift freilassen, sonst schiebt sie das
       Bild bei flachen Fenstern aus dem sichtbaren Bereich. */
    max-height: calc(100% - 46px);
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--ds-steel);
    background: #14171d;
}
.ds-lupe__buehne figcaption {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    text-align: center;
    max-width: 70ch;
}
.ds-lupe__text { color: var(--ds-text); font-size: 15px; line-height: 1.5; }
.ds-lupe__zahl {
    font-family: var(--ds-font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--ds-mute);
    white-space: nowrap;
}

.ds-lupe__zu,
.ds-lupe__pfeil {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--ds-ink);
    background: rgba(21, 24, 30, .88);
    border: 1px solid var(--ds-steel);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ds-lupe__zu svg, .ds-lupe__pfeil svg { width: 22px; height: 22px; }
.ds-lupe__zu:hover,
.ds-lupe__pfeil:hover {
    background: var(--ds-red);
    border-color: var(--ds-red);
    color: #fff;
}
.ds-lupe__zu:focus-visible,
.ds-lupe__pfeil:focus-visible {
    outline: 2px solid var(--ds-red-hot);
    outline-offset: 2px;
}
.ds-lupe__zu { top: clamp(12px, 2.5vh, 24px); right: clamp(12px, 2.5vw, 24px); }
.ds-lupe__pfeil { top: 50%; transform: translateY(-50%); }
.ds-lupe__pfeil--zurueck { left: clamp(8px, 2vw, 24px); }
.ds-lupe__pfeil--weiter  { right: clamp(8px, 2vw, 24px); }
.ds-lupe__pfeil[hidden]  { display: none; }

/* Auf schmalen Geräten wandern die Pfeile nach unten neben die
   Bildunterschrift – am Rand verdecken sie sonst das Bild. */
@media (max-width: 560px) {
    .ds-lupe__pfeil { top: auto; bottom: 14px; transform: none; }
    .ds-lupe__buehne { padding-bottom: 76px; }
}

/* ----------------------------------------------------------- Partner --- */
.ds-partners {
    display: grid;
    /* 190px ergibt bei voller Breite sechs Spalten. Mit zwölf Einträgen
       geht das Raster auf jeder Stufe auf (6, 4, 3, 2) – keine Lücken. */
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 2px;
    background: var(--ds-steel);
    border: 1px solid var(--ds-steel);
}
.ds-partner {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 20px 14px;
    background: var(--ds-panel);
    font-family: var(--ds-font-display);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-align: center;
    color: var(--ds-mute);
    transition: color .28s ease, background-color .28s ease;
}
.ds-partner:hover { color: var(--ds-ink); background: #1d222b; }

/* ------------------------------------------------------- Zahlenband --- */
.ds-facts {
    border-block: 1px solid var(--ds-steel);
    background: var(--ds-panel);
}
.ds-facts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.ds-facts__item {
    padding: 30px var(--ds-pad);
    border-right: 1px solid var(--ds-steel);
}
.ds-facts__item:last-child { border-right: 0; }
.ds-facts__item strong {
    display: block;
    margin-bottom: 5px;
    font-family: var(--ds-font-display);
    font-size: 18px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ds-ink);
}
.ds-facts__item span { font-size: 14px; color: var(--ds-mute); }

/* ------------------------------------------------- Drei Schritte ------- */
/* Nummeriert, weil die Reihenfolge hier tatsächlich eine ist:
   erst beraten, dann einbauen, dann eintragen. */
.ds-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2px;
    background: var(--ds-steel);
    border: 1px solid var(--ds-steel);
}
.ds-step {
    position: relative;
    padding: 36px 32px 34px;
    background: var(--ds-panel);
    transition: background-color .3s ease;
}
.ds-step:hover { background: #1b2029; }
.ds-step__nr {
    display: block;
    margin-bottom: 18px;
    font-family: var(--ds-font-display);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--ds-red);
}
.ds-step h3 {
    margin: 0 0 12px;
    font-family: var(--ds-font-display);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--ds-ink);
}
.ds-step p { margin: 0; font-size: 15px; color: var(--ds-mute); }

/* -------------------------------------------------------- Stimmen ----- */
.ds-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.ds-quote {
    position: relative;
    padding: 32px 30px 30px;
    background: var(--ds-panel);
    border: 1px solid var(--ds-steel);
}
.ds-quote::before {
    content: "„";
    position: absolute;
    top: 6px;
    left: 20px;
    font-family: var(--ds-font-display);
    font-size: 76px;
    line-height: 1;
    color: rgba(226, 0, 26, .3);
}
.ds-quote p {
    position: relative;
    margin: 0 0 18px;
    font-size: 16px;
    color: var(--ds-text);
}
.ds-quote footer {
    font-family: var(--ds-font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ds-mute);
}

/* ---------------------------------------------------------- CTA-Band --- */
.ds-cta {
    position: relative;
    padding-block: clamp(70px, 10vw, 130px);
    background: var(--ds-red);
    color: #fff;
    overflow: hidden;
}
.ds-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .55;
    background: repeating-linear-gradient(112deg, rgba(0,0,0,.17) 0 3px, transparent 3px 24px);
}
.ds-cta__inner { position: relative; z-index: 2; }
.ds-cta h2 { margin-bottom: 18px; font-size: clamp(32px, 5.6vw, 82px); color: #fff; }
.ds-cta p {
    max-width: 50ch;
    margin: 0 0 34px;
    font-size: 17px;
    color: rgba(255, 255, 255, .92);
}
.ds-cta .ds-eyebrow { color: rgba(255, 255, 255, .8); }
.ds-cta .ds-eyebrow::before { background: #fff; }
.ds-cta__row { display: flex; flex-wrap: wrap; gap: 14px; }
.ds-cta .ds-btn--ghost { border-color: rgba(255, 255, 255, .5); }
.ds-cta .ds-btn--ghost:hover { border-color: #fff; color: var(--ds-red); }

/* ------------------------------------------------------ Infokästen ----- */
.ds-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.ds-infobox {
    padding: 30px;
    background: var(--ds-panel);
    border: 1px solid var(--ds-steel);
    border-top: 3px solid var(--ds-red);
}
.ds-infobox h3 {
    margin: 0 0 16px;
    font-family: var(--ds-font-display);
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ds-ink);
}
.ds-infobox p { margin: 0 0 10px; font-size: 15px; }
.ds-infobox a { color: var(--ds-red-hot); }
.ds-infobox a:hover { color: #fff; }

/* ------------------------------------------- Häufige Fragen (details) ---
   Das Aufklappen übernimmt der Browser über <details>. Kein JavaScript,
   die Tastaturbedienung ist von Haus aus richtig, und die Antworten
   stehen vollständig im Quelltext – auch zugeklappt. */
.ds-faq {
    border-top: 1px solid var(--ds-steel);
    max-width: 920px;
}
.ds-faq__item { border-bottom: 1px solid var(--ds-steel); }
.ds-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 2px;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
}
/* Das Standarddreieck weg, wir zeichnen ein eigenes Zeichen */
.ds-faq__item summary::-webkit-details-marker { display: none; }
.ds-faq__item summary::marker { content: ""; }
.ds-faq__item summary h3 {
    margin: 0;
    font-family: var(--ds-font-display);
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--ds-ink);
    transition: color .2s ease;
}
.ds-faq__item:hover summary h3,
.ds-faq__item[open] summary h3 { color: var(--ds-red-hot); }

/* Plus, das beim Aufklappen zum Minus wird */
.ds-faq__zeichen {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}
.ds-faq__zeichen::before,
.ds-faq__zeichen::after {
    content: "";
    position: absolute;
    background: var(--ds-red);
    transition: transform .25s ease, opacity .25s ease;
}
.ds-faq__zeichen::before { inset: 8px 0 8px 0; height: 2px; }
.ds-faq__zeichen::after  { inset: 0 8px 0 8px; width: 2px; }
.ds-faq__item[open] .ds-faq__zeichen::after { transform: rotate(90deg); opacity: 0; }

.ds-faq__text { padding: 0 2px 26px; }
.ds-faq__text p {
    margin: 0;
    max-width: 68ch;
    color: var(--ds-text);
    font-size: 16px;
    line-height: 1.7;
}
.ds-faq__item summary:focus-visible {
    outline: 2px solid var(--ds-red-hot);
    outline-offset: 3px;
}

/* Beschriftete Kanalliste – im Fußbereich stehen nur die Zeichen,
   auf der Kontaktseite sollen die Namen dabeistehen. */
.ds-kanaele { list-style: none; margin: 0; padding: 0; }
.ds-kanaele li { margin-bottom: 2px; }
.ds-kanaele a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 0;
    border-bottom: 1px solid var(--ds-steel);
    font-size: 15px;
    color: var(--ds-text);
    transition: color .22s ease;
}
.ds-kanaele li:last-child a { border-bottom: 0; }
.ds-kanaele a:hover { color: var(--ds-red-hot); }
.ds-kanaele svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    fill: var(--ds-mute);
    transition: fill .22s ease;
}
.ds-kanaele a:hover svg { fill: var(--ds-red); }

/* Öffnungszeiten */
.ds-hours { width: 100%; border-collapse: collapse; font-size: 15px; }
/* Im Fußbereich ist die Spalte schmal – dort kompakter setzen, sonst
   bricht jede Zeile um und die Tabelle wird unnötig hoch. */
.ds-footer__col .ds-hours { font-size: 13px; }
.ds-footer__col .ds-hours th,
.ds-footer__col .ds-hours td { padding: 8px 0; line-height: 1.35; }
.ds-hours th,
.ds-hours td {
    padding: 11px 0;
    border-bottom: 1px solid var(--ds-steel);
    text-align: left;
    font-weight: 400;
}
.ds-hours th { color: var(--ds-ink); font-family: var(--ds-font-display); letter-spacing: .04em; text-transform: uppercase; }
.ds-hours td { text-align: right; color: var(--ds-mute); font-variant-numeric: tabular-nums; }
.ds-hours tr:last-child th,
.ds-hours tr:last-child td { border-bottom: 0; }
.ds-hours .is-closed td { color: var(--ds-red); }
.ds-hours tr.is-today th,
.ds-hours tr.is-today td { color: #fff; }
.ds-hours tr.is-today th::after {
    content: "heute";
    margin-left: 10px;
    padding: 2px 8px;
    background: var(--ds-red);
    color: #fff;
    font-family: var(--ds-font-mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ---------------------------------------------------------- Fließtext -- */
.ds-prose { max-width: 72ch; }
.ds-prose h2 {
    margin: 48px 0 18px;
    font-family: var(--ds-font-display);
    font-size: clamp(24px, 3vw, 34px);
    text-transform: uppercase;
    letter-spacing: -.01em;
    color: var(--ds-ink);
}
.ds-prose h2:first-child { margin-top: 0; }
.ds-prose h3 {
    margin: 32px 0 12px;
    font-family: var(--ds-font-display);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--ds-ink);
}
.ds-prose p { margin: 0 0 16px; }
.ds-prose ul { margin: 0 0 20px; padding-left: 22px; }
.ds-prose li { margin-bottom: 8px; }
.ds-prose a { color: var(--ds-red-hot); text-decoration: underline; text-underline-offset: 3px; }
.ds-prose a:hover { color: #fff; }
.ds-prose strong { color: var(--ds-ink); }

/* -------------------------------------------------------------- Karte -- */
.ds-map {
    border: 1px solid var(--ds-steel);
    background: var(--ds-panel);
    overflow: hidden;
}
.ds-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(1) invert(.92) contrast(.85);
}
/* Platzhalter, solange die Karte nicht geladen ist (Datenschutz) */
.ds-map__consent {
    display: grid;
    place-items: center;
    gap: 18px;
    min-height: 420px;
    padding: 40px;
    text-align: center;
}
.ds-map__consent p { max-width: 46ch; margin: 0; color: var(--ds-mute); font-size: 15px; }

/* ----------------------------------------------- WhatsApp-Schaltfläche - */
.ds-whatsapp {
    position: fixed;
    right: clamp(16px, 2.5vw, 30px);
    bottom: clamp(16px, 2.5vw, 30px);
    z-index: 160;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .55);
    transition: transform .25s ease;
}
.ds-whatsapp:hover { transform: scale(1.08); }
.ds-whatsapp svg { width: 30px; height: 30px; fill: #0d0f13; }

/* ===========================================================================
   7  FORMULARE
   =========================================================================== */
.ds-form { display: grid; gap: 20px; }
.ds-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.ds-field label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--ds-font-mono);
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ds-mute);
}
.ds-field label .req { color: var(--ds-red); }

.ds-field input,
.ds-field select,
.ds-field textarea {
    width: 100%;
    padding: 15px 16px;
    background: #0b0d11;
    border: 1px solid var(--ds-steel);
    border-radius: 0;
    color: var(--ds-ink);
    font-family: var(--ds-font-body);
    font-size: 16px;
    transition: border-color .22s ease;
}
.ds-field textarea { min-height: 170px; resize: vertical; }
.ds-field input:hover,
.ds-field select:hover,
.ds-field textarea:hover { border-color: #3b4453; }
.ds-field input:focus,
.ds-field select:focus,
.ds-field textarea:focus { border-color: var(--ds-red); outline: none; }
.ds-field input::placeholder,
.ds-field textarea::placeholder { color: #6f7887; }

.ds-field select {
    appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%238f99a7' stroke-width='2' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Honigtopf – für Menschen unsichtbar, Robots füllen ihn aus */
.ds-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ds-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--ds-mute);
}
.ds-check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--ds-red);
}
.ds-check a { color: var(--ds-red-hot); text-decoration: underline; }

.ds-note {
    padding: 18px 20px;
    border: 1px solid var(--ds-steel);
    border-left: 4px solid var(--ds-red);
    background: var(--ds-panel);
    font-size: 15px;
}
.ds-note--ok { border-left-color: var(--ds-green); }
.ds-note--ok strong { color: var(--ds-green); }
.ds-note--error { border-left-color: var(--ds-red); }
.ds-note--error strong { color: var(--ds-red-hot); }
.ds-note strong { display: block; margin-bottom: 6px; font-family: var(--ds-font-display); font-size: 17px; text-transform: uppercase; }

/* ===========================================================================
   8  FUSSBEREICH
   =========================================================================== */
.ds-footer {
    background: var(--ds-header);
    border-top: 1px solid var(--ds-steel);
}
.ds-footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    padding-block: clamp(50px, 7vw, 80px);
}
/* Im Fußbereich sind es h2, damit die Überschriftenfolge der Seite
   keine Stufe überspringt – optisch bleiben sie klein. */
.ds-footer__head {
    margin: 0 0 18px;
    font-family: var(--ds-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ds-ink);
}
.ds-footer__col p { margin: 0 0 10px; font-size: 15px; color: var(--ds-mute); }
.ds-footer__col a { color: var(--ds-mute); transition: color .2s ease; }
.ds-footer__col a:hover { color: var(--ds-red); }
.ds-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ds-footer__col li { margin-bottom: 10px; font-size: 15px; }

.ds-social { display: flex; gap: 10px; margin-top: 18px; }
.ds-social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ds-steel);
    transition: border-color .22s ease, background-color .22s ease;
}
.ds-social a:hover { border-color: var(--ds-red); background: rgba(226, 0, 26, .12); }
.ds-social svg { width: 19px; height: 19px; fill: var(--ds-mute); transition: fill .22s ease; }
.ds-social a:hover svg { fill: var(--ds-red); }

.ds-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 26px;
    border-top: 1px solid var(--ds-steel);
    font-size: 14px;
    color: var(--ds-mute);
}
.ds-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.ds-footer__legal a:hover { color: var(--ds-red); }

.ds-credit {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 24px;
    font-size: 13px;
    color: #5b6472;
}
.ds-credit .heart { color: var(--ds-red); }
.ds-credit a { color: var(--ds-mute); }
.ds-credit a:hover { color: var(--ds-red); }

/* ===========================================================================
   9  BEWEGUNG UND REVEAL
   =========================================================================== */
/* Sollte der Beobachter nicht auslösen, blendet das Skript nach drei
   Sekunden alles ein (siehe main.js). Inhalt bleibt also nie unsichtbar. */
.js .ds-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.16, 1, .3, 1);
}
.js .ds-reveal.is-in { opacity: 1; transform: none; }

.js .ds-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.js .ds-stagger.is-in > * { opacity: 1; transform: none; }

/* Ohne JavaScript bleibt alles sichtbar */
html:not(.js) .ds-line > span,
html:not(.js) .ds-hero__sub,
html:not(.js) .ds-hero__cta,
html:not(.js) .ds-tacho { opacity: 1; transform: none; }

/* ===========================================================================
   10  RESPONSIVE
   =========================================================================== */
@media (max-width: 1080px) {
    .ds-split--flip .ds-split__media { order: 0; }
}

/* Auf kleinen Geräten nimmt das Instrument zu viel Platz weg */
@media (max-width: 860px), (max-height: 620px) {
    .ds-tacho { display: none; }
}

@media (max-width: 900px) {
    :root { --ds-header-h: 72px; }
    .ds-nav { display: none; }
    .ds-burger { display: block; }
    .ds-hero { min-height: auto; }
    .ds-split__media { min-height: 300px; order: -1; }
    .ds-card { min-height: 340px; }
    .ds-facts__item { border-right: 0; border-bottom: 1px solid var(--ds-steel); }
    .ds-map iframe, .ds-map__consent { height: 320px; min-height: 320px; }
}

@media (max-width: 560px) {
    .ds-btn { width: 100%; }
    .ds-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
   11  REDUZIERTE BEWEGUNG UND DRUCK
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .ds-line > span,
    .ds-hero__sub,
    .ds-hero__cta,
    .ds-tacho { opacity: 1 !important; transform: none !important; }
    .js .ds-reveal,
    .js .ds-stagger > * { opacity: 1 !important; transform: none !important; }
}

@media print {
    body { background: #fff; color: #000; }
    body::after,
    .ds-header, .ds-footer, .ds-whatsapp, .ds-hero__bg, .ds-hero__veil,
    .ds-tacho, .ds-mobilenav { display: none !important; }
    .ds-display, h1, h2, h3 { color: #000; }
}
