/* Reusable design primitives. */

/* Inline label (for card field labels like Adresse/Telefon).
   Decorative section pre-titles use the same class but are hidden
   via the section-level overrides further down so they don't read
   as AI-style "kicker badges" above headlines. */
.gw-kicker {
	font-size: 12px;
	color: var(--gw-muted);
	font-weight: 500;
}
.gw-kicker--sage  { color: var(--gw-sage); }
.gw-kicker--muted { color: var(--gw-muted); }

/* Cancel badge / pill aesthetic entirely. */
.gw-pill,
.gw-art__feature-badge { display: none; }

/* Hide decorative pre-headline kickers (sit directly above hero/section
   headlines). Inline kickers used as field labels (Adresse, Telefon, etc.)
   stay visible. */
.gw-page__hero-inner > .gw-kicker,
.gw-hero__copy > .gw-kicker,
.gw-philosophy__body > .gw-kicker,
.gw-services__head .gw-kicker,
.gw-complaints__aside > .gw-kicker,
.gw-first-visit__head .gw-kicker,
.gw-booking__intro > .gw-kicker,
.gw-team__head .gw-kicker,
.gw-testimonials__head .gw-kicker,
.gw-art__head .gw-kicker,
.gw-art__archive-aside > .gw-kicker,
.gw-team-page__rooms .gw-kicker,
.gw-kunst-page__upcoming > .gw-kicker,
.gw-kunst-page__archive-head .gw-kicker,
.gw-kunst-page__submission-head .gw-kicker,
.gw-kontakt-page__right form > .gw-kicker {
	display: none;
}

/* Buttons, pill-shaped, two variants */
.gw-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	border: none;
	border-radius: var(--gw-radius-pill);
	font-size: 13px;
	font-weight: 600;
	font-family: var(--gw-font-sans);
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .1s;
	text-decoration: none;
	line-height: 1;
}
.gw-btn:active { transform: translateY(1px); }
.gw-btn--primary {
	background: var(--gw-accent);
	color: #fff;
}
.gw-btn--primary:hover {
	background: var(--gw-accent-deep);
	color: #fff;
}
.gw-btn--ghost {
	background: transparent;
	color: var(--gw-ink);
	border: 1px solid rgba(35,33,28,0.18);
}
.gw-btn--ghost:hover {
	border-color: var(--gw-ink);
	color: var(--gw-ink);
}
.gw-btn--sage {
	background: var(--gw-sage);
	color: var(--gw-forest);
}
.gw-btn--sage:hover { background: #b9c2a8; }

.gw-btn--lg { padding: 16px 28px; font-size: 14px; }

/* Photo placeholder, striped, monospace caption.
   Mirrors the <Photo /> component from gw_new/shared.jsx. */
.gw-photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--gw-radius-sm);
}
.gw-photo::before {
	content: "";
	display: block;
	padding-top: 100%;
}
.gw-photo[data-ratio="4/5"]::before { padding-top: 125%; }
.gw-photo[data-ratio="5/4"]::before { padding-top: 80%; }
.gw-photo[data-ratio="4/3"]::before { padding-top: 75%; }
.gw-photo[data-ratio="3/4"]::before { padding-top: 133.33%; }
.gw-photo[data-ratio="16/9"]::before { padding-top: 56.25%; }

.gw-photo > img,
.gw-photo > .gw-photo__inner {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gw-photo__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	font: 10px/1.3 var(--gw-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	padding: 12px;
}

/* Photo tones (when no real image is set), striped pattern */
.gw-photo--sand   { background: repeating-linear-gradient(135deg, var(--gw-tone-sand)   0 14px, rgba(120,100,75,0.10) 14px 15px); }
.gw-photo--sage   { background: repeating-linear-gradient(135deg, var(--gw-tone-sage)   0 14px, rgba(80,100,75,0.12)  14px 15px); color: rgba(60,80,60,0.6); }
.gw-photo--cream  { background: repeating-linear-gradient(135deg, var(--gw-tone-cream)  0 14px, rgba(120,100,75,0.08) 14px 15px); color: rgba(80,65,45,0.55); }
.gw-photo--forest { background: repeating-linear-gradient(135deg, var(--gw-tone-forest) 0 14px, rgba(255,255,255,0.04) 14px 15px); color: rgba(230,225,210,0.6); }
.gw-photo--blush  { background: repeating-linear-gradient(135deg, var(--gw-tone-blush)  0 14px, rgba(140,90,75,0.10)  14px 15px); color: rgba(100,55,40,0.6); }
.gw-photo--stone  { background: repeating-linear-gradient(135deg, var(--gw-tone-stone)  0 14px, rgba(70,60,45,0.08)   14px 15px); color: rgba(60,50,35,0.55); }

/* Rounded portrait variant */
.gw-portrait { border-radius: var(--gw-radius-pill); }

/* Star rating */
.gw-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--gw-clay-deep);
}
.gw-stars svg { width: 12px; height: 12px; fill: currentColor; }

