/* =========================================================================
   demo-therapie.css — Eigenes Branding für Therapiepunkt Mustersberg
   Farbschema: Salbei-/Eucalyptusgrün + Creme-Off-White + dunkles Tannengrün
   Wellness- und Medizin-Charakter, weiche Rundungen, Serif-Headlines.
   Wird NACH base/components.css geladen, überschreibt Tokens.
   ========================================================================= */

[data-demo="therapie"] {
	/* Salbei-/Waldgrün für Akzente, Cremeweiß für Ruhe, Tannengrün für Texte */
	--c-accent: #2d6a4f;
	--c-accent-soft: rgba(45, 106, 79, 0.12);
	--c-accent-strong: #1b4332;
	--c-fg: #1b4332;
	--c-bg: #faf9f6;
	--c-surface: #ffffff;
	--c-muted: #5a6b62;
	--c-border: #1b4332;
	--c-border-soft: rgba(27, 67, 50, 0.12);

	/* Weiche Rundungen für Kacheln und Buttons (Wellness-Look) */
	--radius: 8px;

	/* Serif-Headlines für vertrauenswürdigen Praxis-Charakter */
	--ff-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
	--ff-headline: var(--ff-serif);
}

/* Überschriften erhalten die elegante Serifenschrift */
[data-demo="therapie"] h1,
[data-demo="therapie"] h2,
[data-demo="therapie"] h3 {
	font-family: var(--ff-headline);
	font-weight: var(--fw-bold);
	letter-spacing: -0.01em;
}

[data-demo="therapie"] .section-header__title {
	font-family: var(--ff-headline);
}

[data-demo="therapie"] .hero__title {
	font-family: var(--ff-headline);
	letter-spacing: -0.02em;
}

/* Logo-Platzhalter (vor dem Mark-Span) */
[data-demo="therapie"] .logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed #2d6a4f;
	padding: 2px 6px;
	font-size: var(--fs-tiny);
	font-family: var(--ff-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-right: var(--space-xs);
	background: #faf9f6;
	color: #2d6a4f;
	border-radius: 4px;
	font-weight: var(--fw-bold);
	line-height: 1;
}

/* Brand-Mark hinter dem Logo (jetzt Logo-placeholder, Mark versteckt) */
[data-demo="therapie"] .site-nav__brand-mark {
	display: none;
}

/* Akzent-Buttons: volles Tannengrün mit weisser Schrift
   fuer maximalen Kontrast auf dem hellen Hero-Hintergrund. */
[data-demo="therapie"] .badge {
	display: inline-block;
	font-size: var(--fs-tiny);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.2rem 0.55rem;
	background: rgba(45, 106, 79, 0.1);
	color: #2d6a4f;
	border-radius: var(--radius);
	margin-bottom: var(--space-xs);
	border: 1px solid rgba(45, 106, 79, 0.25);
}

[data-demo="therapie"] .trust-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	background: rgba(45, 106, 79, 0.08);
	border: 1px solid rgba(45, 106, 79, 0.25);
	color: #1b4332;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	border-radius: var(--radius);
}

/* ----------------------------------------------------------------------
   Behandlungsfelder: Schweizer Editorial-Haarlinien-Liste
   (Keine Boxen, keine Schatten, reine Typografie & Haarlinien)
   ---------------------------------------------------------------------- */
[data-demo="therapie"] .diag-list {
	border-bottom: 1px solid var(--c-border-soft);
	margin-top: var(--space-lg);
}

[data-demo="therapie"] .diag-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xs);
	padding-block: var(--space-md);
	border-top: 1px solid var(--c-border-soft);
}

@media (min-width: 768px) {
	[data-demo="therapie"] .diag-row {
		grid-template-columns: 280px 1fr;
		gap: var(--space-xl);
		align-items: baseline;
		padding-block: var(--space-lg);
	}
}

[data-demo="therapie"] .diag-row__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

[data-demo="therapie"] .diag-row__tag {
	font-size: var(--fs-tiny);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--c-accent);
}

[data-demo="therapie"] .diag-row__title {
	font-size: var(--fs-h3);
	font-weight: var(--fw-bold);
	color: var(--c-fg);
	margin: 0;
}

