/*
 * Wielandshöhe – Grundgestaltung (Restaurant-Website und Shop).
 *
 * Alle Farben und Schriften stehen in den Variablen unten.
 * Für eine Farbänderung nur hier anpassen – sie gilt dann überall.
 * Farben übernommen aus dem bisherigen Divi-Child-Theme (Backup 11/2026):
 *   Blau #1f497d · Gold #fbc777 · Ocker #bf8223 · Bronze #996e29 · Hintergrund #f0f0f0
 * Geprüfte Kontraste (WCAG 2.2 AA): Text 11,1:1 · Blau 8,0:1 · Gold auf Blau 5,9:1 ·
 * Link-Hover 5,2:1 · Formularrahmen 4,0:1.
 * Hinweis: Das Original-Ocker #bf8223 hat als Textfarbe nur 2,9:1 und wird deshalb
 * nur für Linien/Flächen genutzt; für Text-Hover dient das dunklere #8a5a12.
 */

/* ---------- 1. Variablen ---------- */
:root {
	/* Farben */
	--whs-bg: #ffffff;            /* Seitenhintergrund: weiß wie im Entwurf (früher #f0f0f0) */
	--whs-surface: #ffffff;       /* Karten, Formulare */
	--whs-soft: #e8edf4;          /* ruhige Flächen, leicht blau getönt */
	--whs-text: #1a1a1a;          /* Fließtext (dunkler für die feine Garamond, früher #333333) */
	--whs-muted: #595959;         /* Nebentext */
	--whs-accent: #1f497d;        /* Wielandshöhe-Blau: Links, Buttons */
	--whs-accent-dark: #163659;   /* dunkles Blau */
	--whs-gold: #fbc777;          /* Gold: Text auf Blau, Hervorhebungen */
	--whs-ochre: #bf8223;         /* Ocker: Linien, Unterstreichungen */
	--whs-hover: #8a5a12;         /* Link-Hover (Ocker, abgedunkelt für Lesbarkeit) */
	--whs-button-hover: #996e29;  /* Bronze: Button-Hover (wie bisher) */
	--whs-border: #d6d6d6;        /* dekorative Linien */
	--whs-control: #767676;       /* Rahmen von Eingabefeldern (≥ 3:1) */
	--whs-footer-bg: #163659;
	--whs-footer-text: #ffffff;
	--whs-footer-link: #fbc777;
	--whs-focus: #1f497d;
	--whs-success: #2f5d3a;
	--whs-error: #9b1c1c;

	/* Schriften (wie bisher) */
	--whs-font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--whs-font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--whs-font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;

	/* Maße */
	--whs-radius: 6px;
	--whs-gap: clamp(1rem, 3vw, 2rem);
	--whs-control-height: 2.875rem; /* 46 px Mindestgröße für Touch */

	/* GeneratePress-Farbvariablen auf unsere Palette legen */
	--contrast: var(--whs-text);
	--contrast-2: var(--whs-muted);
	--contrast-3: var(--whs-border);
	--base: var(--whs-soft);
	--base-2: var(--whs-bg);
	--base-3: var(--whs-surface);
	--accent: var(--whs-accent);
}

/* ---------- 2. Grundlagen ---------- */
html {
	-webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
	font-family: var(--whs-font-body);
}

body {
	background-color: var(--whs-bg);
	color: var(--whs-text);
	font-size: 1.25rem; /* 20 px – Cormorant Garamond ist klein geschnitten */
	line-height: 1.55;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
	font-family: var(--whs-font-head);
	font-weight: 600;
	line-height: 1.15;
	color: var(--whs-accent);
	letter-spacing: 0;
}

/* Cormorant ist klein geschnitten – daher größere Werte */
h1, .entry-title { font-size: clamp(2.375rem, 1.6rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.375rem); }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.375rem; }

p, ul, ol, address {
	margin-bottom: 1.25em;
}

a {
	color: var(--whs-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--whs-hover);
	text-decoration-color: var(--whs-ochre);
	text-decoration-thickness: 2px;
}

/* Sichtbarer Tastaturfokus für alle Bedienelemente */
:focus-visible {
	outline: 3px solid var(--whs-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--whs-accent);
	color: var(--whs-gold);
}

hr {
	background-color: var(--whs-border);
}

img {
	height: auto;
}

/* Sprunglink „Zum Inhalt springen“ deutlich sichtbar, sobald er Fokus hat */
.skip-link.screen-reader-text:focus {
	background: var(--whs-surface);
	color: var(--whs-text);
	box-shadow: 0 0 0 3px var(--whs-focus);
	font-size: 1rem;
	padding: 0.75rem 1rem;
}

/* ---------- 3. Kopfbereich ---------- */
.site-header {
	background-color: var(--whs-bg);
	border-bottom: 1px solid var(--whs-border);
}

.site-logo img,
.header-image {
	max-height: 5rem;
	width: auto;
}

