/* TVMSE Gruppen – Designschicht v1.1 (Staging, 23.11.2026)
   Gleiche Regeln wie der Vermieter-Service: Radius 2 px, keine Verläufe, keine Schatten,
   Hover als Flächenwechsel. Farben nur aus Theme-Tokens (Fallbacks in Klammern).
   Wird nach gruppe-search.css (Theme) und gruppen.css geladen und überschreibt nur Optik. */

:root {
	--gr-water: var(--mv-water, #005e90);
	--gr-night: var(--mv-night, #083652);
	--gr-orange: var(--mv-orange, #f18700);
	--gr-gold: var(--mv-gold, #efa800);
	--gr-ink: var(--contrast, #2c0d1d);
	--gr-ink-2: var(--contrast-2, #4a3d42);
	--gr-line: var(--border, #ddd8d0);
	--gr-tint: var(--base, #f1f0f0);
	--gr-paper: var(--base-2, #f7f6f4);
	--gr-white: var(--base-3, #ffffff);
	--gr-radius: var(--radius-btn, 2px);
}

/* ---------- bestehende Hub-Elemente (tgg-*, Theme) ---------- */
.tgg-hero,
.tgg-tile,
.tgg-consult,
.tgg-hero__cta,
.booking-gruppe-search__field input,
.booking-gruppe-search__field select,
.booking-gruppe-search__submit,
.booking-gruppe-search__chip,
.booking-gruppe-inquiry input,
.booking-gruppe-inquiry select,
.booking-gruppe-inquiry textarea,
.booking-gruppe-inquiry .ff-btn-submit {
	border-radius: var(--gr-radius) !important;
}

.tgg-hero__inner {
	background-image: none;
	background: rgba(8, 54, 82, 0.72);
}
.tgg-hero__kicker,
.tgg-hero__claim,
.tgg-hero__lead {
	text-shadow: none;
}
.tgg-hero__kicker { color: var(--gr-gold); }
.tgg-hero__cta--primary { background: var(--gr-orange); color: var(--gr-ink); }
.tgg-hero__cta--primary:hover,
.tgg-hero__cta--primary:focus-visible { background: var(--gr-gold); color: var(--gr-ink); }
.tgg-hero__cta--ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.tgg-hero__cta--ghost:hover,
.tgg-hero__cta--ghost:focus-visible { background: rgba(255, 255, 255, 0.18); color: #fff; }

.tgg-tile__copy,
.tgg-tiles--tagen .tgg-tile__copy,
.tgg-tiles--gruppe .tgg-tile__copy,
.tgg-tiles--feier .tgg-tile__copy,
.tgg-hub--tagen .tgg-tiles--houses .tgg-tile__copy,
.tgg-hub--gruppe .tgg-tiles--houses .tgg-tile__copy {
	background-image: none;
	background: rgba(8, 54, 82, 0.8);
	transition: background-color 0.2s ease;
}
.tgg-tiles--gruppe .tgg-tile__copy { background: rgba(28, 52, 30, 0.82); }
.tgg-tiles--feier .tgg-tile__copy { background: rgba(70, 36, 14, 0.82); }
.tgg-tile:hover .tgg-tile__copy,
.tgg-tile:focus-visible .tgg-tile__copy { background: var(--gr-water); }
.tgg-tile img { transform: none !important; transition: none !important; }

.tgg-consult { background: var(--gr-paper); border-color: var(--gr-line); }
.tgg-consult__cta { border-radius: var(--gr-radius) !important; }
.tgg-peers__list [aria-current="page"] { box-shadow: none; border-bottom: 2px solid var(--gr-water); }

/* ---------- Karten und Einzelseiten (tg-*, Plugin) ---------- */
.tg-card {
	border-radius: var(--gr-radius);
	border-color: var(--gr-line);
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tg-card:hover,
.tg-card:focus-within { background: var(--gr-paper); border-color: var(--gr-water); }
.tg-card:hover .tg-card__img,
.tg-card:focus-within .tg-card__img { transform: none; }
.tg-btn-ghost,
.tg-badge,
.tg-suited__chip,
.tg-house-head__media,
.tg-house-head__media img { border-radius: var(--gr-radius) !important; box-shadow: none !important; }

/* ---------- Angebote / Arrangements (neu) ---------- */
.tg-card--angebot .tg-card__media { aspect-ratio: 4 / 3; }
.tg-card--angebot .tg-card__title { font-size: 1.2rem; }
.tg-offer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	color: var(--gr-ink-2);
}
.tg-offer-meta li { margin: 0; }
.tg-offer-meta strong { color: var(--gr-night); }
.tg-price { font: 700 1.15rem/1.2 "Roboto Condensed", Roboto, sans-serif; color: var(--gr-water); margin: 0.75rem 0 0; }
.tg-price small { font: 400 0.85rem/1.2 Roboto, sans-serif; color: var(--gr-ink-2); }
.tg-badge--verband { background: var(--gr-night); color: #fff; }

.tg-offer-hero { position: relative; margin: 0 0 2rem; border-radius: var(--gr-radius); overflow: hidden; background: var(--gr-night); }
.tg-offer-hero img,
.tg-offer-hero .tg-img-placeholder { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.tg-offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 900px) {
	.tg-offer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
	.tg-offer-aside { position: sticky; top: 1.5rem; }
}
.tg-offer-aside {
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	background: var(--gr-paper);
	padding: 1.25rem;
}
.tg-offer-aside .tg-price { margin-top: 0; font-size: 1.6rem; }
.tg-offer-aside .tg-facts { margin: 1rem 0; }
.tg-offer-cta {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0.85rem 1.2rem;
	border-radius: var(--gr-radius);
	background: var(--gr-orange);
	color: var(--gr-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.2s ease;
}
.tg-offer-cta:hover,
.tg-offer-cta:focus-visible { background: var(--gr-gold); }
.tg-offer-note { font-size: 0.88rem; color: var(--gr-ink-2); margin: 0.75rem 0 0; }
.tg-leistungen { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.tg-leistungen li { position: relative; padding-left: 1.9rem; margin: 0 0 0.6rem; line-height: 1.5; }
.tg-leistungen li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2rem;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--gr-water) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.tg-house-box {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	margin: 1.5rem 0 0;
	padding: 1rem;
	border: 1px solid var(--gr-line);
	border-radius: var(--gr-radius);
	text-decoration: none !important;
	color: inherit !important;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tg-house-box:hover,
.tg-house-box:focus-visible { background: var(--gr-paper); border-color: var(--gr-water); }
.tg-house-box img,
.tg-house-box .tg-img-placeholder { width: 96px; height: 72px; object-fit: cover; border-radius: var(--gr-radius); display: block; }
.tg-house-box strong { display: block; color: var(--gr-night); }

/* Redaktionshinweis: nur Staging / angemeldete Redaktion (Ausblendung per wp_head) */
.tg-redaktion {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border: 2px dashed #b88600;
	border-radius: var(--gr-radius);
	background: #fff6d6;
	color: #4a3a00;
	font-size: 0.92rem;
	line-height: 1.5;
}
.tg-redaktion strong { color: #4a3a00; }

/* ---------- Seite „Angebote für Gruppen“ (gr-*, GenerateBlocks 2) ---------- */
.gr-page .entry-content > * { margin-top: 0; }
.gr-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.gr-section { padding-block: clamp(40px, 6vw, 80px); }
.gr-section.gr-tint { background: var(--gr-tint); }
.gr-section.gr-dark { background: var(--gr-night); color: #fff; }
.gr-dark h2, .gr-dark h3 { color: #fff; }
.gr-dark p { color: #d8e6ef; }
.gr-eyebrow { display: inline-block; font: 600 0.8rem/1 "Roboto Condensed", Roboto, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gr-water); margin: 0 0 0.75rem; }
.gr-dark .gr-eyebrow, .gr-hero .gr-eyebrow { color: var(--gr-gold); }
.gr-page h2.gr-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: 0 0 0.75rem; color: var(--gr-night); }
.gr-dark h2.gr-h2 { color: #fff; }
.gr-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--gr-ink-2); max-width: 62ch; margin: 0 0 2rem; }

.gr-hero { position: relative; isolation: isolate; min-height: clamp(380px, 60vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--gr-night); }
.gr-hero .gr-hero-bg { position: absolute; inset: 0; margin: 0; z-index: -2; }
.gr-hero .gr-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.gr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 54, 82, 0.58); }
.gr-hero-inner { width: 100%; max-width: 1180px; margin-inline: auto; padding: clamp(88px, 11vw, 128px) clamp(16px, 4vw, 32px) clamp(48px, 7vw, 80px); }
.gr-hero h1 { color: #fff; font-family: var(--emotional-font, Georgia, serif); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 1rem; max-width: 18ch; border: 0; padding: 0; }
.gr-hero .gr-lead { color: #e6eff5; max-width: 54ch; margin-bottom: 1.5rem; }

.gr-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gr-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.35rem; border-radius: var(--gr-radius); font-weight: 600; text-decoration: none !important; transition: background-color 0.2s ease; }
.gr-btn-signal { background: var(--gr-orange); color: var(--gr-ink) !important; }
.gr-btn-signal:hover { background: var(--gr-gold); }
.gr-btn-light { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.7); }
.gr-btn-light:hover { background: rgba(255, 255, 255, 0.18); }

.gr-steps { counter-reset: grstep; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.gr-steps li { counter-increment: grstep; margin: 0; padding: 1.25rem; background: var(--gr-white); border: 1px solid var(--gr-line); border-radius: var(--gr-radius); }
.gr-steps li::before { content: counter(grstep); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.75rem; border-radius: 50%; border: 2px solid var(--gr-water); color: var(--gr-night); font: 700 1.1rem/1 "Roboto Condensed", Roboto, sans-serif; }
.gr-steps strong { display: block; color: var(--gr-night); margin-bottom: 0.25rem; }
.gr-steps span { color: var(--gr-ink-2); line-height: 1.5; }

.gr-section .tg-section { margin-top: 0; }
.gr-section .tgg-tiles__heading { display: none; } /* Überschrift steht im Seitenaufbau */

@media (min-width: 720px) {
	.tg-grid--angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.tg-grid--angebote { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.gr-steps { grid-template-columns: minmax(0, 1fr); }
	.gr-hero { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
	.tg-card, .tgg-tile__copy, .gr-btn, .tg-offer-cta, .tg-house-box { transition: none; }
}

/* ---------- Visitenkarte: Wofür das Haus passt (v1.1, 23.11.) ---------- */
.tg-eignung { margin: 2rem 0; }
.tg-eignung h2 { margin: 0 0 1rem; color: var(--gr-night); }
.tg-eignung__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 760px) { .tg-eignung__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tg-eignung__item { padding: 1.1rem 1.2rem; border: 1px solid var(--gr-line); border-top: 4px solid var(--gr-water); border-radius: var(--gr-radius); background: var(--gr-white); }
.tg-eignung__item--ausflug { border-top-color: #3c7a3e; }
.tg-eignung__item--feier { border-top-color: var(--gr-orange); }
.tg-eignung__item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--gr-night); }
.tg-eignung__item p { margin: 0; line-height: 1.55; color: var(--gr-ink-2); }
.tg-eignung-chips { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--gr-night); font-weight: 600; }
.tg-eignung-chips span { font-weight: 400; color: var(--gr-ink-2); }

/* Visitenkarte drucken / als PDF speichern: nur der Inhalt */
@media print {
	.site-header, .site-footer, .tgg-peers, .tg-back, .tg-house-foot, .tg-redaktion, .tg-actions, .tg-programme, .generate-back-to-top { display: none !important; }
	.tg-eignung__item { break-inside: avoid; }
}

/* ---------- Hero über die volle Breite (v1.3, wie Vermieter-Service) ----------
   Bild läuft auf Desktop von Rand zu Rand, Text bleibt im 1180-px-Raster.
   Gleichmäßiger Verlauf-freier Farbschleier statt Textbox am unteren Rand. */
html:has(.tgg-hub-page),
body.tgg-hub-page { overflow-x: clip; }
.tgg-hub-page .tgg-hero {
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) calc(50% - 50vw);
	border-radius: 0 !important;
	min-height: clamp(440px, 68vh, 640px);
	isolation: isolate;
}
.tgg-hub-page .tgg-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(8, 54, 82, 0.58);
}
.tgg-hub-page .tgg-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin-inline: auto;
	background: none !important;
	padding: clamp(96px, 12vw, 140px) clamp(16px, 4vw, 32px) clamp(44px, 6vw, 76px);
}
.tgg-hub-page .tgg-hero__claim { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; max-width: 16ch; }
.tgg-hub-page .tgg-hero__lead { max-width: 52ch; }
@media (max-width: 719px) {
	.tgg-hub-page .tgg-hero { min-height: 0; }
	.tgg-hub-page .tgg-hero__inner { padding: 72px 16px 40px; }
	.tgg-hub-page .tgg-hero__actions { display: grid; gap: 0.6rem; }
	.tgg-hub-page .tgg-hero__cta { text-align: center; }
}

/* ---------- Karten ohne Foto (v1.4): ruhige Fläche statt leerer Kachel ---------- */
.tg-card__img.tg-img-placeholder,
.tg-card .tg-img-placeholder {
	background: var(--gr-night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M8 30 32 10l24 20M14 26v26h36V26M26 52V36h12v16'/%3E%3C/svg%3E") center / 56px no-repeat;
	min-height: 11rem;
	aspect-ratio: 3 / 2;
}

/* ---------- Seiten mit gr-hero (z. B. Arrangements, v1.4.1): Hero über volle Breite, kein doppelter Seitentitel ---------- */
html:has(.gr-page),
body.gr-page { overflow-x: clip; }
.gr-page .entry-header,
.gr-page .page-header { display: none; }
.gr-page .gr-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	min-height: clamp(440px, 68vh, 640px);
}
.gr-page .inside-article { padding-top: 0; }
@media (max-width: 719px) {
	.gr-page .gr-hero { min-height: 0; }
}
