/* Gästemappe-Verwaltung (m7.3a130; m7.3a132 Mockup-Abgleich am Dateiende). Baut auf den Partner-Tokens (styles/app.css) auf; Gestaltungsrichtung nach Mockup 01/02:
   helle warme Flächen, Oliv/Limone, klare Abstände, große Bedienziele. Keine Hintergrundbilder in der Arbeitsfläche. */
.gm-seite { --gm-flaeche: #FFFFFF; --gm-warm: #FAF8F2; --gm-linie: #E4E1D6; --gm-limone: #F3F2D9; }
.gm-kopfzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 1rem; }
.gm-kopf-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.gm-zustand { font-size: .9rem; color: var(--muted, #5F6152); min-height: 1.4em; }
.gm-zustand.ist-gespeichert::before { content: "✓ "; color: var(--olive, #6B7A4B); }
.gm-zustand.ist-fehler, .gm-zustand.ist-konflikt { color: var(--danger, #A3342A); font-weight: 600; }
.gm-zustand.ist-speichert { color: var(--muted, #5F6152); }
.gm-pub-status { font-size: .88rem; padding: .25rem .6rem; border-radius: 999px; background: var(--gm-limone); }
.gm-seite .btn { min-height: 44px; }
.gm-seite .btn-klein { min-height: 40px; }
.gm-h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.gm-h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.gm-klein { font-size: .88rem; color: var(--muted, #5F6152); }
.gm-meldung { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.gm-tabs { margin: 0 0 1rem; }
.gm-arbeitsflaeche { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.gm-bearbeitung { min-width: 0; }
.gm-vorschau { min-width: 0; background: var(--gm-warm); border: 1px solid var(--gm-linie); border-radius: 14px; padding: 1rem; }
.gm-vorschau-geraet { max-width: 26rem; margin: 0 auto; max-height: 70vh; overflow: auto; border: 8px solid #2A2D24; border-radius: 28px; background: #FBF9F3; }
.gm-vorschau-geraet .ga { min-height: 0; }
.gm-nur-mobil { display: inline-flex; }
@media (max-width: 1023px) {
  .gm-arbeitsflaeche .gm-vorschau { display: none; }
  .gm-arbeitsflaeche.ist-vorschau .gm-vorschau { display: block; }
  .gm-arbeitsflaeche.ist-vorschau .gm-bearbeitung { display: none; }
}
@media (min-width: 1024px) {
  .gm-nur-mobil { display: none; }
  .gm-arbeitsflaeche { grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 1fr); align-items: start; }
  .gm-vorschau { position: sticky; top: 1rem; }
}
.gm-feld { margin: 0 0 .9rem; }
.gm-feld .input, .gm-seite textarea.input, .gm-seite select.input { width: 100%; box-sizing: border-box; min-height: 44px; }
.gm-feld-klein { flex: 1 1 10rem; }
.gm-angaben { display: flex; flex-wrap: wrap; gap: .75rem; margin: .25rem 0 .75rem; }
.gm-abschnitte { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.gm-abschnitt { background: var(--gm-flaeche); border: 1px solid var(--gm-linie); border-radius: 12px; padding: .6rem .75rem; }
.gm-abschnitt.ist-offen { border-color: var(--olive, #6B7A4B); }
.gm-abschnitt.ist-gezogen { opacity: .5; }
.gm-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.gm-griff { cursor: grab; color: var(--muted, #5F6152); font-size: 1.1rem; padding: 0 .25rem; user-select: none; }
.gm-abschnitt-name { flex: 1 1 12rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.gm-art { font-weight: 400; color: var(--muted, #5F6152); font-size: .88rem; }
.gm-chip { font-size: .8rem; }
.gm-chip.ist-vorschlag, .gm-chip.ist-veraltet { background: #FBEFD0; color: #6A4A00; }
.gm-chip.ist-angepasst { background: #FFF3B8; color: #5A4A00; }
.gm-chip.ist-erbt, .gm-chip.ist-sichtbar, .gm-chip.ist-aktuell { background: #E7ECD8; color: #3E4A22; }
.gm-chip.ist-ausgeblendet, .gm-chip.ist-leer, .gm-chip.ist-fehlt { background: #ECECE6; color: #4A4A40; }
.gm-sichtbar, .gm-check, .gm-radio { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
.gm-reihe { display: inline-flex; gap: .25rem; }
.gm-editor { margin: .75rem 0 .25rem; padding: .75rem 0 0; border-top: 1px solid var(--gm-linie); }
.gm-editor-kompakt { border: 1px solid var(--gm-linie); border-radius: 12px; padding: .75rem; margin: 0 0 .75rem; }
.gm-editor-aktionen { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 0; }
.gm-hinzu { display: flex; flex-wrap: wrap; gap: .5rem; }
.gm-hinzu select { flex: 1 1 14rem; }
.gm-schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; list-style: none; padding: 0; margin: .25rem 0 1rem; }
.gm-schritte li { display: flex; align-items: center; gap: .4rem; padding: .45rem .5rem; border-radius: 10px; background: var(--gm-warm); font-size: .88rem; min-width: 0; }
.gm-schritte li.ist-aktiv { background: var(--gm-limone); font-weight: 700; outline: 2px solid var(--olive, #6B7A4B); }
.gm-schritte li.ist-fertig .gm-schritt-nr::after { content: " ✓"; }
.gm-schritt-nr { display: inline-flex; justify-content: center; min-width: 1.6rem; height: 1.6rem; align-items: center; border-radius: 50%; background: #FFFFFF; font-weight: 700; }
.gm-assistent-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin: 1.25rem 0 0; }
.gm-assistent-vorschlag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .75rem; border: 1px dashed var(--gm-linie); border-radius: 12px; margin: 0 0 .6rem; }
.gm-assistent-vorschau { margin: 1rem 0; }
.gm-assistent-vorschau .ga { border: 1px solid var(--gm-linie); border-radius: 14px; }
.gm-daten { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem 1rem; }
.gm-daten dt { font-weight: 600; }
.gm-daten dd { margin: 0; overflow-wrap: anywhere; }
.gm-hindernisse ul { margin: 0; padding-left: 1.2rem; }
.gm-hindernisse a { display: inline-block; min-height: 44px; line-height: 44px; }
.gm-erweiterung { margin: 0 0 1rem; }
.gm-suchzeile { display: flex; flex-wrap: wrap; gap: .5rem; }
.gm-suchzeile .input { flex: 1 1 10rem; min-height: 44px; }
.gm-treffer { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .4rem; }
.gm-treffer li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .6rem; border: 1px solid var(--gm-linie); border-radius: 10px; }
.gm-empf-liste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.gm-empf { padding: .6rem .75rem; border: 1px solid var(--gm-linie); border-radius: 12px; background: var(--gm-flaeche); }
.gm-empf.ist-weg { opacity: .75; border-style: dashed; }
.gm-empf textarea { width: 100%; box-sizing: border-box; margin-top: .5rem; }
.gm-extern { margin: 0 0 1rem; }
.gm-ziele { list-style: none; padding: 0; display: grid; gap: .75rem; }
.gm-ziel { padding: .75rem 1rem; border: 1px solid var(--gm-linie); border-radius: 12px; background: var(--gm-flaeche); overflow-wrap: anywhere; }
.gm-ziel code { font-size: .92rem; }
.gm-untertabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; }
.gm-radios { border: 0; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.gm-radios legend { font-weight: 600; margin: 0 0 .25rem; width: 100%; }
.gm-staende { list-style: none; padding: 0; display: grid; gap: .4rem; }
.gm-staende li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.gm-ue { padding: .5rem 0; border-bottom: 1px solid var(--gm-linie); }
.gm-quelle { margin: .2rem 0 .4rem; font-style: italic; }
.gm-notfall { border: 1px solid var(--gm-linie); border-radius: 10px; padding: .5rem .75rem; width: 100%; }
.gm-notfall-zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .4rem; margin: .4rem 0; }
.gm-druck { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 1024px) { .gm-druck { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gm-druck-vorschau { background: var(--gm-warm); border: 1px solid var(--gm-linie); border-radius: 14px; padding: 1rem; min-width: 0; }
.gm-druck-canvas { display: block; max-width: 100%; height: auto; margin: 0 auto; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); background: #FFFFFF; }
.gm-druck-probleme { color: var(--danger, #A3342A); padding-left: 1.2rem; }
.gm-weiteres { margin: 0 0 .9rem; }
.gm-seite :focus-visible { outline: 3px solid var(--olive, #6B7A4B); outline-offset: 2px; }
.gm-assistent { padding: 1rem 1.25rem; }
.gm-tabs { flex-wrap: wrap; }
@media (min-width: 1024px) { .gm-arbeitsflaeche.ohne-vorschau { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { .gm-vorschau-geraet { border: 1px solid var(--gm-linie); border-radius: 14px; max-height: none; } .gm-vorschau { padding: .5rem; } }
/* Stand 2 (0180): Plattformbereich Zusatzmodul und Hinweisliste mit Innenabstand */
.gm-seite .panel.gm-zusatzmodul, .gm-seite .panel.gm-hindernisse { padding: 14px 18px 18px; }
.gm-seite .panel.gm-zusatzmodul { margin: 12px 0 16px; }
.gm-zusatzmodul input[type=date] { max-width: 14rem; }
/* Gesperrter Hauptknopf sichtbar gesperrt: .ag-frame .btn-primary (partner-agentur-design.css) überdeckt sonst .btn-primary:disabled (Befund a127) */
.gm-seite .btn-primary:disabled { background: var(--olive-tint); border-color: var(--olive-border); color: #7E8A63; }

/* ======================================================================================================
   m7.3a132 – Mockup-Abgleich (nur Darstellung). Alle Regeln hängen an .gm-seite; übrige Seiten unverändert.
   Oliv-/Limonenpalette nur in der Gästemappe (App-Rahmen bleibt Petrol). Desktop: warme Arbeitsfläche als
   Karte, ohne Hintergrundbild hinter Text. Mobil (< 640 px): keine dekorative Rahmung.
   Kontraste (gemessen im Bericht): Text #22251B, leise #575A49 auf #FBF9F3/#FFFFFF, Weiß auf #3D4A22.
   ====================================================================================================== */
.gm-seite {
  --olive: #5A6A32; --olive-dark: #3D4A22; --olive-tint: #EEF0E1; --olive-border: #C9D0AE;
  --gm-papier: #FBF9F3; --gm-flaeche: #FFFFFF; --gm-warm: #F5F2E8; --gm-linie: #E4DFCF; --gm-linie-stark: #B9B29A;
  --gm-oliv: #5A6A32; --gm-oliv-dunkel: #3D4A22; --gm-tinte: #22251B; --gm-leise: #575A49; --gm-limone: #FAF1C4;
  --gm-titel-schrift: Georgia, "Times New Roman", serif;
  --text: #22251B; --text-muted: #575A49;
  gap: 18px; color: var(--gm-tinte);
}
.outlet:has(> .gm-seite) { background: linear-gradient(180deg, #F3F0E5 0%, #EEF0E2 100%); }
@media (min-width: 640px) {
  .gm-seite { background: var(--gm-papier); border: 1px solid var(--gm-linie); border-radius: 22px; padding: 26px 30px 32px; box-shadow: 0 14px 36px rgba(61, 74, 34, .08); }
}
.gm-seite :focus-visible, .gm-seite .btn:focus-visible { outline: 3px solid var(--gm-oliv-dunkel); outline-offset: 2px; box-shadow: none; }
.gm-unsichtbar { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Kopf */
.gm-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; }
.gm-kopf-text { min-width: 0; flex: 1 1 20rem; }
.gm-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--gm-leise); overflow-wrap: anywhere; }
.gm-eyebrow:empty { display: none; }
.gm-seite .gm-titel { font-family: var(--gm-titel-schrift); font-weight: 600; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.01em; color: var(--gm-tinte); }
.gm-seite .page-intro { color: var(--gm-leise); max-width: 40rem; }
.gm-kopf-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 1 auto; min-width: 0; }
.gm-seite .gm-kopfzeile { margin: 0; justify-content: flex-end; }
.gm-zustand { display: inline-flex; align-items: center; color: var(--gm-leise); }
.gm-seite .gm-zustand.ist-gespeichert::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--gm-oliv); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.gm-seite .gm-pub-status { background: var(--gm-limone); color: #4A3F00; font-weight: 600; padding: .3rem .7rem; }
.gm-mit-symbol { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.gm-zeile-symbol { display: flex; align-items: flex-start; gap: 8px; }
.gm-zeile-symbol .gm-symbol { flex: none; margin-top: 1px; }
.gm-symbol { display: block; flex: none; }
.gm-seite .btn-primary:not(:disabled) { background: var(--gm-oliv-dunkel); border-color: var(--gm-oliv-dunkel); color: #FFFFFF; }
.gm-seite .btn-primary:hover:not(:disabled) { background: #2F3A19; border-color: #2F3A19; }
.gm-seite .btn-secondary { background: #FFFFFF; border-color: var(--gm-linie-stark); color: var(--gm-tinte); }
.gm-seite .btn-secondary:hover:not(:disabled) { background: var(--gm-warm); }
#gm-meldung:empty { display: none; }
.gm-assistent-hinweis { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

/* Reiter */
.gm-seite .tabs, .gm-seite .gm-untertabs { border-bottom: 1px solid var(--gm-linie); }
.gm-seite .tabs .tab, .gm-seite .gm-untertabs .tab { color: var(--gm-leise); font-weight: 550; min-height: 44px; }
.gm-seite .tabs .tab.is-active, .gm-seite .gm-untertabs .tab.is-active { color: var(--gm-tinte); font-weight: 650; border-bottom-color: var(--gm-oliv-dunkel); }
.gm-seite .gm-untertabs { margin-bottom: 18px; }

/* Arbeitsfläche + Gästevorschau */
.gm-inhalt { container: gm / inline-size; }
@media (min-width: 1024px) {
  .gm-seite .gm-arbeitsflaeche { grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem); gap: 24px; }
  .gm-seite .gm-nur-mobil { display: none; }
  .gm-seite .gm-arbeitsflaeche.ohne-vorschau { grid-template-columns: minmax(0, 1fr); }
}
.gm-seite .gm-vorschau { background: var(--gm-warm); border: 1px solid var(--gm-linie); border-radius: 18px; padding: 16px 16px 14px; }
.gm-panel-titel { font-size: 18px; font-weight: 650; color: var(--gm-tinte); margin: 0 0 12px; }
@media (min-width: 1024px) { .gm-seite .gm-vorschau-geraet { max-width: 24rem; scrollbar-width: thin; border: 10px solid #23261C; border-radius: 34px; box-shadow: 0 10px 26px rgba(35, 38, 27, .18); } }
.gm-vorschau .gm-zeile-symbol { margin: 12px 4px 4px; }

/* Begrüßungskarte */
.gm-willkommen-karte { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 16px; background: var(--gm-flaeche); border: 1px solid var(--gm-linie); border-radius: 14px; padding: 14px 16px; margin: 0 0 10px; }
.gm-willkommen-karte:has(.gm-willkommen-bild) { grid-template-columns: 11rem minmax(0, 1fr) auto; }
.gm-willkommen-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.gm-willkommen-text { min-width: 0; }
.gm-willkommen-text .gm-panel-titel { font-family: var(--gm-titel-schrift); font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.gm-willkommen-auszug { margin: 0; color: var(--gm-leise); line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
@container gm (max-width: 520px) {
  .gm-willkommen-karte, .gm-willkommen-karte:has(.gm-willkommen-bild) { grid-template-columns: minmax(0, 1fr); }
  .gm-willkommen-karte > .btn { justify-self: start; }
}

/* Abschnittsliste: eine Zeile je Abschnitt */
.gm-seite .gm-abschnitte { gap: 8px; container: gmliste / inline-size; }
.gm-seite .gm-abschnitt { position: relative; background: var(--gm-flaeche); border-color: var(--gm-linie); border-radius: 12px; padding: 7px 10px 7px 8px; }
.gm-seite .gm-abschnitt.ist-offen { border-color: var(--gm-oliv); box-shadow: 0 0 0 1px var(--gm-oliv); }
.gm-seite .gm-zeile { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-areas: "griff sym name chip akt"; align-items: center; gap: 6px 10px; }
.gm-zeile > .gm-griff { grid-area: griff; }
.gm-zeile > .gm-art-symbol { grid-area: sym; }
.gm-zeile > .gm-abschnitt-name { grid-area: name; }
.gm-zeile > .gm-chip { grid-area: chip; justify-self: end; }
.gm-zeile > .gm-zeile-aktionen { grid-area: akt; }
.gm-seite .gm-griff { display: inline-flex; align-items: center; color: #6E705F; padding: 0 2px; cursor: grab; }
.gm-art-symbol { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--gm-warm); color: var(--gm-oliv-dunkel); }
.gm-seite .gm-abschnitt-name { font-weight: 650; line-height: 1.3; }
.gm-seite .gm-abschnitte .gm-art { display: block; font-size: 13px; font-weight: 450; color: var(--gm-leise); }
.gm-seite .gm-chip { font-size: 12.5px; font-weight: 600; white-space: nowrap; padding: .25rem .65rem; border-radius: 999px; }
.gm-seite .gm-chip.ist-erbt, .gm-seite .gm-chip.ist-sichtbar, .gm-seite .gm-chip.ist-aktuell { background: #E9EDDA; color: #34401D; }
.gm-seite .gm-chip.ist-angepasst { background: #FBEFB0; color: #4A3D00; }
.gm-zeile-aktionen { display: flex; align-items: center; justify-content: flex-end; gap: 6px 10px; flex-wrap: nowrap; }
.gm-seite .gm-sichtbar { gap: 8px; font-size: 14px; color: var(--gm-leise); cursor: pointer; white-space: nowrap; }
.gm-seite .gm-pfeil { width: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-color: transparent; background: transparent; color: var(--gm-tinte); }
.gm-seite .gm-pfeil:hover:not(:disabled) { background: var(--gm-warm); }
.gm-seite .gm-pfeil:disabled { color: #8E907F; }
@container gmliste (max-width: 520px) {
  .gm-seite .gm-zeile { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "griff sym name chip" "akt akt akt akt"; }
  .gm-zeile-aktionen { justify-content: flex-start; flex-wrap: wrap; padding-left: 2px; }
  .gm-zeile-aktionen .gm-reihe { margin-left: auto; }
}
@container gmliste (max-width: 420px) {
  .gm-seite .gm-zeile { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "griff sym name" "griff sym chip" "akt akt akt"; }
  .gm-zeile > .gm-chip { justify-self: start; white-space: normal; }
  .gm-art-symbol { width: 32px; height: 32px; }
}

/* Schalter (Kontrollkästchen in Schalteroptik; Rolle, Name und Tastatur unverändert) */
.gm-seite input.gm-schalter { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: #7C7F6D; border: 1px solid #6B6E5D; cursor: pointer; transition: background .15s; }
.gm-seite input.gm-schalter::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.gm-seite input.gm-schalter:checked { background: var(--gm-oliv-dunkel); border-color: var(--gm-oliv-dunkel); }
.gm-seite input.gm-schalter:checked::before { transform: translateX(18px); }
.gm-seite input.gm-schalter:focus-visible { outline: 3px solid var(--gm-oliv-dunkel); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gm-seite input.gm-schalter, .gm-seite input.gm-schalter::before { transition: none; } }
.gm-seite .gm-schalter-zeile { justify-content: space-between; width: 100%; gap: 12px; }
.gm-schalter-zeile input.gm-schalter { order: 2; }

/* Abschnitt hinzufügen */
.gm-seite .gm-hinzu { border: 1.5px dashed var(--gm-linie-stark); border-radius: 12px; padding: 10px; background: rgba(255, 255, 255, .6); align-items: center; }
.gm-seite .gm-hinzu .btn { flex: 0 0 auto; }

/* Karten (Einstellungen / QR-Aufsteller) */
.gm-karte { background: var(--gm-flaeche); border: 1px solid var(--gm-linie); border-radius: 18px; padding: 18px 20px 20px; min-width: 0; }
.gm-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.gm-karte-kopf .gm-panel-titel { margin: 0; }
.gm-seite .gm-druck { grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1024px) { .gm-seite .gm-druck { grid-template-columns: minmax(0, 1fr); } }
@container gm (min-width: 880px) { .gm-seite .gm-druck { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.gm-druck-formular { container: gmform / inline-size; }
.gm-druck-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; margin-top: 6px; }
@container gmform (min-width: 440px) {
  .gm-druck-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gm-druck-raster > .gm-feld:nth-child(-n+2) { grid-column: 1 / -1; }   /* Format und Ziel: lange Werte nicht abschneiden */
}
.gm-druck-raster .gm-radios { margin: 0 0 .9rem; }

/* Vorlagenauswahl als Bildkarten (echte Radioknöpfe, nur optisch verborgen) */
.gm-seite .gm-vorlagen { display: block; position: relative; margin: 0 0 14px; min-width: 0; }
.gm-vorlagen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gm-vorlage-karte { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; min-width: 0; }
.gm-vorlage-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.gm-vorlage-rahmen { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: 10px; min-height: 120px; border: 1.5px solid var(--gm-linie-stark); border-radius: 14px; background: var(--gm-warm); transition: border-color .15s; }
.gm-vorlage-bild { display: block; max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(35, 38, 27, .18); background: #FFFFFF; }
.gm-vorlage-haken { position: absolute; top: 6px; right: 6px; display: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gm-oliv-dunkel); color: #FFFFFF; align-items: center; justify-content: center; }
.gm-vorlage-name { font-size: 14px; font-weight: 550; text-align: center; color: var(--gm-tinte); overflow-wrap: anywhere; }
.gm-vorlage-karte:has(.gm-vorlage-radio:checked) .gm-vorlage-rahmen { border: 2px solid var(--gm-oliv-dunkel); background: #F1F3E5; }
.gm-vorlage-karte:has(.gm-vorlage-radio:checked) .gm-vorlage-haken { display: inline-flex; }
.gm-vorlage-karte:has(.gm-vorlage-radio:checked) .gm-vorlage-name { color: var(--gm-oliv-dunkel); font-weight: 700; }
.gm-vorlage-karte:has(.gm-vorlage-radio:focus-visible) .gm-vorlage-rahmen { outline: 3px solid var(--gm-oliv-dunkel); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gm-vorlage-rahmen { transition: none; } }

/* Farben als Farbpunkte (Name bleibt sichtbar) */
.gm-seite .gm-farben { gap: 4px 14px; }
.gm-farbe { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.gm-farbe-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.gm-farbe-punkt { width: 26px; height: 26px; border-radius: 50%; background: var(--gm-punkt, #4E5C2E); border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(35, 38, 27, .45); }
.gm-farbe:has(.gm-farbe-radio:checked) .gm-farbe-punkt { box-shadow: 0 0 0 3px var(--gm-oliv-dunkel); }
.gm-farbe:has(.gm-farbe-radio:checked) .gm-farbe-name { font-weight: 700; }
.gm-farbe:has(.gm-farbe-radio:focus-visible) .gm-farbe-punkt { outline: 3px solid var(--gm-oliv-dunkel); outline-offset: 3px; }
.gm-farbe-name { font-size: 14px; }

/* Weitere Druckoptionen */
.gm-seite .gm-weiteres { border: 1px solid var(--gm-linie); border-radius: 12px; padding: 0 14px; margin: 4px 0 0; background: var(--gm-papier); }
.gm-seite .gm-weiteres > summary { min-height: 48px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.gm-seite .gm-weiteres > summary::before { content: "▸"; color: var(--gm-leise); }
.gm-seite .gm-weiteres[open] > summary::before { content: "▾"; }
.gm-seite .gm-weiteres > summary::-webkit-details-marker { display: none; }
.gm-seite .gm-weiteres[open] { padding-bottom: 12px; }
.gm-summary-info { margin-left: auto; font-weight: 400; }

/* Druckvorschau */
.gm-seite .gm-druck-vorschau { background: var(--gm-flaeche); border: 1px solid var(--gm-linie); border-radius: 18px; padding: 18px 20px 20px; }
.gm-druck-buehne { display: flex; justify-content: center; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, #F1EDE1 0%, #E5E0CF 100%); margin: 0 0 10px; }
.gm-seite .gm-druck-canvas { max-width: 100%; height: auto; box-shadow: 0 8px 22px rgba(35, 38, 27, .22); }
.gm-druck-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.gm-druck-knoepfe .btn { flex: 1 1 13rem; }

/* Mobil: keine dekorative Rahmung, Kopf untereinander */
@media (max-width: 639px) {
  .outlet:has(> .gm-seite) { background: #FBF9F3; }
  .gm-seite { background: transparent; border: 0; padding: 0; box-shadow: none; }
  .gm-kopf-rechts { align-items: stretch; width: 100%; }
  .gm-seite .gm-kopfzeile { justify-content: flex-start; }
  .gm-kopf-rechts > .btn { align-self: flex-start; }
  .gm-karte, .gm-seite .gm-druck-vorschau { padding: 14px; border-radius: 14px; }
  .gm-druck-buehne { padding: 12px; }
  .gm-vorlagen-raster { gap: 8px; }
  .gm-vorlage-rahmen { padding: 6px; min-height: 96px; }
}

/* ======================================================================================================
   m7.3a134/a135 – Gestaltung und Motive (nur .gm-seite). Bilder: freigegebene Betriebsbilder oder eigene SVG-Assets
   (assets/gaestemappe, eigene Zeichnung). Landschaft nur bei eindeutiger Gardasee-Zuordnung, nie hinter Text (Karte deckt ab),
   ab 1024 px; darunter warme Fläche ohne Bild.
   ====================================================================================================== */
/* (m7.3a134: gezeichnete Landschaft – ab m7.3a136 ersetzt durch das Landschaftsbild, siehe unten) */
/* Unterkunft im Kopf */
.gm-unterkunft { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; min-width: 0; }
.gm-unterkunft-bild { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gm-linie); background: var(--gm-warm); }
.gm-unterkunft .gm-eyebrow { margin: 0; }
.gm-kopf-einheit:empty { display: none; }
.gm-kopf-einheit { margin-top: 12px; max-width: 26rem; }
.gm-kopf-einheit .gm-feld { margin: 0; }
/* Willkommen-Karte mit Bild */
.gm-seite .gm-willkommen-karte { grid-template-columns: 11.5rem minmax(0, 1fr) auto; align-items: start; }
.gm-willkommen-figur { margin: 0; min-width: 0; }
.gm-seite .gm-willkommen-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; background: var(--gm-warm); }
.gm-willkommen-figur figcaption { margin-top: 4px; font-size: 12px; color: var(--gm-leise); }
.gm-willkommen-aktionen { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@container gm (max-width: 560px) {
  .gm-seite .gm-willkommen-karte { grid-template-columns: 7rem minmax(0, 1fr); }
  .gm-willkommen-aktionen { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@container gm (max-width: 360px) { .gm-seite .gm-willkommen-karte { grid-template-columns: minmax(0, 1fr); } }
/* Griff als Bedienelement (Pfeiltasten) */
.gm-seite button.gm-griff { background: transparent; border: 0; min-width: 32px; min-height: 40px; border-radius: 8px; justify-content: center; }
.gm-seite button.gm-griff:hover { background: var(--gm-warm); color: var(--gm-tinte); }
/* QR: regionaler Standard, Motiv, Bildausschnitt */
.gm-vorlage-standard { font-size: 12px; font-weight: 600; color: #4A3D00; background: var(--gm-limone); border-radius: 999px; padding: .1rem .55rem; }
.gm-motiv-abschnitt { border-top: 1px solid var(--gm-linie); margin-top: 8px; padding-top: 12px; }
.gm-motiv-abschnitt .gm-h3 { font-family: var(--gm-titel-schrift); font-weight: 600; font-size: 19px; margin: 0 0 4px; }
.gm-seite .gm-motiv { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.gm-motiv-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 10px; }
.gm-motiv-karte { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-width: 0; padding: 6px; border: 1.5px solid var(--gm-linie-stark); border-radius: 12px; background: #FFFFFF; }
.gm-motiv-vorschaubild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; background: var(--gm-warm); }
.gm-motiv-name { font-size: 13px; color: var(--gm-tinte); overflow-wrap: anywhere; }
.gm-motiv-karte:has(.gm-vorlage-radio:checked) { border: 2px solid var(--gm-oliv-dunkel); background: #F1F3E5; }
.gm-motiv-karte:has(.gm-vorlage-radio:focus-visible) { outline: 3px solid var(--gm-oliv-dunkel); outline-offset: 2px; }
.gm-seite .gm-ausschnitt-felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 18px; margin: 4px 0 8px; }
.gm-regler-zeile { display: flex; align-items: center; gap: 10px; }
.gm-seite input.gm-regler { flex: 1 1 auto; min-width: 0; min-height: 40px; accent-color: var(--gm-oliv-dunkel); }
.gm-regler-wert { flex: none; min-width: 8.5rem; font-size: 13px; color: var(--gm-leise); }
.gm-motiv-meldung:empty { display: none; }
.gm-motiv-meldung .note { margin: 6px 0; }
.gm-sprachen-zeilen { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 10px 0; font-size: 14px; }
.gm-sprachen-zeilen dt { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.gm-sprachen-zeilen dd { margin: 0; color: var(--gm-leise); }
@container gmform (min-width: 440px) { .gm-seite .gm-ausschnitt-felder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .gm-ausschnitt-felder > legend { grid-column: 1 / -1; } .gm-ausschnitt-felder > .gm-klein, .gm-ausschnitt-felder > .btn { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 639px) {
  .gm-unterkunft-bild { width: 56px; height: 42px; }
  .gm-sprachen-zeilen { grid-template-columns: minmax(0, 1fr); }
  .gm-regler-wert { min-width: 6.5rem; }
}
/* Typografie: Georgia nur für Überschriften im Gästemappenbereich, Inter für Text, Formulare und Bedienung (bestätigte Entscheidung) */
.gm-seite h1, .gm-seite h2, .gm-seite h3, .gm-seite .gm-panel-titel, .gm-seite .gm-h2, .gm-seite .gm-h3 { font-family: var(--gm-titel-schrift); font-weight: 600; letter-spacing: -.005em; }
.gm-seite .gm-panel-titel { font-size: 20px; }
.gm-seite, .gm-seite p, .gm-seite label, .gm-seite .btn, .gm-seite input, .gm-seite select, .gm-seite textarea, .gm-seite .tab, .gm-seite .chip, .gm-seite legend, .gm-seite figcaption, .gm-seite summary { font-family: "Inter Agentur", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }   /* "Inter Agentur" = lokale InterVariable (styles/agentur-uebersicht.css) */
/* Freischaltung als schmale Statuszeile; Plattformblock einklappbar am Ende */
.gm-seite .gm-freischalt-zeile { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--gm-limone); color: #3E3600; font-size: 14px; line-height: 1.45; }
.gm-seite .gm-freischalt-zeile .gm-symbol { margin-top: 1px; }
.gm-seite .gm-plattform { margin-top: 18px; border: 1px dashed var(--gm-linie-stark); border-radius: 12px; padding: 0 14px; background: var(--gm-papier); }
.gm-seite .gm-plattform > summary { min-height: 44px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--gm-leise); }
.gm-seite .gm-plattform[open] { padding-bottom: 12px; }
.gm-plattform-marke { font-size: 12px; font-weight: 650; color: #FFFFFF; background: #5D6150; border-radius: 999px; padding: .1rem .55rem; }
.gm-seite .gm-plattform .gm-zusatzmodul { margin: 0; border: 0; padding: 0; background: transparent; box-shadow: none; }
/* Platzhalter klar kennzeichnen */
.gm-unterkunft-rahmen, .gm-bild-rahmen { position: relative; display: block; flex: none; }
.gm-platzhalter-marke { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 650; letter-spacing: .02em; color: #FFFFFF; background: #2E3124; border-radius: 6px; padding: 1px 6px; }   /* deckend: 13,9:1 */
.gm-platzhalter-marke[hidden] { display: none; }
.gm-unterkunft-rahmen .gm-platzhalter-marke { left: 3px; bottom: 3px; font-size: 9.5px; padding: 0 4px; }
/* Vorlagenkarten: Vorschau füllt die Karte (Mockup 02); Gästeansicht im Telefonrahmen verkleinert dargestellt (nur Darstellung der Vorschau) */
.gm-seite .gm-vorlage-rahmen { padding: 8px; }
.gm-seite .gm-vorlage-bild { width: 100%; max-width: 15rem; height: auto; }
@media (min-width: 1024px) { .gm-seite .gm-vorschau-geraet { zoom: .8; } }
/* Dateiauswahl (Logo, eigenes Motiv): Bedienziel mindestens 44 px */
.gm-seite input[type="file"] { min-height: 44px; padding: 8px 0; max-width: 100%; }

/* ======================================================================================================
   m7.3a136/a137 – Gestaltung nach Mockup 01/02 (nur .gm-seite bzw. deren Rahmen).
   Landschaft: Fotografie "Lake Garda beneath golden alpine light" (KI, vom Auftraggeber, assets/gaestemappe/regional/HERKUNFT) – rein
   dekorativ, nur Gardasee laut Gebietsmodell (.gm-region-gardasee) UND eingeschaltet (.mit-landschaft), nur ab 1024 px, nicht bei
   prefers-reduced-data. Alle Bedienflächen liegen auf deckendem Elfenbein (.gm-seite hat einen deckenden Hintergrund).
   ====================================================================================================== */
@media (min-width: 1024px) {
  .outlet:has(> .gm-seite.gm-region-gardasee) { background: #F3F0E5; padding-top: 24px; }
  .outlet:has(> .gm-seite.gm-region-gardasee.mit-landschaft) {
    background: linear-gradient(180deg, rgba(251, 246, 234, .08) 0%, rgba(251, 246, 234, .18) 45%, rgba(251, 246, 234, .55) 100%),
      image-set(url("../assets/gaestemappe/regional/gardasee-landschaft-1536.webp") type("image/webp"), url("../assets/gaestemappe/regional/gardasee-landschaft-1536.jpg") type("image/jpeg")) center 30% / cover no-repeat,
      #E9E4D3;
    padding-top: 88px; padding-bottom: 64px;
  }
  .gm-seite.gm-region-gardasee.mit-landschaft { background: #FBF9F3; box-shadow: 0 22px 60px rgba(35, 38, 27, .28); }
}
@media (min-width: 1024px) and (prefers-reduced-data: reduce) {
  .outlet:has(> .gm-seite.gm-region-gardasee.mit-landschaft) { background: #F3F0E5; padding-top: 24px; }
}
.gm-nur-breit { display: none; }
@media (min-width: 1024px) { .gm-nur-breit { display: inline-flex; } }
.gm-seite .gm-titel { font-size: clamp(26px, 2.6vw, 38px); }
.gm-unterkunft-text { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; }
.gm-seite .gm-zurueck { min-height: 36px; padding: 2px 8px; font-size: 13px; color: var(--gm-leise); }
.gm-seite .gm-unterkunft-bild { width: 112px; height: 72px; border-radius: 12px; }
.gm-intro { flex: 1 1 100%; margin: 0; font-size: 14px; color: var(--gm-leise); }
.gm-intro > summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; font-weight: 550; }
.gm-intro .page-intro { margin: 2px 0 0; }
@media (min-width: 1024px) { .gm-intro > summary { display: none; } .gm-intro .page-intro { margin: 0; } }
.gm-seite .gm-kopf-rechts .gm-kopfzeile { gap: 8px 10px; }
/* Abschnittszeilen: deutsche Bedienbezeichnung, Gästetitel klein darunter */
.gm-art-hinweis { color: var(--gm-leise); }
/* Willkommen-Karte: großes Bild wie Mockup */
.gm-seite .gm-willkommen-karte { grid-template-columns: 13.5rem minmax(0, 1fr) auto; padding: 16px; }
.gm-seite .gm-willkommen-bild { aspect-ratio: 3 / 2; object-position: 70% 55%; }
/* QR: große Vorlagenkarten (Vorschau aus derselben Zeichenliste wie PDF/PNG) */
.gm-seite .gm-vorlagen-raster { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 14px; }
.gm-seite .gm-vorlage-rahmen { padding: 10px; min-height: 0; }
.gm-seite .gm-vorlage-bild { max-width: none; width: 100%; }
.gm-vorlage-art { font-size: 12.5px; color: var(--gm-leise); text-align: center; margin-top: -4px; }
@media (max-width: 639px) { .gm-seite .gm-vorlagen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
/* Druckvorschau: Umschalter Druckdatei / Im Aufsteller (Aufstelleransicht nur Veranschaulichung) */
.gm-druck-ansicht { display: flex; gap: 6px; margin: 0 0 8px; }
.gm-druck-ansicht .btn[aria-pressed="true"] { background: var(--gm-limone); color: var(--gm-tinte); font-weight: 650; }
.gm-aufsteller-rahmen { display: flex; justify-content: center; }
.gm-druck-buehne.ist-aufsteller { padding: 30px 18px 46px; background: radial-gradient(120% 90% at 50% 10%, #F8F4EA 0%, #E2DCC9 70%, #D2CBB5 100%); }
.gm-druck-buehne.ist-aufsteller .gm-aufsteller-rahmen { position: relative; padding: 9px; border-radius: 10px; background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(230, 236, 236, .55) 40%, rgba(255, 255, 255, .8));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(160, 170, 170, .55), 0 18px 30px rgba(35, 38, 27, .25); }
.gm-druck-buehne.ist-aufsteller .gm-aufsteller-rahmen::after { content: ""; position: absolute; left: -14px; right: -14px; bottom: -22px; height: 16px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(200, 208, 208, .7)); box-shadow: 0 8px 16px rgba(35, 38, 27, .25); }
.gm-druck-sperre:empty { display: none; }
.gm-druck-sperre { color: #7A2E20; font-weight: 600; }
.gm-seite .btn-primary:disabled, .gm-seite .btn-secondary:disabled { cursor: not-allowed; }
/* Mobil: Kopf deutlich kürzer, Inhalte früher erreichbar */
@media (max-width: 639px) {
  .gm-seite .gm-titel { font-size: 24px; }
  .gm-seite .gm-unterkunft-bild { width: 64px; height: 44px; }
  .gm-seite .gm-kopf { gap: 8px 12px; }
  .gm-kopf-einheit { margin-top: 8px; }
  .gm-kopf-einheit .gm-klein { display: none; }
  .gm-seite .gm-pub-status { font-size: 12.5px; }
  .gm-seite .gm-willkommen-karte { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 12px; }
}
/* m7.3a136: Kopf als Raster (Mockup 01) – links Unterkunft, Titel, Einheit; rechts Speicherstand, Status, Vorschau, Veröffentlichen */
@media (min-width: 1100px) {
  .gm-seite .gm-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 24px; }
  .gm-seite .gm-kopf > .gm-kopf-rechts { grid-column: 2; grid-row: 1; align-items: flex-end; max-width: 34rem; }
  .gm-seite .gm-kopf > .gm-intro { grid-column: 1 / -1; }
  .gm-seite .gm-kopf-rechts .gm-kopfzeile { justify-content: flex-end; }
  .gm-seite .gm-kopf-aktionen { justify-content: flex-end; }
}
.gm-intro > summary { display: inline-flex !important; }
.gm-intro:not([open]) { margin-top: -4px; }

/* m7.3a136 (Korrektur): mobiler Kopf kompakter, weniger Abstand vor den Reitern */
@media (max-width: 639px) {
  .gm-seite { gap: 8px; }
  .gm-seite .gm-kopf { gap: 4px 10px; }
  .gm-unterkunft { gap: 8px; margin: 0 0 2px; }
  .gm-seite .gm-unterkunft-bild { width: 48px; height: 34px; border-radius: 8px; }
  .gm-seite .gm-eyebrow { font-size: 11px; }
  .gm-seite .gm-titel { font-size: 22px; margin: 2px 0 0; }
  .gm-kopf-einheit { margin-top: 4px; }
  .gm-kopf-einheit .label { font-size: 12.5px; }
  .gm-seite .gm-kopf-rechts { gap: 4px; }
  .gm-seite .gm-kopfzeile { gap: 6px; }
  .gm-seite .gm-kopf-aktionen { gap: 6px; }
  .gm-seite .gm-kopf-aktionen .btn { min-height: 40px; padding-left: .7rem; padding-right: .7rem; font-size: 14px; }
  .gm-intro { font-size: 13px; }
  .gm-intro > summary { min-height: 28px; }
  .gm-seite .gm-tabs { margin: 0 0 8px; }
  .gm-seite .tabs .tab { min-height: 40px; padding-top: 0; padding-bottom: 0; }
}