.main-title,
.site-title {
	font-family: var(--whs-font-head);
}

.main-title a,
.main-title a:hover {
	color: var(--whs-text);
	text-decoration: none;
}

.site-description {
	color: var(--whs-muted);
}

/* Hauptnavigation */
.main-navigation,
.main-navigation ul ul {
	background-color: var(--whs-bg);
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	color: var(--whs-text);
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus-within > a {
	color: var(--whs-accent);
	text-decoration: underline;
	text-decoration-color: var(--whs-ochre);
	text-underline-offset: 0.3em;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--whs-accent);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--whs-ochre);
	text-underline-offset: 0.3em;
}

.main-navigation ul ul {
	border: 1px solid var(--whs-border);
	box-shadow: 0 8px 24px rgba(31, 28, 25, 0.08);
}

.main-navigation .main-nav ul ul li a {
	font-weight: 400;
}

/* Handy-Menü */
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus {
	background-color: transparent;
	color: var(--whs-text);
	min-height: var(--whs-control-height);
	border-radius: 0;
}

.main-navigation.toggled .main-nav ul ul {
	box-shadow: none;
	border: 0;
}

/* ---------- 3b. Kopfbereich nach Entwurf (Name mittig, Menü mittig darunter) ---------- */
.site-header {
	background-color: var(--whs-surface);
	border-bottom: 0;
}

.inside-header {
	padding-top: 2rem;
}

.main-title {
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.125rem);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1.1;
}

.main-title a,
.main-title a:hover {
	color: var(--whs-accent);
}

.main-navigation,
.main-navigation ul ul {
	background-color: var(--whs-surface);
}

@media (min-width: 769px) {
	.main-navigation .inside-navigation {
		justify-content: center;
	}

	.main-navigation .main-nav > ul {
		margin: 0 auto 1.25rem;
		justify-content: center;
		flex-wrap: wrap;
		row-gap: .2rem;
	}

	.main-navigation .main-nav > ul > li {
		display: flex;
		align-items: center;
		order: 1;
	}

	.main-navigation .main-nav > ul > li > a {
		font-size: 0.8125rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--whs-accent);
		line-height: 2.2;
		padding-left: 0.55em;
		padding-right: 0.55em;
	}

	/* GeneratePress lässt bei Menüpunkten mit Untermenü rechts keinen Abstand (dort sitzt sonst der Pfeil) */
	.main-navigation .main-nav > ul > li.menu-item-has-children > a {
		padding-right: 0.55em;
	}

	/* Trennstriche zwischen den Menüpunkten */
	.main-navigation .main-nav > ul > li + li::before {
		content: "|";
		font-size: 0.8125rem;
		color: var(--whs-accent);
	}

	/* Zweite Menüzeile: beginnt beim Menüpunkt mit der CSS-Klasse „whs-neue-zeile“ (ohne Strich davor) */
	.main-navigation .main-nav > ul > li.whs-neue-zeile,
	.main-navigation .main-nav > ul > li.whs-neue-zeile ~ li {
		order: 3;
	}

	.main-navigation .main-nav > ul::after {
		content: "";
		display: block;
		flex-basis: 100%;
		height: 0;
		order: 2;
	}

	.main-navigation .main-nav > ul > li.whs-neue-zeile::before {
		content: none;
	}

	/* Untermenüs: öffnen unterhalb des Menüpunkts, Schrift wie das Hauptmenü */
	.main-navigation .main-nav > ul > li > .sub-menu {
		top: 100%;
	}

	.main-navigation .main-nav > ul > li:hover > .sub-menu,
	.main-navigation .main-nav > ul > li:focus-within > .sub-menu,
	.main-navigation .main-nav > ul > li.sfHover > .sub-menu {
		left: 0;
	}

	.main-navigation .main-nav ul ul {
		width: auto;
		min-width: 14rem;
		border: 0;
		padding: 0.4rem 0;
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	}

	.main-navigation .main-nav ul ul li a {
		font-size: 0.8125rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--whs-accent);
		line-height: 1.6;
		padding: 0.55em 1.1em;
		white-space: nowrap;
	}

	/* Keine Pfeile hinter Menüpunkten mit Untermenü (Untermenüs öffnen beim Darüberfahren) */
	.main-navigation .main-nav > ul > li > a .dropdown-menu-toggle {
		display: none;
	}
}

