/* Seminare & Webinare – Gestaltung passend zu hundetraining-tanjaherbert.de (Divi) */
:root {
	--sw-rot: #a92536;
	--sw-rot-dunkel: #8d1d2c;
	--sw-taupe: #b4aa96;
	--sw-beige: #e1dcd4;
	--sw-hell: #f3f1ed;
	--sw-text: #4f4e4e;
	--sw-leise: #7a756d;
	--sw-ok: #3f6b3a;
	--sw-ok-hell: #eef3ea;
	--sw-rand: #d8d1c5;
	--sw-schrift-titel: 'Alegreya Sans', Helvetica, Arial, sans-serif;
	--sw-schrift-ueberschrift: 'Arvo', Georgia, serif;
	--sw-schrift-text: 'Cormorant Garamond', Georgia, serif;
}

/* ------------------------------------------------------------------ Bausteine */

.sw-titelbox {
	display: inline-block;
	margin: 0;
	padding: .25em .75em;
	font-family: var(--sw-schrift-titel) !important;
	font-weight: 300 !important;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff !important;
	background: var(--sw-taupe);
}
.sw-titelbox--rot { background: var(--sw-rot); }
.sw-titelbox--taupe { background: var(--sw-taupe); }

.sw-knopf,
body #page-container .sw-knopf {
	display: inline-block;
	padding: .35em 1em;
	border: 0;
	border-radius: 0;
	font-family: var(--sw-schrift-titel);
	font-weight: 300;
	font-size: 20px;
	line-height: 1.4;
	text-transform: uppercase;
	color: #fff;
	background: var(--sw-rot);
	text-decoration: none;
	transition: background .2s ease;
}
.sw-knopf:hover { background: var(--sw-rot-dunkel); color: #fff; }
.sw-knopf--taupe { background: var(--sw-taupe); }
.sw-knopf--taupe:hover { background: #9d927c; }

.sw-container {
	width: 80%;
	max-width: 1206px;
	margin: 0 auto;
}

.sw-rahmen {
	margin: 1.75rem 0 0;
	padding: 1.1rem 1.4rem 1.2rem;
	border: 1px solid var(--sw-rot);
	background: rgba(255, 255, 255, .35);
}
.sw-rahmen__titel {
	margin: 0 0 .6rem;
	padding: 0;
	font-family: var(--sw-schrift-ueberschrift);
	font-size: 17px;
	letter-spacing: 1px;
	color: var(--sw-rot);
}
.sw-rahmen__fuss { margin: .6rem 0 0; padding: 0; font-style: italic; color: var(--sw-leise); }

.sw-terminliste { margin: .25rem 0 0 1.4rem; padding: 0; }
.sw-terminliste li { margin: 0; padding: .1rem 0; }

.sw-hinweis {
	margin: 1rem 0;
	padding: .8rem 1rem;
	background: var(--sw-hell);
	border-left: 3px solid var(--sw-taupe);
	font-size: 17px;
	line-height: 1.45;
}
.sw-hinweis--ok { background: var(--sw-ok-hell); border-left-color: var(--sw-ok); }
.sw-hinweis--aus { border-left-color: var(--sw-rot); }
.sw-hinweis--schloss::before { content: "\1F512\00a0"; }
.sw-hinweis a { color: var(--sw-rot); }
.sw-ics { margin: .75rem 0 0; font-size: 16px; }
.sw-ics a, .sw-sprung { color: var(--sw-rot); }
.sw-sprung { white-space: nowrap; font-size: .9em; }

.sw-infobox {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: .35rem 1rem;
	margin: 1rem 0 1.25rem;
	padding: 0;
	font-size: 17px;
	line-height: 1.4;
}
.sw-infobox dt { margin: 0; font-weight: 600; color: var(--sw-text); }
.sw-infobox dd { margin: 0; padding: 0; }
.sw-infobox .sw-terminliste { margin-left: 1.1rem; }

/* ------------------------------------------------------------------ Detailseite */

.sw-detail__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 460px;
	padding: 60px 5%;
	background-color: var(--sw-beige);
	background-size: cover;
	background-position: center;
	text-align: center;
}
.sw-detail__hero--ohne-bild { min-height: 260px; }
.sw-detail__hero-inhalt { max-width: 900px; }
.sw-detail__hero h1.sw-titelbox {
	padding: .2em .7em;
	font-size: 34px;
	line-height: 1.25;
}
.sw-detail__untertitel { margin-top: 18px !important; font-size: 20px; text-transform: none; }
.sw-detail__zur-buchung { display: none; }

.sw-detail__bereich { padding: 40px 0 70px; background: var(--sw-beige); }
.sw-detail__zurueck { margin: 0 0 20px; padding: 0; font-family: var(--sw-schrift-titel); font-size: 18px; }
.sw-detail__zurueck a { color: var(--sw-rot); }

.sw-detail__raster {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
	gap: 40px;
	align-items: start;
}
.sw-kasten {
	padding: 28px 32px;
	border: 2px solid #fff;
	background: var(--sw-beige);
	font-size: 19px;
	line-height: 1.6;
	color: var(--sw-text);
}
.sw-kasten p { padding-bottom: 1em; }
.sw-kasten h2, .sw-kasten h3 { color: var(--sw-rot); }
.sw-detail__lead { font-size: 21px; line-height: 1.5; }
.sw-detail__lead p:last-child, .sw-detail__beschreibung > :last-child { padding-bottom: 0; margin-bottom: 0; }
.sw-detail__beschreibung:not(:empty) { margin-top: 1rem; }

.sw-detail__seite { position: sticky; top: 30px; }
body.admin-bar .sw-detail__seite { top: 62px; }
.sw-buchung {
	padding: 0 26px 26px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(79, 78, 78, .08);
}
.sw-buchung__titel { display: block; margin: 0 -26px 0 !important; text-align: center; }
.sw-buchung .sw-infobox { margin-top: 1.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--sw-beige); }
.sw-buchung__aktion { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.sw-detail .sw-buchung p.price,
.sw-detail .sw-buchung span.price {
	margin: 0 0 .25rem;
	font-family: var(--sw-schrift-ueberschrift);
	font-size: 28px !important;
	color: var(--sw-rot) !important;
}
.sw-detail .sw-buchung .stock { margin: .5rem 0; font-size: 17px; color: var(--sw-ok) !important; }
.sw-detail .sw-buchung .stock.out-of-stock { color: var(--sw-rot) !important; }
.sw-detail .sw-buchung form.cart { margin: 1rem 0 0 !important; padding: 0 !important; }
.sw-detail .sw-buchung form.cart .quantity { display: none !important; }
body .sw-detail .sw-buchung form.cart .single_add_to_cart_button.button {
	display: block;
	float: none;
	width: 100%;
	margin: 0;
	padding: .45em 1em !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--sw-schrift-titel) !important;
	font-weight: 300 !important;
	font-size: 24px !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: #fff !important;
	background: var(--sw-rot) !important;
}
body .sw-detail .sw-buchung form.cart .single_add_to_cart_button.button:hover { background: var(--sw-rot-dunkel) !important; }
body .sw-detail .sw-buchung form.cart .single_add_to_cart_button.button::after { display: none; }
.sw-detail .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 20px; }