[data-demo="therapie"] .diag-row__text {
	margin: 0;
	color: var(--c-fg);
	line-height: 1.55;
	font-size: 0.95rem;
}

[data-demo="therapie"] .btn--accent {
	background: var(--c-accent-strong);
	border-color: var(--c-accent-strong);
	color: #ffffff;
	border-radius: var(--radius);
}

[data-demo="therapie"] .btn--accent:hover,
[data-demo="therapie"] .btn--accent:focus-visible {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #ffffff;
}

/* Ghost-Button im Hero: dunkler Rahmen + dunkle Schrift auf hellem Verlauf */
[data-demo="therapie"] .btn--ghost {
	background: transparent;
	border-color: var(--c-accent-strong);
	color: var(--c-accent-strong);
}

[data-demo="therapie"] .btn--ghost:hover,
[data-demo="therapie"] .btn--ghost:focus-visible {
	background: var(--c-accent-strong);
	color: #ffffff;
	border-color: var(--c-accent-strong);
}

/* Hero-Bereich mit echtem Foto + hellem Gradient-Overlay.
   Cremeton-Verlauf lässt das Behandlungsbild sichtbar durch,
   bleibt aber im Textbereich deckend genug für Lesbarkeit. */
[data-demo="therapie"] .hero {
	min-height: calc(100vh - 105px);
	min-height: calc(100svh - 105px);
	min-height: calc(100dvh - 105px);
	padding-top: clamp(0.75rem, 2vh, 1.5rem);
	padding-bottom: clamp(1.25rem, 3vh, 2rem);
	border-bottom: var(--border-w-thick) solid var(--c-accent);
	color: var(--c-fg);
	background:
		linear-gradient(
			to bottom,
			rgba(250, 249, 246, 0.65) 0%,
			rgba(250, 249, 246, 0.65) 40%,
			rgba(250, 249, 246, 0.05) 100%
		),
		url("../../demos/therapiepunkt-mustersberg/img/hero.webp") no-repeat center /
		cover;
}

@media (min-width: 768px) {
	[data-demo="therapie"] .hero {
		min-height: 80vh;
		padding-block: var(--space-xl);
		background:
			linear-gradient(
				to right,
				rgba(250, 249, 246, 0.82) 0%,
				rgba(250, 249, 246, 0.82) 45%,
				rgba(250, 249, 246, 0.05) 100%
			),
			url("../../demos/therapiepunkt-mustersberg/img/hero.webp") no-repeat center
			/ cover;
	}
}

[data-demo="therapie"] .hero__eyebrow {
	color: var(--c-accent);
	letter-spacing: 0.12em;
}

[data-demo="therapie"] .hero__title {
	color: var(--c-fg);
	max-width: 18ch;
}

[data-demo="therapie"] .hero__lede {
	color: var(--c-fg);
	max-width: 50ch;
}

[data-demo="therapie"] .accent {
	color: var(--c-accent);
}

/* Karten mit abgerundeten Ecken und weichem Schatten */
[data-demo="therapie"] .card {
	border-radius: var(--radius);
	background: var(--c-surface);
	box-shadow: 0 1px 2px rgba(27, 67, 50, 0.04);
	transition:
		border-color var(--t-hover),
		transform var(--t-hover),
		box-shadow var(--t-hover);
}

[data-demo="therapie"] .card:hover {
	border-color: var(--c-accent);
	box-shadow: 0 8px 24px rgba(45, 106, 79, 0.12);
}

[data-demo="therapie"] .card--featured {
	border-color: var(--c-accent);
	border-width: var(--border-w-thick);
}

[data-demo="therapie"] .card__list li::before {
	color: var(--c-accent);
}

/* Daten-Tabellen mit Salbei-Akzent */
[data-demo="therapie"] .data-table th {
	border-bottom-color: var(--c-accent);
	color: var(--c-accent);
	letter-spacing: 0.04em;
}

/* Karte mit Salbei-Rahmen */
[data-demo="therapie"] .map {
	border-color: var(--c-accent);
	border-radius: var(--radius);
	overflow: hidden;
}

/* Footer im dunklen Tannengrün */
[data-demo="therapie"] .site-footer {
	background: var(--c-accent-strong);
	color: #e9efe9;
	border-top-color: var(--c-accent);
	border-top-width: var(--border-w-thick);
}

