/* Kopfzeile über die volle Bildschirmbreite: Logo ganz links, Menü und Knopf ganz rechts (AP 77, 30.10.) */
@media (min-width: 901px) {
  .hdm-fh-wrap .hdm-fh-inner { max-width: none !important; padding-left: clamp(24px, 2.6vw, 56px) !important; padding-right: clamp(24px, 2.6vw, 56px) !important; }
  .hdm-fh-wrap .hdm-fh-float-canvas { display: none; }
}

/* Das geschlossene Kontaktfeld liegt rechts neben dem Bild, sein Schatten fiel als grauer Streifen auf den Rand */
.hdm-sk-panel:not(.is-open) { box-shadow: none; }

/* Auszeichnung: Live-Knopf verdeckt nicht mehr die Überschrift im Screenshot, Screenshots füllen den Rahmen */
.hds.hds.hds .gwa-case--mehr .gwa-live { top: auto; bottom: 16px; transform: translateX(-50%); padding: 10px 18px; grid-auto-flow: column; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.hds.hds.hds .gwa-case--mehr .gwa-live:hover { transform: translateX(-50%) scale(1.03); }
.hds.hds.hds .gwa-case--mehr .gwa-live small { display: none; }
.hds.hds.hds .gwa-case--mehr .lang img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; max-width: none; }

