/* kopf4 21.11.2026 – Bildtausch Computer (Auftrag Werbe-Chat, Freigabe Inhaber 21.11.2026).
   Gilt für alles, was NICHT Handy hochkant ist (Tablet, Laptop, Computer, Handy quer).
   Das Bild hat keinen eingemalten Text mehr (Ausschnitt aus kopfbild-v3-ohne-ki-2000, 1260 x 935).
   Überschrift, Unterzeile, Sprachschalter und Knöpfe sind echte Elemente (dieselben wie am Handy).
   Handy hochkant bleibt unverändert: alle Regeln hier stehen in einer Abfrage, die dort nicht gilt.
   Hängt an der Klasse hb-k4 auf <html> (Schalter "k4" im Kopf von index.html). */
.k4-probe{display:none}

@media not all and (max-width:600px) and (orientation:portrait){
  /* --- gemeinsam: gestapelt (Bild oben, Text darunter); ab 1000 px nebeneinander, siehe unten --- */
  html.hb-k4 #salesTeaser.kopf3{background:#0c1630}
  html.hb-k4 #salesTeaser.kopf3 .teaser-scene{aspect-ratio:auto;background:#0c1630}
  html.hb-k4 #salesTeaser .ti{display:none!important}
  html.hb-k4 #salesTeaser .teaser-play,html.hb-k4 #salesTeaser .teaser-cta,html.hb-k4 #salesTeaser .teaser-probe2,html.hb-k4 #salesTeaser .k3-btn2{display:none!important}
  html.hb-k4 #salesTeaser .teaser-pic{display:block}
  html.hb-k4 #salesTeaser .teaser-art{display:block;width:100%;height:auto;aspect-ratio:1260/935;object-fit:cover}

  /* Türen: Lage im neuen Bildausschnitt (Bild liegt oben in voller Breite, Höhe = 74,206 % der Breite) */
  html.hb-k4 #salesTeaser.kopf3 .teaser-door{top:32.87cqw;height:14.92cqw;width:8.57%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="1"]{left:54%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="2"]{left:69.05%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="3"]{left:84.1%}

  /* Sprachschalter: echte Knöpfe oben links, feste Größe wie am Handy */
  html.hb-k4.hb-c3 .hb-langbg{display:block;left:14px;top:14px;width:176px;height:44px;border-width:1px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language{top:18px;height:36px;width:40px;font-size:14px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="de"]{left:18px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="en"]{left:60px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="es"]{left:102px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="it"]{left:144px}

  /* Countdown: Pille oben rechts über dem Bild */
  html.hb-k4 #salesTeaser.kopf3 .teaser-clock{left:auto;right:14px;top:14px;transform:none}

  /* Türchen 4–6: sichtbare Pille unten rechts im Bild (Text je Sprache aus hb.js) */
  html.hb-k4 #salesTeaser.kopf3 .teaser-next{left:auto;right:14px;top:calc(74.206cqw - 58px);width:auto;height:auto;min-height:44px;padding:0 16px;display:flex;align-items:center;
    background:#1e2134;border:1px solid #b9a5ae;color:#fff;font:600 15px/1 Nunito,system-ui,sans-serif;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,20,.45)}
  html.hb-k4 #salesTeaser.kopf3 .teaser-next::before{content:attr(data-hbt)}
  html.hb-k4 #salesTeaser.kopf3 .teaser-next::after{content:"›";font-size:1.45em;margin-left:7px;transform:translateY(-.05em)}

  /* Textblock: echte Schrift */
  html.hb-k4 #salesTeaser .hb-kopf{display:flex;flex-flow:row wrap;justify-content:center;align-content:center;column-gap:12px;position:relative;z-index:1;pointer-events:none;
    padding:26px 6% 32px;text-align:center;color:#fdf6e6;background:#0c1630}
  html.hb-k4 #salesTeaser .hb-kopf p{flex:0 0 100%}
  html.hb-k4 #salesTeaser .hb-k1{margin:0;font:700 15px/1.2 Fraunces,Georgia,serif;letter-spacing:.07em;color:#f3c46b}
  html.hb-k4 #salesTeaser .hb-k2{margin:8px 0 0;font:700 clamp(28px,4.6cqw,40px)/1.14 Fraunces,Georgia,serif;color:#fff;text-wrap:balance}
  html.hb-k4 #salesTeaser .hb-k3{margin:12px auto 0;max-width:38em;font:600 clamp(16px,2.1cqw,18px)/1.5 Nunito,system-ui,sans-serif;color:#e6ebf7;text-wrap:pretty}
  html.hb-k4 #salesTeaser .hb-kauf,html.hb-k4 #salesTeaser .k4-probe{display:inline-flex;box-sizing:border-box;pointer-events:auto;align-items:center;justify-content:center;margin:20px 0 0;min-height:52px;padding:0 26px;
    border-radius:999px;font:800 17px/1.2 Nunito,system-ui,sans-serif;white-space:nowrap;text-decoration:none;cursor:pointer}
  html.hb-k4 #salesTeaser .hb-kauf{background:linear-gradient(180deg,#f6dca2,#e9c27a);color:#2b2110;border:1px solid #fff0c8;box-shadow:0 3px 12px rgba(0,0,20,.5)}
  html.hb-k4 #salesTeaser .k4-probe{background:#1f3363;color:#fdf6e6;border:1.5px solid #c9a45c;box-shadow:0 3px 12px rgba(0,0,20,.35)}
  html.hb-k4 #salesTeaser .k4-probe::before{content:"";flex:none;width:0;height:0;margin-right:10px;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #f1d58e}
  html.hb-k4 #salesTeaser .hb-kauf:hover{filter:brightness(1.05)}
  html.hb-k4 #salesTeaser .k4-probe:hover{background:#263d75}
  html.hb-k4 #salesTeaser .hb-kauf:focus-visible,html.hb-k4 #salesTeaser .k4-probe:focus-visible{outline:3px solid #ffe2a3;outline-offset:3px}
}

