/*
Theme Name: Dogfriends Hof
Theme URI: https://dogfriends-hof.de
Author: Dogfriends Hof e. V.
Description: Block-Theme für die Website des Hundevereins Dogfriends Hof e. V. Die Inhalte werden im WordPress-Editor gepflegt, dieses Theme liefert das Aussehen.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: dogfriends
*/

/* Die Klassen mit "df-" haengen an den Bloecken der Startseite
   (Block auswaehlen > Erweitert > Zusaetzliche CSS-Klasse(n)).
   Wer einen Block kopiert, behaelt damit automatisch dessen Aussehen. */

:root {
	--df-brand-50: #f1f8e9;
	--df-brand-100: #dcedc8;
	--df-brand-300: #aed581;
	--df-brand-400: #9ccc65;
	--df-brand-500: #8bc34a;
	--df-brand-600: #7cb342;
	--df-brand-700: #689f38;
	--df-stone-50: #fafaf9;
	--df-stone-100: #f5f5f4;
	--df-stone-200: #e7e5e4;
	--df-stone-300: #d6d3d1;
	--df-stone-400: #a8a29e;
	--df-stone-500: #78716c;
	--df-stone-600: #57534e;
	--df-stone-700: #44403c;
	--df-stone-800: #292524;
	--df-stone-900: #1c1917;
	--df-header-height: 5rem;
	--df-display: "Crimson Text", serif;
	--df-sans: Comfortaa, cursive;

	--df-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75'/%3E%3C/svg%3E");
	--df-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 002.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 01-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 00-1.091-.852H4.5A2.25 2.25 0 002.25 4.5v2.25z'/%3E%3C/svg%3E");
	--df-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1115 0z'/%3E%3C/svg%3E");
	--df-icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 14.25v2.625a3.375 3.375 0 01-3.375 3.375h-8.25A3.375 3.375 0 014.5 16.875V14.25M12 3v12m0 0l-3.75-3.75M12 15l3.75-3.75'/%3E%3C/svg%3E");
	--df-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'/%3E%3C/svg%3E");
	--df-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	--df-icon-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

@media (min-width: 1024px) {
	:root {
		--df-header-height: 6rem;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Kein Abstand zwischen Kopfbereich, Inhalt und Fussbereich */
.wp-site-blocks > * {
	margin-block-start: 0;
}

/* ------------------------------------------------------------------
   Kopfbereich / Navigation
   ------------------------------------------------------------------ */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: #fff;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transition: box-shadow 0.3s;
}

.wp-site-blocks > header.wp-block-template-part.is-scrolled {
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	border-bottom: 1px solid var(--df-stone-100);
}

.df-header {
	max-width: 80rem;
	height: var(--df-header-height);
	margin-inline: auto;
	padding-inline: 1rem;
	box-sizing: border-box;
	align-items: center;
}

@media (min-width: 640px) {
	.df-header {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.df-header {
		padding-inline: 2rem;
	}
}

.df-header .wp-block-site-logo {
	line-height: 0;
}

.df-header .wp-block-site-logo img {
	height: 4rem;
	width: auto;
	transition: transform 0.3s;
}

.df-header .wp-block-site-logo a:hover img {
	transform: scale(1.05);
}

@media (min-width: 1024px) {
	.df-header .wp-block-site-logo img {
		height: 5rem;
	}
}

.df-nav .wp-block-navigation__container {
	gap: 0.25rem;
}

.df-nav .wp-block-navigation-item__content {
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	color: var(--df-stone-600);
	transition: color 0.2s, background-color 0.2s;
}

.df-nav .wp-block-navigation-item__content:hover {
	color: var(--df-brand-600);
	background: var(--df-stone-50);
}

/* Aktiver Menuepunkt: unterstrichen, sobald der Abschnitt im Blick ist */
.df-nav .wp-block-navigation-item__content.is-active {
	color: var(--df-brand-600);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: var(--df-brand-500);
}

.df-nav .wp-block-navigation__responsive-container-open,
.df-nav .wp-block-navigation__responsive-container-close {
	color: var(--df-stone-800);
	padding: 0.5rem;
}

/* Hamburger-Menue bis 1023px statt nur bis 599px (WordPress-Standard),
   weil acht Menuepunkte sonst nicht in eine Zeile passen. */
@media (max-width: 1023px) {
	.df-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.df-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Aufgeklapptes Menue haengt wie bisher unter der Navileiste, statt den
   ganzen Bildschirm zu fuellen. */
.df-nav .wp-block-navigation__responsive-container.is-menu-open {
	position: fixed;
	top: calc(var(--df-header-height) + var(--wp-admin--admin-bar--height, 0px));
	bottom: auto;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--df-header-height) - var(--wp-admin--admin-bar--height, 0px));
	background: #fff;
	color: var(--df-stone-700);
	padding: 1.5rem 1rem;
	border-top: 1px solid var(--df-stone-100);
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	animation: none;
	transform: none;
}

.df-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed;
	top: calc(var(--df-header-height) / 2 - 1.25rem + var(--wp-admin--admin-bar--height, 0px));
	right: 1rem;
}

.df-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open {
	visibility: hidden;
}

@media (min-width: 640px) {
	.df-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		right: 1.5rem;
	}
}

