/* Arabisch: Seite läuft von rechts nach links (Aron Ticket #28, 01.12.2026). Nur auf /ar/… geladen (lib/i18n.mjs, <html dir="rtl">),
   nach mk.css und mk-ruhig.css. Flex/Grid/Text drehen sich mit dir="rtl" von selbst; hier steht nur, was fest links/rechts sitzt. */

/* Versteckte Elemente nach rechts aus dem Bild: links aus dem Bild würde in RTL eine seitliche Bildlaufleiste aufspannen */
[dir=rtl] .mk-hp{left:auto!important;right:-9999px!important}
[dir=rtl] .mk-neu .skip-to-content{left:auto;right:-9999px}
[dir=rtl] .mk-neu .skip-to-content:focus{right:8px}

/* Schrift: Arabisch etwas größerer Zeilenabstand, keine Sperrung (zerreißt die verbundene Schrift) */
[dir=rtl] body{line-height:1.7}
[dir=rtl] *{letter-spacing:0!important}
[dir=rtl] .skip-to-content{left:auto!important;right:-9999px}
[dir=rtl] .skip-to-content:focus{right:8px}

/* Laufbänder (Preisband, Siegel, Bewertungen): Spur bleibt links→rechts, sonst läuft die Animation ins Leere; Inhalte lesen rechts→links */
[dir=rtl] .mr-pb-spur,[dir=rtl] .mr-siegel-spur,[dir=rtl] .mk-reviews-spur{direction:ltr}
[dir=rtl] .mr-pb-spur>*,[dir=rtl] .mr-siegel-spur>*,[dir=rtl] .mk-reviews-spur>*{direction:rtl}

/* Sprachwahl: sitzt gespiegelt, Liste klappt zur Seitenmitte auf */
[dir=rtl] .mk-sprache ul{right:auto;left:0}
[dir=rtl] body.mk-ruhig .mk-sprache{margin-left:0;margin-right:-6px}
[dir=rtl] body.mk-ruhig .mk-sprache ul{left:auto;right:0}
@media (min-width:960px){
  [dir=rtl] body.mk-ruhig .mk-sprache{right:auto;left:max(16px,env(safe-area-inset-left))}
  [dir=rtl] body.mk-ruhig .mk-sprache ul{right:auto;left:0}
  [dir=rtl] .mr-hero-video .mr-video-zeile{left:auto;right:0}
}
@media (min-width:960px) and (max-height:880px){
  [dir=rtl] body.mk-ruhig .mk-sprache{left:auto;margin:0 0 0 -8px}
}
/* Laufband-Fenster selbst ebenfalls links→rechts, damit die Spur links beginnt */
[dir=rtl] .mr-pb-fenster,[dir=rtl] .mr-siegel,[dir=rtl] .mk-karussell{direction:ltr}

/* Fest links ausgerichtete Texte → rechts */
[dir=rtl] .mk-dd-knopf,[dir=rtl] .mk-danke-punkte,[dir=rtl] .mk-adr-opt,[dir=rtl] .mk-wah-karten,[dir=rtl] .mk-wah-erinnern,
[dir=rtl] .mk-neu .mk-danke-text,[dir=rtl] .mk-neu .mk-form-status:not(:empty),[dir=rtl] .mk-neu .mk-kopf-links,
[dir=rtl] .mk-neu h2.mk-kopf.mk-kopf-links,[dir=rtl] .mk-wah-karte b,[dir=rtl] .mk-wah-schritte,[dir=rtl] .mk-dk-spam>span:last-child,
[dir=rtl] body.mk-ruhig .mr-abschnitt h2,[dir=rtl] .mr-zk-schritte,[dir=rtl] body.mk-ruhig .mr-video-zeile{text-align:right}
@media (min-width:960px){[dir=rtl] .mk-wa-hinweis,[dir=rtl] .mk-erklaer figcaption,[dir=rtl] .mk-hero .mk-wa-hinweis{text-align:right}}
@media (min-width:640px){[dir=rtl] .mk-preis>b{text-align:right}}

