/*
 Theme Name:   Kreuzinger Child
 Theme URI:    https://gemuesebau-kreuzinger.de
 Description:  Child-Theme für Divi 5 – Gemüsebau Kreuzinger. Farben, Schriften (lokal eingebunden) und Layout-Stile nach dem Figma-Entwurf.
 Author:       Gemüsebau Kreuzinger
 Template:     Divi
 Version:      1.0.0
 Requires PHP: 7.4
 License:      GNU General Public License v2 or later
 Text Domain:  kreuzinger-child
*/

/* =========================================================
   1. Schriften (lokal, DSGVO-freundlich – kein Google-Server)
   ========================================================= */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/barlow-semi-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

/* =========================================================
   2. Design-Variablen (hier zentral Farben/Größen ändern)
   ========================================================= */
:root {
	--kz-green: #436742;
	--kz-light: #e4ecd8;
	--kz-white: #ffffff;
	--kz-shadow: 4px 4px 8px rgba(0, 0, 0, .25);
	--kz-btn-shadow: 0 4px 5px rgba(0, 0, 0, .2);
	--kz-font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--kz-font-body: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
	--kz-h1: 40px;
	--kz-sub: 30px;
	--kz-body: 24px;
	--kz-body-lh: 40px;
	--kz-small: 20px;
	--kz-max: 1392px; /* Inhaltsbreite laut Entwurf (204 px Rand bei 1800 px) */
	--kz-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2z'/%3E%3C/svg%3E");
	--kz-icon-insta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2zm0 2A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4h-9zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm5.25-3.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5z'/%3E%3C/svg%3E");
}

/* =========================================================
   3. Grundtypografie
   ========================================================= */
body,
#page-container,
.et_pb_text,
.et_pb_module p,
.et_pb_contact_form input,
.et_pb_contact_form textarea {
	font-family: var(--kz-font-body);
	font-weight: 300;
	color: var(--kz-green);
}
body { font-size: var(--kz-body); line-height: var(--kz-body-lh); background: var(--kz-light); }
#main-content { background: var(--kz-light); }

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3, .et_pb_module h4 {
	font-family: var(--kz-font-head);
	color: var(--kz-green);
	padding-bottom: 0;
	line-height: 1;
}
.et_pb_text strong, .et_pb_text b { font-weight: 600; }
a { color: var(--kz-green); }
.et_pb_text p { padding-bottom: 0; }
.et_pb_text p + p { margin-top: var(--kz-body-lh); }

/* Überschrift + Unterzeile: <h2 class="kz-title">Titel<span>Unterzeile</span></h2> */
.kz-title,
.et_pb_text .kz-title {
	font-size: var(--kz-h1);
	font-weight: 500;
	line-height: 40px;
	text-align: center;
	margin-bottom: 20px;
}
.kz-title span {
	display: block;
	font-size: var(--kz-sub);
	font-weight: 300;
	line-height: 40px;
}
.kz-col-title,
.et_pb_text .kz-col-title {
	font-size: var(--kz-sub);
	font-weight: 400;
	line-height: 40px;
	margin-bottom: 12px;
}

/* =========================================================
   4. Abschnitte & Raster
   ========================================================= */
.et_pb_section.kz-section { padding: 110px 0; background-color: var(--kz-light); }
.et_pb_section.kz-section-tight { padding: 60px 0; background-color: var(--kz-light); }
.kz-section .et_pb_row,
.kz-section-tight .et_pb_row { width: 90%; max-width: var(--kz-max); padding: 0; }
.kz-section .et_pb_row + .et_pb_row { margin-top: 70px; }

.kz-narrow { max-width: 860px !important; margin-left: auto !important; margin-right: auto !important; }
.kz-center, .kz-center p { text-align: center; }

/* Einleitungstext */
.kz-intro { max-width: 860px; margin: 0 auto !important; text-align: center; }

/* =========================================================
   5. Header (Theme Builder – globaler Header)
   ========================================================= */