/* Angemeldete Nutzer am Handy: die Adminleiste scrollt dort mit weg */
@media (max-width: 600px) {
	.wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}

	.df-nav .wp-block-navigation__responsive-container.is-menu-open {
		top: var(--df-header-height);
	}

	.df-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		top: calc(var(--df-header-height) / 2 - 1.25rem);
	}
}

.df-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0.25rem;
	align-items: stretch;
}

.df-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	padding-top: 0 !important;
}

.df-nav .is-menu-open .wp-block-navigation__responsive-dialog {
	margin-top: 0 !important;
}

.df-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.df-nav .is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 0.75rem 1.5rem;
	border-radius: 0.75rem;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5rem;
	color: var(--df-stone-700);
	box-sizing: border-box;
}

.df-nav .is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--df-brand-600);
	background: var(--df-brand-50);
}

.df-nav .is-menu-open .wp-block-navigation-item__content.is-active {
	background: var(--df-brand-50);
	text-underline-offset: 4px;
}

/* ------------------------------------------------------------------
   Startbild (Hero)
   ------------------------------------------------------------------ */

.wp-block-cover.df-hero {
	min-height: 100vh;
	margin-block: 0;
	padding: 0 1rem;
	position: relative;
	overflow: hidden;
}

/* Das Startbild beginnt wie bisher ganz oben, die Navileiste liegt darueber */
.wp-site-blocks .wp-block-cover.df-hero {
	margin-top: calc(-1 * var(--df-header-height));
}

.df-hero .wp-block-cover__background {
	background: linear-gradient(to bottom, rgb(28 25 23 / 0.4), rgb(28 25 23 / 0.2), rgb(28 25 23 / 0.4)) !important;
	opacity: 1 !important;
}

.df-hero .wp-block-cover__inner-container {
	text-align: center;
	color: #fff;
}

.df-hero .wp-block-cover__inner-container > * {
	max-width: 48rem;
	margin-inline: auto;
}

