/*
Theme Name: Zur Ludwigshöhe
Theme URI: https://zur-ludwigshoehe.de
Description: Verspieltes Retro-Block-Theme für Café, Konditorei & Pension „Zur Ludwigshöhe“ in Lindenfels – mit Wappen, Markise, Kreidetafel für die Öffnungstage, Kuchentheke, Zimmern und Musikbox-Hitparade. Schriften lokal eingebunden (DSGVO).
Version: 1.4.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ludwigshoehe
*/

:root {
	/* Grundtöne: zartes Grün, Ziegelrot und Honig aus dem Wappen */
	--lh-creme: #FBF8EE;
	--lh-papier: #FFFDF6;
	--lh-kirsche: #B5524A;
	--lh-kirsche-dunkel: #8E3E37;
	--lh-minze: #DCE8CF;
	--lh-minze-hell: #EEF4E5;
	--lh-tanne: #5E8455;
	--lh-wald: #2F3A2A;
	--lh-senf: #E3BE5C;
	--lh-rosa: #F6D9D6;
	--lh-musikbox: #CFDFC0;
	--lh-blau: #8DB3C2;
	--lh-kakao: #2F2A1F;
	--lh-kakao-hell: #5D5646;
	/* dezente Pop-Akzente */
	--lh-pop: #FF8270;
	--lh-pop-gelb: #FFD64A;
	--lh-display: "Shrikhand", "Cooper Black", Georgia, serif;
	--lh-schreib: "Pacifico", "Brush Script MT", cursive;
	--lh-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lh-schatten: 6px 6px 0 var(--lh-kakao);
	--lh-rand: 3px solid var(--lh-kakao);
}

body {
	background-color: var(--lh-creme);
	color: var(--lh-kakao);
	font-family: var(--lh-text);
	-webkit-font-smoothing: antialiased;
}

/* Feines Papierkorn, damit die Fläche nicht steril wirkt */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	opacity: .5;
	background-image: radial-gradient(rgba(58, 34, 24, .06) 1px, transparent 1px);
	background-size: 6px 6px;
}
/* Kein overflow/z-index auf html, body oder der ganzen Seite: Das stört auf dem iPhone feste
   Elemente (z. B. Cookie-Banner) und Animationen. Überstehendes wird je Abschnitt abgeschnitten. */
.lh-start { overflow-x: clip; }
.wp-site-blocks, .lh-seite { isolation: isolate; }

a { color: var(--lh-kirsche); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--lh-kirsche-dunkel); }
:focus-visible { outline: 3px dashed var(--lh-kirsche); outline-offset: 3px; }

h1, h2, h3, .lh-display { font-family: var(--lh-display); font-weight: 400; line-height: 1.02; letter-spacing: .005em; margin: 0; }

.lh-schreib { font-family: var(--lh-schreib); color: var(--lh-kirsche-dunkel); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.3; margin: 0; }
.lh-oberzeile {
	display: inline-block;
	font-weight: 900;
	font-size: .8rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	background: var(--lh-kakao);
	color: var(--lh-creme);
	padding: .35em .9em .3em;
	border-radius: 999px;
	margin: 0 0 1rem;
}

.lh-innen { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.lh-schmal { width: min(760px, 100% - 2rem); margin-inline: auto; }

/* ─── Knöpfe ───────────────────────────────────────── */
.lh-knopf, .wp-element-button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--lh-text);
	font-weight: 900;
	font-size: 1rem;
	letter-spacing: .02em;
	text-decoration: none;
	color: var(--lh-creme);
	background: var(--lh-kirsche);
	border: var(--lh-rand);
	border-radius: 999px;
	padding: .8em 1.5em;
	box-shadow: 4px 4px 0 var(--lh-kakao);
	transition: transform .15s ease, box-shadow .15s ease;
}
.lh-knopf:hover, .wp-element-button:hover, .wp-block-button__link:hover {
	color: var(--lh-kakao);
	background: var(--lh-pop);
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--lh-kakao);
}
.lh-knopf--hell, .is-style-outline .wp-block-button__link { background: var(--lh-creme); color: var(--lh-kakao); }
.lh-knopf--hell:hover, .is-style-outline .wp-block-button__link:hover { background: var(--lh-pop-gelb); color: var(--lh-kakao); }
.lh-knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

/* ─── Kopfbereich mit Markise ──────────────────────── */
.lh-markise {
	height: 34px;
	background: repeating-linear-gradient(90deg, var(--lh-kirsche) 0 44px, var(--lh-creme) 44px 88px);
	position: relative;
}
.lh-markise::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -22px;
	height: 22px;
	background:
		radial-gradient(circle at 22px 0, var(--lh-kirsche) 21px, transparent 22px) 0 0 / 88px 22px repeat-x,
		radial-gradient(circle at 66px 0, var(--lh-creme) 21px, transparent 22px) 0 0 / 88px 22px repeat-x;
	filter: drop-shadow(0 3px 0 rgba(58, 34, 24, .25));
}
.lh-kopf { background: var(--lh-creme); padding: 2.2rem 0 1rem; position: relative; z-index: 20; }
.lh-kopf-reihe { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.lh-marke { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--lh-kakao); }
.lh-marke img, .lh-marke .wp-block-image img { width: auto !important; max-width: none; height: 88px; display: block; }
.lh-marke-name { font-family: var(--lh-display); font-size: 1.6rem; line-height: 1; margin: 0; }
.lh-marke-zusatz { font-family: var(--lh-schreib); color: var(--lh-kirsche); font-size: 1rem; margin: .15rem 0 0; line-height: 1.1; }
.lh-marke-name a { color: inherit; text-decoration: none; }