/* ---------- 4. Inhalt ---------- */
.site-content {
	padding-top: var(--whs-gap);
	padding-bottom: calc(var(--whs-gap) * 1.5);
}

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container,
.separate-containers .paging-navigation,
.inside-page-header {
	background-color: var(--whs-surface);
	border-radius: var(--whs-radius);
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

blockquote {
	border-left: 3px solid var(--whs-ochre);
	font-family: var(--whs-font-head);
	font-style: italic;
	color: var(--whs-text);
}

/* Buttons außerhalb des Shops */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link {
	background-color: var(--whs-accent);
	color: #fff;
	border: 0;
	border-radius: var(--whs-radius);
	font-weight: 600;
	min-height: var(--whs-control-height);
	padding: 0.7em 1.4em;
	text-decoration: none;
	line-height: 1.3;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.button:focus,
button:focus,
input[type="submit"]:focus {
	background-color: var(--whs-button-hover);
	color: #fff;
	text-decoration: none;
}

/* Formularfelder */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
	background-color: var(--whs-surface);
	color: var(--whs-text);
	border: 1px solid var(--whs-control);
	border-radius: var(--whs-radius);
	min-height: var(--whs-control-height);
	padding: 0.55em 0.8em;
	font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--whs-text);
	background-color: var(--whs-surface);
	color: var(--whs-text);
}

input[type="checkbox"],
input[type="radio"] {
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--whs-accent);
	vertical-align: -0.2em;
}

label {
	font-weight: 600;
}

::placeholder {
	color: var(--whs-muted);
	opacity: 1;
}

/* ---------- 4b. Bereiche in voller Breite ---------- */
/* Verhindert seitliches Scrollen, wenn ein Bereich bis an den Fensterrand geht */
body {
	overflow-x: clip;
}

/*
 * Klasse „whs-vollbreite“: Bereich reicht von Fensterrand zu Fensterrand.
 * Klasse „whs-band“: Abstand oben/unten und Hintergrund, Varianten „whs-band--hell“ und „whs-band--blau“.
 * Der Inhalt darin („whs-band__inhalt“) bleibt mittig in normaler Breite.
 * Beispiel im Text-Editor:
 *   <div class="whs-vollbreite whs-band whs-band--hell"><div class="whs-band__inhalt"> … </div></div>
 */
.whs-vollbreite {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

.whs-band {
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--whs-gap);
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	background: var(--whs-soft);
}

.whs-band--hell {
	background: #f7f5f0;
}

.whs-band--blau {
	background: var(--whs-accent);
	color: #fff;
}

.whs-band--blau h1,
.whs-band--blau h2,
.whs-band--blau h3,
.whs-band--blau a {
	color: var(--whs-gold);
}

.whs-band__inhalt {
	max-width: 1100px;
	margin: 0 auto;
}

.whs-band__inhalt > :last-child {
	margin-bottom: 0;
}

.whs-band img.whs-vollbild,
.whs-vollbreite > img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- 5. Fußbereich ---------- */
.site-footer {
	background-color: var(--whs-footer-bg);
	color: var(--whs-footer-text);
}

.whs-footer-info {
	padding: calc(var(--whs-gap) * 1.5) var(--whs-gap) var(--whs-gap);
}