.et_pb_section.kz-header {
	background: var(--kz-white);
	padding: 0;
	position: relative;
	z-index: 99;
}
.kz-header .et_pb_row {
	width: 90%;
	max-width: 1560px;
	min-height: 80px;
	padding: 0;
	display: flex;
	align-items: center;
}
.kz-header .et_pb_column { margin-bottom: 0 !important; width: auto !important; margin-right: 40px !important; }
.kz-header .et_pb_column:nth-child(2) { flex: 1 1 auto; }
.kz-header .et_pb_column:last-child { margin-right: 0 !important; }

/* Logo + Schriftzug (Blurb-Modul) */
.kz-brand .et_pb_main_blurb_image { width: 56px !important; margin: 0 14px 0 0 !important; }
.kz-brand .et_pb_blurb_container { padding-left: 0 !important; vertical-align: middle; display: table-cell; }
.kz-brand .et_pb_module_header,
.kz-brand .et_pb_module_header a {
	font-family: var(--kz-font-head);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--kz-green);
	line-height: 56px;
	padding: 0;
	white-space: nowrap;
}
.kz-brand .et_pb_blurb_description { display: none; }
.kz-brand a, .kz-nav a, .kz-header-phone a { text-decoration: none; }

/* Navigation (Menü-Modul) */
.kz-nav .et-menu-nav > ul,
.kz-nav .et_pb_menu__menu > nav > ul { justify-content: flex-end; }
.kz-nav .et-menu > li > a {
	font-family: var(--kz-font-head);
	font-size: 26px;
	font-weight: 400;
	letter-spacing: .52px;
	text-transform: uppercase;
	color: var(--kz-green) !important;
	padding-bottom: 0 !important;
}
.kz-nav .et-menu > li { padding-left: 18px; padding-right: 18px; }
.kz-nav .et-menu > li > a:hover { opacity: .7; }
.kz-nav .mobile_menu_bar:before { color: var(--kz-green) !important; }
.kz-nav .et_mobile_menu { border-top-color: var(--kz-green); }
.kz-nav .et_mobile_menu a { font-family: var(--kz-font-head); font-size: 22px; text-transform: uppercase; color: var(--kz-green) !important; }

/* Telefon im Header */
.kz-header-phone, .kz-header-phone p { text-align: right; }
.kz-header-phone a {
	font-family: var(--kz-font-head);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: .52px;
	white-space: nowrap;
}

/* =========================================================
   6. Telefon-Link mit Symbol:  <a class="kz-phone" href="tel:…">
   ========================================================= */
.kz-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--kz-font-head);
	font-weight: 600;
	font-size: 30px;
	letter-spacing: 1.2px;
	line-height: 1.2;
	color: var(--kz-green);
	text-decoration: none;
}
.kz-phone::before {
	content: "";
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	background: currentColor;
	-webkit-mask: var(--kz-icon-phone) center / contain no-repeat;
	mask: var(--kz-icon-phone) center / contain no-repeat;
}
.kz-header-phone .kz-phone { font-size: 26px; letter-spacing: .52px; }
.kz-phone:hover { opacity: .75; }

/* =========================================================
   7. Buttons
   ========================================================= */
body #page-container .et_pb_button.kz-btn,
body #page-container .et_pb_contact_form_container .et_pb_contact_submit {
	background: var(--kz-green);
	color: var(--kz-light);
	border: 0;
	border-radius: 0;
	box-shadow: var(--kz-btn-shadow);
	font-family: var(--kz-font-head);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 1.3px;
	line-height: 30px;
	text-transform: none;
	padding: 20px 38px;
	min-width: 237px;
	text-align: center;
	transition: background .2s ease, transform .2s ease;
}
body #page-container .et_pb_button.kz-btn:hover,
body #page-container .et_pb_contact_form_container .et_pb_contact_submit:hover {
	background: #36553a;
	padding: 20px 38px;
	transform: translateY(-1px);
}
body #page-container .et_pb_button.kz-btn::after,
body #page-container .et_pb_contact_submit::after { display: none !important; }
.kz-btn-wrap { text-align: center; }
.kz-btn-phone { text-align: center; margin-top: 18px; }

/* =========================================================
   8. Bilder
   ========================================================= */
.kz-img img,
.kz-img .et_pb_image_wrap { width: 100%; display: block; }
.kz-img img { object-fit: cover; }
.kz-img-portrait img { aspect-ratio: 541 / 718; }
.kz-img-sortiment img { aspect-ratio: 442 / 588; }
.kz-img-team img { aspect-ratio: 328 / 436; }
.kz-img { margin-bottom: 0 !important; }