.lh-menue { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.lh-menue a, .lh-kopf .wp-block-navigation-item__content {
	font-weight: 800;
	text-decoration: none;
	color: var(--lh-kakao);
	padding: .45em .85em;
	border-radius: 999px;
	border: 2px solid transparent;
}
.lh-menue a:hover, .lh-kopf .wp-block-navigation-item__content:hover { border-color: var(--lh-kakao); background: var(--lh-minze-hell); }
.lh-kopf .wp-block-navigation__responsive-container.is-menu-open { background: var(--lh-creme); }
.lh-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--lh-display); font-size: 2rem; }
.lh-kopf .wp-block-navigation__responsive-container-open {
	border: var(--lh-rand); border-radius: 999px; padding: .5rem; background: var(--lh-senf); box-shadow: 3px 3px 0 var(--lh-kakao);
}
.lh-kopf-knopf .lh-knopf, .lh-kopf-knopf .wp-block-button__link { font-size: .9rem; padding: .6em 1.1em; }

/* ─── Bühne ───────────────────────────────────────── */
.lh-buehne {
	position: relative;
	background: var(--lh-minze);
	border-block: var(--lh-rand);
	padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(4rem, 3rem + 5vw, 7rem);
	overflow-x: clip;
	overflow-y: visible;
	z-index: 3;
}
.lh-buehne::before {
	content: "";
	position: absolute; inset: 0;
	background:
		url("assets/grafik/stern.svg") 6% 18% / 46px no-repeat,
		url("assets/grafik/stern.svg") 47% 8% / 28px no-repeat,
		url("assets/grafik/stern.svg") 94% 84% / 54px no-repeat,
		url("assets/grafik/stern.svg") 52% 92% / 22px no-repeat,
		repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .35) 22px 44px);
	pointer-events: none;
}
.lh-buehne-raster { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.lh-buehne-titel {
	font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.2rem);
	color: var(--lh-kirsche);
	text-shadow: 3px 3px 0 var(--lh-creme), 6px 6px 0 var(--lh-kakao);
	margin: .2rem 0 1.2rem;
}
.lh-buehne-titel mark { color: inherit; background: linear-gradient(transparent 58%, var(--lh-pop-gelb) 58% 88%, transparent 88%); padding: 0 .08em; }
.lh-buehne-text { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; max-width: 34ch; margin: 0; font-weight: 600; }

.lh-buehne-bild { position: relative; z-index: 3; justify-self: center; width: min(440px, 100%); }
.lh-postkarte {
	background: var(--lh-papier);
	border: var(--lh-rand);
	box-shadow: 10px 10px 0 var(--lh-kakao);
	padding: 14px 14px 40px;
	transform: rotate(3deg);
	margin: 0;
}
.lh-postkarte img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--lh-kakao); }
.lh-postkarte figcaption, .lh-postkarte .wp-element-caption { font-family: var(--lh-schreib); color: var(--lh-kirsche); text-align: center; font-size: 1.35rem; margin: .5rem 0 0; }
.lh-wappen-plakette {
	position: absolute;
	width: 42%;
	left: -16%;
	top: -18%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--lh-creme);
	border: var(--lh-rand);
	box-shadow: 6px 6px 0 var(--lh-pop);
	display: grid;
	place-items: center;
	transform: rotate(-8deg);
	z-index: 4;
}
.lh-wappen-plakette img { position: absolute; inset: 0; margin: auto; width: auto; height: 60%; transform: translateX(4%); z-index: 1; }
.lh-wappen-plakette svg.lh-ring { position: absolute; inset: 4%; width: 92%; height: 92%; animation: lh-dreh 30s linear infinite; }
.lh-ring text { font-family: var(--lh-text); font-weight: 900; font-size: 11.5px; letter-spacing: .2em; fill: var(--lh-kakao); }
@keyframes lh-dreh { to { transform: rotate(360deg); } }

/* ─── Laufband ────────────────────────────────────── */
.lh-laufband { position: relative; z-index: 2; background: var(--lh-kirsche); color: var(--lh-creme); border-bottom: var(--lh-rand); overflow: hidden; white-space: nowrap; padding: .9rem 0; -webkit-transform: translateZ(0); transform: translateZ(0); }
.lh-laufband-spur {
	display: flex;
	width: max-content;
	gap: 2.2rem;
	padding-left: 2.2rem;
	font-family: var(--lh-display);
	font-size: 1.5rem;
	will-change: transform;
	-webkit-animation: lh-lauf 38s linear infinite;
	animation: lh-lauf 38s linear infinite;
}
.lh-laufband-spur span::before { content: "★"; color: var(--lh-pop-gelb); margin-right: 2.2rem; }
@-webkit-keyframes lh-lauf { from { -webkit-transform: translate3d(0, 0, 0); } to { -webkit-transform: translate3d(-50%, 0, 0); } }
@keyframes lh-lauf { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ─── Abschnitte allgemein ────────────────────────── */
.lh-abschnitt { padding: clamp(3.5rem, 2.5rem + 5vw, 7rem) 0; position: relative; }
.lh-kopfzeile { text-align: center; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.lh-kopfzeile h2, .lh-h2 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); color: var(--lh-kakao); }
.lh-kopfzeile p:not(.lh-schreib):not(.lh-oberzeile) { max-width: 56ch; margin: 1rem auto 0; font-size: 1.1rem; line-height: 1.6; }