.df-hero .df-badge {
	display: table;
	margin: 0 auto 1.5rem;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background: rgb(139 195 74 / 0.2);
	border: 1px solid rgb(156 204 101 / 0.4);
	color: var(--df-brand-300);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.df-hero h1 {
	margin: 0 auto 1.5rem;
	font-size: 3rem;
	line-height: 1;
	color: #fff;
	filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.df-hero h1 mark.has-stone-200-color {
	display: block;
	margin-top: 1rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 400;
	letter-spacing: 0.025em;
}

/* Der Zeilenumbruch vor der Unterzeile ist nur fuer den Editor da */
.df-hero h1 br:has(+ mark.has-stone-200-color) {
	display: none;
}

.df-hero .df-hero__lead {
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	color: var(--df-stone-200);
	font-size: 1.125rem;
	line-height: 1.625;
	filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.df-hero .wp-block-buttons {
	align-items: stretch;
}

.df-hero .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.wp-block-cover.df-hero {
		padding-inline: 2rem;
	}

	.df-hero h1 {
		font-size: 3.75rem;
	}

	.df-hero h1 mark.has-stone-200-color {
		font-size: 1.5rem;
		line-height: 2rem;
	}

	.df-hero .df-hero__lead {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.df-hero h1 {
		font-size: 4.5rem;
	}
}

.df-hero .wp-block-buttons {
	justify-content: center;
	gap: 1rem;
}

@media (max-width: 639px) {
	.df-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.df-hero .wp-block-button,
	.df-hero .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
	}
}

.wp-block-button__link {
	transition: all 0.2s;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 10px 15px -3px rgb(139 195 74 / 0.3), 0 4px 6px -4px rgb(139 195 74 / 0.3);
	transform: translateY(-2px);
}

.df-hero .wp-block-button.is-style-outline .wp-block-button__link {
	padding: 0.875rem 2rem;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.3);
	color: #fff;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.df-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgb(255 255 255 / 0.2);
}

/* Huepfender Pfeil am unteren Rand */
.df-hero::after {
	content: "";
	position: absolute;
	bottom: 2rem;
	left: 50%;
	width: 1.5rem;
	height: 1.5rem;
	margin-left: -0.75rem;
	background: rgb(255 255 255 / 0.6);
	-webkit-mask: var(--df-icon-chevron) center / contain no-repeat;
	mask: var(--df-icon-chevron) center / contain no-repeat;
	animation: df-bounce 1s infinite;
	pointer-events: none;
}

@keyframes df-bounce {
	0%,
	100% {
		transform: translateY(-25%);
		animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
	}

	50% {
		transform: none;
		animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
	}
}

/* ------------------------------------------------------------------
   Abschnitte
   ------------------------------------------------------------------ */

.df-section {
	margin-block: 0 !important;
	padding: 5rem 1rem;
	scroll-margin-top: var(--df-header-height);
	font-size: 1.125rem;
	line-height: 1.7778;
	color: var(--df-stone-700);
}

@media (min-width: 640px) {
	.df-section {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.df-section {
		padding: 7rem 2rem;
	}
}

.df-section--light {
	background: #fff;
}

.df-section--accent {
	background: var(--df-brand-50);
}

.df-section--dark {
	background: var(--df-stone-800);
	color: var(--df-stone-300);
}

/* Abschnittsueberschrift mit gruenem Strich */
.df-section h2.df-section-title {
	margin: 0 0 1rem;
	font-size: 1.875rem;
	line-height: 2.25rem;
	color: var(--df-stone-800);
	text-align: center;
}

@media (min-width: 640px) {
	.df-section h2.df-section-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

.df-section h2.df-section-title::after {
	content: "";
	display: block;
	width: 4rem;
	height: 0.25rem;
	margin: 0.75rem auto 0;
	border-radius: 9999px;
	background: var(--df-brand-500);
}

.df-section h2.df-section-title--left {
	margin-bottom: 3rem;
	text-align: left;
}

.df-section h2.df-section-title--left::after {
	margin-left: 0;
}

.df-section p.df-section-subtitle {
	max-width: 42rem;
	margin: 0 auto 3rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--df-stone-500);
	text-align: center;
}

.df-section--dark h2.df-section-title {
	color: #fff;
}

.df-section--dark p.df-section-subtitle {
	color: var(--df-stone-300);
}

/* Fliesstext */
.df-section p {
	margin-block: 1.3333em;
}

.df-section :is(h2, h3, h4) + * {
	margin-top: 0 !important;
}

.df-section h3 {
	margin: 1.6667em 0 0.6667em;
	font-size: 1.3333em;
	font-weight: 600;
	line-height: 1.5;
	color: var(--df-stone-700);
}

.df-section h4 {
	margin: 1.7778em 0 0.4444em;
	font-family: var(--df-sans);
	font-weight: 700;
	font-size: 1em;
	line-height: 1.5;
	color: var(--df-stone-700);
}

.df-section strong {
	font-weight: 600;
	color: var(--df-stone-700);
}

.df-section a {
	font-weight: 500;
}

.df-section ul,
.df-section ol {
	margin-block: 1.3333em;
	padding-left: 1.5556em;
}

.df-section li {
	margin-block: 0.6667em;
	padding-left: 0.4444em;
}

.df-section li::marker {
	color: var(--df-brand-500);
}

.df-section ol > li::marker {
	color: var(--df-stone-500);
}

.df-section > :first-child {
	margin-top: 0;
}

.df-section > :last-child {
	margin-bottom: 0;
}

.df-section--dark h3,
.df-section--dark h4 {
	color: #fff;
}

.df-section--dark strong {
	color: var(--df-stone-100);
}

.df-section--dark a {
	color: var(--df-brand-400);
}

.df-section--dark li::marker {
	color: var(--df-brand-400);
}

.df-section--dark ol > li::marker {
	color: var(--df-stone-400);
}

/* ------------------------------------------------------------------
   Ueber uns: drei Kacheln
   ------------------------------------------------------------------ */

.wp-block-columns.df-tiles {
	margin-top: 3.5rem;
	gap: 1.5rem;
}

.df-tile {
	padding: 1.5rem;
	border-radius: 1rem;
	background: var(--df-brand-50);
	border: 1px solid var(--df-brand-100);
	text-align: center;
}

.df-section .df-tile p.df-tile__icon {
	margin: 0 0 0.75rem;
	font-size: 2.25rem;
	line-height: 2.5rem;
}

.df-section .df-tile h3 {
	margin: 0 0 0.25rem;
	font-family: var(--df-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5rem;
	color: var(--df-stone-800);
}

.df-section .df-tile p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--df-stone-500);
}

/* ------------------------------------------------------------------
   Trainerinnen: Karten
   ------------------------------------------------------------------ */

.wp-block-columns.df-cards {
	gap: 2rem;
	align-items: stretch;
}

@media (max-width: 1023px) {
	.wp-block-columns.df-cards,
	.wp-block-columns.df-facility,
	.wp-block-columns.df-contact {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.df-cards > .wp-block-column,
	.wp-block-columns.df-facility > .wp-block-column,
	.wp-block-columns.df-contact > .wp-block-column {
		flex-basis: 100% !important;
	}
}

.df-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 1.5rem;
	background: #fff;
	border: 1px solid var(--df-stone-100);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.df-card > * {
	margin-block: 0;
}

.df-card .df-card__photo {
	height: 16rem;
	margin: 0;
	overflow: hidden;
}

.df-card .df-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.df-card:hover .df-card__photo img {
	transform: scale(1.05);
}

/* Name und Hundeschule liegen unten auf dem Foto */
.df-card .df-card__name {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 16rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 1.25rem 1rem;
	box-sizing: border-box;
	background: linear-gradient(to top, rgb(28 25 23 / 0.6), transparent 25%);
	pointer-events: none;
}

.df-card .df-card__name > * {
	pointer-events: auto;
}

.df-section .df-card__name h3 {
	margin: 0;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
	color: #fff;
	filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.df-section .df-card__name h3 a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.df-section .df-card__name h3 a:hover {
	color: var(--df-brand-300);
}

.df-section .df-card__name p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	color: var(--df-brand-300);
}

.df-card .df-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
}

.df-section .df-card__body > p {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--df-stone-600);
}