/* Hero / breite Bildflächen (Hintergrundbild im Abschnitt) */
.et_pb_section.kz-hero {
	min-height: 837px;
	padding: 0;
	background-size: cover;
	background-position: center;
	background-color: #cfdcbd;
}

/* =========================================================
   9. Zwei versetzte Spalten (Lieferservice / Großmarkt)
   ========================================================= */
.kz-feature .kz-img { margin-bottom: 36px !important; }
.kz-feature .et_pb_text { max-width: 500px; margin-left: auto; margin-right: auto; text-align: center; }
.kz-feature .kz-title { margin-bottom: 28px; }
.kz-offset { margin-top: 158px; }
.kz-feature-row .et_pb_column { width: 38.9%; }
.kz-feature-row .et_pb_column:first-child { margin-left: 8.6%; margin-right: 5%; }

/* =========================================================
   10. Sortiment (weiße Box)
   ========================================================= */
.kz-section .et_pb_row.kz-box {
	background: var(--kz-white);
	width: 96%;
	max-width: 1664px;
	padding: 84px 7.8% 80px;
}
.kz-section .et_pb_row.kz-box + .et_pb_row.kz-box { margin-top: 0; }
.kz-section .et_pb_row.kz-box-top { padding-bottom: 0; }
.kz-section .et_pb_row.kz-box-mid { padding-top: 0; padding-bottom: 0; }
.kz-section .et_pb_row.kz-box-bottom { padding-top: 70px; }
.kz-list p { font-size: var(--kz-small); line-height: var(--kz-body-lh); }
.kz-list p + p { margin-top: 0; }
.kz-list .kz-col-title { margin-top: 70px; }
.kz-sortiment-intro { max-width: 730px; margin: 0 auto 60px !important; text-align: center; }

/* =========================================================
   11. Team
   ========================================================= */
.kz-team .et_pb_column { margin-bottom: 40px; }
.kz-team-name p { font-family: var(--kz-font-head); font-size: var(--kz-sub); font-weight: 400; line-height: 40px; margin-top: 14px; }
.kz-team-name strong { font-weight: 600; }

/* Instagram */
.kz-insta { text-align: center; }
.kz-insta a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--kz-font-head);
	font-size: var(--kz-sub);
	font-weight: 500;
	text-decoration: none;
}
.kz-insta a::before {
	content: "";
	width: 35px;
	height: 35px;
	background: currentColor;
	-webkit-mask: var(--kz-icon-insta) center / contain no-repeat;
	mask: var(--kz-icon-insta) center / contain no-repeat;
}

/* =========================================================
   12. Breites Bild mit Textkasten rechts
   ========================================================= */