/* Willkommen */
.lh-willkommen-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.lh-willkommen p { font-size: 1.12rem; line-height: 1.7; }
.lh-plaketten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lh-plakette {
	aspect-ratio: 1;
	display: grid;
	place-content: center;
	text-align: center;
	color: var(--lh-creme);
	padding: 18%;
	position: relative;
	isolation: isolate;
	margin: 0;
	font-weight: 800;
	font-size: .85rem;
	line-height: 1.2;
	transition: transform .3s ease;
}
.lh-plakette::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--plakette, var(--lh-kirsche));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50.0,0.0 58.4,7.8 69.1,3.8 73.9,14.2 85.4,14.6 85.8,26.1 96.2,30.9 92.2,41.6 100.0,50.0 92.2,58.4 96.2,69.1 85.8,73.9 85.4,85.4 73.9,85.8 69.1,96.2 58.4,92.2 50.0,100.0 41.6,92.2 30.9,96.2 26.1,85.8 14.6,85.4 14.2,73.9 3.8,69.1 7.8,58.4 0.0,50.0 7.8,41.6 3.8,30.9 14.2,26.1 14.6,14.6 26.1,14.2 30.9,3.8 41.6,7.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50.0,0.0 58.4,7.8 69.1,3.8 73.9,14.2 85.4,14.6 85.8,26.1 96.2,30.9 92.2,41.6 100.0,50.0 92.2,58.4 96.2,69.1 85.8,73.9 85.4,85.4 73.9,85.8 69.1,96.2 58.4,92.2 50.0,100.0 41.6,92.2 30.9,96.2 26.1,85.8 14.6,85.4 14.2,73.9 3.8,69.1 7.8,58.4 0.0,50.0 7.8,41.6 3.8,30.9 14.2,26.1 14.6,14.6 26.1,14.2 30.9,3.8 41.6,7.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lh-plakette strong { display: block; font-family: var(--lh-display); font-weight: 400; font-size: clamp(1.3rem, .9rem + 1.3vw, 2.1rem); line-height: 1; margin-bottom: .2rem; white-space: nowrap; }
.lh-plakette:nth-child(2) { --plakette: var(--lh-pop); color: var(--lh-kakao); transform: rotate(-6deg) translateY(18px); }
.lh-plakette:nth-child(3) { --plakette: var(--lh-senf); transform: rotate(5deg); color: var(--lh-kakao); }
.lh-plakette:hover { transform: rotate(0) scale(1.06); }

/* Kuchentheke */
.lh-theke { background: var(--lh-wald); color: var(--lh-creme); border-block: var(--lh-rand); }
.lh-theke::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 18px;
	background: conic-gradient(var(--lh-creme) 25%, var(--lh-wald) 0 50%, var(--lh-creme) 0 75%, var(--lh-wald) 0) 0 0 / 18px 18px;
}
.lh-theke .lh-kopfzeile h2 { color: var(--lh-creme); }
.lh-theke .lh-schreib { color: var(--lh-senf); }
.lh-theke .lh-knopf--hell, .lh-theke .is-style-outline .wp-block-button__link { box-shadow: 4px 4px 0 var(--lh-senf); }
.lh-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.lh-karte {
	background: var(--lh-papier);
	color: var(--lh-kakao);
	border: var(--lh-rand);
	border-radius: 18px;
	padding: 1.6rem 1.5rem 1.4rem;
	box-shadow: 6px 6px 0 var(--lh-senf);
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
	margin: 0;
}
.lh-karte:hover { transform: translateY(-2px); box-shadow: 8px 8px 0 var(--lh-pop); }
.lh-karte:hover .lh-karte-foto img { transform: scale(1.03); }
.lh-karte h3 { font-size: 1.65rem; margin: .35rem 0 .45rem; }
.lh-karte p { margin: 0; line-height: 1.55; }
.lh-karte-symbol {
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--lh-minze); border: var(--lh-rand);
	display: grid; place-items: center; font-size: 1.7rem; margin: 0;
}
.lh-karte-schild {
	position: absolute; top: -14px; right: 18px;
	background: var(--lh-pop); color: var(--lh-kakao);
	font-weight: 900; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
	padding: .35em .8em; border: 2px solid var(--lh-kakao); border-radius: 6px;
	transform: rotate(4deg); margin: 0;
}
.lh-theke-fuss { text-align: center; justify-content: center; margin-top: 2.8rem; }

