/* Gästeansicht der Gästemappe g2 (öffentlich und Vorschau; m7.3a136/a137, bytegleich in g2). Mobil zuerst.
   Schrift: Georgia (Systemschrift) für Überschriften, Inter (lokal mitgeliefert, fonts/InterVariable.woff2, OFL) für Text und Bedienung.
   Farben aus begrenzter Auswahl: Elfenbein, Oliv, dezente Limone (Kontrast Text/Hintergrund >= 4,5:1, axe-Prüfung im Bericht). */
@font-face { font-family: "Inter Gast"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.ga { --ga-grund: #FBF8EF; --ga-flaeche: #FFFFFF; --ga-tinte: #23271C; --ga-leise: #555A47; --ga-linie: #E6E0CF; --ga-akzent: #4A5A27; --ga-akzent-hell: #EEF1E0; --ga-limone: #F6EDB6;
  --ga-schrift: "Inter Gast", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --ga-titel-schrift: Georgia, "Times New Roman", serif;
  font-family: var(--ga-schrift); color: var(--ga-tinte); background: var(--ga-grund); line-height: 1.55; font-size: 1rem; min-height: 100vh; overflow-wrap: break-word; hyphens: auto; container-type: inline-size; }
.ga-akzent-limone { --ga-akzent: #56640F; --ga-akzent-hell: #F3F6D8; }
.ga-akzent-terrakotta { --ga-akzent: #9A4128; --ga-akzent-hell: #F7E9E2; }
.ga-akzent-see { --ga-akzent: #1F5F7A; --ga-akzent-hell: #E3F0F5; }
.ga *, .ga *::before, .ga *::after { box-sizing: border-box; }
.ga:focus { outline: none; }
.ga a { color: var(--ga-akzent); }
.ga a:focus-visible, .ga button:focus-visible { outline: 3px solid var(--ga-akzent); outline-offset: 2px; border-radius: 6px; }
.ga-svg { display: block; width: 100%; height: 100%; }
.ga-vorschau-band { margin: 0; padding: .55rem 1rem; text-align: center; font-weight: 600; background: #FFF4C2; color: #4A3A00; border-bottom: 1px solid #E2C866; }
.ga-vorschau-band.ist-gleich { background: #E9EDDA; color: #2F3A19; border-bottom-color: #C9D0AE; }
/* Kopfleiste: Gastgeberlogo (oder Olivenblatt) und Name */
.ga-leiste { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 1rem; background: rgba(251, 248, 239, .96); border-bottom: 1px solid var(--ga-linie); }
.ga-leiste-marke { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; font-family: var(--ga-titel-schrift); font-size: 1.05rem; font-weight: 600; }
.ga-leiste-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-leiste .ga-zeichen { width: 1.6rem; height: 1.6rem; flex: none; color: var(--ga-akzent); }
.ga-leiste .ga-logo { max-height: 2.4rem; max-width: 9rem; width: auto; height: auto; object-fit: contain; }
.ga-leiste-art { flex: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ga-leise); }
.ga-rahmen { max-width: 46rem; margin: 0 auto; padding: 0 1rem 3rem; }
/* Kopf: großes Titelbild, Begrüßung im Bild unten (weicher Übergang ins Elfenbein) */
.ga-kopf { position: relative; margin: 0 -1rem; }
.ga-titelbild-rahmen { position: relative; aspect-ratio: 4 / 3; max-height: 28rem; overflow: hidden; background: #E8E2CF; }
.ga-titelbild { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.ga-titelbild-rahmen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(180deg, rgba(251, 248, 239, 0) 0%, rgba(251, 248, 239, .82) 62%, #FBF8EF 100%); pointer-events: none; }
.ga-titelbild.ist-leer { display: flex; align-items: center; justify-content: center; color: #8E9472; background:
  radial-gradient(120% 90% at 20% 15%, #F3EDD9 0%, transparent 60%), radial-gradient(90% 80% at 85% 90%, #E3E6CF 0%, transparent 65%), linear-gradient(160deg, #F1ECDD, #E2E4CF); }
.ga-titelbild.ist-leer .ga-zeichen { width: 4.5rem; height: 4.5rem; opacity: .55; margin-top: -2.5rem; }
.ga-kopf.ohne-bild .ga-titelbild-rahmen { aspect-ratio: 16 / 7; }
.ga-kopf-text { position: relative; margin: -5.2rem 0 0; padding: 0 1rem .4rem; }
.ga-einheit { display: inline-block; margin: 0 0 .4rem; padding: .15rem .6rem; border-radius: 999px; background: var(--ga-limone); font-size: .8rem; font-weight: 650; letter-spacing: .03em; color: #3F3700; }
.ga-begruessung { margin: 0; font-family: var(--ga-titel-schrift); font-size: clamp(1.3rem, 5vw, 1.7rem); line-height: 1.1; color: var(--ga-tinte); }
.ga-titel { margin: .1rem 0 0; font-family: var(--ga-titel-schrift); font-weight: 600; font-size: clamp(1.9rem, 8vw, 2.7rem); line-height: 1.08; overflow-wrap: break-word; hyphens: auto; color: var(--ga-tinte); }
.ga-willkommen { margin: .8rem 0 0; font-size: 1.04rem; color: var(--ga-tinte); white-space: pre-line; }
.ga-zeichen { display: block; width: 1.75rem; height: 1.75rem; color: var(--ga-akzent); }
.ga-sprachen { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.ga-sprache { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--ga-linie); border-radius: 999px; background: var(--ga-flaeche); text-decoration: none; color: var(--ga-tinte); font-weight: 500; }
.ga-sprache.ist-aktiv { border-color: var(--ga-akzent); border-width: 2px; font-weight: 700; color: var(--ga-akzent); }
.ga-ersatz-seite, .ga-ersatz { margin: .75rem 0 0; padding: .55rem .8rem; border-left: 4px solid #B8892B; background: #FBF3E1; color: #5A4310; font-size: .92rem; border-radius: 0 6px 6px 0; }
.ga-einheiten { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.ga-einheit-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 10px; background: var(--ga-akzent-hell); color: var(--ga-tinte); text-decoration: none; }
.ga-einheit-link.ist-aktiv { font-weight: 700; outline: 2px solid var(--ga-akzent); }
/* Kacheln mit Symbolen (2 × 2 mobil) */
.ga-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1.1rem 0 0; }
.ga-kachel { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: end; gap: .45rem .4rem; min-height: 6.2rem; padding: .85rem .8rem .8rem; border-radius: 14px;
  background: var(--ga-flaeche); border: 1px solid var(--ga-linie); color: var(--ga-tinte); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; box-shadow: 0 1px 3px rgba(35, 39, 28, .06); }
.ga-kachel-symbol { grid-column: 1 / -1; width: 1.9rem; height: 1.9rem; color: var(--ga-akzent); }
.ga-kachel-text { grid-column: 1; }
.ga-pfeil { grid-column: 2; width: 1.1rem; height: 1.1rem; color: var(--ga-akzent); }
.ga-kachel:hover { border-color: var(--ga-akzent); background: #FDFCF6; }
.ga-bereich { margin: 2rem 0 0; scroll-margin-top: 4rem; }
.ga-bereich-titel { display: flex; align-items: center; gap: .55rem; margin: 0 0 .8rem; font-family: var(--ga-titel-schrift); font-size: 1.5rem; font-weight: 600; color: var(--ga-tinte); }
.ga-bereich-symbol { width: 1.6rem; height: 1.6rem; color: var(--ga-akzent); flex: none; }
.ga-abschnitt { margin: 0 0 .85rem; padding: 1rem 1.1rem; background: var(--ga-flaeche); border: 1px solid var(--ga-linie); border-radius: 16px; scroll-margin-top: 4rem; }
.ga-abschnitt-titel { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: 1.08rem; font-weight: 650; }
.ga-symbol { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; padding: .42rem; border-radius: 50%; background: var(--ga-akzent-hell); color: var(--ga-akzent); }
.ga-text p { margin: .6rem 0 0; white-space: pre-line; }
.ga-angaben { margin: .7rem 0 0; padding: .6rem .8rem; background: var(--ga-grund); border-radius: 10px; }
.ga-angaben p { margin: .2rem 0; }
.ga-zeit { font-weight: 650; }
.ga-link { display: inline-block; min-height: 44px; line-height: 44px; }
.ga-notfall h4 { margin: .5rem 0 .25rem; font-size: 1rem; }
.ga-notfall ul { margin: 0; padding-left: 1.1rem; }
.ga-quelle { color: var(--ga-leise); font-size: .85rem; }
.ga-empfehlungen { display: grid; gap: .9rem; }
.ga-empfehlung { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; padding: .75rem; background: var(--ga-flaeche); border: 1px solid var(--ga-linie); border-radius: 16px; }
.ga-empfehlung.ist-eigenes { border-color: var(--ga-akzent); border-width: 2px; }
.ga-empfehlung-bild { width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: 12px; background: var(--ga-akzent-hell); }
.ga-empfehlung-bild.ist-leer { display: flex; align-items: center; justify-content: center; color: #8E9472; background: linear-gradient(135deg, var(--ga-akzent-hell), #F4F1E6); }
.ga-empfehlung-bild.ist-leer .ga-zeichen { width: 2.2rem; height: 2.2rem; opacity: .7; }
.ga-empfehlung-name { margin: 0; font-size: 1.05rem; }
.ga-marke { display: inline-block; margin: 0 0 .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--ga-akzent-hell); color: var(--ga-akzent); font-size: .8rem; font-weight: 700; }
.ga-marke.ist-extern { background: #F1EEE6; color: #4F4A3C; }
.ga-ort, .ga-hinweis { margin: .15rem 0 0; color: var(--ga-leise); font-size: .92rem; }
.ga-notiz { margin: .35rem 0 0; font-style: italic; }
.ga-aktionen { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
.ga-aktion { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 10px; border: 1px solid var(--ga-akzent); color: var(--ga-akzent); text-decoration: none; font-weight: 600; font-size: .92rem; }
.ga-nach-oben { margin: .25rem 0 0; text-align: right; }
.ga-nach-oben a { display: inline-block; min-height: 44px; line-height: 44px; }
/* Zustände: nicht verfügbar, leer */
.ga-zustand { max-width: 32rem; margin: 2rem auto; padding: 2rem 1.25rem; text-align: center; background: var(--ga-flaeche); border: 1px solid var(--ga-linie); border-radius: 18px; }
.ga-zustand h1, .ga-leer-titel { margin: .5rem 0 .4rem; font-family: var(--ga-titel-schrift); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
.ga-zustand p { margin: .3rem 0 0; color: var(--ga-leise); }
.ga-zustand-zeichen { display: inline-flex; width: 3rem; height: 3rem; padding: .5rem; border-radius: 50%; background: var(--ga-akzent-hell); }
.ga-zustand-zeichen .ga-zeichen { width: 100%; height: 100%; }
.ga-leer .ga-leer-titel { color: var(--ga-tinte); }
.ga-nicht-verfuegbar { padding: 1rem; }
/* Vorlagen: nur Akzente, Lesbarkeit bleibt gleich */
.ga-vorlage-minimal .ga-abschnitt, .ga-vorlage-minimal .ga-empfehlung, .ga-vorlage-minimal .ga-kachel { box-shadow: none; border-radius: 8px; }
/* Breitere Darstellung nach der Breite der Gästeansicht (auch in der schmaleren Vorschau im Partnerportal) */
@container (min-width: 768px) {
  .ga-rahmen { padding: 0 1.5rem 4rem; }
  .ga-kopf { margin: 1.25rem 0 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--ga-linie); }
  .ga-titelbild-rahmen { aspect-ratio: 16 / 8; }
  .ga-kopf-text { margin-top: -6.5rem; padding: 0 2rem 1.5rem; }
  .ga-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ga-empfehlungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Optionale Markenwelt nur ab Tablet, nie hinter dem Text */
@media (min-width: 768px) {
  .ga-hintergrund-gardasee { background: linear-gradient(180deg, #E8EFF0 0, var(--ga-grund) 22rem); }
  .ga-hintergrund-toskana { background: linear-gradient(180deg, #F1EBDD 0, var(--ga-grund) 22rem); }
  .ga-hintergrund-neutral { background: linear-gradient(180deg, #EFEDE6 0, var(--ga-grund) 22rem); }
}
@media print { .ga-sprachen, .ga-kacheln, .ga-nach-oben, .ga-aktionen, .ga-leiste { display: none; } }
