/* =======================================================================
   DR 2026-11-18 R424: Startbild mit wechselnden Bildern (Stufe 1 des
   Neukonzepts Startseite, Mockup _mockups/Startseite_2026-11-17).
   DR 2026-11-18 R425: Mauszeiger als Chevron ueber den Fotos der drei
   Suite-Banderolen (nur echte Maus); R425b auch ueber den Texttafeln.
   DR 2026-11-18 R426: Preiszeile im Datumsfenster.
   DR 2026-11-18 R427: kein Doppelrahmen nach Klick auf die Knoepfe.
   DR 2026-11-18 R428: einheitliche Strichstaerke fuer die neuen Pfeile.
   DR 2026-11-18 R429: Tablets (iPad hoch und quer) bekommen die Handy-Fassung des Startbilds.

   Diese Datei und js/dr-start.js sind rein additiv. Ruecknahme: die beiden
   Einbindungen in index.php entfernen (Suche nach "dr-start"), dann ist der
   Stand vor R424 wiederhergestellt. style3.css, dr-booking-block.css und
   compiled-bundle.js sind unveraendert.

   Entscheidungen Thomas 17.11.2026: Rezeption -> Schlafzimmer -> Wohnbereich
   -> Bad, Wechsel alle 3,5 s, leichte Bewegung (Zoom 10 %, Schwenk), am Handy
   steht der Text schon auf dem zweiten Bild (Rezeption), zweiter Knopf
   "Verfuegbarkeit pruefen", drei gleiche Abstaende Logo/Claim/Bloecke/Knoepfe.
   ======================================================================= */

/* ---------- 1) Bildebenen ---------- */
.drs-lay{
  position:absolute; left:0; top:0; right:0; bottom:0;
  overflow:hidden; pointer-events:none; z-index:0; display:block;
}
.drs-lay i{
  position:absolute; left:0; top:0; right:0; bottom:0; display:block;
  background-size:cover; background-repeat:no-repeat;
  opacity:0; transition:opacity 1.3s ease;
}
.drs-lay i.drs-on{ opacity:1; }
/* Schwenk braucht Bildrand links und rechts: Ebene breiter als der Rahmen */
.drs-lay{ --drs-in:4%; --drs-pan:2.6%; --drs-z:1.10; }
.drs-lay.drs-full{ --drs-in:12%; --drs-pan:6.5%; }
.drs-lay i[data-kb="lr"], .drs-lay i[data-kb="rl"]{
  left:calc(-1 * var(--drs-in)); right:calc(-1 * var(--drs-in));
}
@keyframes drsIn { from{ transform:scale(1); } to{ transform:scale(var(--drs-z)); } }
@keyframes drsOut{ from{ transform:scale(var(--drs-z)); } to{ transform:scale(1); } }
@keyframes drsLR { from{ transform:translateX(calc(-1 * var(--drs-pan))); } to{ transform:translateX(var(--drs-pan)); } }
@keyframes drsRL { from{ transform:translateX(var(--drs-pan)); } to{ transform:translateX(calc(-1 * var(--drs-pan))); } }
.drs-lay i.drs-mv{ animation-timing-function:linear; animation-fill-mode:both; will-change:transform; }
.drs-lay i.drs-mv[data-kb="in"] { animation-name:drsIn; }
.drs-lay i.drs-mv[data-kb="out"]{ animation-name:drsOut; }
.drs-lay i.drs-mv[data-kb="lr"] { animation-name:drsLR; }
.drs-lay i.drs-mv[data-kb="rl"] { animation-name:drsRL; }
@media (prefers-reduced-motion:reduce){
  .drs-lay i.drs-mv{ animation:none !important; }
}
/* Desktop und Tablet: Ebenen liegen im Bildfeld links neben der Texttafel */
#start .banderole-img.first.drs-host{ position:relative; overflow:hidden; }

/* ---------- 2) Handy hochkant: Bild liegt hinter dem Text ---------- */
/* Das einzelne Rezeptionsbild vor der Texttafel entfaellt, die Tafel selbst
   zeigt die Rezeption - so steht der Text schon auf dem zweiten Bild (nach
   dem Dom des Ladebilds). Reines CSS, damit es vor dem Start der Scroll-Logik gilt. */
