/*
Theme Name: Berninger
Theme URI: https://weingut-berninger.de/
Description: Kind-Theme von Twenty Twenty-Five für Weingut Restaurant Berninger. Farben, Schriften und Abstände in theme.json, hier nur, was theme.json nicht abbildet.
Author: Masterchief
Template: twentytwentyfive
Version: 2.0.0
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berninger
*/

/* ---------- Grundlagen ---------- */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
a:hover { text-decoration-color: var(--wp--preset--color--gold); }
:where(a, button, summary):focus-visible { outline: 2px solid var(--wp--preset--color--ocker); outline-offset: 3px; }
/* Fokusrahmen auf dunklem Grund (Kopf, Fuß, dunkle Abschnitte): Gold, Kontrast zu Erde ca. 8:1 */
:is(.kopf, .fuss, .has-erde-background-color, .has-schwarz-background-color) :where(a, button, summary):focus-visible { outline: 3px solid var(--wp--preset--color--gold); outline-offset: 3px; }
.kopf .wp-block-navigation__responsive-container.is-menu-open :where(a, button):focus-visible { outline-color: var(--wp--preset--color--ocker); }
img { height: auto; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
h1, h2, h3 { text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { letter-spacing: -0.015em; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 6rem; }
:root { --kopf-hoehe: 4.5rem; }
@media (min-width: 960px) { :root { --kopf-hoehe: 5.5rem; } }

/* Dachzeile über Überschriften: klein, Versalien, gesperrt, feiner Goldstrich */
.vorzeile {
	font-size: .875rem; font-weight: 600; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase;
	color: var(--wp--preset--color--ocker); margin-bottom: 1.1rem !important; display: flex; width: fit-content; align-items: center; gap: .9rem;
}
.vorzeile::before { content: ""; width: 2rem; height: 1px; background: var(--wp--preset--color--gold); flex: none; }
.vorzeile + :is(h1, h2) { margin-top: 0 !important; }
:is(h1, h2) + p { margin-top: 1.5rem; }
.einleitung { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--wp--preset--color--text-2); max-width: 36rem; }
.klein { font-size: .9375rem; color: var(--wp--preset--color--text-2); }
.aussage {
	font-family: var(--wp--preset--font-family--cormorant); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);
	line-height: 1.25; color: var(--wp--preset--color--erde); max-width: 46rem; margin-inline: auto !important; text-align: center;
}
.mittig { text-align: center; }
.mittig .vorzeile { justify-content: center; margin-inline: auto !important; }
.weiter { margin-top: 1.75rem !important; }
.weiter a {
	font-size: .875rem; display: inline-block; padding-top: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	color: var(--wp--preset--color--erde); border-bottom: 1px solid var(--wp--preset--color--gold); padding-bottom: .3rem;
}
.weiter a::after { content: " →"; }
.weiter a:hover { color: var(--wp--preset--color--ocker); }
.adresse { font-size: 1.125rem; line-height: 1.6; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-top: 5rem; padding-bottom: 5rem; }
.abschnitt--eng { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 960px) {
	.abschnitt { padding-top: 8rem; padding-bottom: 8rem; }
	.abschnitt--eng { padding-top: 4rem; padding-bottom: 4rem; }
}
.abschnitt + .abschnitt:not(.has-background) { border-top: 1px solid var(--wp--preset--color--linie); }
.seitenkopf { padding-top: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--wp--preset--color--linie); }
@media (min-width: 960px) { .seitenkopf { padding-top: 7rem; padding-bottom: 6rem; } }

/* Dunkle Flächen: Text hell, Links gold */
.has-erde-background-color, .has-schwarz-background-color { color: var(--wp--preset--color--hell); }
:is(.has-erde-background-color, .has-schwarz-background-color) :where(h1, h2, h3, h4) { color: #fff; }
:is(.has-erde-background-color, .has-schwarz-background-color) .vorzeile { color: var(--wp--preset--color--gold); }
:is(.has-erde-background-color, .has-schwarz-background-color) a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--gold); }
:is(.has-erde-background-color, .has-schwarz-background-color) .klein { color: var(--wp--preset--color--neben-hell); }