/* Card */
.gw-card {
	background: #fff;
	border: 1px solid var(--gw-hairline);
	border-radius: var(--gw-radius-sm);
	padding: 28px;
}
.gw-card--forest {
	background: var(--gw-forest-soft);
	color: #f3eedf;
	border: none;
}

/* Pill / badge */
.gw-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--gw-radius-pill);
	background: var(--gw-clay);
	border: 1px solid rgba(138,93,63,0.2);
	font-size: 11px;
	color: var(--gw-clay-deep);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.gw-pill__dot {
	width: 6px; height: 6px; border-radius: 999px;
	background: currentColor;
}
.gw-pill--accent {
	background: var(--gw-accent);
	color: #fff;
	border: none;
}
.gw-pill--outline {
	background: var(--gw-bg);
	border: 1px solid var(--gw-hairline);
	color: var(--gw-muted);
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 6px 14px;
}
@media (max-width: 900px) {
	.gw-pill--outline {
		display: block;
		text-align: center;
		padding: 10px 18px 8px;
		gap: 0;
	}
}

/* Stat row, used in hero & art teaser */
.gw-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.gw-stat__value {
	font-family: var(--gw-font-serif);
	font-size: 32px;
	font-weight: 500;
	color: var(--gw-ink);
	line-height: 1;
}
.gw-stat__label {
	font-size: 12px;
	color: var(--gw-muted);
	margin-top: 6px;
}

/* Hairline divider */
.gw-hairline { height: 1px; background: var(--gw-hairline); }

/* Sticky CTA, bottom-right floating booking button */
.gw-sticky-cta {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: var(--gw-radius-pill);
	background: var(--gw-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 8px 28px rgba(0,0,0,0.18);
	letter-spacing: 0.01em;
	transition: transform .2s, opacity .2s;
}
.gw-sticky-cta:hover {
	background: var(--gw-accent-deep);
	color: #fff;
	transform: translateY(-1px);
}
.gw-sticky-cta.is-hidden {
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}

/* Form fields */
.gw-input, .gw-textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--gw-radius-sm);
	border: 1px solid var(--gw-hairline);
	background: var(--gw-surface);
	font-family: inherit;
	font-size: 13px;
	color: var(--gw-ink);
}
.gw-textarea { resize: vertical; min-height: 100px; }
.gw-input:focus, .gw-textarea:focus {
	outline: none;
	border-color: var(--gw-accent);
}

/* Form layout helpers */
.gw-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.gw-form__grid .gw-form__full { grid-column: span 2; }
@media (max-width: 600px) {
	.gw-form__grid { grid-template-columns: 1fr; }
	.gw-form__grid .gw-form__full { grid-column: span 1; }
}

/* Honeypot, hidden from humans */
.gw-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* ─── Front-end edit pencil (admin-only) ───────────────────────── */
.gw-edit-pencil {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: var(--gw-ink);
	opacity: 0.45;
	transition: opacity .15s, background-color .15s, transform .1s;
	z-index: 5;
	text-decoration: none;
}
.gw-edit-pencil:hover,
.gw-edit-pencil:focus-visible {
	opacity: 1;
	background: var(--gw-accent);
	color: #fff;
	transform: scale(1.05);
}
.gw-edit-pencil--inverse {
	background: rgba(255, 255, 255, 0.12);
	color: #f3eedf;
}
.gw-edit-pencil--inverse:hover,
.gw-edit-pencil--inverse:focus-visible {
	background: var(--gw-sage);
	color: var(--gw-forest);
}

/* ─── Prose / WP-Editor-Inhalte ─────────────────────────────────
   Wird auf den Body von the_content() angewendet, alle Standard-WP-
   Blöcke (Absatz, Überschrift, Liste, Zitat, Bild) bekommen damit
   konsistente Theme-Typografie. */

.gw-prose {
	font-size: 17px;
	line-height: 1.65;
	color: var(--gw-ink);
	max-width: 720px;
}
.gw-prose--wide { max-width: 880px; }

.gw-prose > * + * { margin-top: 1.2em; }
.gw-prose > h2 + *,
.gw-prose > h3 + *,
.gw-prose > h4 + * { margin-top: 0.6em; }

.gw-prose h1,
.gw-prose h2,
.gw-prose h3,
.gw-prose h4,
.gw-prose h5,
.gw-prose h6 {
	font-family: var(--gw-font-serif);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--gw-ink);
	line-height: 1.15;
	margin-top: 2em;
}
.gw-prose h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.gw-prose h2 { font-size: clamp(28px, 3vw, 40px); }
.gw-prose h3 { font-size: clamp(22px, 2.2vw, 28px); }
.gw-prose h4 { font-size: 20px; font-weight: 500; }
.gw-prose h5 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.gw-prose h6 {
	font-family: var(--gw-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gw-accent-deep);
}

