/*
Theme Name: Weinbau Jezek
Theme URI: https://new.weinbaujezek.at
Description: Child-Theme von Ollie für Weinbau Jezek (Perchtoldsdorf)
Author: Weinbau Jezek
Template: ollie
Version: 1.0.0
Text Domain: weinbau-jezek
*/

/* Kopfbereich: halbtransparent, liegt über dem Hero (Hero läuft dahinter) */
:root {
	--djh-header-hoehe: 70px;
}

.djh-header {
	position: absolute; /* scrollt mit der Seite nach oben weg */
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	margin: 0;
	background-color: rgba(251, 248, 240, 0.75);
}

/* Nach 150 pt (200 px) Scrollen: Menü fährt von oben herunter und bleibt fixiert */
.djh-header.ist-fixiert {
	position: fixed;
	animation: djh-menue-runter 0.35s ease-out;
}

/* Fixiertes Menü: eigenes Logo, Inhaltsbreite 1200, Open Sans 18, Menüpunkte rechts */
.djh-logo-fix {
	display: none;
	line-height: 0;
}

.djh-logo-fix img {
	display: block;
	width: 300px;
	max-width: none;
	height: auto;
}

/* Schmale Bildschirme: 300 px wären zu breit */
@media (max-width: 781px) {
	.djh-logo-fix img {
		width: auto;
		height: 40px;
	}
}

.djh-header.ist-fixiert .wp-block-site-logo {
	display: none;
}

.djh-header.ist-fixiert .djh-logo-fix {
	display: block;
}

.djh-header.ist-fixiert .djh-header-innen {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1rem;
}

.djh-header.ist-fixiert .djh-menue,
.djh-header.ist-fixiert .djh-menue a {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 18px;
}

.djh-header .djh-menue {
	margin-left: auto;
}

/* Konto- und Warenkorb-Symbole im Menü ausblenden (Katalog ohne Shop) */
.djh-header .wp-block-woocommerce-customer-account,
.djh-header .wp-block-woocommerce-mini-cart,
.djh-header .wc-block-mini-cart,
.djh-header .wc-block-customer-account {
	display: none !important;
}

@keyframes djh-menue-runter {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.djh-header.ist-fixiert {
		animation: none;
	}
}

.admin-bar .djh-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .djh-header {
		top: 46px;
	}
}

.djh-header-innen {
	min-height: var(--djh-header-hoehe);
	padding-inline: clamp(1rem, 8vw, 10rem);
	align-items: center;
}

.djh-header .wp-block-site-logo img {
	display: block;
	height: auto;
}

/* Menü: Großbuchstaben, Braun, Arial wie auf der alten Seite */
.djh-menue,
.djh-menue a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 19px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--wp--preset--color--menue);
	text-decoration: none;
	gap: 1.25rem;
}

.djh-menue .wp-block-navigation__container {
	gap: 1.25rem;
}