.whs-footer-info__inner {
	display: grid;
	gap: var(--whs-gap);
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.whs-footer-title {
	color: #fff;
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.whs-footer-info address {
	font-style: normal;
}

.whs-footer-info p,
.whs-footer-info address {
	margin-bottom: 0.75rem;
	font-size: 1rem;
}

.whs-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1rem;
}

.whs-footer-menu li {
	margin-bottom: 0.4rem;
}

.site-footer a,
.site-info a {
	color: var(--whs-footer-link);
}

.site-footer a:hover {
	color: #fff;
}

.site-footer :focus-visible {
	outline-color: var(--whs-gold);
}

.site-info {
	background-color: var(--whs-footer-bg);
	color: var(--whs-footer-text);
	border-top: 1px solid rgba(239, 233, 224, 0.2);
	font-size: 0.9375rem;
}

/* ---------- 6. Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- 7. Druck ---------- */
@media print {
	.site-header .main-navigation,
	.whs-footer-info,
	.skip-link {
		display: none !important;
	}
	body {
		background: #fff;
	}
}


/* =========================================================
   4c. H1-Überschriften immer zentriert (0.4.5)
   ========================================================= */
h1,
.entry-content h1,
.entry-header h1,
.entry-title,
.page-title,
.page-header h1,
.woocommerce-products-header__title,
.product_title {
	text-align: center;
}


/* =========================================================
   4d. Headerbild = Beitragsbild über der H1 (0.4.6)
   Seiten: volle Breite. Beiträge/Rezepte: Breite der Textspalte.
   ========================================================= */
.page-header-image,
.page-header-image-single {
	margin-bottom: 0;
}
.page-header-image {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
}
.page-header-image img,
.page-header-image-single img {
	display: block;
	width: 100%;
	height: clamp(220px, 38vw, 520px);
	object-fit: cover;
	object-position: center;
}
.page-header-image-single {
	margin-bottom: 1.5rem;
}


/* =========================================================
   4e. Grafischer Trenner (0.4.7)
   Feine Ocker-Linie, die zu den Rändern ausläuft – wie auf der alten Website,
   aber im Goldton. Automatisch unter jeder H1; im Text mit <hr> oder
   <div class="whs-trenner"></div>.
   ========================================================= */
:root {
	--whs-trenner: linear-gradient(90deg, rgba(191,130,35,0) 0%, rgba(191,130,35,.85) 50%, rgba(191,130,35,0) 100%);
}
.entry-header::after,
.page-header::after,
.woocommerce-products-header::after {
	content: "";
	display: block;
	height: 2px;
	width: 100%;
	margin: 1.5rem auto 2rem;
	background: var(--whs-trenner);
}
.entry-content hr,
.whs-trenner {
	border: 0;
	height: 2px;
	width: 100%;
	margin: 2.5rem auto;
	background: var(--whs-trenner);
}
.whs-trenner--kurz { width: 40%; }
.whs-trenner--blau {
	background: linear-gradient(90deg, rgba(31,73,125,0) 0%, rgba(31,73,125,.85) 50%, rgba(31,73,125,0) 100%);
}


/* =========================================================
   4f. Nummerierte Listen bündig mit dem Fließtext (0.4.9)
   Die Ziffern stehen an der linken Textkante, der Listentext
   (auch umbrechende Zeilen) beginnt einheitlich dahinter.
   Ausgenommen: Listen in Navigationen und im Gutschein-Assistenten (0.5.6).
   ========================================================= */
.entry-content ol:not(nav ol):not(.whsg-wizard ol) {
	list-style: none;
	counter-reset: whs-ol;
	margin-left: 0;
	padding-left: 0;
}
.entry-content ol:not(nav ol):not(.whsg-wizard ol) > li {
	counter-increment: whs-ol;
	position: relative;
	padding-left: 1.75em;
}
.entry-content ol:not(nav ol):not(.whsg-wizard ol) > li::before {
	content: counter(whs-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-variant-numeric: tabular-nums;
}
.entry-content ol ol {
	margin-top: .4em;
	margin-bottom: .4em;
}


/* =========================================================
   4g. Schriften (0.5.0)
   Fließtext: Cormorant Garamond (wie im Tagebuch).
   Menü, Footer, Seitenleisten-Inhalt, Schaltflächen, Formulare,
   Datums-/Metazeilen und Link-Zeilen: Montserrat.
   Alle Schriften liegen lokal in assets/fonts (keine Verbindung zu Google).
   ========================================================= */
.main-navigation,
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.site-footer,
.site-footer h2,
.site-footer h3,
.whs-footer-title,
.sidebar .widget,
button,
.button,
input,
select,
textarea,
.wp-element-button,
.entry-meta,
.cat-links,
.tags-links,
.post-navigation,
.page-numbers,
.whs-home-info a,
.whs-home-band__item a,
.woocommerce-breadcrumb {
	font-family: var(--whs-font-ui);
}
.main-navigation .main-nav ul li a {
	font-weight: 600;
	letter-spacing: .06em;
}
.sidebar .widget .widget-title {
	font-family: var(--whs-font-head);
}

/* Gutschein-Assistent und Kasse: kleine Hinweise und Beschriftungen in Montserrat (besser lesbar) */
.whsg-progress,
.whsg-step__num,
.whsg-choice__meta,
.whsg-choice__desc,
.whsg-hint,
.whsg-error,
.whsg-field label,
.whsg-summary,
.whsg-next-steps,
.whsg-consent,
.whsg-preview__caption,
.woocommerce form .form-row label,
.woocommerce-checkout-review-order-table,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	font-family: var(--whs-font-ui);
}

/* =========================================================
   4h. Fließtext in Cormorant Garamond Medium (500) – kräftiger, besser lesbar (0.5.4)
   ========================================================= */
.entry-content,
.whs-seitenkopf__beschreibung {
	font-weight: 500;
}

/* Gutschein-Assistent: mehr Luft unter „Schritt 1“ und unter „So sieht Ihr Gutschein aus“ (0.5.7) */
.whsg-step__num {
	margin-bottom: 1rem;
}
.whsg-preview__caption {
	margin-bottom: 1.5rem;
}

/* Warenkorb: „Entfernen“ deutlich sichtbar neben dem Papierkorb (0.5.8) */
.wc-block-cart-item__remove-link {
	display: inline-flex !important;
	align-items: center;
	gap: .35em;
	font-family: var(--whs-font-ui);
	font-size: .85rem !important;
	color: var(--whs-error, #9b1c1c) !important;
	text-decoration: underline;
	text-underline-offset: .18em;
}
.wc-block-cart-item__remove-link::after {
	content: "Entfernen";
}
.wc-block-cart-item__remove-link:hover,
.wc-block-cart-item__remove-link:focus {
	color: var(--whs-accent, #1f497d) !important;
}

/* Kasse: Hinweis mit Link zum Warenkorb (0.5.9) */
.whs-kasse-hinweis {
	font-family: var(--whs-font-ui);
	font-size: .9rem;
	line-height: 1.6;
	background: #f7f5f0;
	border-left: 3px solid var(--whs-ochre, #bf8223);
	padding: .8em 1.1em;
	margin: 0 0 2rem;
}
.whs-kasse-hinweis span:first-child {
	margin-right: .4em;
}

/* Bestellbestätigung: Übersicht (Bestellnummer, Datum, E-Mail, Zahlungsart) – Abstand, wenn die Zeile umbricht (0.5.11) */
.woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	row-gap: 1.75rem;
}
.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after {
	display: none;
}
.woocommerce ul.order_details li {
	float: none;
	margin-bottom: 0;
}

/* =========================================================
   4i. Warenkorb und Kasse lesbarer (0.5.12)
   Formular- und Hinweistexte in Montserrat, größer und kräftiger.
   Überschriften und Produktnamen bleiben in der Garamond.
   ========================================================= */
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar-layout {
	font-family: var(--whs-font-ui);
	font-size: 1rem;
	font-weight: 500;
	color: var(--whs-text);
}
.wc-block-cart h1, .wc-block-cart h2, .wc-block-cart h3,
.wc-block-checkout h1, .wc-block-checkout h2, .wc-block-checkout h3,
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-product-name,
.wc-block-cart-items__header,
.wc-block-components-totals-footer-item {
	font-family: var(--whs-font-head);
}
/* Feldbeschriftungen und Eingaben */
.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-block-components-select label,
.wc-blocks-components-select__label {
	font-size: .875rem !important;
	font-weight: 500;
	color: #444;
}
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-blocks-components-select__select,
.wc-block-components-textarea {
	font-family: var(--whs-font-ui);
	font-size: 1rem !important;
	font-weight: 500;
	color: var(--whs-text);
}
/* Zahlungsarten, Kontrollkästchen, Adresskarte */
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label,
.wc-block-components-payment-method-label {
	font-size: 1rem;
	font-weight: 600;
}
.wc-block-components-radio-control__description,
.wc-block-components-radio-control-accordion-content,
.wc-block-components-checkbox__label,
.wc-block-components-address-card,
.wc-block-components-address-card address,
.wc-block-checkout__terms,
.wc-gzd-checkbox-placeholder,
.wc-gzd-checkbox-placeholder label {
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--whs-text);
}
/* Express-Kasse und Trennlinie */
.wc-block-components-express-payment__title,
.wc-block-components-express-payment-continue-rule {
	font-family: var(--whs-font-ui);
	font-size: .8rem !important;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #555;
}
/* Bestellübersicht und Summen */
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-product-details,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-cart-item__prices {
	font-size: .875rem;
	font-weight: 500;
	color: #444;
	line-height: 1.5;
}
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-coupon__button,
.wc-block-components-panel__button,
.wc-block-components-order-summary-item__total-price {
	font-family: var(--whs-font-ui);
	font-size: .95rem;
	font-weight: 600;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--whs-font-head);
	font-size: 1.3rem;
	font-weight: 700;
}
/* Kaufen-Knopf */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	font-family: var(--whs-font-ui);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
}