@media (max-width:650px) and (orientation:portrait), (min-width:651px) and (min-height:600px){   /* R429: Handy hochkant UND Tablets (iPad hoch und quer) */
  body.mobileOnly #start .banderole-img.first{ display:none !important; }
  body.mobileOnly .dr-landing{
    background-image:url(../Bilder/banderole4_1.jpg);
    background-position:26% 50%;
  }
  /* kraeftigerer, gleichmaessiger Schleier: die neuen Motive sind hell */
  body.mobileOnly .dr-landing::before{
    background:linear-gradient(180deg, rgba(28,30,33,.60) 0%, rgba(28,30,33,.50) 40%, rgba(28,30,33,.62) 100%);
    z-index:1;
  }
  body.mobileOnly .dr-landing section{ z-index:2; }
}

/* Handy hochkant, Ladephase: Bis das Dom-Bild da ist, war der Lader durchsichtig
   und die Startansicht schien kurz durch (Rezeption -> Dom -> Rezeption).
   Jetzt ruhige weisse Flaeche (wie der erste Moment der Seite heute), bis der
   Dom erscheint. Sicherheitsnetz: nach 3,5 s verschwindet die Flaeche von selbst.
   Weiss statt Cool Gray: iOS-Safari uebernimmt die Farbe beim Laden fuer seine
   Leisten oben und unten und behaelt sie, grau wirkte das auf den weissen Tafeln falsch. */
@keyframes drsPre{ to{ background-size:100% 0; } }
@media (max-width:650px) and (orientation:portrait), (min-width:651px) and (min-height:600px){   /* R429: Handy hochkant UND Tablets (iPad hoch und quer) */
  body.mobileOnly #loader{
    background-image:linear-gradient(#fff, #fff); background-repeat:no-repeat; background-size:100% 100%;
    animation:drsPre .02s linear 3.5s forwards;
  }
}