.sw-detail__weitere { padding: 60px 0 70px; background: #fff; text-align: center; }
.sw-detail__weitere .sw-karten { text-align: left; }
.sw-detail__alle { margin: 10px 0 0; padding: 0; }

.sw-player-bereich { margin: 0 0 30px; clear: both; }
.sw-player-titel { margin: 0 0 .5rem; padding: 0; font-family: var(--sw-schrift-titel); font-size: 20px; text-transform: uppercase; color: var(--sw-rot); }
.sw-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.sw-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 980px) {
	.sw-container { width: 90%; }
	.sw-detail__raster { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.sw-detail__seite { position: static; }
	.sw-detail__hero { min-height: 340px; }
	.sw-detail__zur-buchung {
		display: inline-block;
		margin-top: 18px;
		padding: .25em .8em;
		font-family: var(--sw-schrift-titel);
		font-size: 18px;
		color: #fff;
		background: rgba(79, 78, 78, .55);
	}
}
@media (max-width: 767px) {
	.sw-detail__hero { min-height: 280px; padding: 40px 5%; }
	.sw-detail__hero h1.sw-titelbox { font-size: 26px; }
	.sw-detail__untertitel { font-size: 17px; }
	.sw-kasten { padding: 20px 18px; font-size: 18px; }
	.sw-detail__lead { font-size: 19px; }
	.sw-buchung { padding: 0 18px 20px; }
	.sw-buchung__titel { margin: 0 -18px !important; }
}

/* ------------------------------------------------------------------ Karten */

.sw-karten {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 30px;
	margin: 30px 0 35px;
}
.sw-karte {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 2px solid #fff;
	box-shadow: 0 2px 14px rgba(79, 78, 78, .08);
	transition: box-shadow .2s ease, transform .2s ease;
}
.sw-karte:hover { box-shadow: 0 8px 26px rgba(79, 78, 78, .16); transform: translateY(-2px); }
.sw-karte__bild { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sw-beige); }
.sw-karte__bild img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important; object-fit: cover; }
.sw-datum { z-index: 1; }
.sw-datum {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: 6px 8px 5px;
	line-height: 1.05;
	color: #fff;
	background: var(--sw-rot);
	font-family: var(--sw-schrift-titel);
}
.sw-datum__tag { font-size: 26px; font-weight: 400; }
.sw-datum__monat { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.sw-karte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.sw-karte__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; }
.sw-badge {
	display: inline-block;
	padding: 1px 9px;
	font-family: var(--sw-schrift-titel);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #fff;
	background: var(--sw-taupe);
}
.sw-karte--live .sw-badge:first-child { background: #7d8b8c; }
.sw-karte--aufzeichnung .sw-badge:first-child { background: var(--sw-text); }
.sw-badge--ok { background: var(--sw-ok); }
.sw-badge--aus { background: var(--sw-rot); }
.sw-badge--angebot { background: var(--sw-rot-dunkel); }
.sw-karte__titel { margin: 0 0 6px; padding: 0; font-family: var(--sw-schrift-ueberschrift); font-size: 19px; line-height: 1.3; }
.sw-karte__titel a { color: var(--sw-text); text-decoration: none; }
.sw-karte__titel a:hover { color: var(--sw-rot); }
.sw-karte__meta, .sw-karte__ort { margin: 0; padding: 0; font-size: 17px; line-height: 1.4; color: var(--sw-leise); }
.sw-karte__fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 0 0; padding: 14px 0 0; }
.sw-karte__preis { font-family: var(--sw-schrift-ueberschrift); font-size: 18px; color: var(--sw-rot); }
.sw-karte__preis del { font-size: 15px; color: var(--sw-leise); }
.sw-karte__preis ins { text-decoration: none; }
.sw-karte__preis small { display: block; font-family: var(--sw-schrift-text); font-size: 13px; color: var(--sw-leise); }
body #page-container .sw-karte__button.button,
.sw-karte__button.button {
	padding: .2em .8em !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--sw-schrift-titel) !important;
	font-weight: 300 !important;
	font-size: 17px !important;
	text-transform: uppercase;
	color: #fff !important;
	background: var(--sw-rot) !important;
}
.sw-karte__button.button::after { display: none !important; }