.gw-prose p { margin: 0; }
.gw-prose em { font-style: italic; }
.gw-prose strong { font-weight: 600; }

.gw-prose a {
	color: var(--gw-accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.gw-prose a:hover { color: var(--gw-accent); }

.gw-prose ul, .gw-prose ol {
	margin: 0;
	padding-left: 1.4em;
}
.gw-prose ul li, .gw-prose ol li { margin-top: 0.4em; }
.gw-prose ul { list-style: none; padding-left: 0; }
.gw-prose ul > li {
	padding-left: 1.6em;
	position: relative;
}
.gw-prose ul > li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--gw-accent);
}

.gw-prose blockquote {
	margin: 0;
	padding: 0 0 0 24px;
	border-left: 3px solid var(--gw-accent);
	font-family: var(--gw-font-serif);
	font-style: italic;
	font-size: 22px;
	line-height: 1.4;
	color: var(--gw-ink);
}
.gw-prose blockquote cite, .gw-prose blockquote footer {
	display: block;
	margin-top: 10px;
	font-family: var(--gw-font-sans);
	font-style: normal;
	font-size: 13px;
	color: var(--gw-muted);
}

.gw-prose hr {
	border: 0;
	border-top: 1px solid var(--gw-hairline);
	margin: 2em 0;
}

.gw-prose code, .gw-prose pre, .gw-prose kbd {
	font-family: var(--gw-font-mono);
	font-size: 0.92em;
}
.gw-prose pre {
	background: var(--gw-surface);
	border: 1px solid var(--gw-hairline);
	border-radius: var(--gw-radius-sm);
	padding: 16px 20px;
	overflow-x: auto;
	line-height: 1.55;
}
.gw-prose :not(pre) > code {
	background: var(--gw-cream);
	padding: 2px 6px;
	border-radius: 4px;
}

.gw-prose img,
.gw-prose figure,
.gw-prose .wp-block-image,
.gw-prose .wp-block-gallery {
	border-radius: var(--gw-radius-sm);
}
.gw-prose figure { margin: 0; }
.gw-prose figcaption {
	margin-top: 8px;
	font-size: 12px;
	color: var(--gw-muted);
	text-align: center;
}

/* ─── Single-post chrome ────────────────────────────────────────
   Wrapper for /<cpt>/<slug>/ pages. Holds breadcrumb + hero + body. */
.gw-single {
	padding: 60px var(--gw-pad-section-x) 100px;
	max-width: var(--gw-max-content);
	margin: 0 auto;
}
.gw-single__breadcrumb {
	font-size: 12px;
	color: var(--gw-muted);
	letter-spacing: 0.04em;
	margin-bottom: 32px;
}
.gw-single__breadcrumb a { color: inherit; }
.gw-single__breadcrumb a:hover { color: var(--gw-accent-deep); }
.gw-single__breadcrumb-sep { margin: 0 8px; opacity: 0.5; }

.gw-single__hero { margin-bottom: 48px; }
.gw-single__kicker {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gw-accent-deep);
	margin-bottom: 14px;
}
.gw-single__title {
	font-family: var(--gw-font-serif);
	font-weight: 400;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--gw-ink);
	margin: 0;
}
.gw-single__lede {
	font-size: 18px;
	color: var(--gw-muted);
	line-height: 1.55;
	max-width: 640px;
	margin: 24px 0 0;
}

.gw-single__body { display: grid; grid-template-columns: 1fr; gap: 40px; }
.gw-single__body--with-aside { grid-template-columns: 1.6fr 1fr; gap: 60px; }
.gw-single__aside {
	font-size: 14px;
	color: var(--gw-muted);
	line-height: 1.6;
}
.gw-single__aside dl { margin: 0; }
.gw-single__aside dt {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gw-accent-deep);
	margin-top: 18px;
}
.gw-single__aside dt:first-child { margin-top: 0; }
.gw-single__aside dd {
	margin: 6px 0 0;
	color: var(--gw-ink);
}

.gw-single__photo { margin-bottom: 32px; }
.gw-single__photo .gw-photo { border-radius: var(--gw-radius-md); }

.gw-single__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 40px;
	font-size: 13px;
	color: var(--gw-accent-deep);
	font-weight: 500;
}
.gw-single__back:hover { color: var(--gw-accent); }

@media (max-width: 900px) {
	.gw-single__body--with-aside { grid-template-columns: 1fr; }
}