/* Jukebox-Hitparade */
.lh-jukebox {
	--band: 3.4rem;
	/* Streifenband als Kappe im Hintergrund: folgt der Wölbung, reicht bis zum Rand, kein Spalt oben */
	background:
		linear-gradient(var(--lh-kakao), var(--lh-kakao)) 0 var(--band) / 100% 4px no-repeat,
		repeating-linear-gradient(90deg, var(--lh-pop-gelb) 0 12px, var(--lh-pop) 12px 24px, var(--lh-blau) 24px 36px) 0 0 / 100% var(--band) no-repeat,
		var(--lh-musikbox);
	border: 6px solid var(--lh-kakao);
	border-radius: 220px 220px 28px 28px;
	padding: calc(var(--band) + clamp(1.4rem, 1rem + 1.5vw, 2.2rem)) clamp(1.2rem, .5rem + 3vw, 3rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
	box-shadow: 12px 12px 0 var(--lh-kakao);
	position: relative;
	max-width: 900px;
	margin-inline: auto;
}
/* Musikbox: Titel sind Tasten */
.lh-titelliste li { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .2s; box-shadow: 0 4px 0 var(--lh-kakao); }
.lh-titelliste li:hover { background: #fff; }
.lh-titelliste li:active, .lh-titelliste li.ist-gedrueckt { transform: translateY(4px); box-shadow: 0 0 0 var(--lh-kakao); }
.lh-titelliste a, .lh-titelliste a:hover { color: inherit; text-decoration: none; }
.lh-titelliste a::after { content: ""; position: absolute; inset: 0; }
.lh-titelliste a:focus-visible { outline: none; }
.lh-titelliste li:has(a:focus-visible) { outline: 3px dashed var(--lh-kirsche); outline-offset: 3px; }
.lh-titelliste li.spielt { background: var(--lh-pop-gelb); }
.lh-titelliste li.spielt::before { background: var(--lh-pop); color: var(--lh-kakao); }
.lh-anzeige { display: flex; align-items: center; gap: .9rem; margin: 1.6rem auto 0; max-width: 560px; min-height: 3.2rem; background: var(--lh-wald); color: var(--lh-pop-gelb); border: var(--lh-rand); border-radius: 12px; padding: .8rem 1.2rem; font-weight: 800; letter-spacing: .04em; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08); }
.lh-anzeige-text { flex: 1; }
.lh-balken { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.lh-balken i { width: 5px; height: 6px; background: var(--lh-pop-gelb); border-radius: 1px; }
.lh-anzeige.laeuft .lh-balken i { animation: lh-tanz .9s ease-in-out infinite; }
.lh-anzeige.laeuft .lh-balken i:nth-child(2) { animation-delay: .15s; }
.lh-anzeige.laeuft .lh-balken i:nth-child(3) { animation-delay: .3s; }
.lh-anzeige.laeuft .lh-balken i:nth-child(4) { animation-delay: .45s; }
@keyframes lh-tanz { 0%, 100% { height: 5px; } 50% { height: 24px; } }
.lh-anzeige + .lh-jukebox-gitter { margin-top: 1.2rem; }
.lh-titelliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; counter-reset: lied; }
.lh-titelliste li {
	counter-increment: lied;
	background: var(--lh-papier);
	border: var(--lh-rand);
	border-radius: 10px;
	padding: .85rem 1rem .85rem 4rem;
	position: relative;
	line-height: 1.35;
}
.lh-titelliste li::before {
	content: "A" counter(lied);
	position: absolute; left: .6rem; top: 50%; transform: translateY(-50%);
	width: 2.6rem; height: 2.6rem; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lh-kirsche); color: var(--lh-creme);
	font-family: var(--lh-display); font-size: 1rem;
	border: 2px solid var(--lh-kakao);
}
.lh-titelliste li:nth-child(n+5)::before { content: "B" counter(lied); background: var(--lh-blau); color: var(--lh-kakao); }
.lh-titelliste strong { display: block; font-size: 1.08rem; }
.lh-titelliste em { font-style: normal; color: var(--lh-kakao-hell); font-size: .92rem; }
.lh-jukebox-gitter {
	margin: 1.6rem auto 0; height: 46px; width: 70%;
	border: 3px solid var(--lh-kakao); border-radius: 999px;
	background: repeating-linear-gradient(90deg, var(--lh-kakao) 0 3px, var(--lh-senf) 3px 14px);
}

