/*
Theme Name:   Helwigus (Divi Child)
Theme URI:    https://helwigus.com
Description:  Child Theme für Divi 5 – helwigus.com. Eigene Anpassungen gehören hierher, nicht ins Divi-Theme, damit sie Updates überstehen.
Author:       Richie
Template:     Divi
Version:      1.6.5
Text Domain:  helwigus-divi
*/

/* ==========================================================================
   Grundlagen: Farben, Schriften, Papier-Hintergrund
   Weinrot #7a1f3d · Altrosa #B07676 · Dunkelrosé #8f5559 · Text #2b2326
   Fließtext Carlito · Überschriften Caladea (Schriftdateien im Ordner /fonts)
   ========================================================================== */

:root {
	--hw-wein: #7a1f3d;
	--hw-wein-dunkel: #5c1f2b;
	--hw-rose: #b07676;
	--hw-rose-dunkel: #8f5559;
	--hw-link: #7f3f47;
	--hw-text: #2b2326;
	--hw-text-leise: #5d4a4e;
	--hw-linie: #e3cbbd;
	--hw-karte: rgba(255, 255, 255, .55);
	--hw-papier: none; /* wird in functions.php gesetzt (Einstellung hw_papier_url) */
	--hw-breite: 1176px;
}

body,
#page-container,
#et-main-area,
#main-content,
.et_pb_section,
.et-l--header .et_pb_section,
.et-l--footer .et_pb_section {
	background-color: transparent;
}

body {
	background: #f7e9d7 var(--hw-papier) center top / 1400px auto repeat;
	font-family: 'Carlito', 'Helvetica Neue', Arial, sans-serif;
	color: var(--hw-text);
	font-size: 18px;
	line-height: 1.55;
	font-weight: 400;
}

body #page-container .et_pb_section,
body .et-l .et_pb_section {
	background-color: transparent;
}

body p,
body li,
.et_pb_text,
.et_pb_text_inner {
	font-size: 18px;
	line-height: 1.6;
	color: var(--hw-text);
}

h1, h2, h3, h4,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3, .et_pb_module h4 {
	font-family: 'Caladea', Georgia, serif;
	font-weight: 700;
	color: var(--hw-wein);
	line-height: 1.15;
	padding-bottom: 0;
}

h1, .et_pb_module h1 { font-size: 52px; margin: 0 0 14px; }
h2, .et_pb_module h2 { font-size: 42px; margin: 10px 0 22px; }
h3, .et_pb_module h3 { font-size: 26px; margin: 0 0 10px; }

a { color: var(--hw-link); }
a:hover { color: var(--hw-wein-dunkel); }

/* Gut lesbar für ältere Besucher: deutlicher Fokusrahmen */
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--hw-rose);
	outline-offset: 3px;
}

.hw-eyebrow,
.hw-eyebrow p {
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--hw-rose-dunkel);
	font-weight: 700;
	margin: 0;
}

/* Inhaltsbreite */
#page-container .et_pb_row {
	width: 90%;
	max-width: var(--hw-breite);
}

/* ==========================================================================
   Schaltflächen
   ========================================================================== */

.hw-btn,
body .et_pb_button.hw-btn,
body #page-container .et_pb_button.hw-btn {
	display: inline-block;
	background: var(--hw-wein);
	color: #fff !important;
	border: 1.5px solid var(--hw-wein);
	border-radius: 4px;
	padding: 13px 26px !important;
	font-family: 'Carlito', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: background .15s, color .15s;
}

.hw-btn:hover,
body #page-container .et_pb_button.hw-btn:hover {
	background: var(--hw-wein-dunkel);
	border-color: var(--hw-wein-dunkel);
	padding: 13px 26px !important;
}

.hw-btn--rahmen,
body #page-container .et_pb_button.hw-btn--rahmen {
	background: transparent;
	color: var(--hw-wein) !important;
}

.hw-btn--rahmen:hover,
body #page-container .et_pb_button.hw-btn--rahmen:hover {
	background: var(--hw-wein);
	color: #fff !important;
}

.hw-btn--hell {
	background: rgba(255, 255, 255, .14);
	border-color: rgba(255, 255, 255, .7);
}

.et_pb_button.hw-btn::after { display: none !important; }

.hw-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Kopfbereich (Theme Builder → Globaler Header)
   ========================================================================== */

.hw-header.et_pb_section { padding: 22px 0 0 !important; }
.hw-header .et_pb_row { padding: 0 0 18px !important; border-bottom: 1.5px solid var(--hw-rose); }