.df-section h4.df-label {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-brand-600);
}

.df-section ul.df-checklist {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.df-section ul.df-checklist li {
	position: relative;
	margin: 0 0 0.375rem;
	padding-left: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--df-stone-700);
}

.df-section ul.df-checklist li:last-child {
	margin-bottom: 0;
}

.df-section ul.df-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.125rem;
	width: 1rem;
	height: 1rem;
	border-radius: 9999px;
	background: var(--df-brand-100);
	color: var(--df-brand-600);
	font-size: 0.75rem;
	line-height: 1rem;
	text-align: center;
}

.df-section .df-card__body > p.df-card__link {
	display: flex;
	margin: auto 0 0;
	padding: 1rem 0 0.3125rem;
	border-top: 1px solid var(--df-stone-100);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.df-section .df-card__link a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--df-brand-600);
	text-decoration: none;
	transition: color 0.2s;
}

.df-section .df-card__link a:hover {
	color: var(--df-brand-700);
}

.df-card__link a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--df-icon-external) center / contain no-repeat;
	mask: var(--df-icon-external) center / contain no-repeat;
}

/* ------------------------------------------------------------------
   Hundeplatz: Text links, drei Fotos rechts
   ------------------------------------------------------------------ */

.wp-block-columns.df-facility {
	gap: 3rem;
	align-items: center;
}

.wp-block-columns.df-facility > .wp-block-column {
	align-self: center;
}

