/* ==========================================================================
   Bartl – Gästemappe
   Mobil zuerst, für den QR-Code im Apartment. Papier, Tannengrün, Messing –
   abends automatisch im Nachtmodus, wenn das Handy dunkel eingestellt ist.
   Die Blockstile gelten auch in der Editor-Vorschau (ohne Kopf, Leiste und Nachtmodus).
   ========================================================================== */

:root {
	--gm-grund: var(--papier);
	--gm-flaeche: #fff;
	--gm-flaeche-2: var(--creme);
	--gm-text: var(--tinte);
	--gm-gedaempft: var(--stein);
	--gm-linie: rgba(28, 41, 36, .12);
	--gm-linie-stark: rgba(28, 41, 36, .24);
	--gm-akzent: var(--tanne);
	--gm-akzent-text: var(--creme);
	--gm-messing: var(--messing-text);
	--gm-marke: var(--tanne);
	--gm-dunkel: var(--tanne);
	--gm-dunkel-text: var(--creme);
	--gm-dunkel-akzent: var(--messing-hell);
	--gm-notruf: #9a3a2b;
	--gm-offen: #2f8a5e;
	--gm-zu: #b07433;
	--gm-schatten: 0 1px 2px rgba(28, 41, 36, .04), 0 14px 34px -22px rgba(28, 41, 36, .28);
	--gm-radius: 20px;
	--gm-radius-s: 14px;
	--gm-breite: 1120px;
	--gm-rand: clamp(18px, 5vw, 48px);
	--gm-nav-h: 58px;
}

@media (prefers-color-scheme: dark) {
	body.gm-seite {
		color-scheme: dark;
		--gm-grund: #0d1916;
		--gm-flaeche: #132420;
		--gm-flaeche-2: #1a2f29;
		--gm-text: #ebe5d9;
		--gm-gedaempft: #a8b3ad;
		--gm-linie: rgba(235, 229, 217, .12);
		--gm-linie-stark: rgba(235, 229, 217, .26);
		--gm-akzent: #c9a873;
		--gm-akzent-text: #0d1916;
		--gm-messing: #d1b382;
		--gm-marke: #ebe5d9;
		--gm-dunkel: #1b3a31;
		--gm-notruf: #eb9f8c;
		--gm-offen: #62c995;
		--gm-zu: #dcaa6b;
		--gm-schatten: none;
	}
	body.gm-seite img { filter: brightness(.9) saturate(.95); }
}

/* ---------- Grundgerüst ---------- */
body.gm-seite { background: var(--gm-grund); color: var(--gm-text); }
body.gm-seite ::selection { background: var(--gm-akzent); color: var(--gm-akzent-text); }
.gm { display: block; max-width: calc(var(--gm-breite) + 2 * var(--gm-rand)); margin: 0 auto; padding: 0 var(--gm-rand); }
.gm-symbol { width: 22px; height: 22px; flex: none; }

/* Enthüllen: kürzer und ruhiger als auf der Website – hier wird gelesen, nicht inszeniert */
.js body.gm-seite [data-zeigen] { transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--v, 0) * 1s); }
.js body.gm-seite [data-zeigen].ist-sichtbar { transform: none; }
.js body.gm-seite .gm-start [data-zeigen]:not(.ist-sichtbar):not([data-zeigen="bild"]) { opacity: .01; }

/* ---------- Kopf ---------- */
.gm-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(var(--gm-breite) + 2 * var(--gm-rand)); margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) var(--gm-rand) 8px; }
.gm-kopf__marke { display: inline-flex; align-items: center; gap: 12px; color: var(--gm-text); text-decoration: none; }
.gm-kopf__monogramm { width: 34px; height: auto; color: var(--gm-marke); }
.gm-kopf__name { display: grid; gap: 2px; line-height: 1.1; }
.gm-kopf__haus { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gm-gedaempft); }
.gm-kopf__titel { font-family: var(--f-serif); font-size: 1.2rem; font-style: italic; font-weight: 380; letter-spacing: -.01em; }
.gm-kopf__sprachen { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--gm-linie); border-radius: 99px; }
.gm-kopf__sprachen a { min-width: 40px; padding: 8px 10px; border-radius: 99px; color: var(--gm-gedaempft); font-size: .72rem; font-weight: 600; letter-spacing: .08em; line-height: 1; text-align: center; text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.gm-kopf__sprachen a[aria-current] { background: var(--gm-akzent); color: var(--gm-akzent-text); }

/* ---------- Abschnittsleiste ---------- */
.gm-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--gm-grund) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.gm-nav.ist-fest { border-bottom-color: var(--gm-linie); }
.admin-bar .gm-nav { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .gm-nav { top: 0; } }
.gm-nav__liste { display: flex; gap: 4px; max-width: calc(var(--gm-breite) + 2 * var(--gm-rand)); margin: 0 auto; padding: 10px var(--gm-rand); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--gm-rand) - 6px), #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--gm-rand) - 6px), #000 calc(100% - 30px), transparent); }
.gm-nav__liste::-webkit-scrollbar { display: none; }
.gm-nav__liste > li:first-child { margin-left: auto; }
.gm-nav__liste > li:last-child { margin-right: auto; padding-right: 18px; }
.gm-nav__link { display: block; padding: 10px 15px; border-radius: 99px; color: var(--gm-gedaempft); font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1.1; white-space: nowrap; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease); }
.gm-nav__link:hover { color: var(--gm-text); }
.gm-nav__link[aria-current="true"] { background: var(--gm-akzent); color: var(--gm-akzent-text); }