/* ─── Subpage chrome (shared by all page templates) ────────────── */
.gw-page__hero {
	padding-top: 80px;
	padding-bottom: 60px;
	max-width: var(--gw-max-content);
	margin: 0 auto;
}
.gw-page__hero-inner {
	max-width: 980px;
}
.gw-page__h1 {
	font-size: clamp(48px, 7vw, 88px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	margin: 14px 0 0;
}
.gw-page__sub {
	font-size: 18px;
	line-height: 1.55;
	color: var(--gw-muted);
	max-width: 640px;
	margin-top: 28px;
}

/* ─── Team, V3 trio + on-request layout ───────────────────────── */
/* The outer .gw-team is full-bleed (so the section bg extends edge-to-edge).
   Each direct child is constrained to the content max-width. */
.gw-team__head {
	max-width: var(--gw-max-content);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.gw-team__h {
	font-size: clamp(36px, 4vw, 56px);
	line-height: 1.0;
	margin: 14px 0 0;
}
.gw-team__link { font-size: 15px; color: var(--gw-muted); }
.gw-team__link:hover { color: var(--gw-accent-deep); }

.gw-team__tier-head {
	max-width: var(--gw-max-content);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.gw-team__tier-head--muted { margin-top: 56px; }
.gw-team__tier-meta { font-size: 12px; color: var(--gw-muted); white-space: nowrap; }

/* Tier 1, Direkt buchbar (three large white cards) */
.gw-team__trio {
	max-width: var(--gw-max-content);
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.gw-team__trio-card {
	position: relative;
	background: #fff;
	border: 1.5px solid rgba(27, 140, 135, 0.18);
	border-radius: var(--gw-radius-md);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gw-team__trio-head {
	display: flex;
	align-items: center;
	gap: 18px;
}
.gw-team__trio-photo {
	width: 84px;
	flex-shrink: 0;
}
.gw-team__trio-photo .gw-photo { border-radius: 999px; }
.gw-team__trio-photo .gw-photo > .gw-photo__inner { border-radius: 999px; font-size: 9px; }
.gw-team__trio-meta { min-width: 0; }
.gw-team__trio-name {
	font-family: var(--gw-font-serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.05;
	color: var(--gw-ink);
	margin: 4px 0 0;
	letter-spacing: -0.01em;
}
.gw-team__trio-tag {
	font-size: 12px;
	color: var(--gw-muted);
	margin-top: 2px;
}
.gw-team__trio-bio {
	font-size: 13.5px;
	color: var(--gw-muted);
	line-height: 1.55;
	margin: 4px 0 0;
}
.gw-team__trio-card .gw-btn {
	margin-top: auto;
	justify-content: center;
}

/* Tier 2, Auf Anfrage (four smaller cards) */
.gw-team__bg {
	max-width: var(--gw-max-content);
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.gw-team__bg-card {
	position: relative;
	background: var(--gw-surface);
	border: 1px solid var(--gw-hairline);
	border-radius: var(--gw-radius-md);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.gw-team__bg-head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.gw-team__bg-photo {
	width: 52px;
	flex-shrink: 0;
	filter: saturate(0.5) brightness(0.98);
}
.gw-team__bg-photo .gw-photo { border-radius: 999px; }
.gw-team__bg-photo .gw-photo > .gw-photo__inner { border-radius: 999px; font-size: 8px; padding: 4px; }
.gw-team__bg-meta { min-width: 0; }
.gw-team__bg-name {
	font-family: var(--gw-font-serif);
	font-size: 15px;
	color: var(--gw-ink);
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.gw-team__bg-role {
	font-size: 11px;
	color: var(--gw-muted);
	margin-top: 2px;
}
.gw-team__bg-bio {
	font-size: 12px;
	color: var(--gw-muted);
	line-height: 1.5;
	margin: 0;
}
.gw-team__bg-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}
.gw-team__bg-profile {
	font-size: 11.5px;
	color: var(--gw-ink);
	font-weight: 500;
}
.gw-team__bg-ext {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: var(--gw-accent-deep);
	font-weight: 500;
}
.gw-team__bg-ext:hover { color: var(--gw-accent); }

@media (max-width: 1000px) {
	.gw-team__trio { grid-template-columns: 1fr; }
	.gw-team__bg   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.gw-team__bg   { grid-template-columns: 1fr; }
}

/* FAQ accordion */
.gw-faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--gw-hairline); }
.gw-faq__item {
	position: relative;
	border-bottom: 1px solid var(--gw-hairline);
	padding: 24px 0;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 32px;
}
.gw-faq__q {
	font-family: var(--gw-font-serif);
	font-weight: 500;
	font-size: 20px;
	color: var(--gw-ink);
	margin: 0;
	line-height: 1.3;
}
.gw-faq__a {
	font-size: 16px;
	color: var(--gw-muted);
	line-height: 1.65;
}
@media (max-width: 700px) {
	.gw-faq__item { grid-template-columns: 1fr; gap: 12px; }
}