/* ---------- 3) Zweiter Knopf "Verfuegbarkeit pruefen" ---------- */
.dr-landing-cta a.drs-avail{ display:none; }
/* Desktop: gefuellt in Cool Gray, links neben "Suiten entdecken" */
@media (min-width:769px){
  body:not(.mobileOnly) .dr-landing-cta{
    display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px;
  }
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail,
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail:link,
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail:visited{
    display:inline-flex; align-items:center; justify-content:center;
    background:#53575A; border-color:#53575A; color:#fff !important;
  }
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail span{ color:#fff; }
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail:hover{ background:#fff; color:#53575A !important; }
  body:not(.mobileOnly) .dr-landing-cta a.drs-avail:hover span{ color:#53575A; }
}
/* Beide Knoepfe bleiben nebeneinander, auch wenn die weisse Spalte in schmaleren
   Fenstern (ca. 1100-1500 px) knapp wird: Innenabstand und Luecke geben nach,
   die Zeile darf ein paar Pixel in den Seitenrand der Spalte ragen.
   Erst unter 960 px Fensterbreite stehen die Knoepfe untereinander. */
@media (min-width:960px){
  body:not(.mobileOnly) .dr-landing-cta{ flex-wrap:nowrap; width:max-content; gap:clamp(6px, .55vw, 10px); }
  body:not(.mobileOnly) .dr-landing-cta a{ padding-left:clamp(10px, 1.05vw, 18px); padding-right:clamp(10px, 1.05vw, 18px); }
}
/* Handy hochkant: weiss gefuellt, ueber "Suiten entdecken" */
@media (max-width:650px) and (orientation:portrait), (min-width:651px) and (min-height:600px){   /* R429: Handy hochkant UND Tablets (iPad hoch und quer) */
  /* beide Knoepfe mit gleich breitem Rahmen: die Spalte ist so breit wie der
     laengere Text, der kuerzere Knopf wird darauf gestreckt (Thomas 18.11.2026) */
  body.mobileOnly .dr-landing-cta{
    display:flex; flex-direction:column; align-items:stretch; width:max-content; max-width:100%; gap:10px;
  }
  body.mobileOnly .dr-landing-cta a{ min-width:15.5em; box-sizing:border-box; text-align:center; justify-content:center; margin-left:0; margin-right:0; }
  body.mobileOnly .dr-landing-cta a.drs-avail,
  body.mobileOnly .dr-landing-cta a.drs-avail:link,
  body.mobileOnly .dr-landing-cta a.drs-avail:visited{
    display:inline-flex; align-items:center; justify-content:center;
    background:#fff; border-color:#fff; color:#53575A !important;
  }
  body.mobileOnly .dr-landing-cta a.drs-avail span{ color:#53575A; }
}

/* ---------- 4) Drei gleiche Abstaende: Logo / Claim / Bloecke / Knoepfe ---------- */
/* Raster statt Einzelabstaende: die drei Luecken wachsen gemeinsam bis zum
   Hoechstwert und schrumpfen gemeinsam auf niedrigen Bildschirmen. Die beiden
   Dreierbloecke bleiben ein Paket (kleiner fester Abstand).
   --drs-k1 / --drs-k3 gleichen aus, was Zeilenhoehe und Logo optisch
   dazugeben, damit die Luecken von Schriftkante zu Schriftkante gleich sind. */
.dr-landing{
  --drs-g:calc(var(--dr-ui, 12px) * 5.55);      /* Hoechstwert der drei Luecken: sichtbar rund 84 px bei 12 px Schrift ("weit") */
  --drs-pack:calc(var(--dr-ui, 12px) * 2.45);   /* Abstand der beiden Dreierbloecke zueinander (Paket) */
  --drs-k1:calc(var(--dr-ui, 12px) * .71);      /* gemessen 18.11.2026 in Chrome: gleicht Logo->Claim an Claim->Block an */
  --drs-k3:calc(var(--dr-ui, 12px) * .83);      /* gleicht Block->Knoepfe an Claim->Block an */
}
@media (max-width:650px) and (orientation:portrait){
  body.mobileOnly .dr-landing{ --drs-k1:calc(var(--dr-ui, 12px) * .53); --drs-k3:calc(var(--dr-ui, 12px) * .55); }   /* gemessen 18.11.2026 bei 440 px Breite */
}

/* Claim in Titillium statt Garamond, etwas groesser als die uebrigen Zeilen (Entscheidung Thomas 17.11.2026) */
.dr-landing .dr-landing-claim,
.dr-landing .dr-landing-claim span{
  font-family:Titillium, "Titillium Web", sans-serif !important; font-weight:300 !important;
  font-size:calc(var(--dr-ui, 12px) * 1.25) !important; letter-spacing:.2em !important; line-height:1.85 !important;
}
@media (max-width:650px) and (orientation:portrait){
  body.mobileOnly .dr-landing .dr-landing-claim,
  body.mobileOnly .dr-landing .dr-landing-claim span{
    font-size:calc(var(--dr-ui, 12px) * 1.125) !important; letter-spacing:.17em !important;
  }
}
/* Sehr schmale Desktop-Fenster (769-959 px): Claim bleibt zweizeilig,
   die Knoepfe stehen untereinander und sind gleich breit */
@media (min-width:769px) and (max-width:959px){
  body:not(.mobileOnly) .dr-landing-cta{ flex-direction:column; flex-wrap:nowrap; align-items:stretch; width:max-content; max-width:100%; }
  body:not(.mobileOnly) .dr-landing-cta a{ box-sizing:border-box; text-align:center; justify-content:center; margin-left:0; margin-right:0; }
  body:not(.mobileOnly) .dr-landing .dr-landing-claim,
  body:not(.mobileOnly) .dr-landing .dr-landing-claim span{
    font-size:calc(var(--dr-ui, 12px) * 1.1) !important; letter-spacing:.12em !important;
  }
}
@media (min-width:769px){
  body:not(.mobileOnly) .dr-landing .dr-landing-inner{
    display:grid !important; grid-template-columns:100%; justify-items:center;
    grid-template-rows:auto minmax(16px, var(--drs-g)) auto minmax(16px, var(--drs-g)) auto auto minmax(16px, var(--drs-g)) auto;
    align-content:center; height:100%; box-sizing:border-box;
    padding-top:104px; padding-bottom:40px;
  }
}
@media (max-width:650px) and (orientation:portrait), (min-width:651px) and (min-height:600px){   /* R429: Handy hochkant UND Tablets (iPad hoch und quer) */
  body.mobileOnly .dr-landing .dr-landing-inner{
    display:grid !important; grid-template-columns:100%; justify-items:center;
    grid-template-rows:auto minmax(14px, var(--drs-g)) auto minmax(14px, var(--drs-g)) auto auto minmax(14px, var(--drs-g)) auto;
    align-content:end; height:100%; box-sizing:border-box;
  }
}
@media (min-width:769px){
  body:not(.mobileOnly) .dr-landing .dr-landing-logo   { grid-row:1; margin:0 !important; }
  body:not(.mobileOnly) .dr-landing .dr-landing-claim  { grid-row:3; margin:var(--drs-k1) 0 0 !important; }
  body:not(.mobileOnly) .dr-landing .dr-landing-context{ grid-row:5; margin:0 !important; }
  body:not(.mobileOnly) .dr-landing .dr-landing-usps   { grid-row:6; margin:var(--drs-pack) 0 0 !important; }
  body:not(.mobileOnly) .dr-landing .dr-landing-cta    { grid-row:8; margin:var(--drs-k3) 0 0 !important; padding-top:0 !important; }
}
@media (max-width:650px) and (orientation:portrait), (min-width:651px) and (min-height:600px){   /* R429: Handy hochkant UND Tablets (iPad hoch und quer) */
  body.mobileOnly .dr-landing .dr-landing-logo   { grid-row:1; margin:0 !important; }
  body.mobileOnly .dr-landing .dr-landing-claim  { grid-row:3; margin:var(--drs-k1) 0 0 !important; }
  body.mobileOnly .dr-landing .dr-landing-context{ grid-row:5; margin:0 !important; }
  body.mobileOnly .dr-landing .dr-landing-usps   { grid-row:6; margin:var(--drs-pack) 0 0 !important; }
  body.mobileOnly .dr-landing .dr-landing-cta    { grid-row:8; margin:var(--drs-k3) 0 0 !important; padding-top:0 !important; }
}

/* ---------- 5) R425: Mauszeiger als Chevron ueber den Banderolen-Fotos ---------- */
html.drs-cur-r #suite1-main .banderole-img, html.drs-cur-r #suite2-main .banderole-img, html.drs-cur-r #suite3-main .banderole-img{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M18 6l18 18-18 18' stroke='%2353575A' stroke-width='3.6' opacity='.55'/%3E%3Cpath d='M18 6l18 18-18 18' stroke='%23fff' stroke-width='1.7'/%3E%3C/g%3E%3C/svg%3E") 24 24, e-resize;
}
html.drs-cur-l #suite1-main .banderole-img, html.drs-cur-l #suite2-main .banderole-img, html.drs-cur-l #suite3-main .banderole-img{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke-linecap='square' transform='translate(48 0) scale(-1 1)'%3E%3Cpath d='M18 6l18 18-18 18' stroke='%2353575A' stroke-width='3.6' opacity='.55'/%3E%3Cpath d='M18 6l18 18-18 18' stroke='%23fff' stroke-width='1.7'/%3E%3C/g%3E%3C/svg%3E") 24 24, w-resize;
}

/* R425b (18.11.2026, Wunsch Thomas): auch ueber den weissen Texttafeln der Suiten,
   dort in Cool Gray statt weiss. Klickbare Elemente darin behalten ihren eigenen Zeiger. */
html.drs-cur-r #suite1-main .banderole aside, html.drs-cur-r #suite2-main .banderole aside, html.drs-cur-r #suite3-main .banderole aside{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M18 6l18 18-18 18' stroke='%23fff' stroke-width='3.6' opacity='.9'/%3E%3Cpath d='M18 6l18 18-18 18' stroke='%2353575A' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E") 24 24, e-resize;
}
html.drs-cur-l #suite1-main .banderole aside, html.drs-cur-l #suite2-main .banderole aside, html.drs-cur-l #suite3-main .banderole aside{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke-linecap='square' transform='translate(48 0) scale(-1 1)'%3E%3Cpath d='M18 6l18 18-18 18' stroke='%23fff' stroke-width='3.6' opacity='.9'/%3E%3Cpath d='M18 6l18 18-18 18' stroke='%2353575A' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E") 24 24, w-resize;
}