.hw-header .et_pb_column {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.hw-header .et_pb_column > .et_pb_module { margin-bottom: 0 !important; width: auto; }

.hw-logo img { height: 74px; width: auto; display: block; }

.hw-adresse {
	padding-left: 28px;
	border-left: 1px solid #c99a9a;
}

.hw-adresse p,
.hw-adresse .et_pb_text_inner {
	font-size: 13px;
	line-height: 1.45;
	color: var(--hw-rose-dunkel);
	margin: 0;
	padding: 0;
}

.hw-adresse strong { color: #7a3d45; letter-spacing: .3px; }

.hw-hauptmenue { margin-left: auto !important; }
.hw-hauptmenue.et_pb_menu { background: transparent !important; }
.hw-hauptmenue .et_pb_menu__wrap { justify-content: flex-end; }

.hw-hauptmenue .et-menu > li { padding-left: 13px; padding-right: 13px; }

.hw-hauptmenue .et-menu > li > a,
.hw-hauptmenue .et-menu-nav li a {
	font-family: 'Carlito', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #4a3438;
	padding-bottom: 6px !important;
}

.hw-hauptmenue .et-menu > li > a:hover,
.hw-hauptmenue .et-menu > li.current-menu-item > a,
.hw-hauptmenue .et-menu > li.current-menu-ancestor > a {
	color: var(--hw-wein);
	opacity: 1;
}

.hw-hauptmenue .et-menu li li a { font-size: 16px; color: var(--hw-text); width: 200px; }
.hw-hauptmenue .sub-menu { border-top-color: var(--hw-wein) !important; background: #fbf4ec !important; }

.hw-hauptmenue .mobile_menu_bar::before { color: var(--hw-wein) !important; }

.hw-sprachen p,
.hw-sprachen .et_pb_text_inner { margin: 0; padding: 0; }

.hw-lang { display: flex; gap: 6px; }

.hw-lang a {
	font-size: 14px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 4px;
	color: var(--hw-link);
	text-decoration: none;
	line-height: 1.3;
}

.hw-lang a.is-active { background: var(--hw-wein); color: #fff; }
.hw-lang a:not(.is-active):hover { background: rgba(122, 31, 61, .08); }

@media (max-width: 980px) {
	.hw-header .et_pb_column { gap: 16px; }
	.hw-adresse { display: none; }
	.hw-logo img { height: 60px; }
	.hw-hauptmenue { order: 3; margin-left: 0 !important; }
	.hw-sprachen { margin-left: auto !important; }
}

/* ==========================================================================
   Fußbereich (Theme Builder → Globaler Footer)
   ========================================================================== */

.hw-footer.et_pb_section { margin-top: 110px; padding: 0 !important; }
.hw-footer .et_pb_row { padding: 52px 0 44px !important; border-top: 1.5px solid var(--hw-rose); }
.hw-footer .et_pb_column { margin-bottom: 0 !important; }
.hw-footer p, .hw-footer .et_pb_text_inner, .hw-footer li { font-size: 15.5px; line-height: 1.6; color: #4a3438; }
.hw-footer a { color: #4a3438; text-decoration: none; transition: color .15s; }
.hw-footer a:hover { color: var(--hw-wein); }

/* Obere Zeile: Adresse | zwei Linklisten | Haus */
.hw-footer-row.et_pb_row { display: flex !important; gap: 56px; align-items: flex-start; }
.hw-footer-row > .et_pb_column { float: none !important; margin-right: 0 !important; }
.hw-footer-row > .et_pb_column_1_2 { width: 36% !important; flex: none; }
.hw-footer-row > .et_pb_column_1_4 { width: auto !important; flex: 1; }
.hw-footer-row > .et_pb_column_1_4:last-child { flex: 0 0 210px; align-self: flex-end; }
.hw-footer-logo { margin-bottom: 22px !important; }
.hw-footer-logo img { height: 60px; width: auto; }
.hw-footer-adresse p { padding-bottom: 12px !important; }
.hw-footer-adresse p:last-child { padding-bottom: 0 !important; }
.hw-footer-adresse .hw-f-name { font-weight: 700; color: #7a3d45; }
.hw-footer-adresse .hw-f-name span { font-weight: 400; font-style: italic; font-family: 'Caladea', serif; color: #4a3438; }
.hw-footer-adresse .hw-f-kontakt a { color: var(--hw-wein); font-weight: 600; }
.hw-footer-adresse .hw-f-karte { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--hw-wein) !important; font-weight: 600; }
.hw-footer-adresse .hw-f-karte:hover { text-decoration: underline; }
.hw-footer-adresse .hw-f-post { font-size: 13.5px !important; color: var(--hw-text-leise) !important; }

.hw-f-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hw-fussmenue h4 { font: 700 12px/1.2 'Carlito', sans-serif !important; letter-spacing: .16em; text-transform: uppercase; color: var(--hw-wein) !important; margin: 6px 0 16px; padding: 0; }
.hw-fussmenue ul { list-style: none; padding: 0 !important; margin: 0; }
.hw-fussmenue li { padding: 0 0 9px; }

.hw-footer-haus { text-align: right; margin-left: auto !important; margin-right: 0 !important; }
.hw-footer-haus .et_pb_image_wrap { display: block; }
.hw-footer-haus img { width: 210px; opacity: .75; mix-blend-mode: multiply; }

/* Untere Zeile: Copyright links, Agentur rechts */
.hw-copyright-row.et_pb_row { padding: 18px 0 26px !important; border-top: 1px solid rgba(180, 120, 110, .35); }
.hw-copyright p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; font-size: 13.5px !important; color: var(--hw-text-leise) !important; }
.hw-copyright a { color: var(--hw-text-leise); border-bottom: 1px solid rgba(140, 59, 69, .3); }
.hw-copyright a:hover { color: var(--hw-wein); border-bottom-color: var(--hw-wein); }

@media (max-width: 980px) {
	.hw-footer-row.et_pb_row { flex-wrap: wrap; gap: 36px; }
	.hw-footer-row > .et_pb_column_1_2 { width: 100% !important; }
	.hw-footer-row > .et_pb_column_1_4:last-child { display: none !important; }
}
@media (max-width: 600px) {
	.hw-f-spalten { gap: 20px; }
	.hw-copyright p { flex-direction: column; }
}

/* ==========================================================================
   Startseite
   ========================================================================== */

.hw-hero.et_pb_section { padding: 28px 0 24px; }

#page-container .hw-hero-box.et_pb_row {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	min-height: 520px;
	padding: 0;
	display: flex;
	align-items: flex-end;
	background-color: #6b7a52;
}

#page-container .hw-hero-box .hw-hero-text.et_pb_column {
	width: 100%;
	margin: 0;
	padding: 120px 56px 48px;
	background: linear-gradient(rgba(30, 14, 18, 0), rgba(30, 14, 18, .72));
}

.hw-hero-text .et_pb_module { margin-bottom: 0; }
.hw-hero-text .hw-eyebrow p { color: #f3dbe1; font-size: 15px; }
.hw-hero-text h1 { color: #fff !important; font-size: 58px; line-height: 1.08; margin: 10px 0 14px; }
.hw-hero-text .hw-hero-titel p { color: #f6ebe6; font-size: 20px; max-width: 640px; margin: 0 0 26px; }
.hw-hero-text .et_pb_button_module_wrapper { display: inline-block; margin: 0 14px 0 0 !important; }
.hw-hero-text .hw-btn--hell { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .7) !important; }
.hw-hero-text .hw-btn--hell:hover { background: rgba(255, 255, 255, .28) !important; }

@media (max-width: 767px) {
	#page-container .hw-hero-box.et_pb_row { min-height: 460px; }
	#page-container .hw-hero-box .hw-hero-text.et_pb_column { padding: 80px 24px 28px; }
	.hw-hero-text h1 { font-size: 36px; }
	.hw-hero-text .et_pb_button_module_wrapper { margin-bottom: 10px !important; }
	h1, .et_pb_module h1 { font-size: 38px; }
	h2, .et_pb_module h2 { font-size: 32px; }
}

.hw-abschnitt.et_pb_section { padding: 44px 0; }
.hw-zweispaltig.et_pb_row { padding: 0; }
@media (min-width: 981px) {
	.hw-zweispaltig.et_pb_row { display: flex; gap: 64px; }
	.hw-zweispaltig.et_pb_row > .et_pb_column { margin-right: 0 !important; flex: 1 1 0; width: auto !important; }
	.hw-mittig.et_pb_row { align-items: center; }
}

.hw-medien img,
.hw-medien .et_pb_image_wrap { border-radius: 6px; overflow: hidden; }

.hw-video {
	display: block;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
}

.hw-video img { width: 100%; height: 380px; object-fit: cover; display: block; }

.hw-video .hw-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(30, 14, 18, .25);
}

.hw-video .hw-play span {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(122, 31, 61, .92);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hw-bildunterschrift { font-size: 15px !important; color: #6d5a5e; margin-top: 10px; }

.hw-zahlen {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	text-align: center;
	padding: 28px 0;
	border-top: 1px solid #d8b8b0;
	border-bottom: 1px solid #d8b8b0;
}

.hw-zahlen b {
	display: block;
	font-family: 'Caladea', serif;
	font-size: 40px;
	color: var(--hw-wein);
	line-height: 1.2;
}

.hw-zahlen span { font-size: 16px; color: #6d5a5e; }

@media (max-width: 767px) {
	.hw-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hw-zentriert { text-align: center; }

/* Karten Rot / Weiß / Rosé */
.hw-arten {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.hw-art {
	background: var(--hw-karte);
	border: 1px solid var(--hw-linie);
	border-radius: 6px;
	padding: 32px 28px;
	text-decoration: none;
	color: var(--hw-text);
	display: flex;
	gap: 22px;
	align-items: center;
	transition: box-shadow .15s, transform .15s;
}

.hw-art:hover { box-shadow: 0 8px 22px rgba(60, 30, 30, .12); transform: translateY(-2px); color: var(--hw-text); }
.hw-art img { height: 230px; width: auto; flex: none; }
.hw-art b { font-family: 'Caladea', serif; font-size: 28px; color: var(--hw-wein); display: block; line-height: 1.2; }
.hw-art span { display: block; margin: 6px 0 14px; color: var(--hw-text-leise); }
.hw-art em { font-style: normal; font-weight: 700; color: var(--hw-link); }

@media (max-width: 980px) {
	.hw-arten { grid-template-columns: 1fr; }
}

/* Katalog-Kasten */
.hw-kasten {
	background: var(--hw-karte);
	border: 1px solid var(--hw-linie);
	border-radius: 6px;
	padding: 48px 56px;
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
	align-items: center;
}

.hw-kasten > img { width: 230px; border-radius: 3px; box-shadow: 0 6px 18px rgba(60, 30, 30, .18); }
.hw-kasten > div { flex: 1 1 420px; min-width: 0; }
.hw-kasten h2 { font-size: 38px; margin-top: 0; }

@media (max-width: 767px) {
	.hw-kasten { padding: 28px 22px; gap: 28px; }
}

/* ==========================================================================
   Weinliste und Weinseite
   ========================================================================== */

.hw-weine {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 32px;
}

@media (max-width: 980px) { .hw-weine { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hw-weine { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.hw-wein {
	background: var(--hw-karte);
	border: 1px solid var(--hw-linie);
	border-radius: 6px;
	padding: 28px 22px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hw-wein img { height: 300px; width: auto; }

.hw-wein .hw-wein-art {
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--hw-rose-dunkel);
	font-weight: 700;
	margin-top: 18px;
	min-height: 2.6em;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	line-height: 1.3;
}

.hw-wein h3 {
	font-size: 24px;
	line-height: 1.25;
	margin: 4px 0 0;
	min-height: 2.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hw-wein .hw-wein-sorten {
	color: var(--hw-text-leise);
	font-size: 16px;
	line-height: 1.4;
	margin-top: 6px;
	min-height: 2.8em;
}

.hw-wein .hw-buttons {
	justify-content: center;
	margin-top: auto;
	padding-top: 18px;
	gap: 10px;
}

.hw-wein .hw-btn { font-size: 16px; padding: 11px 20px !important; min-width: 120px; text-align: center; }

.hw-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 36px 0 32px; align-items: center; }

.hw-filter button {
	font: 700 16px 'Carlito', sans-serif;
	padding: 10px 22px;
	border-radius: 30px;
	border: 1.5px solid var(--hw-rose);
	background: transparent;
	color: var(--hw-wein);
	cursor: pointer;
}

.hw-filter button[aria-pressed="true"] { background: var(--hw-wein); border-color: var(--hw-wein); color: #fff; }

/* Kacheln der Weinseite – immer gleich hoch */
.hw-kacheln {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 16px;
}

@media (max-width: 767px) { .hw-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hw-kachel {
	background: var(--hw-karte);
	border: 1px solid var(--hw-linie);
	border-radius: 6px;
	padding: 16px 18px;
}

.hw-kachel small {
	display: block;
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--hw-rose-dunkel);
	font-weight: 700;
	margin-bottom: 4px;
}

.hw-brotkrumen { font-size: 15px; color: #6d5a5e; }

.hw-weinliste [hidden], .hw-wein[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.hw-btn--pdf { display: inline-flex; gap: 8px; align-items: center; }
.hw-mehr { text-align: center; margin-top: 36px; }
.hw-mehr .hw-btn { cursor: pointer; }

/* Einzelansicht eines Weins */
.hw-weinseite .hw-brotkrumen { margin-bottom: 18px; }

.hw-wein-kopf {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.hw-wein-flasche {
	text-align: center;
	padding: 24px 0;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
}

.hw-wein-flasche img { max-height: 560px; width: auto; }

.hw-wein-info h1 { margin-top: 8px; }
.hw-wein-info .hw-kacheln { margin: 26px 0 28px; }
.hw-kachel { font-size: 17px; line-height: 1.45; }
.hw-kacheln--gross { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hw-kacheln--gross .hw-kachel { padding: 22px 24px; }

.hw-artikelnr { font-size: 15px !important; color: var(--hw-text-leise) !important; margin-top: 14px; }

.hw-verkostung, .hw-weitere { margin-top: 72px; }

.hw-weitere-liste {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.hw-weitere-liste .hw-art { padding: 20px 22px; }
.hw-weitere-liste .hw-art img { height: 150px; }
.hw-weitere-liste .hw-art b { font-size: 21px; }
.hw-weitere-liste .hw-art span span { margin: 4px 0 0; font-size: 16px; }

@media (max-width: 980px) {
	.hw-wein-kopf { grid-template-columns: 1fr; gap: 20px; }
	.hw-wein-flasche img { max-height: 380px; }
	.hw-kacheln--gross, .hw-weitere-liste { grid-template-columns: 1fr; }
}

/* Seitenkopf (z. B. „Unsere Weine“) */
.hw-seitenkopf.et_pb_section { padding: 48px 0 0; }
.hw-abschnitt--eng.et_pb_section { padding-top: 8px; }
.hw-kopfbild img { width: 210px; opacity: .85; }
.hw-kopfbild { text-align: right; }
@media (min-width: 981px) { .hw-unten.et_pb_row { align-items: flex-end; } }
/* Weinfilter rechts neben der Überschrift der Weinliste */
.hw-kopf-filter .hw-filter { margin: 0 0 6px; justify-content: flex-end; flex-wrap: nowrap; }
/* Divis Clearfix (::after) ist in Flex-Zeilen ein leeres Element und kostet rechts eine Spaltenlücke */
.hw-zweispaltig.et_pb_row::after, .hw-footer-row.et_pb_row::after { display: none !important; }
@media (max-width: 980px) { .hw-kopf-filter .hw-filter { justify-content: flex-start; flex-wrap: wrap; margin: 4px 0 0; } }
.hw-weinliste > .hw-weine:first-child { margin-top: 8px; }
.hw-weindetail .hw-seitenkopf { display: none; }
.hw-weindetail .hw-abschnitt--eng.et_pb_section { padding-top: 40px; }

/* Verkostung & Ausbau: lange Texte als eigene Kachelreihe unter den Eigenschaften */
.hw-wein-info .hw-kacheln--text { grid-auto-rows: auto; align-items: stretch; margin: -12px 0 28px; }
.hw-wein-info .hw-kacheln--text[data-anzahl="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-wein-info .hw-kacheln--text[data-anzahl="1"] { grid-template-columns: 1fr; }
.hw-kacheln--text .hw-kachel { font-size: 16.5px; line-height: 1.5; }
@media (max-width: 767px) { .hw-wein-info .hw-kacheln--text { grid-template-columns: 1fr !important; } }

/* Weinseite: Flasche so hoch wie der Kachelbereich, Buttons darunter */
.hw-wein-kopf { align-items: stretch; }
.hw-wein-links { display: flex; flex-direction: column; gap: 18px; }
.hw-wein-links .hw-wein-flasche { position: relative; flex: 1 1 auto; min-height: 420px; padding: 0; margin-top: 60px; }
.hw-wein-links .hw-wein-flasche img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.hw-wein-links .hw-buttons { flex-direction: column; gap: 10px; }
.hw-wein-links .hw-btn { text-align: center; justify-content: center; }
.hw-wein-links .hw-artikelnr { text-align: center; margin: 0; }
.hw-wein-info .hw-kacheln--text { margin-bottom: 0; }
@media (max-width: 980px) {
	.hw-wein-links .hw-wein-flasche { min-height: 360px; margin-top: 0; }
}

/* Selbst gehosteter Film auf der Startseite */
figure.hw-video { margin: 0; background: #1e0e12; }
figure.hw-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1e0e12; }

/* Film: so hoch wie die Textspalte daneben */
@media (min-width: 981px) {
	#philosophie .hw-zweispaltig.et_pb_row { align-items: stretch; }
	#philosophie .hw-zweispaltig > .et_pb_column:last-child { display: flex; flex-direction: column; }
	.hw-video-modul.et_pb_module { flex: 1 1 auto; display: flex; flex-direction: column; margin-bottom: 0 !important; }
	.hw-video-modul > *, .hw-video-modul .et_pb_text_inner { flex: 1 1 auto; display: flex; flex-direction: column; }
	figure.hw-video { flex: 1 1 auto; position: relative; min-height: 320px; border-radius: 6px; overflow: hidden; }
	figure.hw-video video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
	figure.hw-video.is-playing video { object-fit: contain; }
	.hw-video-modul .hw-bildunterschrift { flex: 0 0 auto; margin-bottom: 0; }
}
figure.hw-video video:fullscreen,
figure.hw-video video:-webkit-full-screen { position: static; object-fit: contain !important; aspect-ratio: auto; width: 100%; height: 100%; }

/* Eigener Vollbild-Knopf: Vollbild für den ganzen Rahmen statt nur das Video-Element */
figure.hw-video .hw-vollbild {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(30, 14, 18, .6); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
figure.hw-video .hw-vollbild:hover { background: rgba(122, 31, 61, .9); }
figure.hw-video:fullscreen, figure.hw-video:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; background: #000; }
figure.hw-video:fullscreen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Chrome/macOS: im Vollbild kein Hardware-Overlay erzwingen (sonst schwarzes Bild) */
figure.hw-video:fullscreen video, figure.hw-video:-webkit-full-screen video { filter: brightness(1.001); }

/* ==========================================================================
   Unterseiten: Weingut, Rebsorten, Katalog, Kontakt, Rechtliches
   ========================================================================== */

.hw-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hw-galerie a { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.hw-galerie img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hw-galerie a:hover img { transform: scale(1.04); }
.hw-galerie a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 767px) { .hw-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-galerie a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; } }

.hw-etiketten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.hw-etiketten img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 6px 18px rgba(60, 30, 30, .18); }
@media (max-width: 767px) { .hw-etiketten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hw-sorten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.hw-sorten .hw-kachel { padding: 22px 24px; }
.hw-sorten h3 { font-size: 24px; margin: 0 0 8px; }
.hw-sorten p { font-size: 17px !important; margin: 0; padding: 0; }
@media (max-width: 980px) { .hw-sorten { grid-template-columns: 1fr; } }

.hw-kontakt-karte { background: var(--hw-karte); border: 1px solid var(--hw-linie); border-radius: 6px; padding: 30px 32px; }
.hw-kontakt-karte p { margin: 0 0 18px; }
.hw-kontakt-karte small { display: block; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hw-rose-dunkel); font-weight: 700; margin-bottom: 2px; }
.hw-kontakt-karte a { font-weight: 700; }
.hw-kontakt-karte img { width: 100%; border-radius: 4px; margin-top: 8px; }

.hw-formular label { display: block; font-weight: 700; font-size: 16px; color: var(--hw-text); margin-bottom: 16px; }
.hw-formular input[type=text], .hw-formular input[type=email], .hw-formular input[type=tel], .hw-formular select, .hw-formular textarea {
	display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 17px 'Carlito', sans-serif; color: var(--hw-text);
	background: #fffdf9; border: 1.5px solid #d8b8b0; border-radius: 4px; box-sizing: border-box;
}
.hw-formular textarea { min-height: 170px; }
.hw-formular input:focus, .hw-formular select:focus, .hw-formular textarea:focus { outline: none; border-color: var(--hw-wein); box-shadow: 0 0 0 3px rgba(122, 31, 61, .15); }
.hw-formular .wpcf7-acceptance { font-size: 15px; line-height: 1.5; display: block; margin-bottom: 20px; }
.hw-formular .wpcf7-acceptance label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.hw-formular .wpcf7-acceptance input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hw-formular input[type=submit] { background: var(--hw-wein); color: #fff; border: 0; border-radius: 4px; padding: 14px 30px; font: 700 17px 'Carlito', sans-serif; cursor: pointer; }
.hw-formular input[type=submit]:hover { background: var(--hw-wein-dunkel); }
.hw-formular input[type=submit]:disabled, .hw-formular input[type=submit]:disabled:hover { opacity: 1; background: transparent; color: var(--hw-wein); box-shadow: inset 0 0 0 1.5px var(--hw-wein); cursor: not-allowed; }
.hw-formular .wpcf7-not-valid-tip { font-size: 15px; color: #a3122f; }
.hw-formular .wpcf7-response-output { border-radius: 4px; font-size: 16px; margin: 18px 0 0 !important; }

.hw-recht h2 { font-size: 28px; margin-top: 34px; }
.hw-recht h3 { font-size: 22px; margin-top: 24px; }
.hw-recht p, .hw-recht li { font-size: 17px; }
.hw-recht { max-width: 860px; }

/* Kontakt: Adresskarte so hoch wie das Formular, Foto füllt den Rest */
.hw-kontakt-bild { border-radius: 4px; overflow: hidden; margin-top: 6px; }
.hw-kontakt-bild img { display: block; width: 100%; height: 220px; object-fit: cover; margin: 0; }
@media (min-width: 981px) {
	#anfrage .hw-zweispaltig.et_pb_row { align-items: stretch; }
	#anfrage .hw-zweispaltig > .et_pb_column:first-child { display: flex; flex-direction: column; }
	#anfrage .hw-zweispaltig > .et_pb_column:first-child > .et_pb_module { flex: 1 1 auto; display: flex; flex-direction: column; margin-bottom: 0 !important; }
	#anfrage .hw-zweispaltig > .et_pb_column:first-child .et_pb_text_inner { flex: 1 1 auto; display: flex; flex-direction: column; }
	#anfrage .hw-kontakt-karte { flex: 1 1 auto; display: flex; flex-direction: column; }
	#anfrage .hw-kontakt-bild { flex: 1 1 auto; position: relative; min-height: 200px; }
	#anfrage .hw-kontakt-bild img { position: absolute; inset: 0; height: 100%; }
	#anfrage .hw-zweispaltig > .et_pb_column:last-child h2 { margin-top: 0; }
	#anfrage .hw-formular form > p:last-of-type, #anfrage .hw-formular .wpcf7-form p:last-child { margin-bottom: 0; }
}

/* Kopfbereich über dem Seiteninhalt, damit das Untermenü beim Darüberfahren offen bleibt */
.et-l--header { position: relative; z-index: 1000; }
.et-l--header .et_pb_section, .et-l--header .et_pb_row, .et-l--header .et_pb_column { z-index: auto; }
.hw-hauptmenue .et-menu li li a { padding: 8px 18px; }

/* ==========================================================================
   Merkzettel und Weinauswahl
   ========================================================================== */
.hw-wein { position: relative; }
.hw-merken {
	display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
	font: 700 14px 'Carlito', sans-serif; color: var(--hw-wein);
	background: rgba(255, 255, 255, .85); border: 1.5px solid var(--hw-linie); border-radius: 30px; padding: 6px 12px;
}
.hw-wein > .hw-merken { position: absolute; top: 12px; right: 12px; }
.hw-merken:hover { border-color: var(--hw-wein); }
.hw-merken.is-gemerkt { background: var(--hw-wein); border-color: var(--hw-wein); color: #fff; }
.hw-merken.is-gemerkt svg path { fill: currentColor; }
.hw-merken--breit { justify-content: center; width: 100%; padding: 11px 16px; border-radius: 4px; font-size: 16px; }

.hw-merkleiste {
	position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2000;
	display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 20px;
	background: #fffaf3; border: 1px solid var(--hw-linie); border-radius: 40px; box-shadow: 0 10px 30px rgba(60, 30, 30, .22);
	font-size: 17px; color: var(--hw-text); max-width: calc(100% - 24px);
}
.hw-merkleiste-text { display: inline-flex; align-items: center; gap: 8px; }
.hw-merkleiste-text svg { color: var(--hw-wein); }
.hw-merkleiste .hw-btn { border-radius: 30px; padding: 10px 20px !important; font-size: 16px; }
.hw-merkleiste-leeren { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--hw-text-leise); cursor: pointer; padding: 0 6px; }
@media (max-width: 600px) { .hw-merkleiste { left: 12px; right: 12px; transform: none; justify-content: space-between; font-size: 15px; } }

.hw-weinwahl-feld { margin: 4px 0 20px; }
.hw-weinwahl { display: block; border: 1.5px solid #d8b8b0; border-radius: 6px; background: #fffdf9; padding: 16px 18px; }
.hw-weinwahl-titel { display: block; font-weight: 700; font-size: 16px; }
.hw-weinwahl-hinweis { display: block; font-size: 15px; color: var(--hw-text-leise); margin-bottom: 10px; }
.hw-weinwahl-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #efe1d8; }
.hw-weinwahl-zeile[hidden] { display: none; }
.hw-weinwahl-zeile.is-an b { color: var(--hw-wein); }
.hw-formular .hw-weinwahl-wein { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; cursor: pointer; }
.hw-weinwahl-wein input { width: 18px; height: 18px; flex: none; }
.hw-weinwahl-wein b { display: block; font-size: 16px; line-height: 1.3; }
.hw-weinwahl-wein small { display: block; font-size: 13px; color: var(--hw-text-leise); }
.hw-weinwahl-menge { display: flex; gap: 6px; flex: none; }
.hw-formular .hw-weinwahl-menge input, .hw-formular .hw-weinwahl-menge select { display: inline-block; width: auto; margin: 0; padding: 7px 8px; font-size: 16px; }
.hw-formular .hw-weinwahl-menge input { width: 72px; }
.hw-weinwahl-menge input:disabled, .hw-weinwahl-menge select:disabled { opacity: .45; }
.hw-weinwahl-mehr { margin-top: 10px; background: none; border: 0; padding: 0; font: 700 15px 'Carlito', sans-serif; color: var(--hw-link); cursor: pointer; text-decoration: underline; }
@media (max-width: 600px) { .hw-weinwahl-zeile { flex-wrap: wrap; } .hw-weinwahl-menge { margin-left: 28px; } }

/* Kopfbereich mit sieben Menüpunkten: etwas enger, damit alles in eine Zeile passt */
@media (min-width: 981px) {
	.hw-header .et_pb_column { gap: 20px; flex-wrap: nowrap; }
	.hw-hauptmenue .et-menu > li { padding-left: 9px; padding-right: 9px; }
	.hw-adresse { padding-left: 20px; }
}
@media (min-width: 981px) and (max-width: 1240px) {
	.hw-adresse { display: none; }
}

/* Werner Fritz Zganiacz */
.hw-zg-titelbild img { display: block; width: 100%; max-height: 560px; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 28px rgba(60, 30, 30, .22); }
.hw-etiketten--gross { gap: 24px; }
.hw-etiketten--gross a { display: block; }
.hw-etiketten--gross img { transition: transform .2s; }
.hw-etiketten--gross a:hover img { transform: translateY(-3px); }
.hw-etiketten--gross a { text-decoration: none; }
.hw-etiketten .hw-bildtext { display: block; margin-top: 12px; font: italic 400 16.5px/1.35 'Caladea', serif; color: var(--hw-text); text-align: center; }
.hw-etiketten--gross a:hover .hw-bildtext { color: var(--hw-wein); }

/* Divi 5: Kopf-Container über den Inhalt legen (beide haben sonst z-index 1) */
.et_builder_inner_content:has(> .hw-header), .et-l:has(.hw-header) { position: relative; z-index: 1000 !important; }

/* Platzhalter, die noch mit Helwigs Angaben gefüllt werden (gut sichtbar) */
mark.hw-platzhalter { background: #fff1a8; color: #5a4a00; padding: 0 4px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Weinprobe: Ablauf in Schritten */
.hw-schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: schritt; }
.hw-schritte .hw-kachel { padding: 22px 22px 24px; position: relative; }
.hw-schritte .hw-kachel::before { counter-increment: schritt; content: counter(schritt); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hw-wein); color: #fff; font: 700 19px 'Caladea', serif; margin-bottom: 12px; }
.hw-schritte h3 { font-size: 21px; margin: 0 0 6px; }
.hw-schritte p { font-size: 16.5px !important; margin: 0; padding: 0; }
@media (max-width: 980px) { .hw-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hw-schritte { grid-template-columns: 1fr; } }
.hw-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
@media (max-width: 767px) { .hw-fakten { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.hw-formular input[type=date], .hw-formular .hw-zwei input[type=number] { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 17px 'Carlito', sans-serif; color: var(--hw-text); background: #fffdf9; border: 1.5px solid #d8b8b0; border-radius: 4px; box-sizing: border-box; }
.hw-formular .hw-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .hw-formular .hw-zwei { grid-template-columns: 1fr; } }

/* Vorschau-Hinweis (nur unter /divi-test/) */
.hw-vorschau { position: fixed; left: 16px; bottom: 18px; z-index: 1990; display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: rgba(58, 42, 38, .92); color: #fff; border-radius: 22px; font: 400 13.5px 'Carlito', sans-serif; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.hw-vorschau[hidden] { display: none; }
.hw-vorschau strong { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; color: #f3c9a8; }
.hw-vorschau a, .hw-vorschau span { color: #fff !important; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hw-vorschau a:hover { border-bottom-color: #fff; }
@media (max-width: 1100px) { .hw-vorschau { bottom: 78px; } }
@media (max-width: 600px) { .hw-vorschau { left: 10px; right: 10px; justify-content: space-between; gap: 8px; font-size: 12.5px; } }

/* Weinprobe: Bild „Was Sie erwartet“ genau so hoch wie die Textspalte */
@media (min-width: 981px) {
	.hw-seite-weinprobe .hw-zweispaltig.et_pb_row:has(.hw-medien) { align-items: stretch !important; }
	.hw-seite-weinprobe .hw-zweispaltig .et_pb_column:has(> .hw-medien) { position: relative; }
	.hw-seite-weinprobe .hw-zweispaltig .hw-medien { position: absolute !important; inset: 0; margin: 0 !important; }
	.hw-seite-weinprobe .hw-zweispaltig .hw-medien .et_pb_image_wrap,
	.hw-seite-weinprobe .hw-zweispaltig .hw-medien img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
}

/* Mehrsprachiger Kopf (DE/EN/PT): Menü bleibt einzeilig */
@media (min-width: 981px) {
	.hw-hauptmenue .et-menu { flex-wrap: nowrap !important; }
	.hw-hauptmenue .et-menu > li > a { white-space: nowrap; }
	.hw-header .hw-adresse { flex: 0 1 auto; min-width: 0; }
}
@media (min-width: 981px) and (max-width: 1340px) {
	.hw-hauptmenue .et-menu > li { padding-left: 7px !important; padding-right: 7px !important; }
	.hw-hauptmenue .et-menu > li > a { font-size: 16px !important; }
	.hw-lang { gap: 2px; }
	.hw-lang a { padding: 4px 6px; }
}

/* Sprachumschalter mit Flaggen */
.hw-lang { align-items: center; gap: 4px; }
.hw-lang a { display: inline-flex; align-items: center; padding: 4px; border-radius: 4px; line-height: 0; }
.hw-lang a.is-active { background: transparent; box-shadow: 0 0 0 2px var(--hw-wein); }
.hw-lang a:not(.is-active) .hw-flagge { opacity: .7; }
.hw-lang a:not(.is-active):hover .hw-flagge { opacity: 1; }
.hw-flagge { display: block; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
/* WPML-eigener Umschalter im Fuß wird nicht gebraucht */
.wpml-ls-statics-footer { display: none !important; }

/* Kopfbereich bleibt beim Scrollen oben (Divi 5: Theme-Builder-Wrapper mit dem Header-Abschnitt) */
.et-l--header,
.et-l:has(> .et_builder_inner_content > .et_pb_section[class*="_tb_header"]) {
	position: sticky; top: 0; z-index: 1000;
	background: #f7e9d7 url(/wp-content/uploads/sites/3/2026/11/papier.jpg) fixed;
	box-shadow: 0 8px 14px -12px rgba(74, 52, 56, .35);
}
body.admin-bar .et-l--header,
body.admin-bar .et-l:has(> .et_builder_inner_content > .et_pb_section[class*="_tb_header"]) { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .et-l--header,
	body.admin-bar .et-l:has(> .et_builder_inner_content > .et_pb_section[class*="_tb_header"]) { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .et-l--header,
	body.admin-bar .et-l:has(> .et_builder_inner_content > .et_pb_section[class*="_tb_header"]) { top: 0; }
}