/* Formular: Auswahlpfeil, Ländervorwahl, Abstände */
[dir=rtl] .mk-dd-knopf{padding:0 12px 0 36px}
[dir=rtl] .mk-neu .one-kit-form-dropdown__arrow{right:auto;left:14px}
[dir=rtl] .mk-neu .one-kit-form-dropdown select{padding-right:12px;padding-left:42px}
[dir=rtl] .mk-cc .mk-cc-label::after{margin-left:0;margin-right:5px}
[dir=rtl] .mk-neu .mk-tel .mk-cc{border-right:0;border-left:1px solid rgba(17,17,17,.15);padding:0 14px 0 8px}
[dir=rtl] .con-kit-atom-phone-number input[name=telefon_nummer],[dir=rtl] input[type=tel],[dir=rtl] input[type=email]{direction:ltr;text-align:right}
[dir=rtl] .mk-neu .con-kit-atom-phone-number input[name=telefon_nummer]{padding-left:12px!important}
[dir=rtl] [data-mk-adresse] input{padding-left:12px!important}

/* Menü (Schublade) kommt von links */
[dir=rtl] .mk-drawer-panel{right:auto;left:0;animation-name:mk-in-rtl}
@keyframes mk-in-rtl{from{transform:translateX(-30px);opacity:0}}
[dir=rtl] .mk-drawer-close{right:auto;left:18px}
[dir=rtl] .mk-burger{margin-right:0;margin-left:-8px}

/* Schließen-Knöpfe, Nummern, Marken in die andere Ecke */
[dir=rtl] .mk-popup-zu,[dir=rtl] .mk-wah-zu,[dir=rtl] .mk-neu .mk-wah-zu{right:auto;left:10px}
[dir=rtl] .mk-wah-nr{left:auto;right:20px}
@media (max-width:380px){[dir=rtl] .mk-wah-nr{right:14px}}
[dir=rtl] .mk-video-gross-zu{right:auto;left:0}
[dir=rtl] .mk-erklaer-marke{left:auto;right:12px}
@media (min-width:960px){[dir=rtl] .mk-erklaer-marke{right:16px}}

/* Überlappende Gesichter, kleine Abstände links → rechts */
[dir=rtl] .mk-avatare img{margin-left:0;margin-right:-10px}
[dir=rtl] .mk-avatare img:first-child{margin-right:0}
[dir=rtl] .mr-gesichter img+img{margin-left:0;margin-right:-12px}
[dir=rtl] .mk-verifiziert{margin-left:0;margin-right:6px}
[dir=rtl] .mk-preis-name abbr,[dir=rtl] .mk-preis>b small{margin-left:0;margin-right:3px}
[dir=rtl] .mk-wah-pfeil{margin-left:0;margin-right:2px;display:inline-block;transform:scaleX(-1)}
[dir=rtl] body.mk-ruhig .mk-faq-punkt summary::after{margin-right:0;margin-left:6px}

/* Linien am Rand → rechte Seite */
[dir=rtl] .mk-ank-nicht span{padding-left:0;padding-right:12px;border-left:0;border-right:2px solid rgba(255,255,255,.5)}
[dir=rtl] .mk-dk-spam>span:last-child{border-left:0;border-right:2px solid #FFCC01;padding:4px 12px 4px 0}
[dir=rtl] .mk-dk-plus li+li{border-left:0;border-right:2px solid #d9d9d9}
[dir=rtl] .mk-uebersetzung-hinweis{border-left:0;border-right:4px solid var(--mk-gelb,#FFCC01)}

/* Schritt-Pfeile zwischen den Karten (Rechner) zeigen nach links */
@media (min-width:960px){[dir=rtl] .mk-s:not(:last-child)::after{right:auto;left:-34px;transform:rotate(90deg)}}

/* Untere Leiste (Versandlabel | WhatsApp) behält ihre Form, Texte lesen rechts→links */
[dir=rtl] .mk-sticky-cta{direction:ltr}
[dir=rtl] .mk-sticky-cta>*>*{direction:rtl}

/* Telefonnummern, Vorwahl, Preise und Prozente bleiben links→rechts (sonst dreht die Schreibrichtung „0176 84089596“ zu „84089596 0176“) */
[dir=rtl] a[href^="tel:"],[dir=rtl] .mk-cc-label,[dir=rtl] .mk-preis-trend{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .mk-preis>b{unicode-bidi:plaintext}