/* ---------- Knöpfe: flach, feine Linie, kaum Rundung ---------- */
.wp-element-button, .wp-block-button__link { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.wp-block-buttons { margin-top: 2.25rem !important; gap: .75rem; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--erde); border: 1px solid currentColor; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--erde); color: var(--wp--preset--color--creme); border-color: var(--wp--preset--color--erde); }
.wp-block-button.is-style-hell .wp-block-button__link { background: #fff; color: var(--wp--preset--color--erde); border-color: #fff; }
.wp-block-button.is-style-hell .wp-block-button__link:hover { background: var(--wp--preset--color--hell); }
.wp-block-button.is-style-rand-hell .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .85); }
.wp-block-button.is-style-rand-hell .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.wp-block-button.is-style-achterla .wp-block-button__link { background: var(--wp--preset--color--achterla); color: #111; border-color: var(--wp--preset--color--achterla); }
.wp-block-button.is-style-achterla .wp-block-button__link:hover { background: #f0a6cf; }
@media (max-width: 599px) {
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; max-width: 100%; box-sizing: border-box; }
}

/* ---------- Kopfzeile: schlank, beim Scrollen fest, auf dem Startbild durchsichtig ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.kopf {
	background: rgba(250, 247, 241, .97); color: var(--wp--preset--color--erde);
	border-bottom: 1px solid var(--wp--preset--color--linie);
	transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.kopf__innen { min-height: var(--kopf-hoehe); gap: 1.5rem; }
/* Logo (Goldverlauf, stehend): Größe über die Höhe; auf dem Startbild groß, in der festen Kopfzeile kleiner */
.kopf .logo-dunkel, .kopf .logo-hell { margin: 0; flex: none; }
.kopf .logo-dunkel img, .kopf .logo-hell img { height: 52px !important; width: auto !important; max-width: none; display: block; transition: height .35s ease; }
.kopf__innen { padding-top: .5rem; padding-bottom: .5rem; }
@media (min-width: 960px) { .kopf .logo-dunkel img, .kopf .logo-hell img { height: 64px !important; } }
.kopf .logo-hell { display: none; }
html.oben .home .kopf .logo-hell img { height: 92px !important; }
@media (min-width: 960px) { html.oben .home .kopf .logo-hell img { height: 132px !important; } html.oben .home .kopf__innen { padding-top: 1.25rem; } }
.kopf .wp-block-navigation { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; gap: 1.4rem; color: inherit; }
.kopf .wp-block-navigation .wp-block-navigation__container { gap: 1.4rem; }
.kopf .wp-block-navigation a { color: inherit; }
.kopf .wp-block-navigation-item__content { padding: .75rem 0; border-bottom: 1px solid transparent; text-decoration: none; }
.kopf .wp-block-navigation-item__content:hover,
.kopf .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--wp--preset--color--gold); }
.kopf .wp-block-navigation__responsive-container-open {
	font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: inherit;
	border: 1px solid currentColor; border-radius: 2px; padding: .55rem .9rem; min-height: 44px; min-width: 44px; box-sizing: border-box; align-items: center; justify-content: center;
}
.kopf .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 1.25rem; }
.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4rem; gap: 1.25rem; }
.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	font-family: var(--wp--preset--font-family--cormorant); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.kopf .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--erde); }
/* Der Kern zeigt das ausgeklappte Menü ab 600 px. Hier erst ab 1280 px, darunter „Menü“. */
@media (min-width: 600px) and (max-width: 1279px) {
	.kopf .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.kopf .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1279px) { .kopf__innen .wp-block-navigation { margin-left: auto; } }