.djh-menue a:hover,
.djh-menue a:focus,
.djh-menue .current-menu-item > a,
.djh-menue [aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

/* Seiten ohne Hero: Inhalt beginnt unter dem Menü */
body:not(.djh-hero-seite) .wp-site-blocks > main {
	padding-top: calc(var(--djh-header-hoehe) + var(--wp--preset--spacing--50));
}

/* Hero läuft hinter dem Menü */
.djh-hero {
	margin-top: 0;
}

.djh-hero.wp-block-cover {
	padding-top: var(--djh-header-hoehe);
}

/* Hero-Bereiche */
.djh-hero h1 {
	font-size: 70px;
	line-height: 70px;
	letter-spacing: 0;
}

@media (max-width: 781px) {
	.djh-hero h1 {
		font-size: 44px;
		line-height: 1.1;
	}
}

/* Datum im Hero: Open Sans 38 px, Gewicht 400 */
.djh-hero .djh-hero-datum {
	display: inline-block;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: 0;
	color: var(--wp--preset--color--hell);
}

@media (max-width: 781px) {
	.djh-hero .djh-hero-datum {
		font-size: 28px;
		line-height: 1.2;
	}
}

.djh-hero h1,
.djh-hero h2,
.djh-hero p,
.djh-hero a {
	color: var(--wp--preset--color--hell);
}

.djh-hero .wp-block-button__link {
	color: var(--wp--preset--color--hell);
	border-color: var(--wp--preset--color--hell);
}

/* Zitate: ohne Rahmen, zentriert, serifenlos */
.djh-zitat {
	padding-block: var(--wp--preset--spacing--60);
	text-align: center;
}

.djh-zitat .wp-block-quote {
	border: 0;
	padding: 0;
}

/* „Erster Schritt“ etc. */
.djh-schritt {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0;
}

/* Fußbereich */
.djh-footer {
	background-color: var(--wp--preset--color--dunkel);
	color: var(--wp--preset--color--text);
}

.djh-footer,
.djh-footer p,
.djh-footer a {
	color: #fff;
	font-weight: 400;
}

footer.djh-footer a,
footer.djh-footer a:visited,
footer.djh-footer a:hover,
footer.djh-footer a:focus {
	color: #fff;
	text-decoration: none;
}

footer.djh-footer a:hover,
footer.djh-footer a:focus {
	text-decoration: underline;
}

/* Fußbereich: gesamte Schrift 16 px (inkl. Pfeil „Nach oben“) */
footer.djh-footer,
footer.djh-footer p:not(.djh-nach-oben),
footer.djh-footer p:not(.djh-nach-oben) a,
footer.djh-footer .djh-footer-titel {
	font-size: 16px !important;
	line-height: 1.5;
}

.djh-footer-titel {
	color: #fff;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 16px;
	font-weight: 400;
	margin-top: 0;
}

.djh-footer-kontakt p {
	margin-block: var(--wp--preset--spacing--30);
}

.djh-footer-linie {
	border-color: rgba(255, 255, 255, 0.15);
	margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.djh-footer-unten p {
	margin: 0;
}

.djh-footer-unten p a + a {
	margin-left: var(--wp--preset--spacing--40);
}

/* „Nach oben“-Pfeil unten rechts */
.djh-nach-oben {
	margin: 0;
}

.djh-nach-oben a {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	background: rgba(27, 27, 27, 0.9);
	font-size: 16px !important;
	font-weight: 700;
}

/* Erst nach 300 px Scrollen sichtbar (nur wenn JavaScript läuft) */
.djh-js .djh-nach-oben a {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.djh-js .djh-nach-oben a.ist-sichtbar {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 781px) {
	.djh-footer-kontakt .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Buttons: einfacher dünner Rahmen, eckig (wie alte Seite), Abstand dazwischen */
.wp-block-buttons {
	gap: 0.75rem;
}

.wp-block-button .wp-block-button__link {
	border-radius: 1px;
	padding: 10pt 28px;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	background: #fff;
	border: 1pt solid #7e7260;
	box-shadow: none;
	outline: 0;
	color: #7e7260;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Outline-Stil des Themes bringt 2 px Rahmen mit: überall auf 1 pt zwingen */
.wp-block-button .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) {
	border-width: 1pt !important;
	border-style: solid !important;
}

/* Ollie zeichnet im Outline-Stil zusätzlich einen 2-px-Outline nach innen (Doppelrand): abschalten.
   Nur der Rand (1 pt) bleibt; für Tastaturbedienung gibt es einen Fokusring außen. */
.wp-block-button .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) {
	outline: 0 !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
}

.wp-block-button .wp-block-button__link:focus-visible {
	outline: 1pt solid #7e7260 !important;
	outline-offset: 3px !important;
}

/* Hero-Anker (reiner Text): auch im Outline-Stil ohne Rahmen */
.djh-anker .wp-block-button .wp-block-button__link,
.djh-anker .wp-block-button.is-style-outline > .wp-block-button__link,
.djh-anker .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) {
	border-width: 0 !important;
	background: transparent;
	color: var(--wp--preset--color--hell);
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link:active {
	background: #f9f7f4;
	border-color: #aca08d;
	color: #aca08d;
	text-decoration: none;
}

/* Startseite sowie Heurigen (18), Speisen (22), Team (24): Hero 90 % hoch, Anker ganz unten (nur Text) */
:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero.wp-block-cover {
	min-height: 90vh !important;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-height: calc(90vh - var(--djh-header-hoehe));
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-cover__inner-container > :first-child {
	margin-top: auto;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-spacer {
	display: none;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .djh-anker {
	margin-top: auto !important;
	/* 25 px bis zur Buchstabenunterkante (Zeile 27 px, Grundlinie ca. 8,5 px über dem Zeilenende) */
	margin-bottom: 16.5px !important;
	padding-bottom: 0;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero.wp-block-cover {
	padding-bottom: 0 !important;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-cover__inner-container {
	padding-bottom: 0;
	margin-bottom: 0;
}

:is(.home, .page-id-18, .page-id-22, .page-id-24) .djh-hero .djh-anker .wp-block-button__link {
	padding-block: 0;
}

.djh-anker .wp-block-button .wp-block-button__link:hover,
.djh-anker .wp-block-button .wp-block-button__link:focus-visible {
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--hell);
	text-decoration: underline;
}

.djh-anker .wp-block-button .wp-block-button__link {
	background: transparent;
	border-radius: 0;
	border-width: 0 !important;
}

.djh-anker .wp-block-button__link,
.djh-anker .wp-block-button .wp-block-button__link {
	border: 0;
	padding: 0.25rem 1.25rem;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--wp--preset--color--hell);
}

/* Fließtext auf der ganzen Seite: Arial 19 px / 27 px, Gewicht 300, #8B8D94
   (nicht im Hero, in Bildbändern, Produktkacheln und Zitaten) */
body {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 19px;
	font-weight: 300;
	line-height: 27px;
	color: #8b8d94;
}

main :where(p, li):not(.djh-hero *, .djh-band *, .djh-produkt *, .djh-zitat-bild *) {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 19px !important;
	font-weight: 300;
	line-height: 27px;
	color: #8b8d94;
}

/* Hero-Texte (Ausg'steckt is', Öffnungszeiten): Open Sans als Ersatz für acumin-pro */
.djh-hero p:not(.djh-anker) {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
}

/* Onlinereservierung: Überschrift 37 px wie auf der alten Seite */
.djh-klein h2 {
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 37px);
}

/* Onlinereservierung: Farben der alten Seite */
.djh-klein p {
	color: var(--wp--preset--color--braun);
	margin-block: 0 10px;
}

.djh-klein p:first-of-type {
	color: #444;
}

.djh-klein a,
.djh-klein a:visited,
.djh-klein a:hover,
.djh-klein a:focus {
	color: #ba9f60;
	font-weight: 400;
	text-decoration: none;
}

.djh-abschnitt {
	max-width: 1040px;
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--40);
}

/* 20 pt Abstand zwischen Text und Bild */
.djh-abschnitt .wp-block-columns {
	column-gap: 20pt;
	margin-bottom: var(--wp--preset--spacing--50);
}

.djh-abschnitt .wp-block-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.djh-rechts,
.djh-rechts p,
.djh-rechts h2 {
	text-align: right;
}

.djh-rechts .wp-block-buttons {
	justify-content: flex-end;
}

/* Produktkacheln */
.djh-produkt {
	background: var(--wp--preset--color--kopfzeile);
	border: 1px solid #ece6d3;
	padding: var(--wp--preset--spacing--40);
	text-align: center;
}

.djh-produkt p {
	font-size: 14px;
	margin: 0;
}

/* Bildbänder über volle Breite */
.djh-band h2,
.djh-band p {
	color: #fff;
}

/* Zitat-Cover rechtsbündig */
.djh-zitat-bild .wp-block-quote,
.djh-zitat-bild p,
.djh-zitat-bild cite {
	color: #fff;
	text-align: right;
	border: 0;
}

/* Vespa im Newsletter-Band (Animation: assets/vespa.js) */
.djh-band .djh-vespa {
	position: absolute;
	left: 0;
	bottom: 12%;
	z-index: 1;
	width: 135px;
	max-width: none;
	height: auto;
	pointer-events: none;
	will-change: transform;
}

/* Heurigen (18) und Speisen (22): erstes Zitat im Rahmen, 900 px breit, mit Anführungszeichen-Bild (assets/zitat-1.png) */
:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat {
	max-width: 900px !important;
	padding-inline: 1rem;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote {
	position: relative;
	max-width: 900px;
	margin: 90px auto;
	padding: 50px 40px 56px;
	border: 1px solid #dedede !important;
	border-width: 1px !important;
	text-align: center;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote p {
	margin: 0;
	font-family: var(--wp--preset--font-family--source-serif), serif;
	font-size: 36px !important;
	font-weight: 900;
	font-style: italic;
	line-height: 46px;
	color: #aca08d;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::before,
:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::after {
	content: "";
	position: absolute;
	width: 110px;
	aspect-ratio: 300 / 243;
	background: url("assets/zitat-1.png") center / contain no-repeat;
	pointer-events: none;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::before {
	top: -67px;
	left: 66px;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::after {
	bottom: -67px;
	right: 66px;
	transform: rotate(180deg);
}

@media (max-width: 781px) {
	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote {
		margin-inline: 1rem;
		padding: 40px 20px 44px;
	}

	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote p {
		font-size: 24px !important;
		line-height: 32px;
	}

	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::before,
	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::after {
		width: 60px;
	}

	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::before {
		top: -36px;
		left: 20px;
	}

	:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24) .djh-zitat .wp-block-quote::after {
		bottom: -36px;
		right: 20px;
	}
}

/* Hero-Links (Heurigen, Speisen, Team, Start): nie Rand, Rahmen oder Fokus-Linie */
.djh-hero .djh-anker .wp-block-button__link,
.djh-hero .djh-anker .wp-block-button__link:hover,
.djh-hero .djh-anker .wp-block-button__link:focus,
.djh-hero .djh-anker .wp-block-button__link:focus-visible,
.djh-hero .djh-anker .wp-block-button__link:active {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* ==========================================================================
   Unterseiten Heurigen (18), Handwerk (20), Speisen (22), Team (24), Kontakt (26)
   Werte von der alten Seite (acumin-pro → Open Sans, Source Serif Pro → Source Serif 4)
   ========================================================================== */

/* Hero: 606 px hoch, Untertitel 29 px Open Sans 300 */
:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24, .page-id-26) .djh-hero.wp-block-cover {
	min-height: 606px !important;
}

:is(.page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-cover__inner-container {
	min-height: calc(606px - var(--djh-header-hoehe));
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24, .page-id-26) .djh-hero .wp-block-cover__inner-container > p:not(.djh-anker) {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 29px;
	font-weight: 300;
	line-height: 1.3;
}

/* Inhaltsbreite 900 px (alte Seite), breite Blöcke bleiben 1200 px */
:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24, .page-id-26) main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
	max-width: 900px;
}

/* Fließtext: Open Sans 400, #7E7260 */
:is(.page-id-18, .page-id-22) main :where(p, li):not(.djh-hero *, .djh-bildband *, .djh-produkt *) {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 19px !important;
	font-weight: 400;
	line-height: 27px;
	color: #7e7260;
}

:is(.page-id-20, .page-id-24, .page-id-26) main :where(p, li):not(.djh-hero *, .djh-bildband *, .djh-produkt *) {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 18px !important;
	font-weight: 400;
	line-height: 27px;
	color: #7e7260;
}

:is(.page-id-18, .page-id-20, .page-id-22, .page-id-24, .page-id-26) main a:not(.wp-block-button__link, .djh-hero a) {
	color: #7e7260;
	font-weight: 400;
}

/* Textabschnitte und Überschriften (H2: 32 px kursiv, #ACA08D) */
:is(.page-id-18, .page-id-22, .page-id-24) main h2 {
	font-family: var(--wp--preset--font-family--source-serif), "Source Serif 4", Georgia, serif;
	font-weight: 900;
	font-style: italic;
	color: #aca08d;
	line-height: 1.35;
}

.page-id-18 .djh-text h2 {
	font-size: 32px;
	text-align: left;
	margin-block: 0 10px;
}

.page-id-18 .djh-text,
.page-id-22 .djh-text {
	margin-block: 80px;
}

/* Datum unter dem Zitat (Heurigen) */
.djh-datum {
	margin-bottom: 40px;
}

:is(.page-id-18, .page-id-22) main p.djh-datum {
	font-family: var(--wp--preset--font-family--source-serif), "Source Serif 4", Georgia, serif;
	font-size: 14px !important;
	font-weight: 900;
	font-style: italic;
	line-height: 20px;
	color: #aca08d;
	text-align: center;
}

/* Bildbänder in voller Breite (Heurigen, Speisen) */
.djh-bildband.wp-block-cover {
	margin-block: 90px;
	padding: 0;
}

/* Speisen */
.page-id-22 main p.djh-untertitel {
	font-family: var(--wp--preset--font-family--source-serif), "Source Serif 4", Georgia, serif;
	font-size: 26px !important;
	font-weight: 900;
	font-style: italic;
	line-height: 38px;
	color: #aca08d;
	text-align: center;
}

.page-id-22 .djh-mittig p {
	text-align: center;
}

.djh-speisenliste {
	max-width: 800px;
	margin-inline: auto;
	margin-block: 80px;
	text-align: center;
}

.djh-speisenliste h2 {
	font-size: 32px;
	text-align: center;
	margin-block: 0 24px;
}

.page-id-22 .djh-speisenliste ul {
	list-style: none;
	margin: 0;
	padding: 0;
	column-count: 2;
	column-gap: 0;
}

.page-id-22 main .djh-speisenliste li {
	font-size: 22px !important;
	font-weight: 500;
	line-height: 30px;
	margin: 0 0 10px;
	padding-inline: 10px;
	text-align: center;
	break-inside: avoid;
}

@media (max-width: 600px) {
	.page-id-22 .djh-speisenliste ul {
		column-count: 1;
	}
}

.djh-tagesgericht {
	margin-block: 80px;
}

.djh-tagesgericht h2 {
	font-size: 38px;
	text-align: center;
}

.page-id-22 main p.djh-hinweis {
	font-size: 13px !important;
	text-align: left;
}

/* Handwerk: sechs Schritte, Bild 452 px quadratisch, Text daneben */
.djh-schritte {
	margin-block: 70px;
	column-gap: 40px;
}

.djh-schritte .wp-block-image,
.djh-schritte .wp-block-gallery {
	margin: 0;
}

.djh-schritte .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.djh-schritte .wp-element-caption {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 400;
	color: #7e7260;
	text-align: right;
}

.page-id-20 main p.djh-schritt {
	margin: 0 0 4px;
	font-size: 24px !important;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
	text-transform: none;
	color: #aca08d;
}

.page-id-20 main .djh-schritte h2 {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 34px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.2;
	color: #aca08d;
	margin-block: 0 12px;
}

/* Bildergalerie als Karussell (ein Bild sichtbar, seitlich wischbar) */
.wp-block-gallery.djh-karussell {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.wp-block-gallery.djh-karussell .wp-block-image {
	flex: 0 0 100% !important;
	width: 100% !important;
	scroll-snap-align: start;
}

/* Team */
.djh-gruppenfoto img {
	display: block;
	width: 100%;
	height: auto;
}

.djh-person {
	margin-block: 60px;
	column-gap: 50px;
}

.djh-person .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.page-id-24 main .djh-person h2 {
	font-size: 42px;
	line-height: 1.2;
	margin-block: 0 24px;
}

.page-id-24 main p.djh-spruch {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 23px !important;
	font-weight: 300;
	line-height: 29px;
	color: #aca08d;
	text-align: center;
	margin-top: 30px;
}

.page-id-24 main p.djh-urheber {
	text-align: center;
	margin-top: 0;
}

.page-id-24 main .djh-teamsuche h2 {
	font-size: clamp(2.2rem, 5vw, 57px);
	font-style: normal;
	line-height: 1.1;
	text-align: center;
	margin-block: 60px 20px;
}

/* Kontakt: schmale Spalte (600 px) */
.page-id-26 main .djh-kontaktbox {
	margin-block: 80px;
}

.page-id-26 main .djh-kontaktbox h2 {
	font-family: var(--wp--preset--font-family--source-serif), "Source Serif 4", Georgia, serif;
	font-size: 34px;
	font-weight: 900;
	font-style: normal;
	line-height: 1.2;
	color: #aca08d;
	margin-block: 40px 12px;
}

.page-id-26 main .djh-kontaktbox h2:first-child {
	margin-top: 0;
}

/* Feinabstimmung Heurigen/Speisen: Abstände wie alte Seite */
:is(.page-id-18, .page-id-22, .page-id-24) .djh-hero .wp-block-cover__inner-container {
	padding-top: 76px;
}

.djh-zitat + .djh-text {
	margin-top: 0;
}

.djh-datum {
	margin-bottom: 70px;
}

.page-id-18 main .djh-text p {
	margin-block: 0 10px;
}

.page-id-18 .djh-text {
	margin-bottom: 148px;
}

.page-id-18 .djh-zitat + .djh-text {
	margin-bottom: 100px;
}

.djh-bildband.wp-block-cover {
	margin-block: 0 80px;
}

/* Handwerk: Bildspalte 452 px, größere Schrittabstände, Hero-Text wie alte Seite */
.djh-schritte {
	margin-block: 90px;
}

@media (min-width: 782px) {
	.djh-schritte > .wp-block-column:has(.wp-block-image, .wp-block-gallery) {
		flex: 0 0 452px !important;
	}

	.djh-schritte > .wp-block-column:not(:has(.wp-block-image, .wp-block-gallery)) {
		flex: 1 1 0 !important;
		min-width: 0;
	}
}

.page-id-20 .djh-hero .wp-block-cover__inner-container,
.page-id-26 .djh-hero .wp-block-cover__inner-container {
	padding-top: 76px;
}

.page-id-20 .djh-hero .wp-block-cover__inner-container {
	padding-top: 152px;
}

/* Speisen: Listen 800 px, Tagesgericht 1000 px, Abstände wie alte Seite */
.page-id-22 main .djh-speisenliste {
	max-width: 800px;
}

.page-id-22 main .djh-tagesgericht > :where(*) {
	max-width: 1000px;
}

.page-id-22 .djh-bildband + .djh-speisenliste {
	margin-top: 170px;
}

.page-id-22 main .djh-mittig p {
	margin-block: 0 10px;
}

/* Team: Personenzeilen 1100 px breit, Spalten je ca. 490 px, Fotos 4:5 */
.page-id-24 main .djh-person {
	max-width: 1100px;
	margin-inline: auto;
	column-gap: 110px;
}

.djh-person .wp-block-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.djh-gruppenfoto img {
	height: 650px;
	object-fit: cover;
}

@media (max-width: 781px) {
	.djh-gruppenfoto img {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* Kontakt: Textspalte 600 px, Hero-Links hell */
.page-id-26 main .djh-kontaktbox > :where(*) {
	max-width: 600px;
}

.page-id-26 .djh-hero a {
	font-weight: 300;
	text-decoration: none;
}

/* Newsletter-Formular (Kontakt) */
.djh-newsletter { display: flex; flex-direction: column; gap: 12px; margin: 1.2em 0; }
.djh-newsletter input { font: inherit; font-size: 16px; font-weight: 300; color: #7e7260; background: #fff; border: 1px solid #aca08d; border-radius: 0; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.djh-newsletter button { align-self: flex-start; cursor: pointer; font-family: inherit; font-size: 13px; color: #7e7260; background: transparent; border: 1pt solid #7e7260; padding: 10pt 28px; }
.djh-newsletter button:hover { background: #7e7260; color: #fff; }

/* Handwerk (20) und Speisen (22): Inhalt 1000 px breit */
:is(.page-id-20, .page-id-22) main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),
.page-id-22 main .djh-speisenliste,
.page-id-22 main .djh-tagesgericht > :where(*),
.page-id-20 main .djh-schritte {
	max-width: 1000px;
}

.page-id-20 main .djh-schritte {
	margin-inline: auto;
}

.page-id-22 main .djh-zitat {
	max-width: 900px !important;
}

/* Tagesgericht-Tabelle (TablePress) */
.djh-tagesgericht .tablepress {
	width: 100%;
	margin: 0 0 1.5em;
	font-size: 18px;
	color: #7e7260;
	border-collapse: collapse;
}

.djh-tagesgericht .tablepress th,
.djh-tagesgericht .tablepress td {
	padding: 10px 12px;
	border: 0;
	border-top: 1px solid #dedede;
	background: transparent;
	text-align: left;
	vertical-align: top;
}

.djh-tagesgericht .tablepress thead th {
	font-weight: 700;
	border-top: 0;
	border-bottom: 2px solid #aca08d;
}

/* Speisen: 40 px Abstand zwischen „Änderungen vorbehalten“ und Footer */
.page-id-22 main .djh-tagesgericht {
	margin-bottom: 0;
	padding-bottom: 40px;
}

.page-id-22 main p.djh-hinweis {
	margin-bottom: 0;
}

.page-id-22 .wp-site-blocks > footer,
.page-id-22 .wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

/* Tagesgericht-Tabelle: 800 px breit, 20 px Abstand zur Überschrift */
.page-id-22 main .djh-tagesgericht h2 {
	margin-bottom: 20px;
}

.page-id-22 main .djh-tagesgericht .tablepress-scroll-wrapper,
.page-id-22 main .djh-tagesgericht .dataTables_wrapper,
.page-id-22 main .djh-tagesgericht .tablepress {
	max-width: 800px;
	margin-inline: auto;
}

.page-id-22 main .djh-tagesgericht > .wp-block-shortcode {
	margin-top: 0;
}

/* Speisen: 80 px Abstand zwischen Bildband und „Warme Speisen“ */
.page-id-22 .djh-bildband + .djh-speisenliste {
	margin-top: 80px;
}

/* Speisen: Listen wieder 800 px breit, schwarze 1-px-Linien zwischen den Listen (wie alte Seite) */
.page-id-22 main .djh-speisenliste {
	max-width: 800px;
}

.page-id-22 main .djh-speisenliste:has(+ .djh-speisenliste) {
	margin-bottom: 30px;
}

.page-id-22 main .djh-speisenliste + .djh-speisenliste {
	margin-top: 0;
	padding-top: 50px;
	border-top: 1px solid #000;
}

/* Team: 70 px Abstand zwischen letztem Absatz und Footer */
.page-id-24 main .djh-teamsuche {
	margin-bottom: 0;
	padding-bottom: 70px;
}

.page-id-24 main .djh-teamsuche > :last-child {
	margin-bottom: 0;
}

.page-id-24 .wp-site-blocks > footer {
	margin-block-start: 0;
}

/* Footer: Terminliste (Kategorie „Termine“) unter „Ausg’steckt is'“ */
footer.djh-footer .djh-termine .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

footer.djh-footer .djh-termine .wp-block-post-title {
	margin: 0 0 6px;
	font-family: inherit;
	font-size: 16px !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	text-align: center;
}

/* Footer „Ausg’steckt is'“: Titel fett 18 px, Terminliste mit engerem Zeilenabstand */
footer.djh-footer .wp-block-column:last-child .djh-footer-titel {
	font-size: 18px !important;
	font-weight: 700 !important;
}

footer.djh-footer .djh-termine .wp-block-post-title {
	margin: 0;
	line-height: 1.25;
}

footer.djh-footer .djh-termine .wp-block-post-template {
	gap: 0;
}

/* Footer: „Heurigen Ježek“ 18 px, 40 px Abstand zwischen Logo und Text */
footer.djh-footer .wp-block-column:nth-child(2) .djh-footer-titel {
	font-size: 18px !important;
}

@media (min-width: 782px) {
	footer.djh-footer .djh-footer-kontakt {
		column-gap: 40px;
	}

	footer.djh-footer .djh-footer-kontakt > .wp-block-column:first-child {
		flex: 0 0 auto !important;
	}

	footer.djh-footer .djh-footer-kontakt > .wp-block-column:nth-child(2) {
		flex: 1 1 0 !important;
	}

	footer.djh-footer .djh-footer-kontakt > .wp-block-column:nth-child(3) {
		flex: 0 0 25% !important;
	}
}

/* Footer: „Heurigen Ježek“ wie „Ausg’steckt is'“ (18 px, fett) */
footer.djh-footer .wp-block-column:nth-child(2) .djh-footer-titel {
	font-size: 18px !important;
	font-weight: 700 !important;
}

/* Footer-Terminliste: Zeilenabstand 26 px */
footer.djh-footer .djh-termine .wp-block-post-template,
footer.djh-footer .djh-termine .wp-block-post-template > li,
footer.djh-footer .djh-termine .wp-block-post-title {
	line-height: 26px;
}

/* ===== Shop („Weine“) und Weinseiten: Karten wie alte Seite ===== */
.djh-weine {
	max-width: 1000px;
	margin-inline: auto;
}

.djh-weine .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.djh-weine .wp-block-post-template > li {
	margin: 0;
	padding: 0;
	max-width: none;
}

.djh-karte {
	position: relative;
	height: 466px;
	margin: 0 !important;
}

.djh-karte::before {
	content: "";
	position: absolute;
	inset: 130px 10px 10px;
	background: rgba(249, 243, 229, 0.74);
	transition: background-color 0.3s;
}

.djh-karte::after {
	content: "";
	position: absolute;
	inset: 140px 20px 20px;
	border: 1px solid #baa470;
	pointer-events: none;
}

.djh-karte:hover::before {
	background: rgba(236, 229, 207, 0.95);
}

.djh-karte .djh-karte-bild {
	position: absolute;
	top: -9px;
	left: calc(50% + 2px);
	z-index: 1;
	width: 242px;
	height: 380px;
	margin: 0;
	transform: translateX(-50%);
}

.djh-karte .djh-karte-bild a,
.djh-karte .djh-karte-bild img {
	display: block;
	width: 242px;
	height: 380px;
	object-fit: contain;
}

.djh-karte .djh-karte-titel {
	position: absolute;
	top: 390px;
	left: 20px;
	right: 20px;
	z-index: 1;
	margin: 0;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 19px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
	color: #aca08d;
	text-align: center;
}

.djh-karte .djh-karte-titel a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

@media (max-width: 1040px) {
	.djh-weine .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-inline: 1rem;
	}
}

@media (max-width: 640px) {
	.djh-weine .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== Einzelne Weinseite ===== */
.single-product .djh-produkt-hero {
	margin: 0;
}

.djh-weinseite {
	display: grid;
	grid-template-columns: 252px minmax(0, 1fr);
	column-gap: 25px;
	max-width: 900px;
	margin: 0 auto;
	padding-inline: 1rem;
	box-sizing: content-box;
}

.djh-weinseite .djh-flasche {
	position: relative;
	z-index: 2;
	margin: -220px 0 0;
}

.djh-weinseite .djh-flasche img {
	display: block;
	width: 252px;
	height: 760px;
	object-fit: contain;
	object-position: top center;
}

.djh-weintext {
	padding-top: 231px;
}

.single-product .djh-weintext .djh-weintitel {
	margin: 0;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 44px;
	font-style: normal;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #aca08d;
}

.single-product .djh-weintext .djh-jahrgang,
.single-product .djh-weintext .djh-jahrgang p {
	margin: 10px 0 0;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 27px;
	color: #898989;
}

.single-product .djh-weintext .djh-beschreibung,
.single-product .djh-weintext .djh-beschreibung p {
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #7e7260;
}

.single-product .djh-weintext .djh-beschreibung {
	margin-top: 10px;
}

.single-product .djh-weintext .djh-beschreibung p {
	margin: 0 0 0.6em;
}

.single-product .djh-weintext .djh-beschreibung p:last-child {
	margin-bottom: 0;
}

.djh-teilen {
	display: flex;
	gap: 6px;
	margin: 15px 0 0 -8px;
}

.djh-teilen a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	color: #666;
	font-weight: 400;
	text-decoration: none;
}

.djh-teilen a:hover {
	color: #7e7260;
}

.djh-mehr {
	max-width: 1000px;
	margin: 63px auto 0;
	padding: 101px 1rem 100px;
	border-top: 1px solid #dedede;
	box-sizing: content-box;
}

@media (max-width: 781px) {
	.djh-weinseite {
		grid-template-columns: minmax(0, 1fr);
	}

	.djh-weinseite .djh-flasche {
		margin-top: -120px;
		text-align: center;
	}

	.djh-weinseite .djh-flasche img {
		margin-inline: auto;
		height: 520px;
	}

	.djh-weintext {
		padding-top: 20px;
	}

	.single-product .djh-weintext .djh-weintitel {
		font-size: 34px;
	}
}

/* Shop („Weine“): Inhalt 900 px breit */
.post-type-archive-product main .djh-weine {
	max-width: 900px;
}

/* Startseite: Weine 900 px breit */
.home main .djh-weine {
	max-width: 900px;
}

/* Buttons im Inhalt: 15 px Abstand nach oben (Hero-Buttons ausgenommen) */
main .wp-block-buttons:not(.djh-anker) {
	margin-top: 15px;
}

/* Alle Wein-Karten (Shop, Startseite, „Weitere Weine“): 900 px breit */
.djh-weine,
.djh-mehr {
	max-width: 900px;
}

/* Heurigen: „Ausg’steckt is'“ groß, darunter alle Termine mittig (Kategorie „Termine“) */
.page-id-18 main .djh-aussteckt {
	margin: 0 0 20px;
	font-size: 42px;
	line-height: 1.2;
	text-align: center;
}

.page-id-18 main .djh-termine-seite {
	margin-bottom: 70px;
}

.page-id-18 main .djh-termine-seite .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-id-18 main .djh-termine-seite .wp-block-post-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--open-sans), "Open Sans", sans-serif;
	font-size: 22px !important;
	font-style: normal;
	font-weight: 400;
	line-height: 34px;
	color: #7e7260;
	text-align: center;
}
