/*
Theme Name: Hammerschmid Bikeshop
Theme URI: https://hammerschmid-bikeshop.at
Description: Der Bikeshop am See -- Child-Theme von Twenty Twenty-Five fuer den Hammerschmid Bikeshop in Gmunden.
Template: twentytwentyfive
Author: Joerg Stueger
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: hammerschmid
*/

/* ---------------------------------------------------------------
   1. Grundlagen
   --------------------------------------------------------------- */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sprungziele nicht unter dem klebenden Kopf verstecken */
:where(.wp-site-blocks) [id] { scroll-margin-top: 96px; }

::selection { background: var(--wp--preset--color--signal); color: #fff; }

:where(a):focus-visible,
:where(button, input, textarea, select):focus-visible {
	outline: 3px solid var(--wp--preset--color--signal);
	outline-offset: 2px;
}

/* Twenty Twenty-Five setzt Abstaende zwischen Kopf, Inhalt und Fuss -- weg damit,
   die Sektionen bringen ihre eigenen mit. */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group { margin-top: 0 !important; }

/* ---------------------------------------------------------------
   2. Kopfbereich
   --------------------------------------------------------------- */

/* Kleben muss der aeussere <header> der Vorlage: Ein sticky-Element klebt nur
   innerhalb seines Elternelements, und das war genau so hoch wie der Kopf. */
header.wp-block-template-part:has(> .hs-kopf) {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar header.wp-block-template-part:has(> .hs-kopf) { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part:has(> .hs-kopf) { top: 0; } }
.hs-kopf {
	position: relative;
	z-index: 0;
	background: transparent !important;
}
/* Milchglas auf einer eigenen Ebene: backdrop-filter direkt am Kopf macht ihn
   zum Bezugsrahmen fuer position:fixed -- das mobile Vollbild-Menue war dann
   nur so hoch wie der Kopf und lag hinter den Bildern (24.09.2026). */
.hs-kopf::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--paper) 90%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.hs-topbar { font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.04em; }
.hs-topbar a { text-decoration: none; }
.hs-topbar a:hover { color: var(--wp--preset--color--signal-light); }
@media (max-width: 700px) { .hs-topbar .hs-topbar-adresse { display: none; } }

.hs-kopf .wp-block-site-logo img { height: auto; }
.hs-kopf .wp-block-navigation a:hover { color: var(--wp--preset--color--signal); }

/* Anruf-Knopf im Kopf: am Handy nur Symbol-knapp */
.hs-kopf .hs-anruf .wp-block-button__link { padding: 0.55em 1.1em; font-size: 0.95rem; }
@media (max-width: 600px) { .hs-kopf .hs-anruf { display: none; } }

/* Mobiles Menue */
.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: 4rem;
}

/* ---------------------------------------------------------------
   3. Kennzeile mit drei Streifen (Zitat der Logo-Fluegel)
   --------------------------------------------------------------- */

.is-style-hs-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75em;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 0.95rem !important;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--wp--preset--color--signal);
}
.is-style-hs-eyebrow::before {
	content: "";
	flex: 0 0 34px;
	height: 13px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
		linear-gradient(currentColor, currentColor) 6px 5px / calc(100% - 6px) 3px no-repeat,
		linear-gradient(currentColor, currentColor) 12px 10px / calc(100% - 12px) 3px no-repeat;
}
.is-style-hs-eyebrow.has-text-align-center { justify-content: center; }
.is-style-hs-eyebrow.has-text-align-center::after {
	content: "";
	flex: 0 0 34px;
	height: 13px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
		linear-gradient(currentColor, currentColor) 0 5px / calc(100% - 6px) 3px no-repeat,
		linear-gradient(currentColor, currentColor) 0 10px / calc(100% - 12px) 3px no-repeat;
}
.has-lake-deep-background-color .is-style-hs-eyebrow,
.has-lake-background-color .is-style-hs-eyebrow,
.has-ink-background-color .is-style-hs-eyebrow,
.wp-block-cover .is-style-hs-eyebrow { color: var(--wp--preset--color--signal-light); }