/* ---------- 6) R426: Preiszeile im Datumsfenster ---------- */
/* Kleine feste Zeile ueber dem Knopf "Verfuegbarkeit pruefen" (Entscheidung
   Thomas 17.11.2026: Startbild bleibt preisfrei, die Staffel steht im
   Datumsfenster). Text und Betraege kommen aus js/dr-start.js (R426). */
#drSsPop .drs-price{
  margin:1em 0 1.05em; padding:.95em 0 0; border-top:1px solid rgba(255,255,255,.28);
  text-align:center; color:#fff; line-height:1.75;
  /* gleiche Schrift wie "Anreise"/"Abreise" und der Knopf: Versalien, gleiche
     Groesse, gleiche Laufweite (Thomas 18.11.2026: nicht noch eine Schriftgroesse) */
  font-size:1em; letter-spacing:inherit; text-transform:uppercase;
}
#drSsPop .drs-price b{ display:block; font-weight:inherit; opacity:.72; }
#drSsPop .drs-price span{ display:block; white-space:nowrap; }

/* R426b (18.11.2026): Mit der Preiszeile wird das Datumsfenster rund 100 px hoeher.
   Auf niedrigen Bildschirmen (kleines iPhone, Laptop mit niedrigem Browserfenster)
   ragte es sonst unten hinaus und der Knopf "Verfuegbarkeit pruefen" war abgeschnitten.
   1) Preiszeile dort kompakter, 2) Fenster nie hoeher als der Bildschirm, sonst scrollbar. */