/* Öffnungszeiten als Eintrittskarte */
.lh-zeiten { background: var(--lh-minze-hell); border-block: var(--lh-rand); }
.lh-ticket-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.lh-ticket {
	--loch: 18px;
	background: var(--lh-senf);
	border: var(--lh-rand);
	border-radius: 14px;
	display: grid;
	grid-template-columns: 1fr auto;
	box-shadow: 8px 8px 0 var(--lh-kakao);
	position: relative;
	transform: rotate(-1.5deg);
}
.lh-ticket-haupt { padding: 1.8rem clamp(1.2rem, .8rem + 2vw, 2.2rem); }
.lh-ticket-haupt h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 1rem; }
.lh-tage { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.lh-tage td { padding: .55rem 0; border-bottom: 2px dashed rgba(58, 34, 24, .35); font-weight: 700; }
.lh-tage td:last-child { text-align: right; font-weight: 900; }
.lh-tage tr:not(:first-child) td:last-child { color: var(--lh-kakao); }
.lh-ticket-abriss {
	border-right: 3px dashed var(--lh-kakao);
	padding: 1.2rem 1rem;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--lh-display);
	font-size: 1.35rem;
	text-align: center;
	color: var(--lh-kakao);
	margin: 0;
	display: flex; align-items: center; justify-content: center;
}
.lh-bestellen h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: .2rem 0 1rem; }
.lh-bestellen p { font-size: 1.1rem; line-height: 1.65; }
.lh-telefon { font-family: var(--lh-display); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); color: var(--lh-kirsche); text-decoration: none; display: inline-block; margin-top: .3rem; }
.lh-telefon:hover { color: var(--lh-kirsche-dunkel); }
.lh-telefon--klein { font-size: 1.4rem; }