/* Nachschärfung 0.5.12: Gesamtsumme, Kaufen-Knopf, Rechts-Häkchen */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--whs-font-head) !important;
	font-size: 1.35rem !important;
	font-weight: 700 !important;
}
.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button *,
.wc-block-cart__submit-button,
.wc-block-cart__submit-button * {
	font-family: var(--whs-font-ui) !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
}
.wc-gzd-checkbox,
.wc-gzd-checkbox label,
.wc-gzd-checkbox label span,
.wc-block-components-checkbox label,
.wc-block-components-checkbox__label {
	font-size: .95rem !important;
	font-weight: 500;
	line-height: 1.5;
}

/* Footer: Überschriften in der Garamond (0.5.14) */
.site-footer h2,
.site-footer h3,
.whs-footer-title {
	font-family: var(--whs-font-head);
}

/* Warenkorb und Kasse: Beschriftungen kleiner, alle unter 1rem (0.5.15) */
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar-layout {
	font-size: .9rem;
}
.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-block-components-select label,
.wc-blocks-components-select__label {
	font-size: .8125rem !important;
}
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-blocks-components-select__select,
.wc-block-components-textarea {
	font-size: .9375rem !important;
}
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label,
.wc-block-components-payment-method-label {
	font-size: .9375rem;
}
.wc-block-components-radio-control__description,
.wc-block-components-radio-control-accordion-content,
.wc-block-components-checkbox__label,
.wc-block-components-address-card,
.wc-block-components-address-card address,
.wc-block-checkout__terms,
.wc-gzd-checkbox-placeholder,
.wc-gzd-checkbox-placeholder label,
.wc-gzd-checkbox,
.wc-gzd-checkbox label,
.wc-gzd-checkbox label span,
.wc-block-components-checkbox label {
	font-size: .875rem !important;
}
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-product-details,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-cart-item__prices {
	font-size: .8125rem;
}
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-coupon__button,
.wc-block-components-panel__button,
.wc-block-components-order-summary-item__total-price {
	font-size: .875rem;
}
.wc-block-components-express-payment__title,
.wc-block-components-express-payment-continue-rule {
	font-size: .75rem !important;
}
.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button *,
.wc-block-cart__submit-button,
.wc-block-cart__submit-button * {
	font-size: .9375rem !important;
}
.whs-kasse-hinweis {
	font-size: .875rem;
}

