/* Wohnungsverwaltung – Frontend */
.dg15wv-front {
	--dg15wv-accent: #4f6b3a;      /* Moosgrün */
	--dg15wv-accent-2: #b5603c;    /* Terrakotta */
	--dg15wv-card: #ffffff;
	--dg15wv-ink: #23261f;
	--dg15wv-muted: #6b7064;
	--dg15wv-line: #e3e5de;
	--dg15wv-soft: #f4f5f0;
	--dg15wv-radius: 10px;
	/* Schatten: Farbe + Stärke (Deckkraft) getrennt einstellbar */
	--dg15wv-shadow-color: #3b2f22;
	--dg15wv-so: 5px;   /* Versatz nach rechts unten */
	--dg15wv-sb: 8px;   /* Unschärfe (Laufweite) */
	--dg15wv-sa: 26%;   /* Deckkraft */
	--dg15wv-shadow:
		var(--dg15wv-so) var(--dg15wv-so) var(--dg15wv-sb) calc(var(--dg15wv-sb) * -0.3) color-mix(in srgb, var(--dg15wv-shadow-color) var(--dg15wv-sa), transparent),
		1px 1px 2px color-mix(in srgb, var(--dg15wv-shadow-color) calc(var(--dg15wv-sa) * .5), transparent);
	--dg15wv-shadow-hover:
		calc(var(--dg15wv-so) * 1.6) calc(var(--dg15wv-so) * 1.6) calc(var(--dg15wv-sb) * 1.3) calc(var(--dg15wv-sb) * -0.3) color-mix(in srgb, var(--dg15wv-shadow-color) var(--dg15wv-sa), transparent),
		1px 1px 2px color-mix(in srgb, var(--dg15wv-shadow-color) calc(var(--dg15wv-sa) * .5), transparent);
	--dg15wv-gap: 20px;
	color: var(--dg15wv-ink);
	font-size: 15px;
	line-height: 1.45;
	margin: 0 0 2em;
}
.dg15wv-front *, .dg15wv-front *::before, .dg15wv-front *::after { box-sizing: border-box; }
.dg15wv-front [hidden] { display: none !important; }
.dg15wv-title { margin: 0 0 .75em; }