/* Hinweissätze über das Layout gehören nicht auf die Seite */
.hds.hds.hds .pf-hinweis { display: none; }
.b2-schalter .hinweis { display: none; }
/* ═══════ Runde 4: Korrekturen, die auf allen Seiten gelten (31.10.) ═══════ */
/* Schatten und Karten nicht am Innenrahmen abschneiden, seitliches Überstehen fängt die volle Breite ab */
.b2-ersatz, .hdb-baustein .hds, .b2-vis-platz, .hdm-lp-body.b2-ersatz { overflow-x: visible !important; }
.hdb-baustein, .hdm-lp-sec { overflow-x: clip; }
/* Auszeichnung: Unterlängen nicht abschneiden, Filmbild ohne harte Kante */
.hds.hds.hds .links .zeile { padding-bottom: .2em; margin-bottom: -.2em; }
.hds.hds.hds .gwa-buehne video, .hds.hds.hds .gwa-wuerfel-feld .ersatz, .hds.hds.hds .gwa-vitrine-buehne .ebene img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 760px) { .hds.hds.hds .gwa-case--mehr .gwa-live { left: 50%; right: auto; bottom: 10px; width: max-content; max-width: none; padding: 9px 16px; } .hds.hds.hds .gwa-case-medien { padding-right: 0; } .hds.hds.hds .gwa-browser { overflow: hidden; } }
/* Projekt-Slider: Glaskarte breit genug, damit Text und Knopf ohne inneres Scrollen passen */
@media (min-width: 769px) { .hdm-proj-glass { width: clamp(290px, 27%, 350px) !important; } }
@media (max-width: 768px) { .hdm-proj-track { padding-left: 16px !important; scroll-padding-left: 16px; } }
/* Lange Wörter dürfen umbrechen statt aus dem Bildschirm zu laufen */
.hdm-rtx__text h2, .hdm-rtx__text h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 760px) {
  .hds.hds.hds .hd-w { white-space: normal; display: inline; }
  .hds.hds.hds .ls-hero .hd-h1 { font-size: clamp(30px, 8.8vw, 40px); overflow-wrap: anywhere; }
  .hds.hds.hds .ls-hero .hd-lead { max-width: 100%; }
  .hds.hds.hds .ls-hero { overflow-x: clip; }
  .b2-hero h1 { font-size: clamp(30px, 9vw, 38px) !important; line-height: 1.06 !important; text-wrap: balance; }
  .b2-erscheinen .mitte, .b2-hero .pille { text-wrap: balance; }
}
/* Kundenliste: Namen zweizeilig statt mit Punkten gekappt */
.hdm-kd__n, .hdm-kd__r b, .hdm-kd__r small { white-space: normal !important; text-overflow: clip !important; overflow: visible !important; }
/* Blog: Filterleiste klebt nicht über den Rest der Seite */
.hds.hds.hds .bv1-leiste { position: relative !important; top: auto !important; }
/* Formulare auf den Check-Seiten: gleiche Ränder */
.hdm-ck__frage, .hdm-ck__form, .hdm-ck__karte { min-width: 0; }
.hdm-ck__frage input, .hdm-ck__frage select { width: 100%; box-sizing: border-box; max-width: 100%; }
/* Bilder neben Langtext: keine ovale Maske mit harten Kanten */
.hds.hds.hds .ls-objekt img, .hds.hds.hds .ls-objekt { -webkit-mask-image: none !important; mask-image: none !important; border-radius: 24px; }
.hds.hds.hds .ls-objekt::before, .hds.hds.hds .ls-objekt::after { display: none !important; }
/* Academy-Vorschau */
.hds.hds.hds .ab > p.hd-wrap { width: calc(100% - 40px); margin-inline: auto; }
@media (max-width: 760px) { .hds.hds.hds .ab-satz-text { text-wrap: pretty; } }
/* Karten mit Motiv: Text steht unter dem Bild statt auf der Schrift im Motiv */
.hds.hds.hds .ls-bento a, .hds.hds.hds .ls-bento div.kachel { background: #0a1a33; }
.hds.hds.hds .ls-bento img { height: 66%; object-position: center top; }
.hds.hds.hds .ls-bento a::before, .hds.hds.hds .ls-bento div.kachel::before { background: linear-gradient(to top, #0a1a33 0, #0a1a33 38%, rgba(10,26,51,0) 68%); z-index: -1; }
@media (min-width: 1001px) { .hds.hds.hds .ls-bento:has(> :nth-child(3):last-child) > :last-child { grid-column: 1 / -1; } .hds.hds.hds .ls-bento:has(> :nth-child(4):last-child) > :last-child { grid-column: span 2; } .hds.hds .ls .ls-bento { grid-auto-rows: 320px; } }
@media (max-width: 1000px) { .hds.hds .ls .ls-bento, .hds.hds.hds .ls-bento { grid-auto-rows: minmax(300px, auto); } .hds.hds.hds .ls-bento .breit { grid-column: auto; } }
/* Zweite Prüfrunde */
.hds.hds.hds .ls-bento:has(> :nth-child(3):last-child) > :last-child { grid-column: auto; }
@media (min-width: 1001px) { .hds.hds.hds .ls-bento:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hds.hds.hds .ls-bento:has(> :nth-child(3):last-child) .breit { grid-column: auto; } .hds.hds.hds .ls-bento:has(> :nth-child(4):last-child) > :last-child { grid-column: span 2; } }
.hds.hds.hds .ls-objekt:has(img[src*="heller-webdesign-bildschirm-praxis"], img[data-fpo-src*="heller-webdesign-bildschirm-praxis"]) { display: none; }
.hdm-ck__seo { min-width: 0; grid-template-columns: minmax(0, 1fr) !important; }
.hdm-ck__seo > *, .hdm-ck__frage { max-width: 100%; min-width: 0; box-sizing: border-box; }
.hdm-kr--dunkel .hdm-kr__cta a { background: #fff !important; color: #0b2a4a !important; }
@media (max-width: 760px) {
  .hdm-lhs-grid { display: flex !important; flex-direction: column; }
  .hdm-lhs-text { order: -1; }
  .hdm-lhs-media { height: 62vw !important; min-height: 0 !important; }
  .hdm-lhs-vid { width: 100%; height: 100% !important; object-fit: cover; object-position: center; }
  .hds.hds.hds .gwa-weg-medien figcaption { position: static !important; transform: none !important; padding: 10px 2px 0; background: none; }
  .hds.hds.hds .gwa-case-dl > div { display: block; }
  .hds.hds.hds .gwa-case-dl dd { margin: 2px 0 0; }
  .hdm-kb__person { padding-right: 18px !important; }
  .hds.hds.hds .ab-kopf-inhalt { position: relative; z-index: 2; }
  .hds.hds.hds .ab-kopf-objekte { opacity: .55; transform: translateY(-40px) scale(.8); }
  .b2-bh2 .pfad, .rahmen .text > .pfad { display: none; }
}
.hds.hds.hds .ab-kopf-inhalt { position: relative; z-index: 2; }
/* Check-Seiten: dieselbe Überschrift nicht zweimal direkt untereinander */
/* Leistung (03.11., Alex): Regel .elementor:has(.hdm-lhs) .hdm-ck__titel entfernt. Sie ließ bei jeder DOM-Änderung die ganze Seite neu berechnen
   (Hauptursache für das Ruckeln). Gleiche Wirkung jetzt über die Körperklasse hd-hat-lhs aus heller-digital 4.40.0 (hd-global.css). */
/* Referenzen-Slider: Glaskarte zeigt immer Text, Ergebnis und Knopf */
@media (min-width: 769px) { .hdm-proj-glass { display: flex !important; flex-direction: column; overflow: hidden !important; } .hdm-proj-glass-mid { display: none !important; } .hdm-proj-glass-footer { margin-top: auto; flex: none; } .hdm-proj-glass-desc { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; flex: none; } }
/* Bildschirme-Widget: Startfläche mit Schleier, Titel überlagert nicht die Schrift im Screenshot */
.hdm-bs__start.hat-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,22,47,.92) 0, rgba(6,22,47,.7) 26%, rgba(6,22,47,0) 58%); }
.hdm-bs__start.hat-poster > * { position: relative; }
.hdm-bs__start.hat-poster small { display: none; }
@media (max-width: 760px) { .hdm-bs__start.hat-poster { background-size: 100% auto; background-repeat: no-repeat; background-color: #0a1a33; } }

/* Dritte Prüfrunde */
.hdm-proj-glass-footer { position: static !important; }
.hdm-bs__start.hat-poster b { display: none; }
.hdm-bs__start.hat-poster::before { background: linear-gradient(to top, rgba(6,22,47,.7) 0, rgba(6,22,47,0) 34%); }
.hds.hds.hds .gwa-buehne-text .unter { text-shadow: 0 1px 14px rgba(0,0,0,.85); }
@media (max-width: 760px) {
  .hds.hds.hds .gwa-weg { display: block !important; }
  .hds.hds.hds .gwa-weg-medien { position: relative !important; top: auto !important; height: auto !important; aspect-ratio: auto; margin: 0 0 18px !important; }
  .hds.hds.hds .gwa-weg-medien figure { position: relative !important; inset: auto !important; display: none; margin: 0; }
  .hds.hds.hds .gwa-weg-medien figure.an { display: block; }
  .hds.hds.hds .gwa-weg-medien figure img { width: 100%; height: auto; }
  canvas[class*="partikel"] { opacity: .4; }
}
@media (min-width: 769px) { .hdm-proj-glass-desc { display: block !important; flex: 1 1 auto !important; min-height: 0; overflow: hidden; -webkit-line-clamp: unset; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); } }
/* Knopf auf dunkler Projektkarte: war Navy auf Navy, nur mit Umriss sichtbar */
.hdb-baustein .ls-bento .ls-bento-info .hd-btn.weiss, .hds.hds.hds .ls-bento .ls-bento-info .hd-btn.weiss { background: #fff; color: #0e1b2c; }
.hdb-baustein .ls-bento .ls-bento-info .hd-btn.weiss svg, .hds.hds.hds .ls-bento .ls-bento-info .hd-btn.weiss svg { stroke: #2154a6; }
/* Kachelreihe im Hero: der Schatten muss innerhalb des Innenabstands enden, der Hero schneidet ab */
.hdb-baustein .b2-hero .b2-dock { box-shadow: 0 10px 24px -14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
/* Kontakt-Hero: der Farbschein läuft aus, statt an der Sektionskante abzubrechen */
.hdm-kb--hell.hdm-kb--orbs::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 92%); }
/* Sektions-Übergänge, Skript in hdb-menu.js */
.hdb-dim { position: absolute; inset: 0; background: #06162f; opacity: 0; pointer-events: none; z-index: 40; }
/* Der Projekt-Slider ragt über den Rand, die Seite darf sich trotzdem nicht seitlich schieben lassen. clip statt hidden: sticky bleibt intakt */
html, body { overflow-x: clip; }
/* Kachelreihe im Hero: ragte 40 px über den Hero und wurde dort gerade abgeschnitten. Am Handy zwei Spalten, nichts angeschnitten */
.hdb-baustein .b2-hero .b2-dock { padding-bottom: 10px; margin-bottom: 0; }
@media (max-width: 760px) {
  .hdb-baustein .b2-hero .b2-dock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; overflow: visible; border-radius: 28px; margin-top: 26px; }
  .hdb-baustein .b2-hero .b2-dock > .b2-kachel { min-width: 0; min-height: 132px; flex: none; padding: 12px; border-radius: 21px; }
  .hdb-baustein .b2-hero .b2-dock > .b2-kachel:nth-child(n+5) { display: none; }
  .hdb-baustein .b2-hero .b2-dock .kopf small { display: none; }
  .hdb-baustein .b2-hero .b2-dock .b2-ringe { flex-direction: row; gap: 8px; }
  .hdb-baustein .b2-hero .b2-dock .b2-ringe svg { width: 42px; height: 42px; }
  .hdb-baustein .b2-hero .b2-dock .b2-ringe .lg { min-width: 0; font-size: 9.5px; }
  .hdb-baustein .b2-hero .b2-dock .b2-ringe .lg span { white-space: normal; }
}

/* ═══════ Offene Punkte (02.11.) ═══════ */
/* Auszeichnung: Die Ränder laufen nur aus, wenn die Maske auf dem Bild selbst liegt, nicht auf einer breiteren Box drumherum */
.hds.hds.hds .gwa-wuerfel-feld .ersatz { inset: 0 auto; left: 50%; right: auto; height: 100%; width: auto; aspect-ratio: 9 / 16; transform: translateX(-50%); background-size: cover; }
.hds.hds.hds .gwa-vitrine-buehne .ebene img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: auto; height: 92%; max-width: none; aspect-ratio: 9 / 16; object-fit: cover; }
/* Einblend-Maske: Die Zeile hat unten Platz für Unterlängen, der Text muss zum Start also weiter nach unten, sonst blitzen die Oberkanten durch */
.hds.hds.hds .gwa-buehne h1 .zeile > span, .hds.hds.hds .gwa-buehne h2 .zeile > span { transform: translateY(calc((1 - var(--t1, 0)) * 135%)); }
.hds.hds.hds .gwa-buehne h1 .zeile:nth-child(2) > span, .hds.hds.hds .gwa-buehne h2 .zeile:nth-child(2) > span { transform: translateY(calc((1 - var(--t2, 0)) * 135%)); }
.hds.hds.hds .gwa-buehne h2 .zeile { padding-bottom: .2em; margin-bottom: -.2em; }
/* Film zum Award: Standbild, bis das Video läuft (das Poster von FastPixel ist nur ein Pixel groß) */
.hds.hds.hds .gwa-kino-rahmen { background: #000 url(https://hellerdigital.de/wp-content/uploads/2026/09/award-04.webp) center / cover no-repeat; }
@media (max-width: 1100px) { .hds.hds.hds .gwa-vitrine.hell { min-height: 0; padding-bottom: 30px; } }
@media (max-width: 760px) {
  .hds.hds.hds .gwa-wuerfel-feld .ersatz { inset: -4% 0; left: 0; height: auto; width: auto; aspect-ratio: auto; transform: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
  /* Award-Bühne am Handy: der Würfel rückt beim Einblenden nach oben, der Text steht darunter statt darauf */
  .hds.hds.hds .gwa-buehne-pin { place-items: end center; }
  .hds.hds.hds .gwa-buehne-text { padding-bottom: 26px; gap: 0; }
  .hds.hds.hds .gwa-buehne .rechts { display: none; }
  .hds.hds.hds .gwa-buehne video, .hds.hds.hds .gwa-buehne .poster { transform: translate(-50%, calc(-50% - var(--t3, 0) * 22%)) scale(calc(1.08 - var(--p) * .12 - var(--t3, 0) * .44)); }
  .hds.hds.hds .gwa-buehne .unter { margin-top: 16px; max-width: none; }
  .hds.hds.hds .gwa-vitrine-buehne { min-height: 440px; }
  .hds.hds.hds .gwa-buehne .knoepfe { flex-flow: row nowrap; gap: 8px; margin-top: 20px; padding-right: 66px; }
  .hds.hds.hds .gwa-buehne .knoepfe .hd-btn { flex: 1 1 auto; width: auto; min-width: 0; padding-inline: 12px; font-size: 13.5px; white-space: nowrap; gap: 6px; }
}

/* Referenz-Slider: Titel steht schon in der Glaskarte, groß darüber lag er auf der Schrift der gezeigten Website */
.hdm-proj-section .hdm-proj-big-title { display: none; }
/* Projektkarten: Bilder sind 16:9, im 4:3-Rahmen fiel links der Projektname weg („EKA“) */
.hds.hds.hds .pj-dkarte .pj-karte-bild { aspect-ratio: 16 / 9; }
@media (max-width: 760px) {
  /* Projektseiten: Handy steht unter dem Monitor, Abspielknopf und Bild bleiben frei */
  .hds.hds.hds .pj-buehne--leinwand { padding-bottom: 50vw; }
  .hds.hds.hds .pj-buehne--leinwand .pj-handy { width: 26vw; right: 6%; bottom: 0; }
  .hds.hds.hds .pj-buehne--leinwand .pj-sticker { left: auto; right: 104%; top: 40%; }
  .hdm-pd-title .hdm-pd-line-inner { text-wrap: balance; }
  /* Teamseiten: Zettel als gerade Karte unter den Bildern statt schräg darauf */
  .hdm-pp__story .hdm-pp__stapel { aspect-ratio: auto; padding-top: 125%; }
  .hdm-pp__story .hdm-pp__stapel .hdm-pp__st1 { height: auto; aspect-ratio: 4 / 5; }
  .hdm-pp__story .hdm-pp__stapel .hdm-pp__st2 { top: 0; bottom: auto; height: auto; margin-top: 57.5%; aspect-ratio: 58 / 67.5; }
  .hdm-pp__story .hdm-pp__stapel .hdm-pp__zettel { position: relative; left: 0; bottom: auto; max-width: none; margin-top: 18px; transform: none; }
  /* Branchen-Übersicht: Pfeil bleibt beim Namen */
  .hdm-mx.hdm-mx .hdm-mx__tab tbody td:first-child { min-width: 152px; padding-left: 16px; padding-right: 8px; font-size: .95rem; }
}

/* Unterlängen: Verlaufstext wird nur innerhalb der eigenen Box gemalt, Einblend-Masken schneiden an der Box. Bei Zeilenhöhen um 1 fallen g, p, q und y also weg.
   Darum Platz nach unten schaffen und ihn mit negativem Außenabstand zurückgeben, damit sich der Satz nicht verschiebt */
.hds.hds.hds .ab-tk-gross { padding-bottom: .2em; margin-bottom: -.2em; }
.hds.hds.hds .ls-cta-c2 h2 .ls-w { padding-bottom: .26em; margin-bottom: -.26em; }
.hds.hds.hds .ls-cta-c2 h2 .ls-w > span { padding-bottom: .24em; }
.hds.hds.hds .ls-cta-c2:not(.ist-da) h2 .ls-w > span { transform: translateY(135%) rotate(5deg); }
.hdm-pd-title .hdm-pd-line { padding-bottom: .2em; margin-bottom: -.34em; }
.hdm-pd-title .hdm-pd-line-inner { padding-bottom: .14em; }
.hdb-start2 .wahl-text, .hdb-start2 .z.hz-bunt { padding-bottom: .22em; margin-bottom: -.22em; }
/* Academy-Vorschau: Am Handy bleiben nur Ring und Stern oben im Kopf, Kreuz und Kugel lagen im Fließtext */
.hds.hds.hds .ab-wand-zahl span { display: inline-flex; flex-direction: row-reverse; align-items: baseline; gap: .5em; }
@media (min-width: 761px) { .hds.hds.hds .ab-kopf-objekte .ab-obj:nth-child(4) { left: 82%; top: 86%; } }
@media (max-width: 760px) { .hds.hds.hds .ab-kopf-objekte .ab-obj:nth-child(n+3) { display: none; } }

/* Radius-Szene am Handy: margin auto nahm der Karte die Breite, sie fiel auf null zusammen und das Feld blieb leer */
@media (max-width: 760px) { .b2-dw .n-radius .karte { width: 190px; max-width: 100%; max-height: none; } .b2-dw .n-radius .info { text-align: center; } .b2-dw .n-radius .info em { margin-inline: auto; width: fit-content; } }

/* Logo-Wasserzeichen: lag mit multiply über Text und Karten */
.hd-logo-rechts.hd-logo-rechts::after, .hd-logo-links.hd-logo-links::after, .hd-logo-schraeg.hd-logo-schraeg::after, .hd-logo-schraeg-links.hd-logo-schraeg-links::after { content: none; }

/* Karte Autohaus Oberseider: Im Motiv steht „Autohaus Weber“. Der Ausschnitt zeigt nur das Auto, Name und Schrift bleiben außerhalb */
.ls-ref:has(img[alt="Projekt Autohaus Oberseider"]) .hd-bild img { object-position: 0 50%; transform-origin: 0 55%; scale: 1.34; }
/* Anzeigen-Szene: Beiträge im Feed sehen aus wie Beiträge statt wie weiße Flächen, am Handy ist das Telefon groß genug zum Lesen */
.n-erk.ads .feed .p { background: linear-gradient(#c6d2e2, #c6d2e2) 0 0 / 100% 64% no-repeat, linear-gradient(#d9dfe8, #d9dfe8) 6cqw 76% / 52cqw 2.6cqw no-repeat, linear-gradient(#e8ebf0, #e8ebf0) 6cqw 90% / 34cqw 2.6cqw no-repeat, #fff; overflow: hidden; }
@media (max-width: 760px) {
  .n-erk.ads { grid-template-columns: minmax(0, .82fr) 14px minmax(0, 1.5fr); }
  .n-erk.ads .feed .p { height: 28cqw; }
  .n-erk.ads .anz { padding: 5cqw; gap: 2.6cqw; }
  .n-erk.ads .anz i { height: 30cqw; }
  .n-erk.ads .anz b { font-size: 6.4cqw; }
  .n-erk.ads .anz span { font-size: 8cqw; }
  .n-erk.ads .anz .cta { font-size: 7.4cqw; }
}

@media (max-width: 760px) {
  /* Branchen-Hero: Der Übergang parkt den Hero mit der Unterkante am Bildschirmrand. War er kürzer als der Bildschirm, entstand darüber eine weiße Lücke */
  .hdb-baustein .b2-bh2.b2-bh2 .rahmen { min-height: max(640px, calc(100svh - 71px)); }
  .hdb-baustein .b2-bh2.b2-bh2 .rahmen::before { background: linear-gradient(0deg, rgba(5,10,20,.94) 0, rgba(5,10,20,.8) 58%, rgba(5,10,20,.3) 100%); }
  /* Karten mit Motiv: Bild oben, Text darunter. Etikett und Titel liegen nicht mehr im Bild */
  .hds.hds.hds .ls .ls-bento, .hds.hds.hds .ls-bento { grid-auto-rows: auto; }
  .hds.hds.hds .ls-bento a, .hds.hds.hds .ls-bento div.kachel { justify-content: flex-start; }
  .hds.hds.hds .ls-bento a::before, .hds.hds.hds .ls-bento div.kachel::before { display: none; }
  .hds.hds.hds .ls-bento img { position: static; z-index: auto; flex: none; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 9; margin: -24px -24px 16px; }
  /* Karten im Raster Referenzen: Bild reicht bis an beide Ränder */
  .hdm-kr__k > .hdm-kr__bild { width: calc(100% + 44px); max-width: none; align-self: flex-start; flex: none; }
}

@media (max-width: 760px) {
  /* Check-Seiten: dieselbe Parkregel wie beim Branchen-Hero, außerdem das 16:9-Motiv ungeschnitten zeigen */
  .hdm-lhs.hdm-lhs { min-height: calc(100svh - 71px); }
  .hdm-lhs-media.hdm-lhs-media { height: 56.25vw !important; }
  .hdm-lhs-vid.hdm-lhs-vid { object-fit: contain; }
  .hds.hds.hds .ab-kopf { min-height: calc(100svh - 71px); }
}

/* Partikel-Abschluss am Handy: mehr Luft zwischen Logo und Text, auch solange sich die Punkte noch sammeln */
@media (max-width: 640px) { .hdm-pc--geteilt .hdm-pc__inhalt { margin-top: 22px; } }

/* Dieselbe Karte als Kachel (Autohaus-Seite): gleicher Ausschnitt, zugeschnitten auf die Bildfläche */
.hds.hds.hds .ls-bento img[alt^="Autohaus Oberseider"] { object-position: 0 55%; transform-origin: 0 85%; scale: 1.4; clip-path: inset(24.3% 28.6% 4.3% 0); }
/* Abschluss-Karte am Handy: „die meisten Anfragen?“ bleibt eine Zeile und muss in die Karte passen */
@media (max-width: 760px) { .hds.hds.hds .ls-cta-hell.ls-cta-c2 h2 { font-size: clamp(25px, 7.7vw, 40px); } }