[data-demo="therapie"] .site-footer a {
	color: #e9efe9;
}

[data-demo="therapie"] .site-footer a:hover,
[data-demo="therapie"] .site-footer a:focus-visible {
	color: #95d5b2;
}

/* Demo-Banner: nur Akzentfarbe überschreiben, Rest aus components.css
   (gleiches Pattern wie die Schreinerei-Demo). */
[data-demo="therapie"] .demo-banner {
	background: var(--c-accent);
	color: var(--c-bg);
}

[data-demo="therapie"] .demo-banner a {
	color: #fff;
	text-decoration: underline;
}

/* Burger-Menü-Anker: Section-Header stoppt unter der Nav, nicht dahinter.
   IDs liegen auf <section>, daher scroll-margin-top auf section[id]. */
[data-demo="therapie"] section[id] {
	scroll-margin-top: 80px;
}

/* Burger-Menü: volle Breite klickbar auf Mobile. */
@media (max-width: 767px) {
	[data-demo="therapie"] .site-nav__menu-list a {
		display: flex;
		width: 100%;
		padding: var(--space-xs) var(--space-sm);
	}
}

/* Team-Karten mit Initialen */
[data-demo="therapie"] .team-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	padding: var(--space-lg);
	border: var(--border-w) solid var(--c-border);
	border-radius: var(--radius);
	background: var(--c-surface);
	text-align: center;
	box-shadow: 0 1px 2px rgba(27, 67, 50, 0.04);
}

[data-demo="therapie"] .team-card__initials {
	width: 64px;
	height: 64px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-accent);
	color: var(--c-bg);
	font-weight: var(--fw-bold);
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	border-radius: 50%;
	font-family: var(--ff-headline);
}

[data-demo="therapie"] .team-card__name {
	font-family: var(--ff-headline);
	font-size: var(--fs-h3);
	font-weight: var(--fw-bold);
	margin: 0;
}

[data-demo="therapie"] .team-card__role {
	font-size: var(--fs-small);
	color: var(--c-muted);
	margin: 0;
}

[data-demo="therapie"] .team-card__bio {
	font-size: var(--fs-small);
	margin: 0;
}

/* Galerie-Bilder: grosszügige Höhen, sanfter Hover-Zoom */
[data-demo="therapie"] .card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
	transition: transform var(--t-hover);
}

@media (min-width: 768px) {
	[data-demo="therapie"] .card img {
		height: 380px;
	}
}

[data-demo="therapie"] .card:hover img {
	transform: scale(1.03);
}

[data-demo="therapie"] .card__caption {
	padding: var(--space-sm) var(--space-md);
	border-top: var(--border-w) solid var(--c-border-soft);
	font-size: var(--fs-small);
	color: var(--c-muted);
	line-height: var(--lh-snug);
	border-bottom-left-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
}

/* ----------------------------------------------------------------------
   Room-Cards (Behandlungsräume 'Wald, Bewegung, Erde, Licht')
   Bewusst ohne Akzentlinie links - nur Icon + Top-Linie + Hover-Lift.
   ---------------------------------------------------------------------- */
[data-demo="therapie"] .room-card {
	background: transparent;
	transition:
		transform var(--t-hover),
		color var(--t-hover);
}

[data-demo="therapie"] .room-card:hover {
	transform: translateY(-3px);
}

[data-demo="therapie"] .room-card:hover .room-card__icon {
	color: var(--c-accent-strong);
}

[data-demo="therapie"] .room-card__icon {
	width: 32px;
	height: 32px;
	color: var(--c-accent);
	margin-bottom: var(--space-xs);
	display: block;
}

[data-demo="therapie"] .room-card__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ----------------------------------------------------------------------
   Legal-Page-Styling (Impressum, Datenschutz)
   ---------------------------------------------------------------------- */
[data-demo="therapie"] .legal-page__toc {
	border-left-color: var(--c-accent);
	background: rgba(45, 106, 79, 0.04);
}

[data-demo="therapie"] .legal-page__content h2 {
	border-bottom-color: var(--c-border-soft);
	color: var(--c-accent-strong);
	font-family: var(--ff-headline);
}