/* --- ab 1000 px Breite: Text links, Bild rechts (Bild 62 % der Breite, nie größer als die Bilddatei) --- */
@media (min-width:1000px){
  html.hb-k4 #salesTeaser.kopf3 .teaser-scene{aspect-ratio:12600/5797}
  html.hb-k4 #salesTeaser .teaser-pic{position:absolute;right:0;top:0;width:62%;height:100%}
  html.hb-k4 #salesTeaser .teaser-art{height:100%;aspect-ratio:auto}
  /* weicher Übergang vom Nachtblau ins Bild */
  html.hb-k4 #salesTeaser.kopf3 .teaser-scene::before{content:"";position:absolute;left:38%;top:0;bottom:0;width:6%;z-index:1;pointer-events:none;background:linear-gradient(90deg,#0c1630,rgba(12,22,48,0))}

  html.hb-k4 #salesTeaser.kopf3 .teaser-door{top:44.3%;height:20.1%;width:5.313%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="1"]{left:71.48%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="2"]{left:80.81%}
  html.hb-k4 #salesTeaser.kopf3 .teaser-door[data-door="3"]{left:90.14%}

  html.hb-k4.hb-c3 .hb-langbg{left:clamp(24px,3.2cqw,64px);top:20px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language{top:24px}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="de"]{left:calc(clamp(24px,3.2cqw,64px) + 4px)}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="en"]{left:calc(clamp(24px,3.2cqw,64px) + 46px)}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="es"]{left:calc(clamp(24px,3.2cqw,64px) + 88px)}
  html.hb-k4.hb-c3 #salesTeaser .teaser-language[data-language="it"]{left:calc(clamp(24px,3.2cqw,64px) + 130px)}

  html.hb-k4 #salesTeaser.kopf3 .teaser-clock{right:1.4%;top:20px}
  html.hb-k4 #salesTeaser.kopf3 .teaser-next{right:1.4%;top:auto;bottom:5%}

  html.hb-k4 #salesTeaser .hb-kopf{position:absolute;left:0;top:0;bottom:0;width:39%;height:auto;box-sizing:border-box;justify-content:flex-start;
    padding:76px 1.2cqw 18px clamp(24px,3.2cqw,64px);text-align:left;background:none}
  html.hb-k4 #salesTeaser .hb-k1{font-size:clamp(14px,1.05cqw,18px)}
  html.hb-k4 #salesTeaser .hb-k2{margin-top:clamp(6px,.7cqw,12px);font-size:clamp(28px,2.75cqw,50px);line-height:1.12}
  html.hb-k4 #salesTeaser .hb-k3{margin:clamp(10px,1cqw,18px) 0 0;max-width:none;font-size:clamp(15px,1.2cqw,20px);line-height:1.45}
  html.hb-k4 #salesTeaser .hb-kauf,html.hb-k4 #salesTeaser .k4-probe{margin-top:clamp(14px,1.5cqw,26px);min-width:min(100%,17.5em)}
}
@media (min-width:1000px) and (max-width:1199px){
  html.hb-k4 #salesTeaser .hb-kauf,html.hb-k4 #salesTeaser .k4-probe{min-height:48px;padding:0 22px;font-size:16px;margin-top:12px}
  html.hb-k4 #salesTeaser .hb-kopf{padding-top:70px;padding-bottom:12px}
}