/* Kreidetafel mit dem neuesten Beitrag */
.lh-tafel {
	background: #2F4A36;
	background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .08), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .05), transparent 55%);
	color: #F4F1E6;
	border: 12px solid #8A5A35;
	border-radius: 6px;
	outline: 3px solid var(--lh-kakao);
	box-shadow: 8px 8px 0 3px var(--lh-kakao);
	padding: 1.6rem 1.6rem 1.3rem;
	position: relative;
}
.lh-tafel::after {
	content: "";
	position: absolute; left: 12%; right: 12%; bottom: -12px; height: 8px;
	background: #6E4528; border-radius: 0 0 4px 4px;
}
.lh-tafel-kopf { font-family: var(--lh-schreib); font-size: 1.5rem; color: var(--lh-pop-gelb); margin: 0 0 .3rem; }
.lh-tafel .wp-block-post-date, .lh-tafel-datum { font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin: 0; }
.lh-tafel h3, .lh-tafel .wp-block-post-title { font-family: var(--lh-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: .3rem 0 .7rem; color: #FFFDF5; }
.lh-tafel h3 a, .lh-tafel .wp-block-post-title a { color: inherit; text-decoration: none; }
.lh-tafel-text { font-family: var(--lh-schreib); font-size: 1.15rem; line-height: 1.75; }
.lh-tafel-text p { margin: 0 0 .25rem; }
.lh-tafel-text figure, .lh-tafel-text .wp-block-gallery, .lh-tafel-text img { display: none; }
.lh-tafel-text > :last-child strong, .lh-tafel-text > :last-child { color: var(--lh-rosa); }
.lh-tafel-link { margin: .9rem 0 0; text-align: right; font-weight: 800; }
.lh-tafel-link a { color: var(--lh-pop-gelb); }
.lh-tafel .wp-block-query { margin: 0; }
.lh-tafel .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.lh-ticket-hinweis { margin: 1rem 0 0; font-size: .95rem; font-weight: 700; line-height: 1.45; }
.lh-gruss { font-family: var(--lh-schreib); color: var(--lh-kirsche); font-size: 1.45rem; margin-top: .4rem; }

/* Foto-Karten in der Theke */
.lh-karte-foto { margin: -.3rem -.3rem .2rem; }
.lh-karte-foto { overflow: hidden; border: 3px solid var(--lh-kakao); border-radius: 10px; background: var(--lh-minze-hell); }
.lh-karte-foto img { transition: transform .35s ease; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: 0; }
.lh-karte h3 { margin-top: .6rem; }
.lh-theke-fuss { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Zimmer */
.lh-zimmer { background: var(--lh-rosa); border-block: var(--lh-rand); overflow: hidden; }
.lh-zimmer::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .6) 34px 38px);
}
.lh-zimmer-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.lh-zimmer-raster p { font-size: 1.1rem; line-height: 1.65; }
.lh-zimmer-fotos { position: relative; min-height: 420px; }
.lh-polaroid { background: var(--lh-papier); border: var(--lh-rand); box-shadow: var(--lh-schatten); padding: 12px 12px 40px; margin: 0; width: 68%; }
.lh-polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--lh-kakao); }
.lh-zimmer-fotos .lh-polaroid:first-child { transform: rotate(-5deg); }
.lh-zimmer-fotos .lh-polaroid:last-child { position: absolute; right: 0; bottom: 0; transform: rotate(6deg); }
.lh-schluessel { list-style: none; padding: 0; margin: 1.4rem 0 .6rem; display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; }
.lh-schluessel li {
	position: relative;
	background: var(--lh-kirsche); color: var(--lh-creme);
	border: var(--lh-rand); border-radius: 40px 40px 14px 14px;
	padding: 1.9rem 1rem .8rem; min-width: 112px; text-align: center;
	font-weight: 800; font-size: .85rem; line-height: 1.25;
	box-shadow: 4px 4px 0 var(--lh-kakao);
}
.lh-schluessel li:nth-child(2) { background: var(--lh-tanne); transform: rotate(3deg); }
.lh-schluessel li:nth-child(3) { background: var(--lh-pop-gelb); color: var(--lh-kakao); transform: rotate(-3deg); }
.lh-schluessel li::before {
	content: ""; position: absolute; top: .55rem; left: 50%; transform: translateX(-50%);
	width: 14px; height: 14px; border-radius: 50%; background: var(--lh-rosa); border: 3px solid var(--lh-kakao);
}
.lh-schluessel strong { display: block; font-family: var(--lh-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.lh-klein { font-size: .98rem !important; font-weight: 700; }

/* Unterseiten: Galerien als Polaroids, doppelte Titel ausblenden */
.lh-inhalt .wp-block-post-content > h1:first-child,
.lh-inhalt .wp-block-post-content > .wp-block-post-title:first-child { display: none; }
.lh-inhalt .wp-block-gallery.has-nested-images { gap: 1.2rem; }
.lh-inhalt .wp-block-gallery.has-nested-images figure.wp-block-image {
	background: var(--lh-papier); border: var(--lh-rand); padding: 8px 8px 26px; box-shadow: 5px 5px 0 var(--lh-kakao);
}
.lh-inhalt .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(3n+1) { transform: rotate(-1.5deg); }
.lh-inhalt .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(3n+2) { transform: rotate(1.2deg); }
.lh-inhalt .wp-block-gallery.has-nested-images figure.wp-block-image img { border: 2px solid var(--lh-kakao); box-shadow: none; }
.lh-inhalt .wp-block-latest-posts { padding: 0; }
.lh-inhalt .wp-block-latest-posts li { background: var(--lh-papier); border: var(--lh-rand); border-radius: 18px; box-shadow: 6px 6px 0 var(--lh-senf); padding: 1.5rem; margin-bottom: 2rem; }
.lh-inhalt .wp-block-latest-posts__post-title { font-family: var(--lh-display); font-size: 1.8rem; color: var(--lh-kakao); text-decoration: none; }
.lh-inhalt input, .lh-inhalt textarea, .lh-inhalt select { border: var(--lh-rand) !important; border-radius: 10px !important; background: var(--lh-papier) !important; font-family: var(--lh-text) !important; }
.lh-inhalt button[type="submit"], .lh-inhalt input[type="submit"] { background: var(--lh-kirsche) !important; color: var(--lh-creme) !important; border: var(--lh-rand) !important; border-radius: 999px !important; box-shadow: 4px 4px 0 var(--lh-kakao) !important; font-weight: 900 !important; }

/* Kopfzeile: darf umbrechen, damit nichts übereinander liegt.
   - ab 1101 px: Name, Menü und „Torte bestellen“ in einer Zeile
   - 601 bis 1100 px: Name und „Torte bestellen“ oben, das Menü darunter
   - bis 600 px (Burger-Menü): Name und Menü-Knopf oben, „Torte bestellen“ darunter */
.lh-kopf .lh-kopf-reihe { flex-wrap: wrap; row-gap: .8rem; }
.lh-kopf .lh-marke { min-width: 0; }
@media (min-width: 601px) and (max-width: 1100px) {
	.lh-kopf .lh-marke { order: 1; flex: 1 1 0; }
	.lh-kopf .lh-kopf-knopf { order: 2; flex: 0 0 auto; margin: 0; }
	.lh-kopf .lh-navigation { order: 3; flex: 0 0 100%; justify-content: center; }
}
@media (max-width: 600px) {
	.lh-kopf { padding-bottom: .9rem; }
	.lh-kopf .lh-kopf-reihe { column-gap: .6rem; }
	.lh-kopf .lh-marke { order: 1; flex: 1 1 0; }
	.lh-kopf .lh-navigation { order: 2; flex: 0 0 auto; }
	.lh-kopf .lh-kopf-knopf { order: 3; flex: 0 0 100%; justify-content: center; margin: 0; }
	.lh-kopf .lh-kopf-knopf .wp-block-button__link { font-size: .95rem; padding: .55em 1.4em; }
}
@media (max-width: 400px) {
	.lh-kopf .lh-marke { gap: .5rem; }
	.lh-kopf .lh-marke .wp-block-image img { height: 60px; }
	.lh-kopf .lh-marke-name, .lh-kopf .lh-marke .wp-block-site-title { font-size: 1.02rem; white-space: normal; line-height: 1.05; }
	.lh-kopf .lh-marke-zusatz { font-size: .76rem; }
}
@media (max-width: 340px) {
	.lh-kopf .lh-marke .wp-block-image img { height: 50px; }
	.lh-kopf .lh-marke-name, .lh-kopf .lh-marke .wp-block-site-title { font-size: .9rem; }
	.lh-kopf .lh-marke-zusatz { display: none; }
}

/* Aktuelles: drei Beiträge pro Seite */
.lh-news { display: grid; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.lh-news > li { margin: 0; }
.lh-news-beitrag { background: var(--lh-papier); border: var(--lh-rand); border-radius: 18px; box-shadow: 6px 6px 0 var(--lh-senf); padding: 1.6rem 1.6rem 1.2rem; position: relative; }
.lh-news > li:nth-child(even) .lh-news-beitrag { box-shadow: 6px 6px 0 var(--lh-pop); }
.lh-news-beitrag .wp-block-post-date { display: inline-block; background: var(--lh-minze); border: 2px solid var(--lh-kakao); border-radius: 999px; padding: .15em .8em; font-weight: 800; font-size: .85rem; margin: 0; }
.lh-news-beitrag .wp-block-post-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: .6rem 0 .8rem; }
.lh-news-beitrag .wp-block-post-title a { color: inherit; text-decoration: none; }
.lh-news-beitrag .wp-block-post-content > * { margin-block: 0 .8rem; }
.lh-news-beitrag .wp-block-post-content img { max-height: 420px; width: auto; max-width: 100%; border: 3px solid var(--lh-kakao); border-radius: 8px; }
.lh-news-beitrag .wp-block-gallery { display: flex; flex-wrap: wrap; gap: .8rem; }
.lh-news-beitrag .wp-block-gallery img { max-height: 260px; }
.lh-blaettern { margin-top: 2.6rem; gap: 1rem; font-weight: 800; }
.lh-blaettern a, .lh-blaettern .page-numbers { text-decoration: none; color: var(--lh-kakao); border: var(--lh-rand); border-radius: 999px; padding: .45em 1em; background: var(--lh-papier); box-shadow: 3px 3px 0 var(--lh-kakao); }
.lh-blaettern .page-numbers.current { background: var(--lh-kirsche); color: var(--lh-creme); }
.lh-blaettern a:hover { background: var(--lh-pop-gelb); }

/* Anfahrt */
.lh-anfahrt-raster { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.lh-adresskarte {
	background: var(--lh-papier);
	border: var(--lh-rand);
	box-shadow: var(--lh-schatten);
	padding: 2rem;
	position: relative;
}
.lh-adresskarte::after {
	content: "";
	position: absolute; top: 16px; right: 16px; width: 78px; height: 92px;
	background: var(--lh-creme) url("assets/grafik/wappen-arras.png") center / auto 78% no-repeat;
	border: 3px dotted var(--lh-kirsche);
	transform: rotate(6deg);
}
.lh-adresskarte h3 { font-size: 1.9rem; margin-bottom: .8rem; padding-right: 90px; }
.lh-adresskarte p { font-size: 1.1rem; line-height: 36px; margin: 0; background: repeating-linear-gradient(transparent 0 34px, rgba(58, 34, 24, .15) 34px 36px); }
.lh-weg { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.lh-weg li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.lh-weg li::before { content: ""; flex: 0 0 30px; height: 30px; background: url("assets/grafik/stern.svg") center / contain no-repeat; }

/* Fußbereich */
.lh-fuss { background: var(--lh-wald); color: var(--lh-creme); padding: 0 0 2rem; position: relative; }
.lh-fuss::before {
	content: ""; display: block; height: 28px; margin-bottom: 3rem;
	background: conic-gradient(var(--lh-kirsche) 25%, var(--lh-creme) 0 50%, var(--lh-kirsche) 0 75%, var(--lh-creme) 0) 0 0 / 28px 28px;
	border-bottom: var(--lh-rand);
}
.lh-fuss a { color: var(--lh-senf); }
.lh-fuss-raster { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.lh-fuss img { width: auto; height: 150px; display: block; }
.lh-fuss h3 { font-size: 1.35rem; color: var(--lh-senf); margin-bottom: .6rem; }
.lh-fuss p { margin: 0; line-height: 1.7; }
.lh-fuss-unten { border-top: 2px dashed rgba(255, 244, 222, .3); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .92rem; }

/* Unterseiten */
.lh-seitenkopf { background: var(--lh-minze); border-bottom: var(--lh-rand); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0; text-align: center; }
.lh-seitenkopf h1 { font-size: clamp(2.6rem, 1.8rem + 3.5vw, 4.6rem); color: var(--lh-kirsche); text-shadow: 3px 3px 0 var(--lh-creme), 5px 5px 0 var(--lh-kakao); }
.lh-inhalt { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0; font-size: 1.1rem; line-height: 1.7; }
.lh-inhalt h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); margin: 2.2rem 0 .8rem; }
.lh-inhalt h3 { font-size: 1.5rem; margin: 1.8rem 0 .6rem; }
.lh-inhalt img { border: var(--lh-rand); box-shadow: var(--lh-schatten); }


/* ─── Anpassungen für WordPress-Blöcke ─────────────── */
.wp-site-blocks > * + * { margin-block-start: 0; }
.lh-start > *, .lh-kopf-reihe > *, .lh-buehne-raster > *, .lh-willkommen-raster > *, .lh-karten > *, .lh-plaketten > *,
.lh-ticket-raster > *, .lh-ticket > *, .lh-zimmer-raster > *, .lh-zimmer-fotos > *, .lh-anfahrt-raster > *, .lh-fuss-raster > *, .lh-fuss-unten > *, .lh-buehne-bild > * { margin-block: 0; }
.lh-kopfzeile > * + *, .lh-karte > * + * { margin-block-start: .4rem; }
.lh-kopfzeile .lh-schreib + h2 { margin-top: .2rem; }
.lh-marke { gap: .8rem; }
.lh-marke .wp-block-image { margin: 0; flex: 0 0 auto; }
.lh-marke .wp-block-site-title { font-family: var(--lh-display); font-size: 1.6rem; line-height: 1; }
.lh-marke-zusatz { margin: .2rem 0 0; }
.lh-buehne-raster .wp-block-buttons { margin-top: 1.75rem; }
.lh-postkarte.wp-block-image img { height: auto; }
.lh-tage.wp-block-table { margin: 0; }
.lh-tage.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.lh-tage.wp-block-table td { border: 0; border-bottom: 2px dashed rgba(58, 34, 24, .35); padding: .55rem 0; font-weight: 700; }
.lh-tage.wp-block-table td:last-child { text-align: right; font-weight: 900; }
.lh-tage.wp-block-table tr:not(:first-child) td:last-child { color: var(--lh-kakao); }
.lh-titelliste.wp-block-list { padding: 0; }
.lh-titelliste strong, .lh-titelliste em { display: block; }
.lh-weg.wp-block-list { padding: 0; }
.lh-fuss .wp-block-image { margin: 0; }
.lh-fuss-unten p { margin: 0; }
.lh-karte .wp-block-post-title a { color: inherit; text-decoration: none; }
.lh-karte .wp-block-post-title { font-size: 1.65rem; }
body.archive .lh-nur-blog, body.search .lh-nur-blog { display: none; }
.wp-block-query .lh-karte { margin-bottom: 2rem; }
.lh-404 .lh-seitenkopf .lh-schreib { margin-bottom: .5rem; }

/* ─── Klein ───────────────────────────────────────── */
@media (max-width: 900px) {
	.lh-buehne-raster, .lh-willkommen-raster, .lh-ticket-raster, .lh-anfahrt-raster, .lh-zimmer-raster { grid-template-columns: minmax(0, 1fr); }
	.lh-zimmer-fotos { min-height: 0; height: min(92vw, 420px); }
	.lh-buehne-bild { width: min(400px, 86%); margin-top: 1.5rem; }
	.lh-wappen-plakette { left: auto; right: -6%; top: -14%; width: 38%; }
	.lh-karten { grid-template-columns: 1fr 1fr; }
	.lh-fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.lh-markise { height: 22px; }
	.lh-kopf { padding-top: 1.6rem; }
	.lh-marke img, .lh-marke .wp-block-image img { width: auto !important; height: 66px; }
	.lh-marke-name, .lh-marke .wp-block-site-title { font-size: 1.15rem; white-space: nowrap; }
	.lh-marke-zusatz { font-size: .85rem; }
	.lh-titelliste { grid-template-columns: 1fr; }
	.lh-karten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem .8rem; }
	.lh-karte, .lh-karte:nth-child(odd), .lh-karte:nth-child(even) { padding: .7rem .7rem .9rem; border-radius: 12px; transform: none; box-shadow: 4px 4px 0 var(--lh-senf); }
	.lh-karte h3 { font-size: 1.02rem; margin-top: .4rem; hyphens: auto; overflow-wrap: anywhere; }
	.lh-karte p { font-size: .85rem; line-height: 1.4; }
	.lh-karte-foto { margin: 0; }
	.lh-karte .lh-karte-schild { font-size: .6rem; right: 8px; top: -11px; }
	.lh-plaketten { gap: .4rem; }
	.lh-plakette { font-size: .7rem; padding: 12%; }
	.lh-plakette strong { font-size: 1.15rem; }
	.lh-jukebox { --band: 2.6rem; border-radius: 140px 140px 22px 22px; }
	.lh-ticket { grid-template-columns: 1fr; }
	.lh-ticket-abriss { writing-mode: horizontal-tb; transform: none; border-right: 0; border-top: 3px dashed var(--lh-kakao); }
	.lh-fuss-raster { grid-template-columns: 1fr; }
	.lh-adresskarte { padding: 1.5rem 1.2rem; }
	.lh-adresskarte::after { width: 56px; height: 66px; }
	.lh-fuss img { height: 120px; }
	.lh-adresskarte h3 { padding-right: 64px; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.lh-balken i { height: 14px; }
	.lh-laufband { white-space: normal; text-align: center; }
	.lh-laufband-spur { flex-wrap: wrap; justify-content: center; padding: 0 1rem; width: auto; }
	.lh-laufband-spur span[aria-hidden] { display: none; }
}
@media (prefers-contrast: more) {
	body::before, .lh-buehne::before, .lh-zimmer::before { display: none; }
}

/* Gelb markierte Stellen in Texten, die noch ergänzt werden müssen */
.lh-hinweis-bearbeiten mark { background: var(--lh-pop-gelb); padding: .1em .3em; }

/* Plaketten auf sehr schmalen Handys */
@media (max-width: 380px) {
	.lh-plaketten .lh-plakette { font-size: .6rem; padding: 10%; }
	.lh-plaketten .lh-plakette strong { font-size: .95rem; }
}

/* Bühne blendet beim Laden einmal sanft ein (nicht bei „Bewegung reduzieren“) */
@media (prefers-reduced-motion: no-preference) {
	.lh-buehne-raster > * { animation: lh-ein .7s ease-out both; }
	.lh-buehne-raster > *:nth-child(2) { animation-delay: .12s; }
}
@keyframes lh-ein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