/* ==========================================================================
   Gutschein-Assistent: Beschriftungen kleiner, wie an der Kasse (0.5.16)
   ========================================================================== */
.whsg-wizard .whsg-field label,
.whsg-wizard .whsg-qty label {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: .35rem;
}
.whsg-wizard .whsg-field label .whsg-optional {
	font-size: .875rem;
	font-weight: 400;
}
.whsg-wizard .whsg-field input,
.whsg-wizard .whsg-field textarea,
.whsg-wizard .whsg-qty input {
	font-size: .9375rem;
}
.whsg-wizard .whsg-hint {
	font-size: .8125rem;
	line-height: 1.5;
}
.whsg-wizard .whsg-summary {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	line-height: 1.5;
}
.whsg-wizard .whsg-summary dt { font-weight: 600; }
.whsg-wizard .whsg-summary dd { font-weight: 400; }
.whsg-wizard .whsg-next-steps {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	line-height: 1.6;
}
.whsg-wizard .whsg-next-steps li + li { margin-top: .4rem; }

/* ==========================================================================
   Links ohne Unterstreichung, Seitenleisten kräftiger, Vorschau-Titel blau (0.5.17)
   ========================================================================== */
a,
.entry-content a,
.sidebar .widget a,
.site-footer a {
	text-decoration: none;
}
a:hover,
a:focus-visible {
	text-decoration: none;
}
.sidebar .widget,
.sidebar .widget li,
.sidebar .widget a,
.sidebar .widget p {
	font-weight: 600;
}
.whs-liste .whs-liste__titel a,
.whs-liste .whs-liste__titel a:visited {
	color: var(--whs-accent);
}
.whs-liste .whs-liste__titel a:hover,
.whs-liste .whs-liste__titel a:focus-visible {
	color: var(--whs-ochre);
}

/* Seitenleiste: Datum in der Garamond, etwas größer (0.5.18) */
.sidebar .widget .whs-side__datum,
.sidebar .widget .post-date {
	font-family: var(--whs-font-body);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--whs-muted, #595959);
}

/* Fußbereich als Widgets (0.5.19) */
.whs-footer-widget + .whs-footer-widget {
	margin-top: 1.5rem;
}
.whs-footer-col .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1rem;
}
.whs-footer-col .menu li {
	margin-bottom: 0.4rem;
}
.whs-footer-col .textwidget p:last-child {
	margin-bottom: 0;
}

/* Startseite: Bereiche beim Scrollen einblenden (0.5.20) */
.whs-js-reveal:not(.whs-reveal-fertig) .whs-startseite :is(.whs-home-portrait, .whs-home-text, .whs-home-info, .whs-home-band__item, .whs-home-tagebuch .whs-band__inhalt > h2, .whs-home-tagebuch__unterzeile, .whs-home-tagebuch .whs-liste__eintrag, .whs-home-more):not(.ist-sichtbar) {
	opacity: 0;
	transform: translateY(28px);
}
.whs-js-reveal .whs-startseite :is(.whs-home-portrait, .whs-home-text, .whs-home-info, .whs-home-band__item, .whs-home-tagebuch .whs-band__inhalt > h2, .whs-home-tagebuch__unterzeile, .whs-home-tagebuch .whs-liste__eintrag, .whs-home-more) {
	transition: opacity 1s ease-out, transform 1s ease-out;
}
.whs-js-reveal .whs-startseite .whs-home-text,
.whs-js-reveal .whs-startseite .whs-home-band__item:nth-child(2),
.whs-js-reveal .whs-startseite .whs-home-tagebuch .whs-liste__eintrag:nth-child(2) {
	transition-delay: .15s;
}
.whs-js-reveal .whs-startseite .whs-home-tagebuch .whs-liste__eintrag:nth-child(3) {
	transition-delay: .3s;
}

