/* ==========================================================================
   print.css — A5-Ausdruck der Wochenkarte
   Eingebunden mit media="print". Ziel: die Seite laesst sich ohne
   Nachbearbeitung als Aushang drucken (docs/content-spec.md).

   Grundsatz: das Blatt arbeitet mit Linien und Text,
nicht mit
   Hintergrundflaechen — Browser drucken Hintergruende standardmaessig nicht.
   ========================================================================== */

@page {
	size: A5 portrait;
	margin: 10mm;
}
/* Divi setzt die Body-Schriftgroesse mit hoeherer Spezifitaet. Ohne das
   html davor bleibt der Satz bei 14px und die Karte braucht zwei Blatt. */
html,
html body,
html body.et-db {
	background: #fff;
	color: #000;
	font-size: 8pt;
	line-height: 1.3;
}
/* --------------------------------------------------------------------------
   2. Was nur auf dem Blatt erscheint
   -------------------------------------------------------------------------- */

.wm-print-only {
	display: block;
}
/* Kopf des Blatts: Logo links,
Kontakt rechts,
darunter eine kraeftige
   Linie. Das Logo ist das dunkle SVG — auf weissem Papier richtig herum. */
.wm-print-head .et_pb_text_inner {
	border-bottom: 1.5pt solid #000;
	padding-bottom: 1.5mm;
	margin-bottom: 2.5mm;
	overflow: hidden;
}
.wm-print-head p {
	margin: 0;
}
.wm-print-logo {
	float: left;
	height: 7mm;
	width: auto;
}
.wm-print-contact {
	text-align: right;
	font-size: 8pt;
	line-height: 1.4;
}
/* --------------------------------------------------------------------------
   3. Seitenaufbau
   -------------------------------------------------------------------------- */

.et_pb_section,
.et_pb_row,
.et_pb_column,
/* Divi erzeugt fuer jede Section mit eigenem Padding eine nummerierte
   Regel (.et_pb_section_6). Die Doppelklasse zieht hier gleich. */
.et_pb_section.et_pb_section,
.et_pb_section.wm-pb-lg,
.et_pb_section.wm-pb-xl,
.et_pb_row.et_pb_row,
.et_pb_column.et_pb_column {
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: none;
	background: none;
	border: 0;
	float: none;
}
/* Divi gibt jeder Spalte und jedem Modul 30px Abstand mit. Auf A5 sind
   das pro Tageszeile fast 8mm Leerraum — die Karte passte dadurch nicht
   auf ein Blatt. */
.et_pb_module,
.et_pb_module.et_pb_text,
.et_pb_module.et_pb_image,
.et_pb_column.et_pb_column,
.et_pb_row.et_pb_row {
	margin: 0;
	padding: 0;
}

/* Divi setzt in Textmodulen 14px. Auf A5 muss der Satz kleiner werden,
   sonst passt die Woche nicht auf ein Blatt. */
.et_pb_module.et_pb_text,
.et_pb_module.et_pb_text p,
.et_pb_module.et_pb_text div {
	font-size: 8pt;
	line-height: 1.3;
	color: #000;
}
/* Zeitraum-Balken wird zur Zeile mit Linie. */
.et_pb_row.wm-week-band {
	margin-bottom: 3mm;
}
.et_pb_row.wm-week-band .et_pb_text,
.et_pb_row.wm-week-band .et_pb_text p {
	color: #000;
}
.et_pb_row.wm-week-band .wm-week-period .et_pb_text_inner {
	font-family: var(--wm-font-display);
	font-size: 13pt;
	text-transform: uppercase;
}
.et_pb_row.wm-week-band .wm-week-note .et_pb_text_inner {
	text-align: left;
	font-size: 8pt;
}
/* Burger der Woche: Rahmen statt Flaeche. */
.et_pb_row.wm-week-highlight {
	border: 1pt solid #000;
	padding: 2mm 2.5mm;
	margin-bottom: 2.5mm;
	page-break-inside: avoid;
	break-inside: avoid;
}
.et_pb_column.wm-week-highlight-body,
.et_pb_column.wm-week-highlight-body h2,
.et_pb_column.wm-week-highlight-body p,
.et_pb_column.wm-week-highlight-body .wm-kicker p {
	color: #000;
	padding: 0;
}
.et_pb_column.wm-week-highlight-body .wm-kicker p {
	font-size: 7.5pt;
	letter-spacing: 0.12em;
	margin-bottom: 1mm;
}
.et_pb_column.wm-week-highlight-body h2 {
	font-size: 12.5pt;
	line-height: 1.1;
	margin: 0;
	display: inline;
}
.et_pb_column.wm-week-highlight-body p {
	font-size: 8pt;
	line-height: 1.35;
	margin: 0;
	max-width: none;
}
.et_pb_column.wm-week-highlight-body .wm-price {
	float: right;
	font-size: 13pt;
	color: #000;
	margin: 0;
}
/* --------------------------------------------------------------------------
   4. Tageszeilen
   -------------------------------------------------------------------------- */