.df-facility-images {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.df-facility-images > * {
	margin: 0 !important;
}

.df-facility-images .wp-block-image img {
	display: block;
	width: 100%;
	height: 12rem;
	object-fit: cover;
	border-radius: 1.5rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.df-facility-images .wp-block-image:first-child {
	grid-column: span 2;
}

.df-facility-images .wp-block-image:first-child img {
	height: 16rem;
}

.df-facility-images .wp-block-image:nth-child(3) {
	padding-top: 2rem;
}

@media (min-width: 1024px) {
	.df-facility-images .wp-block-image:not(:first-child) img {
		height: 14rem;
	}
}

.df-section p.df-facility-badge {
	position: absolute;
	right: -1rem;
	bottom: -1.5rem;
	z-index: 1;
	padding: 0.75rem 1.25rem;
	border-radius: 1rem;
	background: var(--df-brand-500);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	color: rgb(28 25 23 / 0.8);
	font-size: 10px;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.df-section p.df-facility-badge strong {
	display: block;
	color: var(--df-stone-900);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
}

.df-facility-badge br {
	display: none;
}

@media (max-width: 639px) {
	.df-section p.df-facility-badge {
		right: 0;
	}
}

/* ------------------------------------------------------------------
   Mitgliedschaft: Downloads
   ------------------------------------------------------------------ */

.df-section h3.df-downloads-title {
	margin: 3.5rem 0 0.5rem;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
}

.df-section p.df-downloads-intro {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.5rem;
	color: var(--df-stone-400);
}

.df-downloads {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.df-downloads {
		grid-template-columns: 1fr 1fr;
	}
}

.df-downloads > * {
	margin: 0 !important;
}

.df-download {
	position: relative;
	padding: 1rem 1.25rem 1rem 4.75rem;
	border-radius: 1rem;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.1);
	transition: background-color 0.2s, border-color 0.2s;
}

.df-download:hover {
	background: rgb(255 255 255 / 0.15);
	border-color: rgb(156 204 101 / 0.5);
}

.df-download::before,
.df-download::after,
.df-contact-card::before,
.df-contact-card::after {
	content: "";
	position: absolute;
	left: 1.25rem;
	top: 1rem;
	width: 2.5rem;
	height: 2.5rem;
}

.df-download::before,
.df-contact-card::before {
	border-radius: 0.75rem;
	background: rgb(139 195 74 / 0.2);
}

.df-download::after,
.df-contact-card::after {
	background: var(--df-brand-400);
	-webkit-mask: var(--df-icon-download) center / 1.25rem no-repeat;
	mask: var(--df-icon-download) center / 1.25rem no-repeat;
	pointer-events: none;
}

.df-download > * {
	margin: 0 !important;
}

.df-download .wp-block-file {
	font-size: 1rem;
	line-height: 1.5rem;
}

.df-section .df-download .wp-block-file a:not(.wp-block-file__button) {
	color: var(--df-stone-100);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.df-section .df-download:hover .wp-block-file a:not(.wp-block-file__button) {
	color: var(--df-brand-300);
}

/* Die ganze Karte ist anklickbar */
.df-download .wp-block-file a:not(.wp-block-file__button)::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 1rem;
}

.df-section .df-download p {
	margin-top: 0.125rem !important;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--df-stone-400);
}

.df-section .df-download p.df-download__meta {
	margin-top: 0.25rem !important;
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: var(--df-stone-500);
}

.df-section .wp-block-buttons.df-cta {
	margin-top: 2.5rem;
	justify-content: center;
}

.df-section .wp-block-button__link {
	color: var(--df-stone-900);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.5rem;
}

/* ------------------------------------------------------------------
   Galerie: Mosaik wie bisher (1 grosses, 2 breite, 4 kleine Bilder)
   ------------------------------------------------------------------ */

.wp-block-gallery.has-nested-images.df-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: dense;
	gap: 0.75rem;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image {
	width: auto !important;
	height: 180px;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgb(0 0 0 / 0.05);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 1),
.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 4),
.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 7) {
	grid-column: span 2;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 1) {
	height: 280px;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image {
	display: block;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.95);
	transition: transform 0.7s, filter 0.7s;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:hover img {
	filter: brightness(1.05);
	transform: scale(1.1);
}

/* Bildunterschrift erscheint beim Darueberfahren */
.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image figcaption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	max-height: none;
	margin: 0;
	padding: 1.5rem;
	box-sizing: border-box;
	background: linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.1), transparent);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-align: left;
	opacity: 0;
	overflow: hidden;
	transition: opacity 0.5s;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image figcaption::before {
	display: none;
}

.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:hover figcaption {
	opacity: 1;
}

@media (min-width: 640px) {
	.wp-block-gallery.has-nested-images.df-gallery {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image {
		height: 220px;
	}

	.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 1) {
		height: 350px;
	}
}