/* Cookie-Tabelle Datenschutz (0.5.22) */
.whs-cookie-tabelle {
	margin: 1.25rem 0 1.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.whs-cookie-tabelle table {
	width: 100%;
	min-width: 46rem;
	border-collapse: collapse;
	font-family: var(--whs-font-ui);
	font-size: .875rem;
	line-height: 1.45;
}
.whs-cookie-tabelle th,
.whs-cookie-tabelle td {
	text-align: left;
	vertical-align: top;
	padding: .6rem .75rem;
	border: 1px solid var(--whs-border, #d6d6d6);
}
.whs-cookie-tabelle th {
	background: #f4f1ea;
	font-weight: 600;
}
.whs-cookie-tabelle td:first-child {
	font-weight: 600;
	min-width: 13rem;
	overflow-wrap: anywhere;
}

/* Kopfbilder sanft einblenden, ohne Bewegung (0.5.23) */
.whs-js-reveal:not(.whs-kopf-aus) :is(.page-header-image, .page-header-image-single, .whs-home-hero) img:not(.ist-geladen) {
	opacity: 0;
}
.whs-js-reveal :is(.page-header-image, .page-header-image-single, .whs-home-hero) img {
	transition: opacity 1.4s ease-out;
}

/* Knopfreihe, z. B. Speisekarte: Knöpfe nebeneinander mit Abstand (0.5.26) */
.whs-knoepfe {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin: 1.5rem 0;
}
.whs-knoepfe .button {
	margin: 0;
}

/* Datenschutz-Hinweis unter dem Gutschein-Assistenten (0.5.27) */
.entry-content .whs-datenschutz-hinweis {
	font-size: 1.125rem;
	line-height: 1.6;
	margin-top: 2rem;
}

/* Express-Kasse: Überschrift wie die Trennzeile darunter, beide etwas größer (0.5.27) */
.wc-block-components-express-payment .wc-block-components-express-payment__title,
.wc-block-components-express-payment__title-container h2.wc-block-components-express-payment__title,
.wc-block-components-express-payment-continue-rule {
	font-family: var(--whs-font-ui) !important;
	font-size: .875rem !important;
	font-weight: 600 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #555;
}

/* ==========================================================================
   Überschriften in Großbuchstaben, Blog-Beiträge in Blau (0.5.28)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.widget-title,
.whs-footer-title,
.whs-liste__titel {
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* Einzelner Blogbeitrag: H1 = Tagebuch/Briefe, H2 = Beitragstitel */
.whs-blogkopf .entry-title a,
.whs-blogkopf .entry-title a:visited {
	color: inherit;
}
.single-post .inside-article > .entry-header:not(.whs-blogkopf)::after {
	display: none;
}
.single-post .whs-blogkopf {
	margin-bottom: 2rem;
}
.single-post .whs-beitragstitel {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	margin-bottom: .25em;
}

/* Fließtext der Beiträge (Tagebuch, Briefe) und Anrisse in den Übersichten in Blau */
.single-post .entry-content,
.whs-liste__anriss {
	color: var(--whs-accent);
}

/* Seitenleiste: lange Widget-Titel in Großbuchstaben sauber trennen (0.5.29) */
.sidebar .widget-title {
	letter-spacing: .02em;
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
}

/* Kategorie der Beiträge („Tagebuch“, „Briefe an Laura“): in Blau (0.5.31) */
.whs-liste .whs-liste__meta a[rel~="category"],
.entry-meta .cat-links a[rel~="category"],
.cat-links a[rel~="category"] {
	color: var(--whs-accent);
}
.whs-liste .whs-liste__meta a[rel~="category"]:hover,
.cat-links a[rel~="category"]:hover {
	color: var(--whs-ochre);
}

/* Footer-Texte in der Garamond (0.5.32) */
.site-footer,
.site-footer p,
.site-footer address,
.site-footer li,
.site-footer a,
.site-footer .textwidget,
.site-info,
.site-info .copyright-bar {
	font-family: var(--whs-font-body);
}
.whs-footer-info p,
.whs-footer-info address,
.whs-footer-info .menu,
.whs-footer-menu {
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
}
.site-info {
	font-size: 1.0625rem;
}

/* Startseite: rechte Spalte (Tischreservierung) blendet nach dem Text ein (0.5.33) */
.whs-js-reveal .whs-startseite .whs-home-info {
	transition-delay: .3s;
}

/* Shop-Startseite „Gutschein schenken“: eigener Hintergrund im ersten Abschnitt, keine Linie unter der H1 (0.5.34) */
.whs-band.whs-band--gutschein {
	background-color: #f2f7ff;
}
.home.page-id-23 .entry-header::after {
	display: none;
}

/* Footer: „Vertrag widerrufen“ als gut sichtbarer Knopf (Widerrufsfunktion § 356a BGB) (0.5.35) */
.whs-footer-info .menu li.whs-widerruf-knopf {
	margin-top: 1rem;
}
.whs-footer-info .menu li.whs-widerruf-knopf > a {
	display: inline-block;
	padding: .55em 1.1em;
	border: 1px solid var(--whs-footer-link);
	border-radius: 3px;
	color: var(--whs-footer-link);
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.3;
	text-decoration: none;
}
.whs-footer-info .menu li.whs-widerruf-knopf > a:hover,
.whs-footer-info .menu li.whs-widerruf-knopf > a:focus-visible {
	background: var(--whs-footer-link);
	color: var(--whs-footer-bg);
}

/* ==========================================================================
   Formulare auf übrigen Seiten (Vertrag widerrufen, Gutschein einlösen,
   Mein Konto, Kontakt …) wie im Gutschein-Assistenten (0.5.36)
   ========================================================================== */
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) label,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) legend {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--whs-text);
	letter-spacing: normal;
	text-transform: none;
}
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) label:has(input[type="checkbox"], input[type="radio"]),
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) .woocommerce-form__label-for-checkbox {
	font-weight: 500;
}
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) label .required,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) label abbr {
	color: var(--whs-accent);
	text-decoration: none;
}
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) textarea,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) select {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	font-weight: 400;
	color: var(--whs-text);
}
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) button,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) .button,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) input[type="submit"] {
	font-family: var(--whs-font-ui);
	font-size: .9375rem;
	font-weight: 600;
}
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) .description,
.entry-content form:not(.whsg-wizard__form):not(.wc-block-components-form) .form-row small {
	font-family: var(--whs-font-ui);
	font-size: .8125rem;
}