/* Startseite: Kopfzeile liegt über dem Bild, solange oben (Klasse „oben“ setzt ein kleines Skript) */
.home .wp-site-blocks > header.wp-block-template-part { position: fixed; left: 0; right: 0; }
html.oben .home .kopf { background: transparent; border-bottom-color: transparent; color: #fff; }
html.oben .home .kopf .logo-dunkel { display: none; }
html.oben .home .kopf .logo-hell { display: block; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 0); }

/* ---------- Startbild ---------- */
.titelbild { min-height: min(100svh, 62rem) !important; align-items: flex-end !important; padding: 0 !important; }
.titelbild .wp-block-cover__inner-container {
	padding: calc(var(--kopf-hoehe) + 3rem) 1.25rem 3.5rem;
	max-width: 72rem; width: 100% !important; margin-inline: auto !important; box-sizing: border-box;
}
@media (min-width: 960px) { .titelbild .wp-block-cover__inner-container { max-width: calc(72rem + 2.5rem); padding-bottom: 6rem; } }
.titelbild .wp-block-cover__inner-container > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.titelbild .wp-block-cover__inner-container > h1 { color: #fff; max-width: 12ch; font-weight: 500; }
@media (min-width: 960px) { .titelbild .wp-block-cover__inner-container > h1 { max-width: 19ch; } }
.titelbild .wp-block-cover__inner-container > p:not(.vorzeile) { color: rgba(255, 255, 255, .92); max-width: 32rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.titelbild .vorzeile { color: #fff; }
.titelbild .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(20, 15, 12, .85) 0%, rgba(20, 15, 12, .6) 13%, rgba(20, 15, 12, .35) 28%, rgba(20, 15, 12, .82) 50%, rgba(20, 15, 12, .9) 100%) !important;
	opacity: 1 !important;
}
.titelbild .wp-block-cover__inner-container > * { text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.titelbild .wp-block-buttons, .titelbild .wp-block-button__link { text-shadow: none; }
@media (min-width: 960px) {
	.titelbild .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(20, 15, 12, .85) 0%, rgba(20, 15, 12, .65) 14%, rgba(20, 15, 12, 0) 30%), linear-gradient(90deg, rgba(20, 15, 12, .9) 0%, rgba(20, 15, 12, .82) 42%, rgba(20, 15, 12, .35) 66%, rgba(20, 15, 12, 0) 85%) !important;
	}
}