/* ---------------------------------------------------------------
   4. Startbild
   --------------------------------------------------------------- */

/* Sektionen der Startseite liegen lueckenlos aneinander. */
.hs-sektionen.is-layout-constrained > * { margin-block-start: 0; margin-block-end: 0; }

/* Foto-Sektionen: Inhalt unten an der Inhaltskante, Verlauf statt flacher Toenung. */
.hs-hero,
.hs-weltbild { align-items: flex-end !important; }
.hs-hero > .wp-block-cover__inner-container,
.hs-weltbild > .wp-block-cover__inner-container { width: 100%; }
.hs-hero > .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(14,43,53,.88) 0%, rgba(14,43,53,.55) 45%, rgba(14,43,53,.08) 80%) !important;
	opacity: 1 !important;
}
.hs-weltbild > .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(14,43,53,.85) 0%, rgba(14,43,53,.35) 40%, rgba(14,43,53,0) 70%) !important;
	opacity: 1 !important;
}
@media (max-width: 781px) {
	.hs-hero > .wp-block-cover__background {
		background: linear-gradient(0deg, rgba(14,43,53,.92) 0%, rgba(14,43,53,.6) 55%, rgba(14,43,53,.2) 100%) !important;
	}
}

.hs-hero { min-height: min(88vh, 860px) !important; }
.hs-hero h1 { text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hs-hero .hs-hero-sub { max-width: 34em; }
.hs-hero .hs-pille { width: fit-content; }
.hs-hero .hs-pille p { margin: 0; }

/* Heute-offen-Pille */
.hs-offen {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-weight: 600;
}
.hs-offen::before {
	content: "";
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: #9aa3ad;
	flex: none;
}
.hs-offen.is-offen::before { background: #3ecf6e; box-shadow: 0 0 0 4px rgba(62,207,110,.22); }
.hs-offen.is-bald::before { background: #f2b33d; box-shadow: 0 0 0 4px rgba(242,179,61,.22); }

.hs-pille {
	display: inline-flex;
	padding: 0.45em 1em;
	border-radius: 999px;
	background: rgba(14, 43, 53, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.18);
}

/* ---------------------------------------------------------------
   5. Welt-Kacheln (Bike / Wake / SUP / Hockey)
   --------------------------------------------------------------- */

.wp-block-cover.is-style-hs-welt {
	border-radius: 10px;
	overflow: hidden;
	min-height: 0 !important;
	aspect-ratio: 3 / 4;
	align-items: flex-end;
	padding: var(--wp--preset--spacing--30) !important;
}
.wp-block-cover.is-style-hs-welt .wp-block-cover__image-background {
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.wp-block-cover.is-style-hs-welt:hover .wp-block-cover__image-background { transform: scale(1.06); }
.wp-block-cover.is-style-hs-welt .wp-block-cover__background {
	background: linear-gradient(to top, rgba(14,43,53,.92) 0%, rgba(14,43,53,.25) 55%, rgba(14,43,53,0) 100%) !important;
	opacity: 1 !important;
}
.wp-block-cover.is-style-hs-welt h3 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.8rem); }
.wp-block-cover.is-style-hs-welt p { margin: .35em 0 0; font-size: var(--wp--preset--font-size--small); opacity: .9; }
/* ganze Kachel klickbar: der Link in der Ueberschrift spannt sich auf */
.wp-block-cover.is-style-hs-welt h3 a { text-decoration: none; color: inherit; }
.wp-block-cover.is-style-hs-welt h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.wp-block-cover.is-style-hs-welt h3 a:focus-visible { outline: none; }
.wp-block-cover.is-style-hs-welt:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--signal); outline-offset: 3px; }
@media (max-width: 781px) {
	.wp-block-cover.is-style-hs-welt { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------
   6. Foto-Sektionen der Welten
   --------------------------------------------------------------- */

.hs-weltbild { min-height: min(82vh, 760px) !important; }
.hs-weltbild h2 { font-size: var(--wp--preset--font-size--display) !important; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hs-weltbild p:not(.is-style-hs-eyebrow) { max-width: 36em; }

/* ---------------------------------------------------------------
   7. Preisliste (Tabellen-Stil)
   --------------------------------------------------------------- */

.wp-block-table.is-style-hs-preise table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-hs-preise td,
.wp-block-table.is-style-hs-preise th {
	border: 0;
	border-bottom: 1px dashed var(--wp--preset--color--line);
	padding: 0.95em 0;
	vertical-align: baseline;
}
.wp-block-table.is-style-hs-preise tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-hs-preise td:first-child { font-weight: 600; padding-right: 1em; }
.wp-block-table.is-style-hs-preise td:last-child {
	text-align: right;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.35em;
	color: var(--wp--preset--color--signal);
}
.wp-block-table.is-style-hs-preise td small,
.wp-block-table.is-style-hs-preise td .hs-klein {
	display: block;
	font-weight: 400;
	font-size: .88em;
	color: var(--wp--preset--color--ink-soft);
	margin-top: .2em;
}
.has-lake-deep-background-color .wp-block-table.is-style-hs-preise td:last-child { color: var(--wp--preset--color--signal-light); }
.has-lake-deep-background-color .wp-block-table.is-style-hs-preise td small { color: var(--wp--preset--color--lake-light); }

/* ---------------------------------------------------------------
   8. Listen
   --------------------------------------------------------------- */

ul.is-style-hs-marken {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em 1.6em;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
ul.is-style-hs-marken li { margin: 0; opacity: .88; transition: opacity .2s; }
ul.is-style-hs-marken li:hover { opacity: 1; }
ul.is-style-hs-marken a { text-decoration: none; }
ul.is-style-hs-marken a:hover { color: var(--wp--preset--color--signal); }
.wp-block-cover ul.is-style-hs-marken a:hover,
.has-lake-deep-background-color ul.is-style-hs-marken a:hover { color: var(--wp--preset--color--signal-light); }

ul.is-style-hs-haken { list-style: none; padding-left: 0; }
ul.is-style-hs-haken li { position: relative; padding-left: 1.9em; margin-bottom: .55em; }
ul.is-style-hs-haken li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .38em;
	width: 1.05em;
	height: .6em;
	border-left: 3px solid var(--wp--preset--color--signal);
	border-bottom: 3px solid var(--wp--preset--color--signal);
	transform: rotate(-45deg);
	transform-origin: center;
}

/* ---------------------------------------------------------------
   9. Karten
   --------------------------------------------------------------- */

.wp-block-group.is-style-hs-karte {
	background: var(--wp--preset--color--white);
	border-radius: 12px;
	padding: var(--wp--preset--spacing--50);
	box-shadow: 0 1px 2px rgba(18,20,23,.05), 0 12px 32px -12px rgba(18,20,23,.16);
}
.has-lake-deep-background-color .wp-block-group.is-style-hs-karte,
.has-lake-background-color .wp-block-group.is-style-hs-karte {
	background: rgba(255,255,255,.06);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* ---------------------------------------------------------------
   10. Knoepfe
   --------------------------------------------------------------- */

.wp-block-button.is-style-hs-hell .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--ink);
}
.wp-block-button.is-style-hs-hell .wp-block-button__link:hover { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: inherit; }

/* ---------------------------------------------------------------
   11. Galerie
   --------------------------------------------------------------- */

.hs-galerie.wp-block-gallery .wp-block-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 6px;
	transition: filter .3s, transform .4s;
}
.hs-galerie.wp-block-gallery .wp-block-image:hover img { filter: brightness(1.08); }

/* ---------------------------------------------------------------
   12. Oeffnungszeiten-Tabelle (Shortcode)
   --------------------------------------------------------------- */

.hs-zeiten { width: 100%; border-collapse: collapse; }
.hs-zeiten th, .hs-zeiten td { text-align: left; padding: .45em 0; border-bottom: 1px solid rgba(127,127,127,.2); vertical-align: top; }
.hs-zeiten th { font-weight: 600; padding-right: 1.2em; white-space: nowrap; }
.hs-zeiten td { text-align: right; }
.hs-zeiten tr.is-heute th, .hs-zeiten tr.is-heute td { color: var(--wp--preset--color--signal); }
.has-lake-deep-background-color .hs-zeiten tr.is-heute th,
.has-lake-deep-background-color .hs-zeiten tr.is-heute td { color: var(--wp--preset--color--signal-light); }
.hs-zeiten .is-zu { opacity: .6; }
.hs-hinweis {
	margin-top: 1em;
	padding: .8em 1em;
	border-left: 4px solid var(--wp--preset--color--signal);
	background: rgba(210,63,32,.08);
	font-weight: 500;
}

/* ---------------------------------------------------------------
   13. Kontaktformular (Shortcode)
   --------------------------------------------------------------- */

.hs-formular { display: grid; gap: 1rem; }
.hs-formular p { margin: 0; }
.hs-formular .hs-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .hs-formular .hs-reihe { grid-template-columns: 1fr; } }
.hs-formular label { display: block; font-weight: 600; font-size: var(--wp--preset--font-size--small); margin-bottom: .35em; }
.hs-formular input[type=text],
.hs-formular input[type=email],
.hs-formular input[type=tel],
.hs-formular textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	padding: .8em .95em;
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	transition: border-color .2s;
}
.hs-formular input:focus, .hs-formular textarea:focus { border-color: var(--wp--preset--color--lake); outline: none; box-shadow: 0 0 0 3px rgba(23,65,79,.18); }
.hs-formular textarea { min-height: 9em; resize: vertical; }
.hs-formular .hs-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hs-formular .hs-klein { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--ink-soft); margin: 0; }
.hs-formular button {
	justify-self: start;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--signal);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: .85em 1.8em;
}
.hs-formular button:hover { background: var(--wp--preset--color--signal-deep); }
.hs-meldung { padding: 1em 1.2em; border-radius: 8px; font-weight: 500; }
.hs-meldung.is-ok { background: #e3f4e8; color: #17532b; }
.hs-meldung.is-fehler { background: #fbe6e1; color: #8a2412; }

/* ---------------------------------------------------------------
   14. Video mit Zustimmung
   --------------------------------------------------------------- */

.hs-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: var(--wp--preset--color--lake-deep) center / cover no-repeat;
	color: #fff;
}
.hs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hs-video-start {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: .8rem;
	text-align: center;
	padding: 1.5rem;
	background: linear-gradient(rgba(14,43,53,.55), rgba(14,43,53,.8));
	border: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	width: 100%;
}
.hs-video-start .hs-play {
	width: 76px; height: 76px; border-radius: 50%;
	background: var(--wp--preset--color--signal);
	display: grid; place-items: center;
	transition: transform .2s;
}
.hs-video-start:hover .hs-play { transform: scale(1.08); }
.hs-video-start .hs-play::after {
	content: ""; margin-left: 6px;
	border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.hs-video-start small { max-width: 30em; opacity: .85; font-size: var(--wp--preset--font-size--x-small); }

/* ---------------------------------------------------------------
   15. Fussbereich
   --------------------------------------------------------------- */

.hs-fuss a { text-decoration: none; }
.hs-fuss a:hover { color: var(--wp--preset--color--signal-light); }
.hs-fuss .hs-zeiten th, .hs-fuss .hs-zeiten td { border-color: rgba(255,255,255,.12); }
.hs-fuss h4 { color: var(--wp--preset--color--signal-light); font-size: .95rem; letter-spacing: .14em; }

.hs-social { display: flex; gap: .6rem; }
.hs-social a {
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid currentColor;
	transition: background .2s, color .2s;
}
.hs-social a:hover { background: #fff; color: var(--wp--preset--color--lake-deep) !important; }
.hs-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------------------------------------------------------------
   16. Beitraege (News)
   --------------------------------------------------------------- */

.hs-newskarte { height: 100%; }
.hs-newskarte .wp-block-post-featured-image img { border-radius: 8px; aspect-ratio: 16/10; object-fit: cover; }
.hs-newskarte .wp-block-post-title a { text-decoration: none; }
.hs-newskarte .wp-block-post-title a:hover { color: var(--wp--preset--color--signal); }

/* ---------------------------------------------------------------
   17. Babsi & Kaili
   --------------------------------------------------------------- */

.wp-block-image.hs-team {
	width: min(320px, 80vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--wp--preset--color--lake-light);
	display: flex !important;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	box-shadow: inset 0 0 0 10px var(--wp--preset--color--paper), 0 0 0 2px var(--wp--preset--color--lake-light);
}
.wp-block-image.hs-team img { width: 86% !important; height: auto; }

/* ---------------------------------------------------------------
   18. Handy-Feinschliff
   --------------------------------------------------------------- */

.hs-topbar p { white-space: nowrap; margin: 0; }
@media (max-width: 420px) { .hs-topbar { font-size: 0.72rem; letter-spacing: 0.01em; } }

@media (max-width: 781px) {
	.hs-weltbild > .wp-block-cover__background {
		background: linear-gradient(0deg, rgba(14,43,53,.94) 0%, rgba(14,43,53,.7) 45%, rgba(14,43,53,.1) 85%) !important;
	}
	#bike .wp-block-image img { width: 100%; }
}

/* ---------------------------------------------------------------
   19. Rechtliche Seiten und Einzelbeitrag
   --------------------------------------------------------------- */

.hs-rechtlich h2 { font-size: var(--wp--preset--font-size--large); margin-top: 2.2em; }
.hs-rechtlich h2:first-child { margin-top: 0; }
.hs-rechtlich mark { background: #fff1a8; padding: 0 .2em; }

.single .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

/* ---------------------------------------------------------------
   20. Seitenkopf der Unterseiten (Vorlage "Seite mit Titelbild")
   --------------------------------------------------------------- */

.hs-seitenkopf {
	min-height: min(66vh, 640px) !important;
	align-items: flex-end !important;
}
.hs-seitenkopf > .wp-block-cover__inner-container { width: 100%; }
.hs-seitenkopf > .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(14,43,53,.9) 0%, rgba(14,43,53,.45) 45%, rgba(14,43,53,.05) 80%) !important;
	opacity: 1 !important;
}
.hs-seitenkopf h1 { text-shadow: 0 2px 30px rgba(0,0,0,.3); text-wrap: balance; }
.hs-seitenkopf .hs-lead { max-width: 36em; line-height: 1.35; margin: 0; }
.hs-seitenkopf .hs-lead .wp-block-post-excerpt__excerpt { margin: 0; }

/* Ohne Titelbild: dunkle Flaeche mit grossem Logo als Wasserzeichen */
.hs-seitenkopf:not(:has(.wp-block-cover__image-background)) {
	min-height: min(52vh, 480px) !important;
	background: var(--wp--preset--color--lake-deep);
	overflow: hidden;
}
.hs-seitenkopf:not(:has(.wp-block-cover__image-background)) > .wp-block-cover__background { background: var(--wp--preset--color--lake-deep) !important; }
.hs-seitenkopf:not(:has(.wp-block-cover__image-background))::after {
	content: "";
	position: absolute;
	right: -4%;
	top: 50%;
	width: min(70vw, 900px);
	aspect-ratio: 603 / 355;
	transform: translateY(-50%);
	background: url("assets/img/logo-weiss.png") center / contain no-repeat;
	opacity: .07;
	pointer-events: none;
}

/* ---------------------------------------------------------------
   21. Welten-Kacheln [hs_welten]
   --------------------------------------------------------------- */

.hs-welten {
	display: grid;
	grid-template-columns: repeat(var(--hs-spalten, 4), 1fr);
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50) !important;
}
@media (max-width: 900px) { .hs-welten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hs-welten { grid-template-columns: 1fr; } }

.hs-kachel {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--wp--preset--color--lake-deep);
	isolation: isolate;
}
@media (max-width: 560px) { .hs-kachel { aspect-ratio: 16 / 10; } }
.hs-kachel-bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
	z-index: -2;
}
.hs-kachel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(14,43,53,.92) 0%, rgba(14,43,53,.2) 55%, rgba(14,43,53,0) 100%);
	z-index: -1;
}
.hs-kachel:hover .hs-kachel-bild { transform: scale(1.06); }
.hs-kachel-text {
	position: absolute;
	left: var(--wp--preset--spacing--30);
	right: var(--wp--preset--spacing--30);
	bottom: var(--wp--preset--spacing--30);
	display: grid;
	gap: .3em;
}
.hs-kachel-text strong {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(2rem, 3.2vw, 2.8rem);
	line-height: .95;
}
.hs-kachel-text strong::after { content: " →"; font-weight: 600; opacity: 0; transition: opacity .2s; }
.hs-kachel:hover .hs-kachel-text strong::after,
.hs-kachel:focus-visible .hs-kachel-text strong::after { opacity: 1; }
.hs-kachel-text small { font-size: var(--wp--preset--font-size--small); opacity: .9; }