@media (min-width: 1024px) {
	.wp-block-gallery.has-nested-images.df-gallery {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}

	.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image,
	.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 1) {
		height: auto;
	}

	.wp-block-gallery.has-nested-images.df-gallery figure.wp-block-image:nth-child(7n + 1) {
		grid-row: span 2;
	}
}

/* ------------------------------------------------------------------
   Platzordnung: Kasten
   ------------------------------------------------------------------ */

.df-section .df-box {
	max-width: 48rem;
	padding: 2rem;
	box-sizing: border-box;
	border-radius: 1.5rem;
	background: var(--df-stone-50);
	border: 1px solid var(--df-stone-200);
	font-size: 1rem;
	line-height: 1.75;
}

@media (min-width: 640px) {
	.df-section .df-box {
		padding: 2.5rem;
	}
}

.df-section .df-box > :first-child {
	margin-top: 0;
}

.df-section .df-box > :last-child {
	margin-bottom: 0;
}

.df-section .df-box p,
.df-section .df-legal p {
	margin-block: 1.25em;
}

.df-section .df-box h3 {
	margin: 1.6em 0 0.6em;
	font-size: 1.25em;
	line-height: 1.6;
}

.df-section .df-box h4,
.df-section .df-legal h4 {
	margin-block: 1.5em 0.5em;
}

.df-section .df-box ul {
	margin-block: 1.25em;
	padding-left: 1.625em;
}

.df-section .df-box li {
	margin-block: 0.5em;
	padding-left: 0.375em;
}

/* ------------------------------------------------------------------
   Kontakt
   ------------------------------------------------------------------ */

.wp-block-columns.df-contact {
	gap: 2.5rem;
	align-items: stretch;
}

@media (min-width: 1024px) {
	.wp-block-columns.df-contact {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.wp-block-columns.df-contact > .wp-block-column:first-child {
		grid-column: span 3;
	}

	.wp-block-columns.df-contact > .wp-block-column:last-child {
		grid-column: span 2;
	}
}

.df-contact > .wp-block-column > :first-child {
	margin-top: 0;
}

.df-section p.df-contact-card {
	position: relative;
	margin: 1rem 0 0;
	padding: 1rem 1.5rem 1rem 5rem;
	border-radius: 1rem;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.1);
	color: #fff;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 500;
	transition: background-color 0.2s;
}

.df-section :not(.df-contact-card) + p.df-contact-card {
	margin-top: 2rem !important;
}

.df-contact-card::before,
.df-contact-card::after {
	left: 1.5rem;
	top: 50%;
	margin-top: -1.25rem;
}

.df-contact-card--mail::after {
	-webkit-mask-image: var(--df-icon-mail);
	mask-image: var(--df-icon-mail);
}

.df-contact-card--phone::after {
	-webkit-mask-image: var(--df-icon-phone);
	mask-image: var(--df-icon-phone);
}

.df-contact-card--address::after {
	-webkit-mask-image: var(--df-icon-pin);
	mask-image: var(--df-icon-pin);
}

.df-section p.df-contact-card strong {
	display: block;
	color: var(--df-stone-400);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.df-contact-card strong + br {
	display: none;
}

.df-section p.df-contact-card a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s;
}

.df-section p.df-contact-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 1rem;
}

.df-section p.df-contact-card:has(a):hover {
	background: rgb(255 255 255 / 0.15);
}

.df-section p.df-contact-card:hover a {
	color: var(--df-brand-400);
}

/* Karte */
.df-contact__map-column {
	display: flex;
	flex-direction: column;
}

.df-contact .wp-block-image.df-map {
	position: relative;
	flex: 1;
	height: 16rem;
	min-height: 300px;
	margin: 0;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgb(255 255 255 / 0.1);
	background: rgb(255 255 255 / 0.1);
}

.df-contact .df-map a {
	position: absolute;
	inset: 0;
	display: block;
}

.df-contact .df-map a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(28 25 23 / 0.1);
	transition: background-color 0.2s;
}

.df-contact .df-map:hover a::after {
	background: rgb(28 25 23 / 0.2);
}

.df-contact .df-map img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.2);
	transition: opacity 0.3s;
}

.df-contact .df-map:hover img {
	opacity: 0.9;
}

.df-contact .df-map figcaption {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.5rem 1rem;
	transform: translate(-50%, -50%);
	border-radius: 9999px;
	background: rgb(255 255 255 / 0.9);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	color: var(--df-stone-900);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	white-space: nowrap;
	pointer-events: none;
	transition: transform 0.2s;
}