/* ---------- Heute-Zeile unter dem Startbild ---------- */
.heute { background: #fff; border-bottom: 1px solid var(--wp--preset--color--linie); padding-top: 1.75rem; padding-bottom: 1.75rem; }
.heute .wp-block-columns { gap: 1.25rem 3rem; }
@media (min-width: 782px) {
	.heute .wp-block-column + .wp-block-column { border-left: 1px solid var(--wp--preset--color--linie); padding-left: 3rem; }
}
.heute .berninger-heute { margin: 0; font-size: 1.125rem; line-height: 1.35; color: var(--wp--preset--color--erde); padding-left: 1.5rem; position: relative; }
.heute .berninger-heute strong { font-weight: 600; }
.heute .berninger-heute::before {
	content: ""; position: absolute; left: 0; top: .5rem; width: .55rem; height: .55rem; border-radius: 50%; background: #3f7a3a;
}
.heute .berninger-zeiten { font-size: .9375rem; color: var(--wp--preset--color--text-2); }
.telefon-gross { font-variant-numeric: lining-nums; font-family: var(--wp--preset--font-family--cormorant); font-size: 2rem; font-weight: 500; line-height: 1.1; margin: 0 !important; }
.telefon-gross a { color: var(--wp--preset--color--erde); text-decoration: none; white-space: nowrap; }
.telefon-gross a:hover { color: var(--wp--preset--color--ocker); }
.heute .klein { margin-top: .25rem; }

/* Öffnungszeiten aus dem mu-Plugin */
.berninger-zeiten { list-style: none; margin: 0; padding: 0; }
.berninger-zeiten li { padding: .2rem 0; }
.berninger-hinweis-text { border-left: 2px solid var(--wp--preset--color--gold); padding: .25rem 0 .25rem 1rem; }

/* ---------- Bild und Text über die ganze Breite ---------- */
.bildtext { gap: 0; }
.bildtext .wp-block-media-text__content { padding: 3.5rem 1.25rem 4.5rem; }
.bildtext .wp-block-media-text__content > * { max-width: 34rem; }
.bildtext.is-image-fill-element > .wp-block-media-text__media { min-height: 72vw; }
@media (min-width: 600px) {
	.bildtext.is-image-fill-element > .wp-block-media-text__media { min-height: 28rem; }
	.bildtext .wp-block-media-text__content { padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 7vw, 7.5rem); }
	.bildtext { min-height: clamp(30rem, 44vw, 42rem); }
}
@media (min-width: 600px) {
	.bildtext.has-media-on-the-right .wp-block-media-text__content { display: flex; flex-direction: column; align-items: flex-end; }
	.bildtext.has-media-on-the-right .wp-block-media-text__content > * { width: 100%; }
}
/* Freisteller (Flaschen) nicht anschneiden */
.bild-ganz.is-image-fill-element > .wp-block-media-text__media { background: #3b3b3b; }
.bild-ganz.is-image-fill-element > .wp-block-media-text__media img { object-fit: contain !important; padding: 2.5rem; box-sizing: border-box; }
/* Seitenkopf mit Bild */
.seitenkopf-bild { border-bottom: 1px solid var(--wp--preset--color--linie); }
@media (max-width: 599px) { .bildtext .wp-block-media-text__content { min-width: 0; } }
@media (min-width: 600px) { .seitenkopf-bild { min-height: clamp(32rem, 52vw, 46rem); } }

/* ---------- Listen und Raster mit feinen Linien statt Kästen ---------- */
.linienliste { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--wp--preset--color--linie); }
.linienliste li { padding: .9rem 0; border-bottom: 1px solid var(--wp--preset--color--linie); }
.eintrag { border-top: 1px solid var(--wp--preset--color--erde); padding-top: 1.5rem; }
.eintrag h3 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); }
.eintrag p { margin: 0 0 .5rem; }
.eintrag .seit { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--ocker); margin-bottom: .75rem; }
.wp-block-group.is-layout-grid { gap: 3rem 2.5rem; margin-top: 3rem; }

/* Zeitleiste Geschichte */
.zeitleiste { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--linie); }
.zeitleiste li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--wp--preset--color--linie); }
.zeitleiste li strong { font-family: var(--wp--preset--font-family--cormorant); font-size: 1.6rem; line-height: 1.1; font-weight: 500; color: var(--wp--preset--color--ocker); }

/* Stand-Angabe (Speisekarte, Preisliste) */
.stand { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--text-2); margin-top: 1.5rem !important; }

/* achterla weinbar: eigenes Aussehen (Schwarz, Rosa) */
.achterla-block .vorzeile { color: var(--wp--preset--color--achterla) !important; }
.achterla-block .vorzeile::before { background: var(--wp--preset--color--achterla); }
.achterla-block a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--achterla); }
.achterla-logo { margin: 0 0 2rem !important; }
.achterla-logo img { width: 170px; }