/* ---------- Abschnitte ---------- */
.gm-abschnitt { padding-top: clamp(64px, 10vw, 112px); scroll-margin-top: calc(var(--gm-nav-h) + 8px); }
.gm-abschnitt:not([id]) { padding-top: clamp(40px, 6vw, 64px); }
.gm-abschnitt:not([id]):not(:has(.gm-abschnitt__kopf)) { padding-top: 14px; }
.gm-abschnitt__kopf { max-width: 40em; margin-bottom: clamp(20px, 3vw, 32px); }
.gm-vorzeile { margin: 0; color: var(--gm-messing); font-size: .7rem; font-weight: 600; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.gm-titel { margin: .28em 0 0; font-family: var(--f-serif); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 340; line-height: 1.02; letter-spacing: -.026em; }
.gm-einleitung, .gm-abschnitt__kopf > p:not(.gm-vorzeile) { margin: .9em 0 0; color: var(--gm-gedaempft); font-size: 1.02rem; line-height: 1.6; }
.gm-seitentitel { padding-top: 32px; }

/* ---------- Knöpfe ---------- */
.gm-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 99px; background: none; color: inherit; font-family: var(--f-sans); font-size: .8rem; font-weight: 600; letter-spacing: .05em; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.gm-knopf .gm-symbol { width: 18px; height: 18px; }
.gm-knopf small { font-size: .74rem; font-weight: 500; letter-spacing: 0; opacity: .75; }
.gm-knopf:active { transform: scale(.97); }
.gm-knopf--voll { background: var(--gm-akzent); border-color: var(--gm-akzent); color: var(--gm-akzent-text); }
.gm-knopf--voll:hover { background: color-mix(in srgb, var(--gm-akzent) 86%, #000); }
.gm-knopf--linie { border-color: color-mix(in srgb, var(--gm-akzent) 45%, transparent); color: var(--gm-akzent); }
.gm-knopf--linie:hover { border-color: var(--gm-akzent); background: color-mix(in srgb, var(--gm-akzent) 7%, transparent); }
.gm-knopf--text { min-height: 40px; padding: 0; border: 0; color: var(--gm-akzent); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .3em; }
.gm-knopf--text:hover { text-decoration-color: currentColor; }

/* Kleiner Hinweis (Preis, „kostenfrei“) */
.gm-hinweis { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--messing) 12%, transparent); color: var(--gm-messing); font-size: .68rem; font-weight: 600; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; }
.gm-karte__kopf .gm-hinweis { text-align: right; }
.gm-aufklapp__inhalt > .gm-hinweis { margin: 0 0 12px; }

/* ---------- Begrüßung ---------- */
.gm-start { display: grid; padding-top: clamp(18px, 4vw, 52px); }
.gm-start__titel { margin: .22em 0 0; font-family: var(--f-serif); font-size: clamp(2.7rem, 1.4rem + 6vw, 5.6rem); font-weight: 320; line-height: .96; letter-spacing: -.034em; }
.gm-start__einleitung { max-width: 32em; margin-top: 16px; color: var(--gm-gedaempft); font-size: 1.06rem; }
.gm-start__einleitung p { margin: 0; }
.gm-heute { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.gm-heute__punkt { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border: 1px solid var(--gm-linie); border-radius: 99px; background: var(--gm-flaeche); font-size: .82rem; font-weight: 500; line-height: 1.25; }
.gm-heute__punkt .gm-symbol { width: 17px; height: 17px; color: var(--gm-messing); }
.gm-heute__licht { position: relative; width: 9px; height: 9px; margin: 0 2px; border-radius: 50%; background: var(--gm-gedaempft); }
[data-offen="ja"] .gm-heute__licht { background: var(--gm-offen); }
[data-offen="ja"] .gm-heute__licht::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gm-offen); opacity: 0; animation: gm-puls 2.6s var(--ease-weich) infinite; }
[data-offen="nein"] .gm-heute__licht { background: var(--gm-zu); }
@keyframes gm-puls { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.gm-start__bild { order: 3; margin: 14px 0 0; overflow: hidden; border-radius: var(--gm-radius); aspect-ratio: 16 / 10; background: var(--gm-flaeche-2); }
.gm-start__bild img { width: 100%; height: 100%; object-fit: cover; }
.gm-schnell { order: 2; display: grid; gap: 10px; margin-top: 26px; }

/* WLAN */
.gm-wlan { position: relative; overflow: hidden; padding: 20px; border-radius: var(--gm-radius); background: var(--gm-dunkel); color: var(--gm-dunkel-text); }
.gm-wlan::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(244, 239, 230, .1); box-shadow: 0 0 0 26px rgba(244, 239, 230, .035), 0 0 0 54px rgba(244, 239, 230, .025); pointer-events: none; }
.gm-wlan__kopf { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--gm-dunkel-akzent); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.gm-wlan__kopf .gm-symbol { width: 20px; height: 20px; }
.gm-wlan__daten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.gm-wlan__daten dt { margin-bottom: 4px; color: rgba(244, 239, 230, .66); font-size: .72rem; font-weight: 500; letter-spacing: .04em; }
.gm-wlan__daten dd { margin: 0; font-family: var(--f-serif); font-size: 1.45rem; font-weight: 380; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.gm-wlan__passwort { font-family: var(--f-sans) !important; font-size: 1.25rem !important; font-weight: 600 !important; letter-spacing: .03em !important; }
.gm-wlan__kopieren { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border: 1px solid rgba(244, 239, 230, .28); border-radius: var(--gm-radius-s); background: rgba(244, 239, 230, .08); color: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.gm-wlan__kopieren:hover { background: rgba(244, 239, 230, .16); }
.gm-wlan__kopieren .gm-symbol { width: 18px; height: 18px; }
.gm-wlan__symbol-haken { display: none; }
.gm-wlan__kopieren.ist-kopiert { border-color: var(--gm-dunkel-text); background: var(--gm-dunkel-text); color: var(--gm-dunkel); }
.gm-wlan__kopieren.ist-kopiert .gm-wlan__symbol-kopieren { display: none; }
.gm-wlan__kopieren.ist-kopiert .gm-wlan__symbol-haken { display: block; }

/* Kacheln */
.gm-kacheln { display: grid; gap: 8px; }
.gm-kachel { position: relative; display: grid; grid-template-columns: 24px 1fr 16px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 1px; align-items: center; padding: 14px 16px 14px 18px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius-s); background: var(--gm-flaeche); color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s; -webkit-tap-highlight-color: transparent; }
.gm-kachel > .gm-symbol { grid-row: 1 / 3; color: var(--gm-akzent); }
.gm-kachel strong { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.gm-kachel span { grid-column: 2; color: var(--gm-gedaempft); font-size: .78rem; line-height: 1.35; }
.gm-kachel::after { content: ''; grid-column: 3; grid-row: 1 / 3; width: 8px; height: 8px; border-top: 1.5px solid var(--gm-gedaempft); border-right: 1.5px solid var(--gm-gedaempft); transform: rotate(45deg); opacity: .6; justify-self: center; }
.gm-kachel:active { transform: scale(.97); }
@media (hover: hover) { .gm-kachel:hover { transform: translateY(-2px); box-shadow: var(--gm-schatten); border-color: var(--gm-linie-stark); } }

@media (min-width: 900px) {
	.gm-start--bild { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(40px, 5vw, 72px); align-items: end; }
	.gm-start--bild .gm-start__text { grid-column: 1; grid-row: 1; padding-bottom: 6px; }
	.gm-start--bild .gm-start__bild { grid-column: 2; grid-row: 1; order: 0; margin: 0; aspect-ratio: 5 / 4; }
	.gm-schnell { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(40px, 5vw, 72px); gap: 12px clamp(40px, 5vw, 72px); margin-top: 36px; }
	.gm-wlan { padding: 26px 28px; }
	.gm-wlan__daten dd { font-size: 1.7rem; }
}

/* ---------- Karten (Raster) ---------- */
.gm-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 12px; }
.gm-karte { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius); background: var(--gm-flaeche); }
.gm-karte__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.gm-karte__symbol { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--gm-flaeche-2); color: var(--gm-akzent); }
.gm-karte__titel { margin: 4px 0 0; font-family: var(--f-serif); font-size: 1.32rem; font-weight: 400; line-height: 1.16; letter-spacing: -.012em; }
.gm-karte__text p, .gm-karte > p { margin: 0 0 .6em; color: var(--gm-gedaempft); font-size: .95rem; line-height: 1.6; }
.gm-karte__text p:last-child { margin-bottom: 0; }
.gm-karte__text a, .gm-aufklapp__inhalt a, .gm-kompakt__inhalt a { color: var(--gm-akzent); }
.gm-karte > .gm-knopf { align-self: flex-start; margin-top: auto; }