/* ------------------------------------------------------------------ Kalender */

.sw-kalender { margin: 30px 0 40px; scroll-margin-top: 2rem; }
.sw-kalender__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sw-kalender__monat { margin: 0; padding: 0; font-family: var(--sw-schrift-titel); font-weight: 300; font-size: 26px; text-transform: uppercase; color: var(--sw-rot); }
.sw-kalender__nav {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	font-size: 20px; text-decoration: none; color: #fff; background: var(--sw-taupe);
}
.sw-kalender__nav:hover { background: var(--sw-rot); color: #fff; }
.sw-kalender__raster {
	display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid var(--sw-rand); border-left: 1px solid var(--sw-rand); background: #fff;
}
.sw-kalender__wt, .sw-kalender__tag { border-right: 1px solid var(--sw-rand); border-bottom: 1px solid var(--sw-rand); }
.sw-kalender__wt { padding: 6px; text-align: center; font-family: var(--sw-schrift-titel); font-size: 16px; color: #fff; background: var(--sw-taupe); }
.sw-kalender__tag { display: flex; flex-direction: column; gap: 4px; min-height: 104px; padding: 5px; }
.sw-kalender__nr { font-size: 15px; color: var(--sw-leise); }
.sw-kalender__wtag { display: none; }
.sw-kalender__tag.is-fremd { background: var(--sw-hell); }
.sw-kalender__tag.is-fremd .sw-kalender__nr { opacity: .5; }
.sw-kalender__tag.is-heute .sw-kalender__nr { font-weight: 700; color: var(--sw-rot); }
.sw-kalender__termin {
	display: block; padding: 4px 6px;
	font-size: 14px; line-height: 1.3; text-decoration: none; color: var(--sw-text);
	background: var(--sw-hell); border-left: 3px solid var(--sw-rot);
}
.sw-kalender__termin:hover { background: var(--sw-beige); }
.sw-kalender__termin.is-ausgebucht { border-left-color: var(--sw-taupe); }
.sw-kalender__termin.is-vergangen { opacity: .55; }
.sw-kalender__zeit { display: block; font-weight: 700; color: var(--sw-rot); }
.sw-kalender__status { display: block; font-size: 12px; text-transform: uppercase; color: var(--sw-rot); }

@media (max-width: 767px) {
	/* Auf schmalen Bildschirmen als Liste: nur Tage mit Terminen. */
	.sw-kalender__raster { display: block; border: 0; background: none; }
	.sw-kalender__wt, .sw-kalender__tag:not(.has-termin), .sw-kalender__tag.is-fremd { display: none; }
	.sw-kalender__tag { min-height: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--sw-rand); }
	.sw-kalender__termin { font-size: 17px; }
	.sw-kalender__wtag { display: inline; }
	.sw-kalender__nr { font-size: 17px; font-weight: 600; color: var(--sw-text); }
}

/* ------------------------------------------------------------------ Shop-Liste, Konto, Danke-Seite */

.sw-loop-info { display: block; margin: -4px 0 8px; font-size: 16px; color: var(--sw-leise); }
.sw-konto-liste, .sw-zugang { list-style: none; margin: 0 0 2rem; padding: 0 !important; }
.sw-konto-liste > li, .sw-zugang > li { padding: 14px 0; border-bottom: 1px solid var(--sw-rand); }
.sw-konto-liste span { font-size: .95em; color: var(--sw-leise); }
.sw-danke { margin: 2rem 0; padding: 20px 24px; background: var(--sw-ok-hell); border-left: 3px solid var(--sw-ok); }
.sw-danke h2 { margin-top: 0; }
.sw-leer { font-style: italic; color: var(--sw-leise); }

.sw-karte a, .sw-kalender a { text-decoration: none; }

/* ------------------------------------------------------------------ Übersicht mit Filtern */

.sw-uebersicht { scroll-margin-top: 20px; }
.sw-filter {
	margin: 0 0 24px;
	padding: 20px 22px 16px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(79, 78, 78, .08);
}
.sw-filter fieldset { margin: 0; padding: 0; border: 0; }
.sw-filter__arten { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px !important; }
.sw-chip,
.sw-umschalter label {
	position: relative;
	display: inline-block;
	padding: .2em .85em;
	font-family: var(--sw-schrift-titel);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--sw-text);
	background: var(--sw-hell);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.sw-chip:hover, .sw-umschalter label:hover { background: var(--sw-beige); }
.sw-chip.is-aktiv, .sw-umschalter label.is-aktiv { color: #fff; background: var(--sw-rot); }
.sw-chip input, .sw-umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.sw-chip:focus-within, .sw-umschalter label:focus-within { outline: 2px solid var(--sw-taupe); outline-offset: 2px; }

.sw-filter__auswahl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; }
.sw-filter__feld { display: flex; flex-direction: column; min-width: 180px; flex: 1 1 180px; }
.sw-filter__label { display: block; margin: 0 0 3px; font-family: var(--sw-schrift-titel); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--sw-leise); }
.sw-filter select {
	width: 100%;
	padding: 7px 34px 7px 10px;
	border: 1px solid var(--sw-rand);
	border-radius: 0;
	font-family: var(--sw-schrift-text);
	font-size: 18px;
	color: var(--sw-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a92536' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
}
.sw-filter select.is-aktiv { border-color: var(--sw-rot); }
.sw-filter__ansicht { flex: 0 0 auto; }
.sw-umschalter { display: inline-flex; gap: 2px; }
.sw-umschalter label { font-size: 16px; }
.sw-filter noscript .sw-knopf { margin-top: 14px; }

.sw-uebersicht__anzahl { margin: 0 0 6px; padding: 0; font-size: 18px; color: var(--sw-leise); }
.sw-uebersicht__reset { margin-left: .5em; color: var(--sw-rot); }
.sw-uebersicht .sw-karten { margin-top: 14px; }
.sw-uebersicht__abschnitt { margin: 30px 0 0 !important; }

@media (max-width: 767px) {
	.sw-filter { padding: 16px 14px 12px; }
	.sw-chip { font-size: 16px; }
	.sw-filter__feld { flex-basis: 100%; }
}