/* ---------- Fußzeile ---------- */
.fuss { font-size: .9375rem; line-height: 1.7; }
.fuss h2 {
	font-family: var(--wp--preset--font-family--source-sans); font-size: .875rem; font-weight: 600; letter-spacing: .18em;
	text-transform: uppercase; color: var(--wp--preset--color--gold) !important; margin-bottom: 1.25rem;
}
.fuss a { color: var(--wp--preset--color--hell) !important; }
.fuss .logo-fuss { margin-bottom: 1.5rem; }
.fuss .logo-fuss img { width: 200px !important; height: auto; }
.fuss__liste { line-height: 1.4; }
.fuss p > a { display: inline-block; padding: .75rem 0; line-height: 1.4; }
.fuss__unten { border-top: 1px solid #3d332b; margin-top: 3.5rem !important; padding-top: 1.5rem; font-size: .875rem; }
.fuss__unten p { margin: 0; color: var(--wp--preset--color--neben-hell); }
.fuss__links a { margin-right: 1.5rem; display: inline-block; padding: .75rem 0; }

/* ---------- Handy-Leiste aus dem mu-Plugin: hell und dezent ---------- */
@media (max-width: 959px) {
	nav.berninger-leiste {
		background: rgba(250, 247, 241, .97); border-top: 1px solid var(--wp--preset--color--linie);
		-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	}
	nav.berninger-leiste .berninger-leiste__taste { color: var(--wp--preset--color--erde); font-size: 14px; letter-spacing: 0; }
	nav.berninger-leiste .berninger-leiste__gold { background: transparent; color: var(--wp--preset--color--ocker); font-weight: 600; }
	nav.berninger-leiste .berninger-leiste__taste:focus-visible { outline-color: var(--wp--preset--color--ocker); }
}

/* ---------- Wein to go (Ausgabe aus dem mu-Plugin) ---------- */
.wtg-titel { padding-top: 3rem; }
.berninger-alter { border-top: 1px solid var(--wp--preset--color--erde); border-bottom: 1px solid var(--wp--preset--color--linie); padding: 2.5rem 0; text-align: center; margin: 1.5rem 0 3rem; }
.berninger-alter form { margin: 0; }
.berninger-alter .wp-block-buttons { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
.berninger-alter .wp-block-button { width: 100%; }
.berninger-alter .wp-block-button__link { width: 100%; cursor: pointer; font-family: inherit; }
.code-kasten { border-top: 1px solid var(--wp--preset--color--erde); border-bottom: 1px solid var(--wp--preset--color--linie); padding: 2rem 0; margin: 2rem 0 !important; text-align: center; }
.code-kasten .berninger-code { display: block; font-family: var(--wp--preset--font-family--cormorant); font-size: 3.5rem; font-weight: 500; letter-spacing: .3em; color: var(--wp--preset--color--erde); line-height: 1.1; font-variant-numeric: lining-nums; }
.schritte { padding-left: 1.4rem; }
.schritte li { padding: .35rem 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Lange Wörter in großen Überschriften am Handy trennen statt abschneiden */
@media (max-width: 599px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* ---------- Ruhige Infoliste: kleine Überschrift links, Text rechts, feine Linien ---------- */
.infoliste { border-top: 1px solid var(--wp--preset--color--erde); }
.infoliste > .zeile { display: grid; grid-template-columns: 1fr; gap: .5rem; align-items: baseline; padding: 1.5rem 0; margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--linie); }
.infoliste > .zeile > h2 {
	font-family: var(--wp--preset--font-family--source-sans); font-size: .875rem; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--wp--preset--color--ocker); line-height: 1.6; margin: 0 !important;
}
.infoliste .zeile__text { max-width: 40rem; margin: 0 !important; }
.infoliste .zeile__text > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.infoliste .zeile__text > * + * { margin-top: .75rem !important; }
.infoliste .zeile__text .berninger-zeiten li:first-child { padding-top: 0; }
@media (min-width: 782px) {
	.infoliste > .zeile { grid-template-columns: 16rem minmax(0, 40rem); gap: 3rem; padding: 1.75rem 0; }
	.is-layout-constrained > .infoliste.alignwide, .infoliste { max-width: calc(16rem + 3rem + 40rem) !important; }
}
.infoliste .berninger-zeiten li { padding: .1rem 0; }

/* Hinweis „Symbolbild“ am Bild */
.wp-block-media-text__media { position: relative; }
.bild-hinweis { position: absolute; right: .75rem; bottom: .75rem; margin: 0; padding: .2rem .55rem; font-size: .75rem; line-height: 1.4; color: #fff; background: rgba(20, 15, 12, .7); border-radius: 2px; }

/* Kleine Bestandsfotos: nie größer als ihre Auflösung */
.bild-natur img { width: auto !important; max-width: 100%; height: auto; margin-inline: auto; display: block; }
.bild-klein img { width: auto !important; max-width: min(100%, 300px); height: auto; display: block; }
.bild-klein { margin-top: 2rem !important; }
.bildtext-klein .wp-block-columns { gap: clamp(2rem, 6vw, 6rem); }

/* Startbild-Knöpfe am Handy: Telefon voll breit, Speisekarte und Weinpreisliste nebeneinander */
@media (max-width: 599px) {
	.titel-knoepfe { display: grid !important; grid-template-columns: 1fr 1fr; gap: .75rem; }
	.titel-knoepfe > .wp-block-button { width: auto !important; }
	.titel-knoepfe > .wp-block-button:first-child { grid-column: 1 / -1; }
	.titel-knoepfe .wp-block-button__link { padding-left: .75rem; padding-right: .75rem; }
}

/* Video neben Text (saisonale Geschichte, z. B. Glühwein 2026/27): Standbild mit Abspielknopf, Video lädt erst auf Klick */
.video-klick { margin: 0; text-align: center; }
.video-klick__link { display: block; max-width: 340px; margin: 0 auto; text-decoration: none; }
.video-klick__bild { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #000; line-height: 0; }
.video-klick__bild img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1280; object-fit: cover; }
.video-klick__knopf { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(34, 26, 21, .78); border: 2px solid #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .5); transition: background-color .2s, transform .2s; }
.video-klick__knopf::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.video-klick__link:hover .video-klick__knopf { background: rgba(34, 26, 21, .95); transform: scale(1.06); }
.video-klick__text { display: block; margin-top: .75rem; line-height: 1.4; font-size: 1rem; font-weight: 600; color: var(--wp--preset--color--gold); text-decoration: underline; text-underline-offset: .22em; }
.video-klick figcaption.video-klick__text { text-decoration: none; font-weight: 400; font-size: .9375rem; }
.video-klick video { display: block; width: 100%; max-width: 340px; max-height: 78vh; margin: 0 auto; border-radius: 6px; object-fit: contain; background: #000; }
@media (max-width: 781px) { .video-klick__link, .video-klick video { max-width: 300px; } }
/* Altbestand (Videoblock ohne Standbild-Knopf) */
.videotext .wp-block-video { margin: 0; }
.videotext .wp-block-video video { display: block; width: 100%; max-width: 340px; max-height: 78vh; margin: 0 auto; border-radius: 6px; object-fit: contain; background: #000; }
.saison-gluehwein .vorzeile { color: var(--wp--preset--color--gold) !important; }
.saison-gluehwein .vorzeile::before { background: var(--wp--preset--color--gold); }
.saison-gluehwein h2, .saison-gluehwein p { color: #fff; }
@media (max-width: 781px) { .videotext .wp-block-video video { max-width: 300px; } }

/* Kopfleiste dunkel (Peter 09.11.2026: Logo auf Creme schlecht lesbar). Logo mit hellen Hausstrichen, Gold original. */
.kopf { background: rgba(34, 26, 21, .97); color: var(--wp--preset--color--creme); border-bottom-color: var(--wp--preset--color--erde); }
.kopf .logo-dunkel { display: none; }
.kopf .logo-hell { display: block; }
.kopf .wp-block-navigation__responsive-container.is-menu-open { color: var(--wp--preset--color--erde); }

/* Impressum: Abschnittsüberschriften sind H2 (keine übersprungene Ebene), sehen aber aus wie bisher (H3-Größe) */
.rechtstext h2 { font-size: var(--wp--preset--font-size--large); }

/* Speisekarte und Weinpreisliste als Text (11.11.2026) */
.karte-liste { list-style: none; margin: 0; padding: 0; }
.karte-liste > li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--wp--preset--color--linie); }
.karte__name { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.karte__preis { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.karte__preis small { font-size: .8em; color: var(--wp--preset--color--text-2); }
.karte__info { flex: 0 0 100%; font-size: .9375rem; color: var(--wp--preset--color--text-2); }
.karte__unter { margin-top: 0; color: var(--wp--preset--color--text-2); }
.karte, .karte__start { max-width: 40rem; margin-left: auto; margin-right: auto; box-sizing: content-box; padding-left: 20px; padding-right: 20px; }
.karte > h2 { margin-top: 2.5rem; }

/* ---------- Störer im Seitenkopf (Restaurant), Text in seiten.cjs STOERER, 11.11.2026 ---------- */
.seitenkopf-bild .wp-block-media-text__content > .stoerer { width: fit-content !important; align-self: flex-end; position: relative; z-index: 2; margin: -6.5rem .5rem .5rem auto !important; }
.stoerer a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; box-sizing: border-box; width: 11rem; height: 11rem; padding: .9rem; border-radius: 50%; text-align: center; line-height: 1.15; text-decoration: none; background: var(--wp--preset--color--gold); color: var(--wp--preset--color--erde); box-shadow: 0 0 0 4px var(--wp--preset--color--creme), 0 0 0 5px var(--wp--preset--color--gold), 0 10px 24px rgba(34,26,21,.18); transform: rotate(-8deg); animation: stoerer-wippen 4.5s ease-in-out infinite; }
.stoerer a:hover { text-decoration: none; }
.stoerer strong { font-family: var(--wp--preset--font-family--cormorant); font-size: 1.6rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.stoerer__klein { font-size: .875rem; font-weight: 600; max-width: 8.5rem; }
@keyframes stoerer-wippen { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.05); } }
@media (min-width: 600px) { .seitenkopf-bild .wp-block-media-text__content { position: relative; } .seitenkopf-bild .wp-block-media-text__content > .stoerer { position: absolute; top: 1.5rem; right: -14rem; margin: 0 !important; } .stoerer a { width: 12.5rem; height: 12.5rem; } .stoerer strong { font-size: 1.9rem; } .stoerer__klein { font-size: 1rem; max-width: 10rem; } }
@media (min-width: 1200px) { .seitenkopf-bild .wp-block-media-text__content > .stoerer { top: clamp(1.5rem, 4vw, 3.5rem); right: -9.5rem; } .stoerer a { width: 18.5rem; height: 18.5rem; gap: .6rem; } .stoerer strong { font-size: 2.9rem; } .stoerer__klein { font-size: 1.2rem; max-width: 14rem; } }
@media (prefers-reduced-motion: reduce) { .stoerer a { animation: none; } }

/* ---------- Handy-Menü (15.11.2026, Peter): kompakt, alle Punkte sichtbar, untere Leiste ausgeblendet ---------- */
@media (max-width: 1279px) {
	.kopf .wp-block-navigation__responsive-container.is-menu-open { padding: 1rem 1.5rem 2rem; overflow-y: auto; }
	.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; gap: 0; align-items: stretch; }
	.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; align-items: stretch; }
	.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		font-size: 1.5rem; line-height: 1.2; width: 100%; border-bottom: 1px solid var(--wp--preset--color--linie);
	}
	.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:first-child { border-top: 1px solid var(--wp--preset--color--linie); }
	.kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: .8rem 0; text-align: left; border-bottom: 0; }
	.kopf .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--ocker); }
}
body:has(.wp-block-navigation__responsive-container.is-menu-open) nav.berninger-leiste { display: none; }
