/* ==========================================================================
   guest-frame.css – Rahmen der Gästeseiten buchen/ · zimmer/ · konto/ (Fundament F4)
   Kopf und Fuß wie auf der Startseite: Webetikett mit umgeschlagenen Enden, Navigation
   mit Faden-Unterstreichung, „Buchen“-Pille, dunkler Fuß mit dem großen Webetikett.
   Nutzt die Startseiten-Bausteine (components/header.css, footer.css, tag.css, button.css)
   und ergänzt nur den festen Kopf (die Startseite blendet ihren per header.js ein/aus).

   <body class="g-body">
     <header class="g-head"> … .site-header__brand · .site-nav · .g-head__actions … </header>
     <main class="g-main" id="inhalt" tabindex="-1"> … </main>
     <footer class="site-footer g-foot" data-theme="dark"> … </footer>

   Rahmen-Platzhalter („Diese Seite entsteht gerade“): .g-frame (+ __head __eyebrow __title
   __lead __card __art __body __states __links) – wird von den Bauteams ersetzt.
   ========================================================================== */

.g-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--c-paper);
}
html.a-guest { scroll-padding-top: calc(var(--header-h) + var(--s-4)); }

/* ---- Kopf --------------------------------------------------------------------------- */
.g-head {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  color: var(--c-ink);
  background-color: rgb(245 239 228 / .9);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
          backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: inset 0 -1px 0 var(--c-line);
}
.g-head__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 100%;
}
.g-head .site-nav__link[aria-current="page"]::after { transform: scale(1); }
.g-head__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--s-2);
  margin-left: auto;
}
@media (min-width: 1024px) { .g-head__actions { margin-left: 0; } }
.g-head__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: var(--tap);
  padding: 0 .65rem;
  border-radius: var(--r-pill);
  color: inherit;
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.g-head__link .a-ico { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) { .g-head__link:hover { background-color: rgb(35 31 28 / .05); } }
.g-head__link[aria-current="page"] { font-weight: 650; }
.g-head__link[aria-current="page"] .a-ico { color: var(--c-krapp); }
@media (max-width: 599.98px) {
  .g-head__link { width: var(--tap); padding: 0; justify-content: center; }
  .g-head__link > span:not(.a-ico) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Ruhiger Kopf im Buchungsablauf: nur Etikett, Hilfe und Rückweg */
.g-head--focus .site-nav { display: none; }
.g-head__note {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-inline: auto;
  color: var(--c-ink-2);
  font-size: var(--step--1);
}
.g-head__note .a-ico { width: 1.1rem; height: 1.1rem; color: var(--c-moos); }
@media (min-width: 900px) { .g-head--focus .g-head__note { display: inline-flex; } .g-head--focus .g-head__actions { margin-left: 0; } }

/* 1024–1199 px: Navigation, „Ihr Konto“ und „Buchen“ teilen sich die Zeile – die Wortmarke wird nie
   gekürzt („Mu…“), „Ihr Konto“ steht dort nur als Zeichen (Name bleibt für Screenreader). */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .g-head .site-header__brand { flex: none; }
  .g-head__inner { gap: var(--s-4); }
  .g-head:not(.g-head--focus) .g-head__link { width: var(--tap); padding: 0; justify-content: center; }
  .g-head:not(.g-head--focus) .g-head__link > span:not(.a-ico) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- Inhalt ------------------------------------------------------------------------- */
.g-main { flex: 1 0 auto; outline: none; }

/* ---- Fuß (Startseiten-Fuß ohne Abschluss-CTA und ohne mobile Buchungsleiste) ----------- */
.g-foot.site-footer { padding-top: 0; padding-bottom: calc(var(--s-7) + var(--safe-bottom)); }
.g-foot .footer-label { border-top: 0; }

/* ==========================================================================
   Rahmen-Platzhalter: „Diese Seite entsteht gerade“
   ========================================================================== */
.g-frame {
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.g-frame__head { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.g-frame__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.g-frame__title {
  --wght: 340;
  font-family: var(--font-display);
  font-weight: var(--wght);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.g-frame__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--c-krapp);
}
.g-frame__lead { max-width: 54ch; font-size: var(--step-0); line-height: var(--lh-body); color: var(--c-ink-2); }
.g-frame__card {
  position: relative;
  display: grid;
  gap: 1.5rem 3rem;
  padding: clamp(1.25rem, .75rem + 2.5vw, 2.75rem);
  border-radius: var(--r-card);
  background-color: var(--c-paper-2);
  box-shadow: var(--shadow-1);
}
.g-frame__card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgb(138 47 36 / .35);
  border-radius: 5px;
  pointer-events: none;
}
@media (min-width: 900px) { .g-frame__card { grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); } }
.g-frame__art {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 12rem;
  border-radius: 6px;
  background-color: var(--c-linen);
  background-image: var(--a-twill);
  box-shadow: inset 0 0 0 1px rgb(35 31 28 / .08);
  overflow: hidden;
}
.g-frame__art .a-art { width: min(14rem, 78%); }
.g-frame__body { position: relative; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.g-frame__h {
  --wght: 380;
  font-family: var(--font-display);
  font-weight: var(--wght);
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: var(--step-2);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.g-frame__h em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--c-krapp); }
.g-frame__text { max-width: 60ch; color: var(--c-ink-2); line-height: var(--lh-body); }
.g-frame__text code { padding: .05em .35em; border-radius: 4px; background: var(--c-linen); color: var(--c-ink); font-size: .9em; }
.g-frame__label {
  margin-top: .5rem;
  font-size: .6875rem;
  font-weight: 600;
  font-stretch: 85%;
  font-variation-settings: "wdth" 85;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.g-frame__states { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.g-frame__states a { text-decoration: none; }
.g-frame__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .5rem; }

/* Mitgebrachte Auswahl (buchen/: Adresse von der Startseite) */
.g-trip {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.15rem;
  border-radius: 6px;
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line), inset 3px 0 0 var(--c-krapp);
}
.g-trip__kicker { font-size: .6875rem; font-weight: 600; font-stretch: 85%; font-variation-settings: "wdth" 85; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-2); }
.g-trip__value { font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums lining-nums; }
.g-trip__more { font-size: var(--step--1); color: var(--c-ink-2); }

/* Stoffmuster (zimmer/): Bouclé · Fischgrat · Köper als reine CSS-Fläche */
.g-swatch {
  position: absolute;
  inset: 0;
  background-color: var(--sw, var(--c-linen));
}
.g-swatch[data-pattern="boucle"] { background-image: radial-gradient(circle at 30% 30%, rgb(255 255 255 / .35) 0 1.5px, transparent 2px), radial-gradient(circle at 70% 60%, rgb(35 31 28 / .12) 0 1.5px, transparent 2px); background-size: 9px 9px, 11px 11px; }
.g-swatch[data-pattern="fischgrat"] { background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / .1) 0 2px, transparent 2px 8px), repeating-linear-gradient(-45deg, rgb(0 0 0 / .12) 0 2px, transparent 2px 8px); background-size: 16px 16px; }
.g-swatch[data-pattern="koeper"] { background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / .1) 0 2px, transparent 2px 6px); }
.g-swatch ~ * { position: relative; }
.g-tag { min-width: 8.5rem; filter: drop-shadow(0 3px 8px rgb(0 0 0 / .22)); }

@media print {
  .g-head, .g-foot { display: none; }
}