/* Toolbar */
.dg15wv-toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 14px; margin-bottom: 10px; background: var(--dg15wv-soft); border-radius: var(--dg15wv-radius); }
.dg15wv-seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--dg15wv-line); border-radius: 999px; padding: 3px; }
.dg15wv-front .dg15wv-seg button { appearance: none; border: 0; background: none; color: var(--dg15wv-ink); font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer; line-height: 1.2; letter-spacing: 0; text-transform: none; box-shadow: none; }
.dg15wv-front .dg15wv-seg button:hover { background: var(--dg15wv-soft); }
.dg15wv-front .dg15wv-seg button.is-active { background: var(--dg15wv-accent); color: #fff; }
.dg15wv-fields { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.dg15wv-fields label { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 12px; color: var(--dg15wv-muted); text-transform: uppercase; letter-spacing: .04em; }
.dg15wv-front .dg15wv-fields select, .dg15wv-front .dg15wv-fields input { font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--dg15wv-ink); height: 36px; padding: 0 10px; margin: 0; border: 1px solid var(--dg15wv-line); border-radius: 8px; background: #fff; min-width: 110px; width: auto; }
.dg15wv-search { flex: 1; min-width: 180px; }
.dg15wv-front .dg15wv-search input { width: 100%; }
.dg15wv-viewtoggle { display: inline-flex; gap: 2px; }
.dg15wv-front .dg15wv-viewtoggle button { appearance: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--dg15wv-line); border-radius: 8px; background: #fff; color: var(--dg15wv-muted); cursor: pointer; box-shadow: none; }
.dg15wv-front .dg15wv-viewtoggle button.is-active { color: #fff; background: var(--dg15wv-accent); border-color: var(--dg15wv-accent); }

.dg15wv-count { margin: 0 0 10px; font-size: 13px; color: var(--dg15wv-muted); }
.dg15wv-none, .dg15wv-empty { padding: 24px; text-align: center; color: var(--dg15wv-muted); background: var(--dg15wv-soft); border-radius: var(--dg15wv-radius); }

/* Karten */
.dg15wv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--dg15wv-gap); }
.dg15wv-thead { display: none; }
.dg15wv-item { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--dg15wv-card); border: 1px solid var(--dg15wv-line); border-radius: var(--dg15wv-radius); box-shadow: var(--dg15wv-shadow); transition: box-shadow .2s, transform .2s; }
.dg15wv-item:hover { box-shadow: var(--dg15wv-shadow-hover); transform: translate(-1px, -1px); }
.dg15wv-item__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dg15wv-nr { font-size: 22px; font-weight: 700; color: var(--dg15wv-accent); letter-spacing: -.01em; }
.dg15wv-badge { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: var(--dg15wv-soft); color: var(--dg15wv-muted); white-space: nowrap; }
.dg15wv-badge--hauptgebaeude { background: #eef3e8; color: #4f6b3a; }
.dg15wv-badge--mfh-neubau { background: #e8eef3; color: #3a5a6b; }
.dg15wv-badge--nebengebaeude { background: #f8ede7; color: #9a4f30; }
.dg15wv-front .dg15wv-name { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.dg15wv-name:empty { display: none; }
.dg15wv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--dg15wv-line); border-bottom: 1px solid var(--dg15wv-line); }
.dg15wv-facts div { min-width: 0; }
.dg15wv-facts dt { font-size: 11px; color: var(--dg15wv-muted); text-transform: uppercase; letter-spacing: .04em; margin: 0; font-weight: 400; }
.dg15wv-facts dd { margin: 0; font-weight: 600; white-space: nowrap; }
.dg15wv-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dg15wv-people.is-empty { display: none; }
.dg15wv-people li { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.dg15wv-role { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #eef3e8; color: var(--dg15wv-accent); }
.dg15wv-role--mieter { background: #f8ede7; color: var(--dg15wv-accent-2); }
.dg15wv-pname { font-weight: 500; }
.dg15wv-contact { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; }
.dg15wv-contact a { color: var(--dg15wv-muted); text-decoration: none; }
.dg15wv-contact a:hover { color: var(--dg15wv-accent); text-decoration: underline; }
.dg15wv-plan { margin-top: auto; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--dg15wv-accent); font-size: 14px; font-weight: 500; }
.dg15wv-plan--off { display: none; }
.dg15wv-plan__tile { display: grid; place-items: center; height: 120px; border-radius: 8px; background: #eef3e8; border: 1px solid #dfe8d5; transition: background .15s, border-color .15s; }
.dg15wv-plan__icon { width: 64px; height: 64px; transition: transform .15s; }
a.dg15wv-plan:hover .dg15wv-plan__tile { background: #e4ecdb; border-color: var(--dg15wv-accent); }
a.dg15wv-plan:hover .dg15wv-plan__icon { transform: scale(1.06); }
a.dg15wv-plan:hover .dg15wv-plan__lbl { text-decoration: underline; }
.dg15wv-plan--none .dg15wv-plan__tile { background: transparent; border: 1px dashed var(--dg15wv-line); }

/* Status */
.dg15wv-status { align-self: flex-start; font-size: 12px; font-weight: 500; padding: 3px 10px 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dg15wv-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dg15wv-status--ja { background: #eef3e8; color: var(--dg15wv-accent); }
.dg15wv-status--nein { background: var(--dg15wv-soft); color: var(--dg15wv-muted); }
.dg15wv-status--off { display: none; }

/* Tabelle */
.dg15wv-front[data-view="tabelle"] .dg15wv-grid { box-shadow: var(--dg15wv-shadow); background: var(--dg15wv-card); display: block; border: 1px solid var(--dg15wv-line); border-radius: var(--dg15wv-radius); overflow: hidden; }
.dg15wv-front[data-view="tabelle"] .dg15wv-thead,
.dg15wv-front[data-view="tabelle"] .dg15wv-item {
	display: grid;
	grid-template-columns: 5.5rem 9rem minmax(8rem, 1.2fr) 5rem 4rem 6rem 4.5rem 7.5rem minmax(10rem, 1.6fr) 6.5rem;
	align-items: center; gap: 0 12px; padding: 10px 14px;
}
.dg15wv-front[data-view="tabelle"] .dg15wv-thead { background: var(--dg15wv-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--dg15wv-muted); }
.dg15wv-front[data-view="tabelle"] .dg15wv-item { border: 0; border-top: 1px solid var(--dg15wv-line); border-radius: 0; transform: none; box-shadow: none; }
.dg15wv-front[data-view="tabelle"] .dg15wv-item:hover { background: #fafbf8; }
.dg15wv-front[data-view="tabelle"] .dg15wv-item__head,
.dg15wv-front[data-view="tabelle"] .dg15wv-facts,
.dg15wv-front[data-view="tabelle"] .dg15wv-facts div { display: contents; }
.dg15wv-front[data-view="tabelle"] .dg15wv-facts dt { display: none; }
.dg15wv-front[data-view="tabelle"] .dg15wv-nr { font-size: 16px; }
.dg15wv-front[data-view="tabelle"] .dg15wv-badge { justify-self: start; }
.dg15wv-front[data-view="tabelle"] .dg15wv-item__head { order: 0; }
.dg15wv-front[data-view="tabelle"] .dg15wv-name { display: block; font-size: 15px; font-weight: 500; grid-column: 3; grid-row: 1; }
.dg15wv-front[data-view="tabelle"] .dg15wv-facts dd { font-weight: 400; }
.dg15wv-front[data-view="tabelle"] .dg15wv-status { justify-self: start; align-self: center; }
.dg15wv-front[data-view="tabelle"] .dg15wv-status--off { display: block; }
.dg15wv-front[data-view="tabelle"] .dg15wv-people { display: grid; gap: 2px; font-size: 14px; }
.dg15wv-front[data-view="tabelle"] .dg15wv-contact { font-size: 12px; }
.dg15wv-front[data-view="tabelle"] .dg15wv-plan,
.dg15wv-front[data-view="tabelle"] .dg15wv-plan--off { display: block; margin: 0; font-size: 13px; }
.dg15wv-front[data-view="tabelle"] .dg15wv-plan__tile,
.dg15wv-front[data-view="tabelle"] .dg15wv-plan--none .dg15wv-plan__lbl { display: none; }

@media (max-width: 900px) {
	/* Tabelle auf schmalen Bildschirmen als kompakte Karten */
	.dg15wv-front[data-view="tabelle"] .dg15wv-thead { display: none; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-item { grid-template-columns: auto 1fr; gap: 6px 12px; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-name { grid-column: 1 / -1; grid-row: auto; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; grid-column: 1 / -1; padding: 0; border: 0; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-facts dt { align-self: center; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-plan--none,
	.dg15wv-front[data-view="tabelle"] .dg15wv-plan--off { display: none; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-facts div { display: flex; gap: 4px; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-facts dt { display: inline; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-people,
	.dg15wv-front[data-view="tabelle"] .dg15wv-plan { grid-column: 1 / -1; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-status { grid-column: 1 / -1; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-status--off { display: none; }
}
@media (max-width: 520px) {
	.dg15wv-toolbar { padding: 10px; }
	.dg15wv-fields label { flex: 1 1 45%; }
	.dg15wv-front .dg15wv-fields select { width: 100%; min-width: 0; }
}

.dg15wv-locked { padding: 24px; text-align: center; background: var(--dg15wv-soft, #f4f5f0); border-radius: 10px; }
.dg15wv-btn { display: inline-block; padding: 8px 18px; border-radius: 999px; background: #4f6b3a; color: #fff !important; text-decoration: none; }
/* Icon gegen Theme-Styles absichern */
.dg15wv-front .dg15wv-plan__icon { display: block; max-width: none; }
.dg15wv-front .dg15wv-plan__icon path { fill: none !important; stroke: currentColor; }
.dg15wv-front .dg15wv-plan__icon rect, .dg15wv-front .dg15wv-plan__icon circle { fill: currentColor !important; stroke: none; }

/* ---------- Vertriebsliste ---------- */
.dg15wv-front--vertrieb { --dg15wv-frei: #4f7d3a; --dg15wv-res: #c98a2b; --dg15wv-sold: #b5603c; }
.dg15wv-vthead { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: center; padding: 18px 20px; margin-bottom: 18px; background: var(--dg15wv-card); border: 1px solid var(--dg15wv-line); border-radius: var(--dg15wv-radius); box-shadow: var(--dg15wv-shadow); }
.dg15wv-vthead__big { display: flex; align-items: center; gap: 12px; grid-row: span 2; }
.dg15wv-vthead__big b { font-size: 44px; line-height: 1; color: var(--dg15wv-frei); font-weight: 700; letter-spacing: -.02em; }
.dg15wv-vthead__big span { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; line-height: 1.25; }
.dg15wv-vthead__big small { font-weight: 400; font-size: 13px; color: var(--dg15wv-muted); }
.dg15wv-vthead__bar { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--dg15wv-soft); }
.dg15wv-vthead__bar span { min-width: 6px; }
.dg15wv-vthead__bar .is-frei { background: var(--dg15wv-frei); }
.dg15wv-vthead__bar .is-reserviert { background: var(--dg15wv-res); }
.dg15wv-vthead__bar .is-verkauft { background: var(--dg15wv-sold); }
.dg15wv-vthead__legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--dg15wv-muted); }
.dg15wv-vthead__legend li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.dg15wv-vthead__legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.dg15wv-vthead__legend .is-frei::before { background: var(--dg15wv-frei); }
.dg15wv-vthead__legend .is-reserviert::before { background: var(--dg15wv-res); }
.dg15wv-vthead__legend .is-verkauft::before { background: var(--dg15wv-sold); }
.dg15wv-vthint { padding: 12px 16px; margin-bottom: 14px; border-left: 4px solid var(--dg15wv-accent); background: var(--dg15wv-soft); border-radius: 0 var(--dg15wv-radius) var(--dg15wv-radius) 0; font-size: 14px; }

.dg15wv-vtstate { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dg15wv-vtstate::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dg15wv-vtstate--frei { background: #e6f0de; color: var(--dg15wv-frei); }
.dg15wv-vtstate--reserviert { background: #fbf0dc; color: #9a6514; }
.dg15wv-vtstate--verkauft { background: #f6e6de; color: var(--dg15wv-sold); }
.dg15wv-price { font-size: 18px; font-weight: 700; color: var(--dg15wv-ink); }
.dg15wv-price.is-empty { display: none; }
.dg15wv-item--verkauft { background: #fbfbf9; }
.dg15wv-item--verkauft .dg15wv-nr { color: var(--dg15wv-muted); }
.dg15wv-item--verkauft .dg15wv-facts, .dg15wv-item--verkauft .dg15wv-name, .dg15wv-item--verkauft .dg15wv-plan { opacity: .6; }
.dg15wv-item--frei { border-top: 3px solid var(--dg15wv-frei); }
.dg15wv-item--reserviert { border-top: 3px solid var(--dg15wv-res); }
.dg15wv-item--verkauft { border-top: 3px solid var(--dg15wv-sold); }
.dg15wv-front[data-view="tabelle"] .dg15wv-item--frei,
.dg15wv-front[data-view="tabelle"] .dg15wv-item--reserviert,
.dg15wv-front[data-view="tabelle"] .dg15wv-item--verkauft { border-top: 1px solid var(--dg15wv-line); }
.dg15wv-front[data-view="tabelle"] .dg15wv-vtstate { justify-self: start; align-self: center; }
.dg15wv-front[data-view="tabelle"] .dg15wv-price { font-size: 15px; }
.dg15wv-front[data-view="tabelle"] .dg15wv-price.is-empty { display: block; }
@media (max-width: 900px) {
	.dg15wv-front[data-view="tabelle"] .dg15wv-vtstate { grid-column: 1; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-price { grid-column: 2; }
	.dg15wv-front[data-view="tabelle"] .dg15wv-price.is-empty { display: none; }
}
@media (max-width: 560px) {
	.dg15wv-vthead { grid-template-columns: 1fr; padding: 14px; }
	.dg15wv-vthead__big { grid-row: auto; }
	.dg15wv-vthead__big b { font-size: 36px; }
}

/* Tabelle: in schmalen Inhaltsbereichen horizontal scrollen statt abschneiden */
.dg15wv-front[data-view="tabelle"] .dg15wv-grid { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dg15wv-front[data-view="tabelle"] .dg15wv-thead,
.dg15wv-front[data-view="tabelle"] .dg15wv-item { min-width: 1080px; }
/* Vertriebs-Tabelle kompakt: ohne Gebäude- und Stellplatz-Spalte, Status gut sichtbar */
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-thead,
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-item { grid-template-columns: 3.2rem minmax(6rem, 1fr) 4rem 3.2rem 5.2rem 6.6rem 6.2rem 7rem 5.6rem; gap: 0 10px; }
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-thead span:nth-child(2),
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-thead span:nth-child(7),
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-badge,
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-facts div:nth-child(4) { display: none; }
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-name { grid-column: 2; }
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-thead,
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-item { min-width: 720px; }
@media (max-width: 900px) {
	.dg15wv-front[data-view="tabelle"] .dg15wv-thead,
	.dg15wv-front[data-view="tabelle"] .dg15wv-item { min-width: 0; }
	.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-item { grid-template-columns: auto 1fr; }
}
@media (max-width: 900px) {
	.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-name { grid-column: 1 / -1; }
	.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-facts div:nth-child(4) { display: flex; }
}

/* ------------------------------------------------------------------
 * Mietliste (Mietinteressenten) – baut auf der Vertriebsliste auf
 * ---------------------------------------------------------------- */
.dg15wv-vtstate--vermietet { background: var(--dg15wv-soft); color: var(--dg15wv-muted); }
.dg15wv-rent { display: flex; flex-direction: column; gap: 2px; }
.dg15wv-rent.is-empty, .dg15wv-avail.is-empty, .dg15wv-ask.is-empty { display: none; }
.dg15wv-rent .dg15wv-price small { font-size: 13px; font-weight: 500; color: var(--dg15wv-muted); }
.dg15wv-rent__sub { font-size: 13px; color: var(--dg15wv-muted); }
.dg15wv-avail { font-size: 14px; font-weight: 500; }
.dg15wv-avail small { display: block; font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--dg15wv-muted); }
.dg15wv-front .dg15wv-btn--ask { display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--dg15wv-accent); color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.3; transition: filter .15s; }
.dg15wv-front .dg15wv-btn--ask:hover { filter: brightness(1.12); }
.dg15wv-front--miete .dg15wv-item--vermietet { opacity: .72; }

.dg15wv-front--miete[data-view="tabelle"] .dg15wv-thead,
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-item { grid-template-columns: 3.2rem minmax(6rem, 1fr) 4rem 3.2rem 5.2rem 6.4rem 11rem 7rem 6.2rem 5.6rem; min-width: 940px; }
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-rent,
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-avail,
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-ask { display: block; }
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-rent .dg15wv-price { display: block; font-size: 15px; }
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-rent__sub { display: block; font-size: 12px; }
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-avail small { display: none; }
.dg15wv-front--miete[data-view="tabelle"] .dg15wv-btn--ask { padding: 5px 12px; font-size: 13px; }
@media (max-width: 900px) {
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-thead,
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-item { min-width: 0; }
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-item { grid-template-columns: auto 1fr; }
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-rent,
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-avail,
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-ask { grid-column: 1 / -1; }
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-rent.is-empty,
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-avail.is-empty,
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-ask.is-empty { display: none; }
	.dg15wv-front--miete[data-view="tabelle"] .dg15wv-avail small { display: inline; }
}

/* ------------------------------------------------------------------
 * Anfrage-Popup (Vertriebsliste)
 * ---------------------------------------------------------------- */
.dg15wv-front--vertrieb .dg15wv-ask.is-empty { display: none; }
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-ask,
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-ask.is-empty { display: block; }
.dg15wv-front button.dg15wv-btn--ask { border: 0; cursor: pointer; font-family: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; }
.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-btn--ask { padding: 5px 12px; font-size: 13px; }
@media (max-width: 900px) {
	.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-ask { grid-column: 1 / -1; }
	.dg15wv-front--vertrieb[data-view="tabelle"] .dg15wv-ask.is-empty { display: none; }
}
.dg15wv-askbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; margin-bottom: 14px; background: var(--dg15wv-card); border: 1px solid var(--dg15wv-line); border-radius: var(--dg15wv-radius); font-size: 15px; }

/* Dialog – Querformat (Entwurf A2) */
.dg15wv-dialog { --af-g: #4f6b3a; --af-ink: #23261f; --af-mut: #5c6155; --af-line: #e3e5de; --af-in: #c9cfc0; --af-soft: #f4f5f0; --af-tint: #eef3e8;
	width: min(840px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--af-ink); box-shadow: 0 24px 60px rgba(35, 38, 31, .35); font-size: 15px; line-height: 1.45; overflow: hidden; }
.dg15wv-dialog.is-wohnung { width: min(1080px, calc(100vw - 24px)); }
.dg15wv-dialog::backdrop { background: rgba(35, 38, 31, .55); }
.dg15wv-dialog[open] { display: flex; animation: dg15wv-pop .18s ease-out; }
@keyframes dg15wv-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.dg15wv-af { display: flex; width: 100%; max-height: calc(100vh - 32px); margin: 0; }
.dg15wv-af *, .dg15wv-af *::before, .dg15wv-af *::after { box-sizing: border-box; }
.dg15wv-af [hidden] { display: none !important; }

/* Wohnungsstreifen */
.dg15wv-af__whg { flex: 0 0 260px; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; background: var(--af-tint); overflow-y: auto; }
.dg15wv-af__brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--af-g); font-weight: 600; }
.dg15wv-dialog.is-wohnung [data-brand-head] { display: none; }
.dg15wv-af__whgtitle { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--af-mut); }
.dg15wv-af__whgtitle strong { font-size: 30px; line-height: 1.1; font-weight: 600; color: var(--af-g); }
.dg15wv-dialog .dg15wv-af__plan { display: grid; place-items: center; gap: 4px; height: 120px; border-radius: 10px; background: #fff; color: var(--af-g); text-decoration: none; font-size: 13px; }
.dg15wv-dialog a.dg15wv-af__plan:hover { box-shadow: inset 0 0 0 1px var(--af-g); }
.dg15wv-af__plan svg { width: 56px; height: 56px; }
.dg15wv-af__plan svg path { fill: none !important; stroke: currentColor; }
.dg15wv-af__plan svg rect, .dg15wv-af__plan svg circle { fill: currentColor !important; stroke: none; }
.dg15wv-af__plan--none { opacity: .55; }
.dg15wv-af__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin: 0; }
.dg15wv-af__facts div { margin: 0; }
.dg15wv-af__facts dt { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--af-mut); font-weight: 400; }
.dg15wv-af__facts dd { margin: 0; font-size: 16px; font-weight: 600; }
.dg15wv-af__status { color: #3f6a2c; }
.dg15wv-af__status.is-res { color: #8a5a10; }
.dg15wv-af__slot--strip { margin-top: auto; }
.dg15wv-af__slot--strip .dg15wv-af__lbl { font-size: 11px; }

/* Hauptbereich */
.dg15wv-af__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dg15wv-af__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 28px 14px; border-bottom: 1px solid var(--af-line); }
.dg15wv-af__head h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--af-ink); text-transform: none; letter-spacing: 0; }
.dg15wv-af__sub { margin: 2px 0 0; font-size: 14px; color: var(--af-mut); }
.dg15wv-dialog .dg15wv-af__x { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--af-soft); color: var(--af-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.dg15wv-af__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 28px; overflow-y: auto; }
.dg15wv-af__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.dg15wv-dialog.is-wohnung .dg15wv-af__grid { column-gap: 32px; }
.dg15wv-af__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.dg15wv-af__f--full { grid-column: 1 / -1; }
.dg15wv-af__lbl { font-size: 12px; font-weight: 600; color: var(--af-mut); text-transform: uppercase; letter-spacing: .05em; }
.dg15wv-af__lbl span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.dg15wv-dialog .dg15wv-af input[type=text], .dg15wv-dialog .dg15wv-af input[type=email], .dg15wv-dialog .dg15wv-af input[type=tel], .dg15wv-dialog .dg15wv-af select, .dg15wv-dialog .dg15wv-af textarea {
	width: 100%; height: 40px; margin: 0; padding: 0 10px; border: 1px solid var(--af-in); border-radius: 8px; background: #fff; color: var(--af-ink); font: inherit; font-size: 15px; line-height: 1.3; box-shadow: none; }
.dg15wv-dialog .dg15wv-af textarea { height: auto; min-height: 96px; padding: 10px; resize: vertical; }
.dg15wv-af.has-termin textarea { min-height: 80px; }
.dg15wv-dialog .dg15wv-af input:focus, .dg15wv-dialog .dg15wv-af select:focus, .dg15wv-dialog .dg15wv-af textarea:focus { outline: 2px solid rgba(79, 107, 58, .35); border-color: var(--af-g); }
.dg15wv-af__checks { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding-bottom: 2px; }
.dg15wv-af__check { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 15px; cursor: pointer; }
.dg15wv-af__check input { flex: 0 0 auto; margin: 0; width: 18px; height: 18px; accent-color: var(--af-g); }
.dg15wv-af__consent { align-items: flex-start; font-size: 13px; line-height: 1.45; color: #3d4136; }
.dg15wv-af__consent input { margin-top: 2px; }
.dg15wv-af__check a { color: var(--af-g); }
.dg15wv-af__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg15wv-af .is-invalid input, .dg15wv-af .is-invalid select, .dg15wv-af .is-invalid textarea { border-color: #b5603c !important; }
.dg15wv-af__check.is-invalid { color: #9a4f30; flex-wrap: wrap; }
.dg15wv-af__err { display: block; color: #9a4f30; font-size: 12px; }
.dg15wv-af__check .dg15wv-af__err { flex-basis: 100%; padding-left: 28px; }
.dg15wv-af__msg { margin: 0; padding: 10px 12px; border-radius: 8px; background: #f6e6de; color: #9a4f30; font-size: 14px; }
.dg15wv-af__foot { display: flex; align-items: center; gap: 20px; padding: 14px 28px 18px; border-top: 1px solid var(--af-line); }
.dg15wv-af__foot .dg15wv-af__consent { flex: 1 1 auto; }
.dg15wv-dialog .dg15wv-af__cancel { flex: 0 0 auto; height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--af-mut); font: inherit; font-size: 15px; cursor: pointer; }
.dg15wv-dialog .dg15wv-af__send, .dg15wv-dialog .dg15wv-af__done .dg15wv-btn { flex: 0 0 auto; height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--af-g); color: #fff; font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.dg15wv-af.is-busy .dg15wv-af__send { opacity: .65; cursor: progress; }
.dg15wv-af__done { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 28px; text-align: center; }
.dg15wv-af__done p { margin: 12px auto 22px; max-width: 440px; font-size: 16px; }
.dg15wv-af__ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f0de; color: var(--af-g); font-size: 34px; line-height: 64px; font-weight: 700; }
.dg15wv-af.is-done .dg15wv-af__head .dg15wv-af__sub { visibility: hidden; }

/* Grundriss-Vorschau im Formular */
.dg15wv-dialog { position: fixed; }
.dg15wv-af__viewer { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; background: #fff; }
.dg15wv-af__vbar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--af-line); }
.dg15wv-af__vbar strong { flex: 1 1 auto; font-size: 18px; font-weight: 600; color: var(--af-ink); }
.dg15wv-af__vbar a { color: var(--af-g); font-size: 14px; }
.dg15wv-dialog .dg15wv-af__vbar .dg15wv-btn { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--af-g); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.dg15wv-af__vimg { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--af-soft); }
.dg15wv-af__vimg img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }
@media (max-width: 560px) { .dg15wv-af__vbar { flex-wrap: wrap; } .dg15wv-af__vbar a { order: 3; } }

/* Reihenfolge mit Wohnungsstreifen: Anliegen | Kontaktwunsch, Name, E-Mail | Telefon, Termin, Checkboxen, Nachricht */
.dg15wv-dialog.is-wohnung [data-k=art] { order: 1; }
.dg15wv-dialog.is-wohnung [data-k=kw] { order: 2; }
.dg15wv-dialog.is-wohnung [data-k=vn] { order: 3; }
.dg15wv-dialog.is-wohnung [data-k=nn] { order: 4; }
.dg15wv-dialog.is-wohnung [data-k=em] { order: 5; }
.dg15wv-dialog.is-wohnung [data-k=tel] { order: 6; }
.dg15wv-dialog.is-wohnung [data-k=tag] { order: 7; }
.dg15wv-dialog.is-wohnung [data-k=zeit] { order: 8; }
.dg15wv-dialog.is-wohnung [data-k=checks] { order: 9; grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 8px 28px; padding: 2px 0 0; }
.dg15wv-dialog.is-wohnung [data-k=msg] { order: 10; }

/* Schmale Bildschirme: Streifen als kompakte Kopfzeile, Felder einspaltig */
@media (max-width: 860px) {
	.dg15wv-af { flex-direction: column; overflow-y: auto; }
	.dg15wv-af__whg { flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 16px; overflow: visible; }
	.dg15wv-af__whg .dg15wv-af__brand, .dg15wv-af__plan--none, .dg15wv-af__facts div:nth-child(3) { display: none; }
	.dg15wv-dialog .dg15wv-af__plan { height: auto; padding: 8px 12px; }
	.dg15wv-af__plan svg { width: 32px; height: 32px; }
	.dg15wv-af__whgtitle strong { font-size: 22px; }
	.dg15wv-af__facts, .dg15wv-af__slot--strip { grid-column: 1 / -1; }
	.dg15wv-af__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dg15wv-af__main { overflow: visible; }
	.dg15wv-af__body { overflow: visible; padding: 14px 16px; }
	.dg15wv-af__grid { grid-template-columns: 1fr; }
	.dg15wv-af__head { padding: 16px 16px 12px; }
	.dg15wv-dialog.is-wohnung .dg15wv-af__head .dg15wv-af__sub { display: none; }
	.dg15wv-af__foot { flex-wrap: wrap; padding: 12px 16px 16px; gap: 10px; }
	.dg15wv-af__foot .dg15wv-af__consent { flex-basis: 100%; }
	.dg15wv-dialog .dg15wv-af__send { flex: 1 1 auto; }
}

.dg15wv-front--anfrage { margin: 0; display: inline-block; }

/* ------------------------------------------------------------------
 * Grundriss-Fenster (Entwurf „Grundriss-Modal“)
 * ---------------------------------------------------------------- */
.dg15wv-gm { --gm-g: #4f6b3a; --gm-ink: #23261f; --gm-mut: #5c6155; --gm-line: #e3e5de; --gm-soft: #f4f5f0; --gm-tint: #eef3e8;
	position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--gm-ink); font-size: 15px; line-height: 1.45; overflow: hidden; }
.dg15wv-gm[open] { display: flex; align-items: center; justify-content: center; }
.dg15wv-gm::backdrop { background: rgba(35, 38, 31, .6); }
.dg15wv-gm *, .dg15wv-gm *::before, .dg15wv-gm *::after { box-sizing: border-box; }
.dg15wv-gm [hidden] { display: none !important; }
.dg15wv-gm button { font: inherit; }

.dg15wv-gm__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--gm-ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); z-index: 2; }
.dg15wv-gm__nav:hover { background: #fff; }
.dg15wv-gm__nav--prev { left: 22px; }
.dg15wv-gm__nav--next { right: 22px; }

.dg15wv-gm__box { position: relative; width: min(1100px, calc(100vw - 150px)); height: min(700px, calc(100vh - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "stage info" "strip info"; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(35, 38, 31, .35); animation: dg15wv-pop .18s ease-out; }

.dg15wv-gm__stage { grid-area: stage; position: relative; background: var(--gm-soft); overflow: hidden; }
.dg15wv-gm__view { position: absolute; inset: 24px; display: flex; align-items: center; justify-content: center; touch-action: none; user-select: none; cursor: zoom-in; }
.dg15wv-gm.is-zoomed .dg15wv-gm__view { cursor: grab; }
.dg15wv-gm.is-zoomed .dg15wv-gm__view:active { cursor: grabbing; }
.dg15wv-gm__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(35, 38, 31, .12); transform-origin: 0 0; transition: transform .12s ease-out; will-change: transform; }
.dg15wv-gm__none { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--gm-mut); font-size: 16px; text-align: center; }
.dg15wv-gm__none svg { width: 72px; height: 72px; color: var(--gm-g); opacity: .6; }
.dg15wv-gm__none svg path { fill: none !important; stroke: currentColor; }
.dg15wv-gm__none svg rect, .dg15wv-gm__none svg circle { fill: currentColor !important; stroke: none; }
.dg15wv-gm__none .dg15wv-btn { padding: 10px 22px; border-radius: 999px; background: var(--gm-g); color: #fff !important; text-decoration: none; font-weight: 600; }
.dg15wv-gm__zoom { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 4px; padding: 4px; background: #fff; border-radius: 999px; box-shadow: 0 1px 4px rgba(35, 38, 31, .15); }
.dg15wv-gm__zoom button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gm-ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.dg15wv-gm__zoom button:hover { background: var(--gm-soft); }
.dg15wv-gm__hint { position: absolute; left: 22px; bottom: 30px; font-size: 13px; color: var(--gm-mut); pointer-events: none; }
.dg15wv-gm.is-zoomed .dg15wv-gm__hint { display: none; }
.dg15wv-gm__hint-m { display: none; }

.dg15wv-gm__strip { grid-area: strip; display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--gm-line); background: #fff; overflow-x: auto; }
.dg15wv-gm__pick { flex: 1 0 44px; min-width: 44px; height: 38px; padding: 0 6px; border: 1px solid var(--gm-line); border-radius: 8px; background: #fff; color: var(--gm-ink); font-size: 14px; cursor: pointer; }
.dg15wv-gm__pick:hover { border-color: var(--gm-g); }
.dg15wv-gm__pick.is-reserviert { background: #fbf0dc; color: #8a5a10; }
.dg15wv-gm__pick.is-verkauft { color: #8c8f86; text-decoration: line-through; }
.dg15wv-gm__pick.is-current { background: var(--gm-g); border-color: var(--gm-g); color: #fff; font-weight: 600; text-decoration: none; }

.dg15wv-gm__info { grid-area: info; display: flex; flex-direction: column; gap: 18px; padding: 22px 26px 24px; overflow-y: auto; }
.dg15wv-gm__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dg15wv-gm__kicker { padding-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-g); font-weight: 600; }
.dg15wv-gm__x { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--gm-soft); color: var(--gm-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.dg15wv-gm__title { display: flex; flex-direction: column; gap: 4px; color: var(--gm-mut); }
.dg15wv-gm__title h2 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 600; color: var(--gm-g); text-transform: none; letter-spacing: 0; }
.dg15wv-gm__state { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--gm-tint); }
.dg15wv-gm__vt { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #3f6a2c; }
.dg15wv-gm__vt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dg15wv-gm__state.is-reserviert { background: #fbf0dc; } .dg15wv-gm__state.is-reserviert .dg15wv-gm__vt { color: #8a5a10; }
.dg15wv-gm__state.is-verkauft { background: #f6e6de; } .dg15wv-gm__state.is-verkauft .dg15wv-gm__vt { color: #9a4f30; }
.dg15wv-gm__preis { font-size: 22px; font-weight: 600; color: var(--gm-ink); }
.dg15wv-gm__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin: 0; }
.dg15wv-gm__facts div { margin: 0; }
.dg15wv-gm__facts dt { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gm-mut); font-weight: 400; }
.dg15wv-gm__facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.dg15wv-gm__text { margin: 0; font-size: 14px; line-height: 1.5; color: #3d4136; white-space: pre-line; }
.dg15wv-gm__actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.dg15wv-gm .dg15wv-gm__ask { height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--gm-g); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.dg15wv-gm .dg15wv-gm__ask:hover { filter: brightness(1.1); }
.dg15wv-gm__dl { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid #c9cfc0; border-radius: 999px; color: var(--gm-ink) !important; font-size: 15px; text-decoration: none !important; }
.dg15wv-gm__dl:hover { border-color: var(--gm-g); }
.dg15wv-gm__mbar { display: none; }

/* Handy: Vollbild, Kopf · Grundriss · Kennzahlen · fixe Leiste */
@media (max-width: 760px) {
	.dg15wv-gm__nav, .dg15wv-gm__strip, .dg15wv-gm__actions .dg15wv-gm__ask, .dg15wv-gm__zoom, .dg15wv-gm__kicker { display: none; }
	.dg15wv-gm__box { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; display: flex; flex-direction: column; animation: none; }
	.dg15wv-gm__info { display: contents; }
	.dg15wv-gm__top { order: 1; position: absolute; top: 12px; right: 12px; z-index: 3; }
	.dg15wv-gm__title { order: 1; padding: 14px 70px 10px 16px; border-bottom: 1px solid var(--gm-line); }
	.dg15wv-gm__title h2 { font-size: 24px; }
	.dg15wv-gm__title > span { font-size: 14px; }
	.dg15wv-gm__stage { order: 2; flex: 1 1 auto; min-height: 0; }
	.dg15wv-gm__view { inset: 12px 12px 34px; }
	.dg15wv-gm__hint { left: 0; right: 0; bottom: 10px; text-align: center; }
	.dg15wv-gm__hint-d { display: none; }
	.dg15wv-gm__hint-m { display: inline; }
	.dg15wv-gm__state { order: 3; margin: 12px 16px 0; padding: 10px 14px; }
	.dg15wv-gm__preis { font-size: 19px; }
	.dg15wv-gm__facts { order: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 16px 0; }
	.dg15wv-gm__facts .dg15wv-gm__f-gs { display: none; }
	.dg15wv-gm__facts dd { font-size: 16px; }
	.dg15wv-gm__text { order: 5; padding: 8px 16px 0; font-size: 13px; }
	.dg15wv-gm__actions { order: 6; margin: 0; padding: 6px 16px 0; }
	.dg15wv-gm__dl { height: auto; border: 0; padding: 6px 0; color: var(--gm-g) !important; text-decoration: underline !important; font-size: 14px; }
	.dg15wv-gm__mbar { order: 7; display: flex; align-items: center; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gm-line); margin-top: 10px; }
	.dg15wv-gm__mnav { flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 1px solid #c9cfc0; border-radius: 50%; background: #fff; color: var(--gm-ink); font-size: 24px; line-height: 1; cursor: pointer; }
	.dg15wv-gm__mbar .dg15wv-gm__ask { flex: 1 1 auto; height: 48px; }
	.dg15wv-gm__mpos { flex: 1 1 auto; text-align: center; color: var(--gm-mut); }
}

/* Fenster am Seitenende (1.5.1): Hülle selbst ohne Box */
.dg15wv-front.dg15wv-portal { display: contents !important; }
.dg15wv-gm[open], .dg15wv-dialog[open] { visibility: visible; opacity: 1; }