/* ---------------------------------------------------------------
   22. Abschlussband "Besuch uns"
   --------------------------------------------------------------- */

.hs-besuch .hs-offen { margin-top: .5em; }
.hs-besuch .wp-block-button__link { text-align: center; }

/* Teaser-Links in Fliesstext-Sektionen */
.hs-weiter a { font-family: var(--wp--preset--font-family--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.hs-weiter a::after { content: " →"; }

/* Kennzeile im Titelbild: auf hellen Fotos weiss statt orange */
.hs-seitenkopf .is-style-hs-eyebrow,
.hs-hero .is-style-hs-eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.wp-block-heading + .hs-galerie.wp-block-gallery { margin-top: var(--wp--preset--spacing--50) !important; }

/* Mobiles Menue: links ausgerichtet, gross, mit Trennlinien */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	padding-top: 1rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-align: flex-start;
	text-align: left;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	border-bottom: 1px solid rgba(255,255,255,.12);
	font-size: 1.45rem;
	align-items: flex-start !important;
	letter-spacing: .04em;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	padding: .55em 0 !important;
}

/* ---------------------------------------------------------------
   23. Markenlogos (Listenstil "hs-logos")
   Die Logos liegen als weisse Einfarb-PNGs vor (setup/logos-aufbereiten.php);
   auf hellem Grund faerbt sie der Filter dunkel.
   --------------------------------------------------------------- */

ul.is-style-hs-logos {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.1rem 2rem;
}
ul.is-style-hs-logos li { margin: 0; line-height: 0; }
ul.is-style-hs-logos img.hs-logo {
	height: auto;
	max-width: 100%;
	filter: brightness(0);
	opacity: .72;
	transition: opacity .2s;
}
ul.is-style-hs-logos a:hover img.hs-logo,
ul.is-style-hs-logos li:hover img.hs-logo { opacity: 1; }
.has-lake-deep-background-color ul.is-style-hs-logos img.hs-logo,
.has-lake-background-color ul.is-style-hs-logos img.hs-logo,
.wp-block-cover ul.is-style-hs-logos img.hs-logo { filter: none; opacity: .85; }

.wp-block-heading + ul.is-style-hs-logos { margin-top: 1.25rem !important; }