.kz-hero .et_pb_row.kz-overlay-row {
	width: 90%;
	max-width: var(--kz-max);
	min-height: 837px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.kz-overlay-row .et_pb_column { width: 455px !important; max-width: 100%; margin: 0 !important; }
.kz-overlay-box {
	background: var(--kz-light);
	padding: 40px 39px;
	text-align: center;
}

/* Kundenzitat */
.kz-quote p { font-size: 28px; line-height: 50px; text-align: center; }
.kz-quote strong { font-weight: 600; }

/* =========================================================
   13. Karte mit Standort-Karten
   ========================================================= */
.et_pb_section.kz-map {
	min-height: 1004px;
	padding: 120px 0;
	background-size: cover;
	background-position: center;
	background-color: #cfdcbd;
}
.kz-map .et_pb_row { width: 90%; max-width: var(--kz-max); padding: 0; }
.kz-map .et_pb_row + .et_pb_row { margin-top: 110px; }
.kz-map .et_pb_column { margin-bottom: 0; }
.kz-card {
	position: relative;
	background: var(--kz-white);
	box-shadow: var(--kz-shadow);
	padding: 32px 30px 30px;
	max-width: 244px;
}
.kz-card-right { margin-left: auto !important; }
.kz-card-right.kz-card-marker::after { right: auto; left: -100px; }
.kz-card h3 {
	font-family: var(--kz-font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 30px;
	margin-bottom: 8px;
}
.kz-card p { font-size: var(--kz-small); line-height: 26px; font-weight: 400; }
.kz-card p + p { margin-top: 14px; }
.kz-card .kz-hours { font-weight: 300; }
.kz-card .kz-phone { font-size: 30px; }
.kz-card .kz-phone::before { display: none; }
.kz-card-marker::after {
	content: "";
	position: absolute;
	right: -100px;
	top: 0;
	width: 74px;
	height: 74px;
	background: var(--kz-marker, url("assets/img/platzhalter-logo.png")) center / contain no-repeat;
}

/* =========================================================
   14. Kontakt
   ========================================================= */
.kz-order {
	background: var(--kz-green);
	border-radius: 4px;
	padding: 36px 52px 34px;
	color: var(--kz-light);
}
.kz-order h3, .kz-order p, .kz-order a { color: var(--kz-light) !important; }
.kz-order h3 { font-size: var(--kz-sub); font-weight: 500; line-height: 40px; margin-bottom: 30px; }
.kz-order p { font-family: var(--kz-font-head); font-size: var(--kz-sub); font-weight: 500; line-height: 40px; }
.kz-order .kz-order-line { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.kz-order .kz-phone-btn {
	background: var(--kz-light);
	color: var(--kz-green) !important;
	border-radius: 4px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
	padding: 20px 26px;
	font-weight: 500;
	line-height: 30px;
}
.kz-order .kz-mail { text-decoration: none; }
.kz-order .kz-mail::before { content: "> "; }
.kz-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kz-address h4 { font-size: var(--kz-sub); font-weight: 500; line-height: 40px; margin: 36px 0 10px; }
.kz-address p { font-size: var(--kz-body); line-height: var(--kz-body-lh); }
.kz-address p + p { margin-top: 0; }

/* Kontaktformular */
.kz-form .et_pb_contact_field { padding-left: 0 !important; margin-bottom: 20px !important; }
.kz-form .et_pb_contact p input,
.kz-form .et_pb_contact p textarea,
.kz-form .et_pb_contact_field input,
.kz-form .et_pb_contact_field textarea {
	background: var(--kz-white) !important;
	border: 2px solid var(--kz-white) !important;
	border-radius: 0;
	color: var(--kz-green) !important;
	font-family: var(--kz-font-head);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: .3px;
	padding: 18px 20px !important;
}
.kz-form .et_pb_contact_field textarea { min-height: 213px; }
.kz-form input::placeholder,
.kz-form textarea::placeholder { color: var(--kz-green); opacity: 1; }
.kz-form input:focus,
.kz-form textarea:focus { border-color: var(--kz-green) !important; outline: none; }
.kz-form .et_pb_contact_field_options_title { display: none; }
.kz-form .et_pb_contact_field_checkbox label,
.kz-form .et_pb_contact_field_checkbox {
	font-family: var(--kz-font-head);
	font-size: 22px;
	font-weight: 400;
	color: var(--kz-green);
}
.kz-form .et_pb_contact_field_checkbox label i { background: var(--kz-white) !important; }
.kz-form .et_contact_bottom_container { float: none; justify-content: flex-start; text-align: left; margin-top: 10px; }
.kz-privacy-note p { font-family: var(--kz-font-head); font-size: 18px; line-height: 26px; font-weight: 400; margin-top: 4px; }
.kz-privacy-note a { text-decoration: underline; }

/* =========================================================
   15. Footer (Theme Builder – globaler Footer)
   ========================================================= */
.et_pb_section.kz-footer { background: var(--kz-light); padding: 70px 0 60px; }
.kz-footer .et_pb_row { width: 90%; max-width: var(--kz-max); padding: 0; }
.kz-footer .kz-brand { display: flex; justify-content: center; }
.kz-footer .kz-brand .et_pb_blurb_content { max-width: none; margin: 0 auto; display: inline-table; }
.kz-footer-links { text-align: center; margin-top: 40px; }
.kz-footer-links a {
	font-family: var(--kz-font-head);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: .66px;
	text-decoration: none;
	margin: 0 24px;
}
.kz-footer-links a:hover { text-decoration: underline; }

/* =========================================================
   16. Rechtstexte (Impressum / Datenschutz)
   ========================================================= */
.kz-section .et_pb_row.kz-legal {
	background: var(--kz-white);
	max-width: 1100px;
	padding: 80px 8%;
}
.kz-legal h1 { font-size: var(--kz-h1); font-weight: 500; line-height: 48px; margin-bottom: 40px; }
.kz-legal h2 { font-size: var(--kz-sub); font-weight: 500; line-height: 40px; margin: 40px 0 10px; }
.kz-legal p, .kz-legal li { font-size: var(--kz-small); line-height: 32px; }
.kz-legal p + p { margin-top: 16px; }
.kz-placeholder { background: #fff7cc; padding: 0 4px; }

/* Divi-Standardheader ausblenden, falls Theme-Builder-Header aktiv ist */
.et-tb-has-header #main-header,
.et-tb-has-header #top-header { display: none; }

/* =========================================================
   17. Responsiv
   ========================================================= */
@media (max-width: 1400px) {
	.kz-header .et_pb_row { flex-wrap: nowrap; }
	.kz-brand .et_pb_module_header,
	.kz-brand .et_pb_module_header a { font-size: 24px; }
	.kz-nav .et-menu > li { padding-left: 10px; padding-right: 10px; }
	.kz-nav .et-menu > li > a,
	.kz-header-phone .kz-phone { font-size: 22px; }
}

@media (max-width: 980px) {
	:root {
		--kz-h1: 34px;
		--kz-sub: 26px;
		--kz-body: 20px;
		--kz-body-lh: 34px;
		--kz-small: 18px;
	}
	.et_pb_section.kz-section { padding: 70px 0; }
	.kz-header .et_pb_row { min-height: 70px; }
	.kz-header .et_pb_column { width: auto !important; }
	.kz-header .et_pb_column:first-child { flex: 1 1 auto; }
	.kz-header-phone { display: none; }
	.kz-brand .et_pb_main_blurb_image { width: 44px !important; }
	.kz-brand .et_pb_module_header,
	.kz-brand .et_pb_module_header a { font-size: 22px; line-height: 44px; white-space: normal; }

	.et_pb_section.kz-hero,
	.kz-hero .et_pb_row.kz-overlay-row { min-height: 480px; }
	.kz-hero .et_pb_row.kz-overlay-row { justify-content: center; padding: 60px 0; }

	.kz-offset { margin-top: 0; }
	.kz-feature-row .et_pb_column,
	.kz-feature-row .et_pb_column:first-child { width: 100%; margin-left: 0; margin-right: 0; }
	.kz-feature-row .et_pb_column + .et_pb_column { margin-top: 60px; }

	.kz-section .et_pb_row.kz-box { padding-left: 6%; padding-right: 6%; }
	.kz-section .et_pb_row.kz-box-top { padding-top: 60px; }
	.kz-section .et_pb_row.kz-box-bottom { padding-top: 40px; padding-bottom: 60px; }
	.kz-list .kz-col-title { margin-top: 30px; }

	.kz-quote p { font-size: 22px; line-height: 38px; }
	.kz-quote br { display: none; }

	.et_pb_section.kz-map { min-height: 0; padding: 60px 0; }
	.kz-map .et_pb_row + .et_pb_row { margin-top: 30px; }
	.kz-card, .kz-card-right { max-width: 320px; margin: 0 auto !important; }
	.kz-card-marker::after { display: none; }

	.kz-order { padding: 30px 26px; }
	.kz-header .et_pb_column { margin-right: 20px !important; }
	.kz-legal { padding: 50px 6% !important; }
}

@media (max-width: 767px) {
	.kz-team .et_pb_column { width: 47.25% !important; margin-right: 5.5% !important; }
	.kz-team .et_pb_column:nth-child(2n) { margin-right: 0 !important; }
	.kz-team-name p { font-size: 20px; line-height: 28px; }
	body #page-container .et_pb_button.kz-btn { min-width: 0; font-size: 22px; padding: 16px 28px; }
	.kz-footer-links a { display: inline-block; margin: 6px 14px; }
	.kz-address-grid { grid-template-columns: 1fr; gap: 0; }
}