@media (max-height:760px){
  #drSsPop .drs-price{ margin:.55em 0 .7em; padding-top:.6em; line-height:1.5; }
}
#drSsPop{ max-height:calc(100vh - 96px); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
@supports (height:100dvh){ #drSsPop{ max-height:calc(100dvh - 96px); } }
@media (max-width:768px){
  #drSsPop{ max-height:calc(100vh - 72px); }
  @supports (height:100dvh){ #drSsPop{ max-height:calc(100dvh - 72px); } }
}

/* ---------- 7) R427: kein Doppelrahmen nach Klick (18.11.2026, Wunsch Thomas) ---------- */
/* style3.css zeichnet bei :focus-visible einen Rahmen plus weissen Saum (R195).
   Nach Klick/Fingertipp (html.drs-ptr, gesetzt in js/dr-start.js) auf den Knoepfen
   des Startbilds und "Jetzt buchen" ausblenden; mit der Tab-Taste bleibt er. */
html.drs-ptr .dr-landing-cta a:focus, html.drs-ptr .dr-landing-cta a:focus-visible,
html.drs-ptr a.dr-end-cta:focus, html.drs-ptr a.dr-end-cta:focus-visible,
html.drs-ptr button.dr-end-cta:focus, html.drs-ptr button.dr-end-cta:focus-visible{
  outline:none !important; box-shadow:none !important;
}

/* ---------- 8) R428: einheitliche Pfeile (18.11.2026, Wunsch Thomas) ---------- */
/* Die vier Pfeil-Symbole in index.php (#arrow-right, #arrow-left, #arrow-up, #arrow-down)
   haben jetzt die Form des Mauszeigers: rechter Winkel, eckige Enden. Damit gilt sie fuer
   alle Pfeile der Startseite (Seitenpfeile, "Suite entdecken", Pfeile nach unten,
   Wischpfeile am Handy, Klappliste "Anfahrt & Aufenthalt"). Die Strichstaerke ist dank
   vector-effect im Symbol unabhaengig von der Groesse und hier einheitlich festgelegt.
   Ruecknahme: diesen Block entfernen und die vier Symbole aus der Sicherung
   index_BACKUP_vor_R428_20261118.php zurueckholen. */
.dr-chevron svg, .svg-wrapper.arrow svg{
  stroke-width:1.5px !important; stroke-linecap:square; stroke-linejoin:miter;
}

/* ---------- 9) R429: Tablets bekommen die Handy-Fassung (18.11.2026, Wunsch Thomas) ---------- */
/* iPads (body.mobileOnly, ab 651 px Breite und 600 px Hoehe) zeigen das Startbild schon
   bisher bildfuellend. Jetzt dort ebenfalls: wechselnde Bilder als Hintergrund, beide
   Knoepfe untereinander, drei gleiche Abstaende. Handys quer sind zu niedrig und bleiben
   wie bisher. Auf Tablets steht der Inhalt in der Mitte statt unten, der Claim behaelt
   die Desktop-Groesse, die Abstandskorrekturen sind die des Desktops (gleiche Schrift). */
@media (min-width:651px) and (min-height:600px){
  body.mobileOnly .dr-landing .dr-landing-inner{ align-content:center; padding-top:96px; padding-bottom:72px; }
}
/* R429b: Tablets hochkant – unten Platz fuer die Gutschein-Box lassen, damit sie den
   Knopf "Suiten entdecken" nicht ueberdeckt (iPad mini / iPad A16 im Simulator geprueft). */
@media (min-width:651px) and (min-height:600px) and (orientation:portrait){
  body.mobileOnly .dr-landing .dr-landing-inner{ padding-bottom:210px; }
}
/* Tablets im Querformat (iPad mini / iPad): Mit der Tablet-Schrift der Seite (ca. 17 px)
   braucht der Block rund 825 px Hoehe, sichtbar sind nur 660-750 px. Daher wird der
   ganze Block gleichmaessig verkleinert (Logo, Text, Knoepfe im selben Verhaeltnis). */
@media (min-width:651px) and (min-height:600px) and (orientation:landscape) and (max-height:900px){
  body.mobileOnly .dr-landing .dr-landing-inner{ padding-top:0; padding-bottom:0; transform:scale(.86); transform-origin:50% 54%; }
}
@media (min-width:651px) and (min-height:600px) and (orientation:landscape) and (max-height:800px){
  body.mobileOnly .dr-landing .dr-landing-inner{ transform:scale(.78); }
}
@media (min-width:651px) and (min-height:600px) and (orientation:landscape) and (max-height:700px){
  body.mobileOnly .dr-landing .dr-landing-inner{ transform:scale(.72); }
}