.et_pb_row.wm-day-row {
	border: 0;
	border-top: 0.5pt solid #000;
	padding: 1mm 0 0;
	margin: 0 0 1.5mm;
	page-break-inside: avoid;
	break-inside: avoid;
}
.wm-day-name .et_pb_text_inner {
	font-family: var(--wm-font-display);
	font-size: 10pt;
	text-transform: uppercase;
	padding: 0;
	margin-bottom: 0.3mm;
}
.wm-dish {
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 4mm;
	align-items: baseline;
	margin: 0 0 0.8mm;
	padding: 0;
	border: 0;
}

/* Wie am Bildschirm: Die drei Teile sind Divi-Module, deren Abstaende auf
   dem A5-Blatt nichts zu suchen haben. Die Gruppe selbst ist ebenfalls ein
   Modul — ohne den zweiten Selektor standen zwischen zwei Gerichten 30 statt
   7,5 px, und das Blatt lief auf zwei Seiten. */
.wm-dish .et_pb_module,
.et_pb_module.wm-dish {
	margin-bottom: 0;
}

.wm-dish .et_pb_text_inner p {
	margin: 0;
	padding-bottom: 0;
	line-height: 1.25;
}

.wm-dish .wm-price {
	text-align: right;
}
.wm-dish + .wm-dish {
	margin-top: 1mm;
	padding-top: 1mm;
	border-top: 0.25pt dotted #666;
}
.wm-dish-name {
	font-weight: 700;
	font-size: 8pt;
}
.wm-dish-desc {
	display: block;
	grid-column: 1 / -1;
	font-weight: 400;
	font-size: 7pt;
	color: #333;
	margin-top: 0.2mm;
}
.wm-price {
	font-family: var(--wm-font-body);
	font-size: 10pt;
	font-weight: 600;
	color: #000;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
/* --------------------------------------------------------------------------
   5. Fusszeile des Blatts
   -------------------------------------------------------------------------- */

.wm-note .et_pb_text_inner,
.et_pb_module.et_pb_text .wm-note,
.wm-note.et_pb_module.et_pb_text .et_pb_text_inner {
	border-top: 0.5pt solid #000;
	padding-top: 1.5mm;
	margin-top: 2mm;
	font-size: 6.5pt;
	line-height: 1.25;
	color: #000;
}
/* Links ohne URL-Anhang — auf Papier nutzlos. */
a[href]::after {
	content: none;
}
/* --------------------------------------------------------------------------
   6. Uebrige Seiten
   Nicht optimiert,
aber lesbar: Rechtstexte und Speisekarte druckt
   gelegentlich jemand aus.
   -------------------------------------------------------------------------- */

/* Auf dem Bildschirm ist das Raster ein Grid mit querliegenden Karten.
   Fuers Blatt zaehlt Papierersparnis: zurueck auf zwei Textspalten ohne
   Fotos. Die Klasse et_pb_column hebt die Spezifitaet auf das Niveau der
   Bildschirmregel. */
.et_pb_column.wm-menu-grid {
	display: block;
	column-count: 2;
}
.wm-menu-grid .et_pb_blurb_content,
.wm-menu-grid .et_pb_blurb_container {
	display: block;
}
.wm-menu-grid .et_pb_main_blurb_image {
	display: none;
}
/* Vier Klassen wie die Bildschirmregel, die den Modulabstand auf 0 setzt —
   im Druck ordnen die Karten sich in Textspalten, dort braucht es den
   Abstand wieder. */
.et_pb_column.wm-menu-grid .et_pb_module.et_pb_blurb {
	border: 0.5pt solid #999;
	break-inside: avoid;
	margin-bottom: 2mm;
}
.wm-legal .et_pb_text_inner {
	max-width: none;
}
/* --------------------------------------------------------------------------
   7. Was nicht aufs Blatt gehoert

   Steht bewusst am Ende der Datei: der Layout-Reset weiter oben setzt
   Anzeigearten zurueck und wuerde ein frueher notiertes display:none sonst
   wieder aufheben. Die Divi-Klassen davor heben die Spezifitaet auf das
   Niveau von Divis eigenen Regeln (z. B. .et_pb_image.et_block_module) —
   damit kommt die Datei ohne !important aus.
   -------------------------------------------------------------------------- */

.wm-no-print,
.wm-skip-link,
#wpadminbar,
.et-l--header,
.et-l--footer,
.et_pb_section.wm-no-print,
.et_pb_section.wm-page-hero,
.et_pb_section.wm-header,
.et_pb_section.wm-footer,
.et_pb_row.wm-no-print,
.et_pb_module.wm-no-print,
.et_pb_image.wm-no-print,
.et_pb_image.et_pb_row.wm-week-highlight-image,
.et_pb_module.et_pb_button,
.et_pb_module.et_pb_menu,
.et_mobile_nav_menu {
	display: none;
}

/* Wochenkarte: der Link zur Speisekarte in der Hinweiszeile ist fuer den
   Bildschirm gedacht (interne Verlinkung). Auf dem A5-Blatt fuehrt er nirgends
   hin und kostet eine Zeile. Erfasst jeden Absatz, der nur aus einem Link
   besteht. */
.wm-note p:has(> a:only-child) {
	display: none;
}
