/* Kaufhürden-Anpassungen 05.12.2026 (lokal, noch nicht live)
   1) Preiszeile und Beispielzeile im Hero
   2) Cookie-Banner nur auf dem Handy (max 640px) kompakter, Ziel ≤ 64px Höhe
   Desktop-Banner, Funktion und Texte bleiben unverändert. */

/* ----- Startseite: Preiszeile, optisch vom Untertitel getrennt ----- */
html body.rh-home #hero .rh-hero-price{
  margin:16px 0 0;
  font-size:.86rem;
  font-weight:600;
  line-height:1.45;
  color:var(--rh-text,#111111);
  font-variant-numeric:tabular-nums;
  max-width:36em;
}
html body.rh-home #hero .rh-hero-price-unit{
  white-space:nowrap;
}
html body.rh-home #hero .rh-hero-chf{
  display:inline;
  white-space:nowrap;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  color:var(--rh-text,#111111);
  background:rgba(253,68,0,.08);
  border:1px solid rgba(253,68,0,.22);
  border-radius:999px;
  padding:2px 8px;
}
/* #FD4400 als Fliesstext hätte nur ca. 3.4:1 Kontrast auf dem hellen Grund.
   Deshalb ruhiger Chip, Schrift bleibt dunkel, Logo-Orange nur als Fläche/Linie. */
html body.rh-home #hero .rh-hero-examples{
  margin:8px 0 0;
  padding-bottom:16px;
  font-size:.86rem;
  line-height:1.45;
  color:var(--rh-muted,#5c5c66);
  font-weight:400;
  max-width:36em;
  hyphens:none;
}
@media (min-width:961px){
  html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4) body.rh-home:not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13) #hero .rh-hero-examples{
    padding-bottom:18px;
  }
}
html body.video-page .hero-examples{
  margin:12px 0 0;
  font-size:.86rem;
  line-height:1.45;
  color:var(--rh-muted,#5c5c66);
  font-weight:400;
  max-width:36em;
  hyphens:none;
}
html body.rh-home #hero .rh-hero-examples a,
html body.video-page .hero-examples a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:#ff5a00;
  text-underline-offset:3px;
  font-weight:500;
}
html body.video-page .hero-examples a{color:#111110;font-weight:500}
@media (hover:hover) and (pointer:fine){
  html body.rh-home #hero .rh-hero-examples a:hover,
  html body.video-page .hero-examples a:hover,
  html:not(#r0):not(#r1):not(#r2):not(#r3):not(#r4) body.rh-home:not(#r5):not(#r6):not(#r7):not(#r8):not(#r9):not(#r10):not(#r11):not(#r12):not(#r13) #hero .rh-hero-examples a:hover{
    color:inherit!important;
    text-decoration-line:underline!important;
    text-decoration-thickness:2px!important;
    text-decoration-color:#FD4400!important;
  }
}
.rh-nbsp,.rh-nowrap{white-space:nowrap}

/* Handy: H1 → Untertitel → Demo-Film → Preiszeile → Beispielzeile → CTAs.
   Der Film bleibt direkt unter der Unterzeile (Regel 29.11.2026).
   !important, weil die Hero-Order in einem späteren Style-Block steht. */
@media (max-width:960px){
  html body.rh-home #hero .rh-hero-price,
  html body.rh-home #hero .rh-hero-examples{
    order:5!important;
  }
  html body.rh-home #hero .rh-hero-price{
    font-size:14px;
    line-height:1.4;
    margin-top:12px;
    margin-bottom:0;
  }
  html body.rh-home #hero .rh-hero-examples{
    font-size:13px;
    line-height:1.35;
    margin-top:8px;
    margin-bottom:0;
    padding-bottom:0;
  }
  /* CTAs bleiben bei order:6 aus dem bestehenden Block, nach den neuen Zeilen */
  html body.rh-home #hero .rh-ctas{
    margin-top:12px!important;
    margin-bottom:0!important;
  }
}

/* Sprungziele der Beispielkarten unter der fixen Kopfleiste */
#beispiel-immo,#beispiel-ecom,#beispiel-gastro,
#beispiel-beauty,#beispiel-industrie,#beispiel-bau{
  scroll-margin-top:120px;
}
@media (max-width:900px){
  #beispiel-immo,#beispiel-ecom,#beispiel-gastro,
  #beispiel-beauty,#beispiel-industrie,#beispiel-bau{
    scroll-margin-top:100px;
  }
}

/* ----- Cookie-Banner: nur Mobil ≤640px -----
   Zwei kompakte Zeilen, Ziel ≤ 64px Höhe:
   Zeile 1: Titel + «Mehr erfahren» (einzeilig).
   Zeile 2: beide Buttons nebeneinander, 40px hoch, Abstand 6px.
   Langer Erklärungstext bleibt im DOM (Screenreader), visuell verborgen.
   Desktop unverändert. */
@media (max-width:640px){
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    top:auto!important;
    box-sizing:border-box!important;
    padding:2px 8px!important;
    gap:2px!important;
    border-radius:10px!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner>div:first-child{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:baseline!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    position:relative!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner strong{
    font-size:12px!important;
    line-height:1.15!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    min-width:0!important;
    flex:0 1 auto!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner p{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner>div:first-child a,
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner a:not(.button){
    color:#fff!important;
    font-size:12px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner .vaa-cookie-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:6px!important;
    width:100%!important;
    flex:0 0 auto!important;
  }
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner button,
  html body:not(#vaa1):not(#vaa2):not(#vaa3) #vaa-cookie-banner a.button{
    min-height:40px!important;
    height:40px!important;
    padding:0 8px!important;
    font-size:12px!important;
    width:100%!important;
    white-space:nowrap!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}