/* ---------- Aufklappliste ---------- */
.gm-liste { border-top: 1px solid var(--gm-linie); }
.gm-aufklapp { border-bottom: 1px solid var(--gm-linie); }
.gm-aufklapp__kopf { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 2px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.gm-aufklapp__kopf::-webkit-details-marker { display: none; }
.gm-aufklapp__symbol { color: var(--gm-akzent); }
.gm-aufklapp__titel { flex: 1; margin: 0; font-family: var(--f-serif); font-size: 1.18rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.gm-aufklapp__pfeil { width: 20px; height: 20px; color: var(--gm-gedaempft); transition: transform .4s var(--ease); }
.gm-aufklapp[open] .gm-aufklapp__pfeil { transform: rotate(180deg); }
.gm-aufklapp__inhalt { padding: 0 2px 22px 36px; }
.gm-aufklapp__inhalt p { margin: 0 0 .7em; color: var(--gm-gedaempft); font-size: .97rem; line-height: 1.65; }
.gm-aufklapp__kopf:has(> .gm-aufklapp__titel:first-child) + .gm-aufklapp__inhalt { padding-left: 2px; }
@supports (interpolate-size: allow-keywords) {
	.gm-liste { interpolate-size: allow-keywords; }
	.gm-aufklapp::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
	.gm-aufklapp[open]::details-content { block-size: auto; }
}
@media (min-width: 900px) {
	.gm-karten--liste .gm-liste { columns: 2; column-gap: 48px; border-top: 0; }
	.gm-karten--liste .gm-aufklapp { break-inside: avoid; border-top: 1px solid var(--gm-linie); border-bottom: 0; }
}

/* ---------- Schritte ---------- */
.gm-schritte { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gm-schritt { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 20px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius); background: var(--gm-flaeche); }
.gm-schritt__nr { color: var(--gm-messing); font-family: var(--f-serif); font-size: 2.3rem; font-weight: 300; font-variant-numeric: lining-nums; line-height: .9; }
.gm-schritt__titel { margin: 0 0 .35em; font-family: var(--f-serif); font-size: 1.36rem; font-weight: 400; line-height: 1.15; }
.gm-schritt__inhalt p { margin: 0 0 1em; color: var(--gm-gedaempft); font-size: .96rem; }
@media (min-width: 760px) { .gm-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kompakte Liste ---------- */
.gm-kompakt { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gm-linie); }
.gm-kompakt__eintrag { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gm-linie); }
.gm-kompakt__eintrag:not(:has(.gm-kompakt__symbol)) { grid-template-columns: 1fr; }
.gm-kompakt__symbol { margin-top: 2px; color: var(--gm-akzent); }
.gm-kompakt__titel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-family: var(--f-sans); font-size: .98rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.gm-kompakt__inhalt p { margin: 0 0 .35em; color: var(--gm-gedaempft); font-size: .93rem; line-height: 1.6; }
@media (min-width: 900px) {
	.gm-kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
	.gm-kompakt__eintrag { border-top: 1px solid var(--gm-linie); border-bottom: 0; }
}

/* ---------- Geräte ---------- */
.gm-geraete__sprung { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gm-rand)) 16px; padding: 2px var(--gm-rand); list-style: none; overflow-x: auto; scrollbar-width: none; }
.gm-geraete__sprung::-webkit-scrollbar { display: none; }
.gm-geraete__sprung li { flex: none; }
.gm-geraete__sprung a { display: inline-flex; padding: 9px 14px; white-space: nowrap; border: 1px solid var(--gm-linie); border-radius: 99px; background: var(--gm-flaeche); color: inherit; font-size: .8rem; font-weight: 500; text-decoration: none; }
.gm-geraete__sprung a:hover { border-color: var(--gm-linie-stark); }
.gm-geraete__liste { display: grid; gap: 12px; }
@media (min-width: 900px) { .gm-geraete__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm-geraet { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius); background: var(--gm-flaeche); scroll-margin-top: calc(var(--gm-nav-h) + 12px); }
.gm-geraet__kopf { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.gm-geraet--ohne-bild .gm-geraet__kopf { grid-template-columns: 1fr; }
.gm-geraet__bild { overflow: hidden; margin: 0; border-radius: 12px; aspect-ratio: 4 / 5; background: #fff; }
.gm-geraet__bild img { width: 100%; height: 100%; object-fit: cover; }
.gm-geraet__name { margin: 4px 0 2px; font-family: var(--f-serif); font-size: 1.4rem; font-weight: 400; line-height: 1.1; letter-spacing: -.012em; }
.gm-geraet__modell { margin: 0; color: var(--gm-gedaempft); font-size: .76rem; font-weight: 500; letter-spacing: .06em; }
.gm-geraet__kurz { margin: 20px 0 10px; color: var(--gm-messing); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.gm-geraet__schritte { margin: 0; padding: 0; list-style: none; counter-reset: gm-schritt; }
.gm-geraet__schritte li { position: relative; margin: 0 0 10px; padding-left: 36px; font-size: .94rem; line-height: 1.55; counter-increment: gm-schritt; }
.gm-geraet__schritte li::before { content: counter(gm-schritt); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--gm-linie-stark); border-radius: 50%; color: var(--gm-messing); font-size: .72rem; font-weight: 600; }
.gm-geraet__hinweis { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin: 6px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gm-flaeche-2); font-size: .88rem; }
.gm-geraet__hinweis .gm-symbol { width: 18px; height: 18px; margin-top: 2px; color: var(--gm-messing); }
.gm-geraet__hinweis p { margin: 0; }
.gm-geraet__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.gm-fussnote { max-width: 44em; margin-top: 18px; color: var(--gm-gedaempft); font-size: .84rem; }
.gm-fussnote p { margin: 0; }

/* ---------- Entdecken ---------- */
.gm-tipps__oben { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 900px) { .gm-tipps__oben { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.gm-termine { padding: 20px 20px 8px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius); background: var(--gm-flaeche); }
.gm-termine__titel { margin: 0 0 6px; font-family: var(--f-serif); font-size: 1.32rem; font-weight: 400; }
.gm-termine__liste { margin: 0; padding: 0; list-style: none; }
.gm-termin { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--gm-linie); }
.gm-termin:first-child { border-top: 0; }
.gm-termin__datum { display: grid; place-content: center; width: 54px; height: 58px; border-radius: 12px; background: var(--gm-flaeche-2); text-align: center; }
.gm-termin__datum strong { font-family: var(--f-serif); font-size: 1.5rem; font-weight: 380; line-height: 1; }
.gm-termin__datum span { margin-top: 3px; color: var(--gm-messing); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gm-termin__text { display: grid; gap: 2px; min-width: 0; }
.gm-termin__name { color: inherit; font-size: .98rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
a.gm-termin__name { text-decoration: underline; text-decoration-color: var(--gm-linie-stark); text-underline-offset: .25em; }
a.gm-termin__name:hover { text-decoration-color: currentColor; }
.gm-termin__wann { color: var(--gm-gedaempft); font-size: .84rem; line-height: 1.4; }
.gm-zeitung { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 196px; padding: 22px; overflow: hidden; border-radius: var(--gm-radius); background: var(--gm-dunkel); color: var(--gm-dunkel-text); text-decoration: none; transition: transform .3s var(--ease); }
.gm-zeitung .gm-vorzeile { color: var(--gm-dunkel-akzent); }
.gm-zeitung__symbol { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; color: var(--gm-dunkel-akzent); opacity: .7; }
.gm-zeitung__titel { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 360; line-height: 1.1; letter-spacing: -.015em; }
.gm-zeitung__text { opacity: .8; font-size: .9rem; }
.gm-zeitung__oeffnen { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gm-pfeil { width: 15px; height: 15px; transition: transform .3s var(--ease); }
@media (hover: hover) { .gm-zeitung:hover { transform: translateY(-2px); } .gm-zeitung:hover .gm-pfeil, .gm-links a:hover .gm-pfeil { transform: translate(2px, -2px); } }
.gm-raster--tipps { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gm-tipp .gm-karte__kopf { justify-content: flex-start; }
.gm-tipp .gm-karte__kopf .gm-vorzeile { font-size: .66rem; }
.gm-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.gm-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px; border: 1px solid var(--gm-linie); border-radius: 99px; background: var(--gm-flaeche); color: inherit; font-size: .88rem; font-weight: 500; text-decoration: none; }
.gm-links a .gm-symbol:first-child { width: 19px; height: 19px; color: var(--gm-akzent); }
.gm-links a .gm-pfeil { opacity: .55; }

/* ---------- Adressen ---------- */
.gm-orte__liste { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gm-linie); }
.gm-ort { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--gm-linie); }
.gm-ort__name { margin: 0; font-family: var(--f-serif); font-size: 1.24rem; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.gm-ort__art { margin: 3px 0 0; color: var(--gm-gedaempft); font-size: .86rem; line-height: 1.4; }
.gm-ort__adresse { margin: 2px 0 0; font-size: .84rem; line-height: 1.4; }
.gm-ort__zeiten { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--gm-messing); font-size: .78rem; font-weight: 500; line-height: 1.3; }
.gm-ort__zeiten .gm-symbol { width: 14px; height: 14px; }
.gm-ort__knoepfe { display: flex; gap: 6px; }
.gm-rund { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gm-linie); border-radius: 50%; background: var(--gm-flaeche); color: var(--gm-akzent); transition: transform .2s var(--ease), border-color .3s; -webkit-tap-highlight-color: transparent; }
.gm-rund .gm-symbol { width: 18px; height: 18px; }
.gm-rund:active { transform: scale(.92); }
.gm-rund:hover { border-color: var(--gm-linie-stark); }
@media (min-width: 900px) {
	.gm-orte__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
	.gm-ort { border-top: 1px solid var(--gm-linie); border-bottom: 0; }
}
@media (max-width: 400px) { .gm-ort { grid-template-columns: 1fr; } .gm-ort__knoepfe { margin-top: -2px; } }

/* ---------- Hilfe ---------- */
.gm-hilfe__raster { display: grid; gap: 12px; }
@media (min-width: 900px) { .gm-hilfe__raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm-hilfe__karte { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1px solid var(--gm-linie); border-radius: var(--gm-radius); background: var(--gm-flaeche); }
.gm-hilfe__karte p { margin: 0; color: var(--gm-gedaempft); font-size: .95rem; }
.gm-hilfe__karte > .gm-knopf { align-self: flex-start; margin-top: auto; }
.gm-hilfe__karte--problem { background: var(--gm-flaeche-2); border-color: transparent; }
.gm-kontakt, .gm-notruf { margin: 2px 0 0; padding: 0; list-style: none; }
.gm-kontakt a { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--gm-linie); color: inherit; text-decoration: none; }
.gm-kontakt a .gm-symbol { width: 20px; height: 20px; color: var(--gm-akzent); }
.gm-kontakt a > span { display: grid; color: var(--gm-gedaempft); font-size: .78rem; line-height: 1.35; }
.gm-kontakt strong { color: var(--gm-text); font-size: .94rem; font-weight: 600; overflow-wrap: anywhere; }
.gm-kontakt__zeiten { padding-top: 10px; border-top: 1px solid var(--gm-linie); font-size: .82rem !important; }
.gm-notruf a { display: grid; grid-template-columns: minmax(84px, max-content) 1fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--gm-linie); color: inherit; text-decoration: none; }
.gm-notruf strong { white-space: nowrap; color: var(--gm-notruf); font-family: var(--f-serif); font-size: 1.5rem; font-weight: 400; line-height: 1; font-variant-numeric: lining-nums; }
.gm-notruf span { color: var(--gm-gedaempft); font-size: .84rem; line-height: 1.35; }
.gm-hilfe__karte--notfall .gm-karte__symbol { color: var(--gm-notruf); }