.df-contact .df-map:hover figcaption {
	transform: translate(-50%, -50%) scale(1.05);
}

.df-contact .df-map figcaption::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: var(--df-brand-600);
	-webkit-mask: var(--df-icon-external) center / contain no-repeat;
	mask: var(--df-icon-external) center / contain no-repeat;
}

.df-section p.df-map-note {
	margin: 0.75rem 0 0;
	font-size: 10px;
	line-height: 1.625;
	font-style: italic;
	color: var(--df-stone-500);
}

.df-section p.df-map-note a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.df-section p.df-map-note a:hover {
	color: var(--df-brand-400);
}

/* ------------------------------------------------------------------
   Rechtliches: aufklappbare Kaesten
   ------------------------------------------------------------------ */

.df-section .df-legal {
	max-width: 48rem;
	margin-block: 1rem 0;
	scroll-margin-top: calc(var(--df-header-height) + 2rem);
	font-size: 1rem;
	line-height: 1.75;
}

.df-legal details {
	overflow: hidden;
	border-radius: 1.5rem;
	background: var(--df-stone-50);
	border: 1px solid var(--df-stone-200);
}

.df-legal summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--df-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 700;
	color: var(--df-stone-800);
	transition: background-color 0.2s;
}

.df-legal summary:hover {
	background: var(--df-stone-100);
}

.df-legal summary::-webkit-details-marker {
	display: none;
}

.df-legal summary::marker {
	content: "";
}

.df-legal summary::after {
	content: "";
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--df-brand-600);
	-webkit-mask: var(--df-icon-chevron) center / contain no-repeat;
	mask: var(--df-icon-chevron) center / contain no-repeat;
	transition: transform 0.3s;
}

.df-legal details[open] summary {
	border-bottom: 1px solid var(--df-stone-200);
}

.df-legal details[open] summary::after {
	transform: rotate(180deg);
}

.df-legal details > :not(summary) {
	margin-inline: 1.5rem;
}

.df-section .df-legal details > summary + * {
	margin-top: 0.5rem;
}

.df-section .df-legal details > :last-child {
	margin-bottom: 2rem;
}

@media (min-width: 640px) {
	.df-legal summary {
		padding-inline: 2rem;
		font-size: 1.5rem;
		line-height: 2rem;
	}

	.df-legal details > :not(summary) {
		margin-inline: 2rem;
	}
}

/* ------------------------------------------------------------------
   Fussbereich
   ------------------------------------------------------------------ */

.df-footer {
	padding: 2.5rem 1rem;
	background: var(--df-stone-900);
	color: var(--df-stone-400);
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-align: center;
}

.df-footer p {
	margin: 0;
}

.df-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.df-footer a:hover {
	color: var(--df-brand-400);
}

.df-footer p.df-footer__name {
	margin-bottom: 0.25rem;
	font-weight: 500;
	color: var(--df-stone-300);
}

.df-footer p.df-footer__links {
	margin-top: 1rem;
}

.df-footer .df-footer__social {
	max-width: 36rem;
	margin: 1.75rem auto 0;
	padding-top: 1.75rem;
	border-top: 1px solid rgb(255 255 255 / 0.1);
}

.df-footer p.df-facebook {
	margin-top: 1rem;
}

.df-footer .df-facebook a {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 1.25rem;
	border-radius: 0.75rem;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.1);
	color: var(--df-stone-200);
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.2s;
}

.df-footer .df-facebook a:hover {
	background: rgb(255 255 255 / 0.15);
	border-color: rgb(156 204 101 / 0.5);
	color: var(--df-brand-300);
}

.df-footer .df-facebook a::before {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--df-icon-facebook) center / contain no-repeat;
	mask: var(--df-icon-facebook) center / contain no-repeat;
}

.df-footer p.df-footer__copy {
	margin-top: 2rem;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--df-stone-600);
}

/* ------------------------------------------------------------------
   Einfache Unterseiten (falls spaeter welche angelegt werden)
   ------------------------------------------------------------------ */

.df-page {
	padding: 4rem 1rem 5rem;
	background: #fff;
	font-size: 1.125rem;
	line-height: 1.7778;
	color: var(--df-stone-700);
}

.df-page h1 {
	margin: 0 0 2rem;
	font-size: 2.25rem;
	color: var(--df-stone-800);
}