/* Kasse ruhiger (0.5.39): Rand auf kleineren Bildschirmen,
   gleiche Abstände zwischen den Schritten, Bestellübersicht wie die übrigen Überschriften */
@media (max-width: 1220px) {
	.entry-content .wp-block-woocommerce-checkout {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
	}
}
.wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-pickup-options-block {
	display: none;
}
.wc-block-checkout__main .wc-block-components-checkout-step {
	margin-bottom: 1.125rem !important;
}
.wc-block-components-checkout-order-summary__title-text {
	font-size: 1.5rem !important;
}


/* Kasse (0.5.40): Abstand Überschrift–Inhalt 8px, Rahmen einheitlich hell und 1px */
.wc-block-checkout__main .wc-block-components-checkout-step__heading-container {
	margin-bottom: 8px !important;
}
.wc-block-checkout .wc-block-components-text-input input:not(:focus),
.wc-block-checkout .wc-block-components-textarea:not(:focus),
.wc-block-checkout .wc-blocks-components-select__select:not(:focus) {
	border-color: rgba(26, 26, 26, .2) !important;
}
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .2) !important;
}


/* Kasse (0.5.41): Mengen-Chip in Blau, Zahl fett */
.wc-block-components-order-summary-item__quantity {
	background-color: var(--whs-accent) !important;
	border-color: var(--whs-accent) !important;
	color: #fff !important;
	box-shadow: none !important;
}
.wc-block-components-order-summary-item__quantity span {
	color: #fff !important;
	font-family: var(--whs-font-ui);
	font-weight: 700 !important;
}


/* Startseite (0.5.42): deutlicher Trenner zwischen „Alle Tagebucheinträge“ und „Briefe an Laura“ */
.whs-home-more__trenner {
	display: inline-block;
	width: 1px;
	height: 1.1em;
	margin: 0 .9em;
	vertical-align: -.15em;
	background-color: var(--whs-gold);
}


/* Akkordeon (0.5.43): z. B. Anfahrt auf der Kontaktseite.
   <details class="whs-akkordeon"><summary>Titel</summary><div class="whs-akkordeon__inhalt">…</div></details> */
.whs-akkordeon {
	border-top: 1px solid var(--whs-border);
	border-bottom: 1px solid var(--whs-border);
	margin: 0;
	interpolate-size: allow-keywords;
}
.whs-akkordeon + .whs-akkordeon {
	border-top: 0;
}
.entry-content h3 + .whs-akkordeon {
	margin-top: .75rem;
}
.whs-akkordeon + :not(.whs-akkordeon) {
	margin-top: 2rem;
}
.whs-akkordeon > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem .25rem;
	font-family: var(--whs-font-head);
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--whs-accent);
	transition: color .2s ease;
}
.whs-akkordeon > summary::-webkit-details-marker {
	display: none;
}
.whs-akkordeon > summary::after {
	content: "";
	flex-shrink: 0;
	width: .6rem;
	height: .6rem;
	margin-right: .4rem;
	border-right: 1.5px solid var(--whs-ochre);
	border-bottom: 1.5px solid var(--whs-ochre);
	transform: translateY(-25%) rotate(45deg);
	transition: transform .3s ease;
}
.whs-akkordeon[open] > summary::after {
	transform: translateY(25%) rotate(-135deg);
}
.whs-akkordeon > summary:hover {
	color: var(--whs-hover);
}
.whs-akkordeon > summary:focus-visible {
	outline: 2px solid var(--whs-focus);
	outline-offset: 2px;
}
.whs-akkordeon::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size .35s ease, content-visibility .35s allow-discrete;
}
.whs-akkordeon[open]::details-content {
	block-size: auto;
}
.whs-akkordeon__inhalt {
	padding: 0 .25rem 1.25rem;
}
.whs-akkordeon__inhalt ol {
	margin: 0 0 1rem 1.35rem;
}
.whs-akkordeon__inhalt li {
	margin-bottom: .35rem;
}
.whs-akkordeon__inhalt > :last-child {
	margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
	.whs-akkordeon::details-content,
	.whs-akkordeon > summary::after {
		transition: none;
	}
}