/* ---------- Fuß ---------- */
.gm-fuss { max-width: calc(var(--gm-breite) + 2 * var(--gm-rand)); margin: clamp(72px, 10vw, 120px) auto 0; padding: 40px var(--gm-rand) calc(var(--leiste-h) + 52px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gm-linie); color: var(--gm-gedaempft); font-size: .84rem; text-align: center; }
.gm-fuss__marke { width: 112px; height: auto; margin: 0 auto 20px; color: var(--gm-marke); }
.gm-fuss__adresse { margin: 0 0 14px; line-height: 1.7; }
.gm-fuss a { color: inherit; }
.gm-fuss__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.gm-fuss__links a { display: inline-block; padding: 6px 0; }
.gm-fuss__betrieb { margin: 0; font-size: .76rem; }
@media (min-width: 900px) { .gm-fuss { padding-bottom: 56px; } }

/* ---------- Schnellzugriff (Smartphone) ---------- */
.gm-leiste { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 2px; padding: 3px; border-radius: 99px; background: var(--papier); color: var(--tinte); box-shadow: 0 0 0 1px rgba(28, 41, 36, .08), 0 10px 30px -12px rgba(13, 25, 22, .35); }
.gm-leiste__knopf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; border: 0; border-radius: 99px; background: none; color: inherit; font-family: var(--f-sans); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .25s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.gm-leiste__knopf .gm-symbol { width: 18px; height: 18px; }
.gm-leiste__knopf:active { transform: scale(.95); }
.gm-leiste__knopf--haupt { background: var(--tanne); color: var(--creme); }
.gm-leiste__knopf.ist-kopiert { background: rgba(28, 41, 36, .08); }
.gm-leiste:has(.gm-leiste__knopf:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
@media (prefers-color-scheme: dark) { body.gm-seite .gm-leiste { background: rgba(19, 36, 32, .94); color: var(--creme); box-shadow: 0 0 0 1px rgba(235, 229, 217, .1), 0 10px 30px -12px rgba(0, 0, 0, .6); } body.gm-seite .gm-leiste__knopf.ist-kopiert { background: rgba(244, 239, 230, .16); } body.gm-seite .gm-leiste__knopf--haupt { background: var(--gm-akzent); color: var(--gm-akzent-text); } }
@media (min-width: 600px) and (max-width: 899px) { .gm-leiste { left: 50%; right: auto; width: min(440px, calc(100% - 24px)); transform: translateX(-50%); } }
@media (min-width: 900px) { .gm-leiste { display: none; } }

/* ---------- Wunsch-Blatt ---------- */
.gm-blatt { position: fixed; inset: auto 0 0; width: min(100%, 560px); max-width: none; max-height: min(92dvh, 860px); margin: 0 auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 26px 26px 0 0; background: var(--gm-flaeche); color: var(--gm-text); box-shadow: 0 -24px 70px -24px rgba(0, 0, 0, .45); }
.gm-blatt::backdrop { background: rgba(13, 25, 22, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.gm-blatt[open] { animation: gm-blatt-auf .5s var(--ease); }
.gm-blatt[open]::backdrop { animation: gm-schleier-auf .4s ease; }
.gm-blatt.ist-zu { animation: gm-blatt-zu .26s var(--ease-io) forwards; }
.gm-blatt.ist-zu::backdrop { animation: gm-schleier-zu .26s ease forwards; }
@keyframes gm-blatt-auf { from { transform: translateY(100%); } }
@keyframes gm-blatt-zu { to { transform: translateY(100%); } }
@keyframes gm-schleier-auf { from { opacity: 0; } }
@keyframes gm-schleier-zu { to { opacity: 0; } }
.gm-blatt__form { padding: 10px clamp(20px, 5vw, 32px) calc(24px + env(safe-area-inset-bottom)); }
.gm-blatt__griff { width: 42px; height: 5px; margin: 0 auto 16px; border-radius: 3px; background: var(--gm-linie-stark); }
.gm-blatt__kopf { position: relative; padding-right: 52px; margin-bottom: 20px; }
.gm-blatt__titel { margin: .3em 0 0; font-family: var(--f-serif); font-size: 1.75rem; font-weight: 360; line-height: 1.08; letter-spacing: -.02em; }
.gm-blatt__titel:focus { outline: none; }
.gm-blatt__text { margin: .6em 0 0; color: var(--gm-gedaempft); font-size: .93rem; line-height: 1.55; }
.gm-blatt__zu { position: absolute; top: -2px; right: 0; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--gm-flaeche-2); color: var(--gm-text); cursor: pointer; }
.gm-blatt__zu .gm-symbol { width: 18px; height: 18px; }
.gm-blatt__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.gm-feld { display: grid; gap: 6px; margin: 0 0 14px; }
.gm-feld--voll { grid-column: 1 / -1; }
.gm-feld label { font-size: .78rem; font-weight: 600; letter-spacing: .01em; }
.gm-feld input, .gm-feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--gm-linie-stark); border-radius: 12px; background: var(--gm-grund); color: var(--gm-text); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.gm-feld input[type="date"], .gm-feld input[type="time"] { min-width: 0; }
.gm-feld textarea { min-height: 92px; resize: vertical; }
.gm-feld input:focus, .gm-feld textarea:focus { border-color: var(--gm-akzent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gm-akzent) 22%, transparent); }
.gm-blatt__vorschau { margin: 2px 0 14px; padding: 14px 16px; border: 1px dashed var(--gm-linie-stark); border-radius: 14px; background: var(--gm-grund); }
.gm-blatt__vorschau-titel { margin: 0 0 8px; color: var(--gm-messing); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.gm-blatt__nachricht { margin: 0; color: var(--gm-gedaempft); font-size: .86rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.gm-blatt__fehler { margin: 0 0 12px; color: var(--gm-notruf); font-size: .88rem; font-weight: 500; }
.gm-blatt__fehler:empty { display: none; }
.gm-blatt__knoepfe { display: grid; gap: 8px; }
.gm-blatt__knoepfe .gm-knopf { width: 100%; min-height: 54px; }
.gm-blatt__datenschutz { margin: 14px 0 0; color: var(--gm-gedaempft); font-size: .74rem; line-height: 1.5; text-align: center; }
@media (min-width: 700px) {
	.gm-blatt { inset: 0; margin: auto; max-height: min(88vh, 860px); border-radius: 26px; }
	.gm-blatt__griff { display: none; }
	.gm-blatt__form { padding-top: 30px; }
	@keyframes gm-blatt-auf { from { opacity: 0; transform: translateY(24px) scale(.98); } }
	@keyframes gm-blatt-zu { to { opacity: 0; transform: translateY(16px) scale(.98); } }
	.gm-blatt__knoepfe { grid-template-columns: 1fr 1fr; }
}

/* ---------- Kurzmeldung ---------- */
.gm-meldung { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100% - 40px); padding: 12px 20px; border-radius: 99px; background: var(--nacht); color: var(--creme); font-size: .86rem; font-weight: 600; letter-spacing: .01em; text-align: center; box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .4s var(--ease); pointer-events: none; }
.gm-meldung.ist-sichtbar { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-color-scheme: dark) { body.gm-seite .gm-meldung { background: var(--creme); color: var(--nacht); } }
@media (min-width: 900px) { .gm-meldung { bottom: 32px; } }

/* ---------- Ruhig, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
	.gm-heute__licht::after { animation: none !important; }
	.gm-blatt[open], .gm-blatt[open]::backdrop, .gm-blatt.ist-zu { animation: none !important; }
	.gm-aufklapp::details-content { transition: none !important; }
}

/* ---------- Drucken (z. B. an der Rezeption) ---------- */
@media print {
	body.gm-seite { background: #fff; color: #000; }
	.gm-nav, .gm-leiste, .gm-blatt, .gm-meldung, .gm-kopf__sprachen, .gm-knopf, .gm-wlan__kopieren, .gm-kacheln, .gm-ort__knoepfe, .gm-geraete__sprung, .springen { display: none !important; }
	.gm-karte, .gm-schritt, .gm-geraet, .gm-hilfe__karte, .gm-termine { break-inside: avoid; box-shadow: none; }
	.gm-wlan { background: none; color: #000; border: 1px solid #000; }
	.gm-abschnitt { padding-top: 32px; }
}

/* ---------- Milchglas (Feinschliff): nur die schwebenden Leisten, die Meldung und der Schleier hinter dem Blatt ---------- */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.gm-leiste { background: rgba(250, 247, 241, .82); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); }
	.gm-nav { background: color-mix(in srgb, var(--gm-grund) 80%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); }
	.gm-meldung { background: rgba(16, 28, 24, .84); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px -16px rgba(0, 0, 0, .5); }
	.gm-blatt::backdrop { -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); }
	@media (prefers-color-scheme: dark) {
		body.gm-seite .gm-leiste { background: rgba(22, 40, 35, .74); }
		body.gm-seite .gm-meldung { background: rgba(250, 247, 241, .88); color: var(--nacht); }
	}
}
@media (prefers-reduced-transparency: reduce) {
	.gm-leiste { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--papier); }
	.gm-meldung { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--nacht); }
	.gm-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--gm-grund); }
}
