/*
Theme Name: Eventkräfte
Theme URI: https://eventkraefte.de/
Author: Eventkräfte
Description: Modernes Block-Theme für eventkraefte.de – mit mobiler Navigation, Bewerbungs-/Kontaktseite mit Formular-Umschalter und eingebautem Schutz der E-Mail-Adressen vor Spam-Bots. Schriften: Hatton (Überschriften, separat lizenziert) und Montserrat (Text), beide vom eigenen Server – keine Verbindung zu Google.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eventkraefte
*/

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
:where(.ek-section) > * { margin-block-start: 0; margin-block-end: 0; }
.ek-wrap { max-width: 1240px; margin-inline: auto !important; padding-inline: clamp(20px, 4vw, 32px); }
.ek-muted { color: var(--wp--preset--color--muted); }

.ek-eyebrow {
	margin: 0;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
}

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ek-btn-gold .wp-block-button__link { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--ink) !important; }
.ek-btn-gold .wp-block-button__link:hover { background: #D9A23A !important; }
.ek-btn-dark .wp-block-button__link { background: var(--wp--preset--color--ink) !important; color: #fff !important; }
.ek-btn-light .wp-block-button__link { background: var(--wp--preset--color--paper) !important; color: var(--wp--preset--color--ink) !important; }
.ek-btn-ghost-light .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--paper) !important; border: 1.5px solid var(--wp--preset--color--paper); }
.ek-btn-ghost-light .wp-block-button__link:hover { background: rgba(255,255,255,0.08) !important; }

/* ---------- Kopfbereich ---------- */
.ek-header { background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--wp--preset--color--line); position: relative; z-index: 50; }
.ek-header__inner { max-width: 1240px; margin-inline: auto; padding: 14px clamp(20px, 4vw, 32px); gap: 16px; }
.ek-brand { gap: 12px; }
/* Logo: euer breites Logo (Zeichen + Schriftzug) – Weiß wird auf dem hellen Grund unsichtbar */
.ek-brand .wp-block-site-logo img { width: auto !important; height: 42px !important; max-width: 220px; object-fit: contain; mix-blend-mode: multiply; }
.ek-brand:has(.wp-block-site-logo img) .ek-wordmark { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ek-wordmark, .ek-wordmark a {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 19px !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
}
.ek-nav { font-size: 15px; font-weight: 500; gap: 26px; }
.ek-nav a { color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; }
.ek-nav a:hover { color: var(--wp--preset--color--green); }
.ek-nav .ek-nav-login > a,
.ek-nav .ek-nav-cta > a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border-radius: 999px; font-weight: 600;
}
.ek-nav .ek-nav-login > a { border: 1.5px solid var(--wp--preset--color--ink); }
.ek-nav .ek-nav-cta > a { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.ek-nav .wp-block-navigation__responsive-container-open {
	width: 48px; height: 48px; border: 1.5px solid var(--wp--preset--color--ink); border-radius: 999px;
	align-items: center; justify-content: center;
}
@media (min-width: 1200px) {
	.ek-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none !important; }
}
@media (min-width: 600px) and (max-width: 1199px) {
	/* Tablet: Menü ebenfalls einklappen, damit nichts umbricht */
	.ek-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.ek-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.ek-nav .is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
	.ek-nav .is-menu-open .wp-block-navigation__container { flex-direction: column !important; align-items: stretch !important; }
}
/* Mobiles Menü (Overlay) */
.ek-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--paper) !important;
	color: var(--wp--preset--color--ink) !important;
	padding: 24px !important;
}
.ek-nav .is-menu-open .wp-block-navigation__responsive-container-content { gap: 6px !important; padding-top: 56px; align-items: stretch !important; }
.ek-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.ek-nav .is-menu-open .wp-block-navigation-item > a { font-size: 20px; font-weight: 600; min-height: 52px; display: flex; align-items: center; }
.ek-nav .is-menu-open .ek-nav-login > a,
.ek-nav .is-menu-open .ek-nav-cta > a { justify-content: center; margin-top: 8px; font-size: 17px; }

.ek-nav .is-menu-open .wp-block-navigation__container,
.ek-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; justify-content: flex-start !important; width: 100%; }
.ek-nav .is-menu-open .wp-block-navigation-item { justify-content: flex-start !important; align-items: stretch !important; }
.ek-nav .is-menu-open .wp-block-navigation-item > a { width: 100%; justify-content: flex-start; }
.ek-nav .is-menu-open .ek-nav-login > a,
.ek-nav .is-menu-open .ek-nav-cta > a { justify-content: center !important; padding: 0 20px; }

/* ---------- Hero ---------- */
.ek-hero { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); margin: 0 !important; }
.ek-hero__grid {
	max-width: 1240px; margin-inline: auto !important;
	padding: clamp(48px, 8vw, 88px) clamp(20px, 4vw, 32px) clamp(56px, 8vw, 96px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: clamp(32px, 5vw, 56px); align-items: center;
}
.ek-hero__text { display: flex; flex-direction: column; gap: 26px; }
.ek-hero__text > * { margin: 0 !important; }
.ek-pill {
	align-self: flex-start; padding: 6px 14px; border: 1px solid #4A4F58; border-radius: 999px;
	font-size: 14px !important; font-weight: 500; color: #D9D4CA;
}
.ek-hero h1 { color: var(--wp--preset--color--paper); text-wrap: balance; }
.page-id-20 .ek-hero h1 { font-size: clamp(36px, 4.4vw, 58px) !important; }
.ek-hero__lead { font-size: 19px !important; color: #C9C4BA; max-width: 520px; }
.ek-cover-img { margin: 0 !important; }
.ek-cover-img img { display: block; width: 100%; height: clamp(300px, 40vw, 480px); object-fit: cover; border-radius: 24px; }

/* ---------- Kunden ---------- */
.ek-clients { border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.ek-clients__inner { max-width: 1240px; margin-inline: auto !important; padding: 32px clamp(20px, 4vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; }
.ek-clients__inner > * { margin: 0 !important; }
.ek-clients__label { font-size: 13px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #5C5F66; }
.ek-clients__names { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 20px !important; color: #3A3D44; word-spacing: 0.2em; }

/* ---------- Abschnitte ---------- */
.ek-section { max-width: 1240px; margin-inline: auto !important; padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 32px); }
.ek-section--tight-top { padding-top: clamp(24px, 4vw, 48px); }
.ek-section--tight-bottom { padding-bottom: clamp(24px, 4vw, 48px); }
.ek-band { background: var(--wp--preset--color--sand); margin: 0 !important; }

.ek-grid-2 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ek-grid-3 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.ek-grid-2 > *, .ek-grid-3 > * { margin: 0 !important; }

.ek-split-head { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px !important; }
.ek-split-head > * { margin: 0 !important; }
.ek-split-head h2 { max-width: 620px; }
.ek-split-head p { max-width: 420px; color: var(--wp--preset--color--muted); }

/* Karten Unternehmen / Bewerber */
.ek-card { border-radius: 24px; padding: clamp(28px, 4vw, 48px) !important; display: flex !important; flex-direction: column; gap: 18px; }
.ek-card > * { margin: 0 !important; }
.ek-card .wp-block-buttons { margin-top: auto !important; padding-top: 6px; }
.ek-card--company { background: #A9A49A; color: var(--wp--preset--color--ink); }
.ek-card--company .ek-eyebrow { color: var(--wp--preset--color--ink); }
.ek-card--company p { color: #24262B; }
.ek-card--jobs { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.ek-card--jobs .ek-eyebrow { color: var(--wp--preset--color--ink); }
.ek-card h2 { font-size: clamp(30px, 3.4vw, 38px) !important; }
.ek-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ek-checks li::before { content: "✓"; margin-right: 10px; font-weight: 600; }
.ek-facts { display: flex !important; flex-wrap: wrap; gap: 12px; }
.ek-facts > * { margin: 0 !important; flex: 1 1 160px; background: var(--wp--preset--color--paper); border-radius: 16px; padding: 16px 20px; }
.ek-fact__big { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 28px !important; line-height: 1.2; margin: 0 !important; }
.ek-fact__small { font-size: 14px !important; color: #5C5F66; margin: 0 !important; }

/* Leistungen */
.ek-service { border-top: 2px solid var(--wp--preset--color--ink); padding-top: 22px; display: flex !important; flex-direction: column; gap: 10px; }
.ek-service > * { margin: 0 !important; }
.ek-service__num { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 15px !important; color: var(--wp--preset--color--green); }
.ek-service h3 { font-size: 24px !important; }
.ek-service p:not(.ek-service__num) { color: var(--wp--preset--color--muted); }

/* Bilder */
.ek-photo { margin: 0 !important; }
.ek-photo img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 20px; }
.ek-photo--team img { height: clamp(260px, 32vw, 400px); border-radius: 24px; }

/* Schritte */
.ek-step { background: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 32px); display: flex !important; flex-direction: column; gap: 10px; }
.ek-step > * { margin: 0 !important; }
.ek-step__num {
	width: 44px; height: 44px; border-radius: 999px; background: var(--wp--preset--color--ink); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.ek-step__num--gold { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.ek-step p:not(.ek-step__num) { color: var(--wp--preset--color--muted); }

/* Über uns */
.ek-about { align-items: center; gap: clamp(32px, 5vw, 56px) !important; }
.ek-about__text { display: flex !important; flex-direction: column; gap: 18px; }
.ek-about__text > * { margin: 0 !important; }
.ek-about__text p:not(.ek-eyebrow) { color: var(--wp--preset--color--muted); }
.ek-about__text h1 { font-size: var(--wp--preset--font-size--x-large) !important; font-weight: 700; letter-spacing: 0; line-height: 1.1; }

/* Abschluss-Banner */
.ek-cta-wrap { padding: 0 clamp(20px, 4vw, 32px) clamp(56px, 8vw, 96px); margin: 0 !important; }
.ek-cta {
	max-width: 1176px; margin-inline: auto !important; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper);
	border-radius: clamp(20px, 3vw, 28px); padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 56px);
	display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.ek-cta > * { margin: 0 !important; }
.ek-cta__text { display: flex !important; flex-direction: column; gap: 10px; max-width: 620px; }
.ek-cta__text > * { margin: 0 !important; }
.ek-cta h2 { color: var(--wp--preset--color--paper); font-size: clamp(28px, 3.4vw, 42px) !important; }
.ek-cta p { color: #C9C4BA; }

/* ---------- Standardseiten ---------- */
.ek-page-head { background: var(--wp--preset--color--sand); margin: 0 !important; }
.ek-page-head__inner { max-width: 1240px; margin-inline: auto !important; padding: clamp(44px, 7vw, 80px) clamp(20px, 4vw, 32px) clamp(32px, 5vw, 56px); }
.ek-page-head h1 { font-size: clamp(36px, 5vw, 60px) !important; margin: 0; }
.ek-page-content { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.ek-page-content img { border-radius: 16px; }

/* ---------- Bewerbung & Kontakt ---------- */
.ek-contact-head { padding-bottom: 32px !important; }
.ek-contact-head h1 { font-size: clamp(40px, 5vw, 64px) !important; }
.ek-contact-head .ek-lead { max-width: 640px; color: var(--wp--preset--color--muted); }
.ek-steps-row { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 8px 0 0; }
.ek-steps-row li { flex: 1 1 220px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 14px 18px; line-height: 1.4; }
.ek-steps-row .ek-step__num { flex: none; width: 36px; height: 36px; font-size: 15px; }
.ek-steps-row small { font-size: 15px; color: #5C5F66; }

.ek-contact-body { display: flex !important; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 0 !important; }
.ek-contact-body > * { margin: 0 !important; }
.ek-formcard { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.ek-formcard > * { margin-top: 0; }
.ek-aside { flex: 1 1 300px; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; padding: 28px 30px; display: flex !important; flex-direction: column; gap: 10px; }
.ek-aside > * { margin: 0 !important; }
.ek-aside h2 { font-size: 20px !important; }
.ek-aside p { font-size: 15px; color: var(--wp--preset--color--muted); }

.ek-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.ek-tabs legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.ek-tab {
	min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
	background: #fff; color: var(--wp--preset--color--ink); border: 1.5px solid #C9C3B8;
}
.ek-tab[aria-pressed="true"] { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
.ek-tab:focus-visible { outline: 3px solid var(--wp--preset--color--gold); outline-offset: 2px; }
.ek-linkbtn { align-self: flex-start; background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--green); cursor: pointer; }
.ek-panel > h2 { font-size: 26px !important; margin: 0 0 8px; }
/* Mit JavaScript nur das gewählte Formular zeigen (ohne JS: alle untereinander) */
.ek-js .ek-panels:not(.ek-ready) .ek-panel:not(:first-child),
.ek-js .ek-panel:not(.is-active) { display: none !important; }
.ek-js .ek-panels:not(.ek-ready) .ek-panel:first-child { display: block !important; }
.ek-panel + .ek-panel { margin-top: 40px; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 form { display: flex; flex-direction: column; gap: 4px; }
.wpcf7 form p { margin: 0 0 14px; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 600; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"],
.wpcf7 input[type="number"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 14px;
	border: 1.5px solid #C9C3B8; border-radius: 12px; background: #FBFAF7;
	font: inherit; font-weight: 400; font-size: 16px; color: var(--wp--preset--color--ink);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--wp--preset--color--green); box-shadow: 0 0 0 3px rgba(30, 90, 67, 0.18); }
.wpcf7 .wpcf7-list-item { margin: 4px 16px 4px 0; font-weight: 400; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 20px; height: 20px; accent-color: var(--wp--preset--color--green); }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit {
	min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--wp--preset--color--green); color: #fff; font: inherit; font-weight: 600; font-size: 16px;
}
.wpcf7 .wpcf7-submit:hover { background: #123828; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 14px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
/* Turnstile-Prüfung direkt über den Senden-Button */
.wpcf7 form > .wpcf7-turnstile { order: 90; margin: 4px 0 14px; }
.wpcf7 form > p:has(.wpcf7-submit) { order: 91; }
.wpcf7 form > .wpcf7-response-output { order: 92; }

@media (max-width: 600px) {
	.wpcf7 .wpcf7-submit { width: 100%; }
	.ek-tab { flex: 1 1 100%; }
}

/* ---------- Fußbereich ---------- */
.ek-footer { border-top: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.ek-footer__inner { max-width: 1240px; margin-inline: auto !important; padding: 40px clamp(20px, 4vw, 32px); display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px; font-size: 15px; color: var(--wp--preset--color--muted); }
.ek-footer__inner > * { margin: 0 !important; }
.ek-footer__brand { display: flex !important; flex-direction: column; gap: 4px; }
.ek-footer__brand > * { margin: 0 !important; }
.ek-footer__brand strong { font-family: var(--wp--preset--font-family--display); letter-spacing: 0.14em; color: var(--wp--preset--color--ink); }
.ek-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 0; }
.ek-footer__links a { color: var(--wp--preset--color--muted); }

/* ---------- Farbsystem: Bewerben = Gold, Buchen = Grau ---------- */
.ek-btn-grey .wp-block-button__link { background: #A9A49A !important; color: var(--wp--preset--color--ink) !important; }
.ek-btn-grey .wp-block-button__link:hover { background: #97928A !important; }
.ek-tab[data-ek-tab="job"][aria-pressed="true"] { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--gold); }
.ek-tab[data-ek-tab="booking"][aria-pressed="true"] { background: #A9A49A; color: var(--wp--preset--color--ink); border-color: #A9A49A; }
.ek-panel--job .wpcf7 .wpcf7-submit { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.ek-panel--job .wpcf7 .wpcf7-submit:hover { background: #D9A23A; }
.ek-panel--booking .wpcf7 .wpcf7-submit { background: #A9A49A; color: var(--wp--preset--color--ink); }
.ek-panel--booking .wpcf7 .wpcf7-submit:hover { background: #97928A; }

/* ---------- Unterseiten im Stil der Startseite ---------- */
.ek-facts-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ek-facts-row > * { margin: 0 !important; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 22px 24px; }
.ek-card--light { background: #fff; border: 1px solid var(--wp--preset--color--line); }
.ek-card--light .ek-eyebrow { color: var(--wp--preset--color--green); }

/* ---------- Kontaktseite: Auswahl oben ---------- */
.ek-contact-top { padding-bottom: 16px !important; }
.ek-contact-top .ek-tabs { margin: 0; }
.ek-contact-top .ek-tab { min-height: 52px; padding: 0 24px; font-size: 16px; }
.ek-contact-top .ek-tabs legend { font-size: 15px; margin-bottom: 14px; }
.ek-panels > .ek-panel > * { margin-block-start: 0; }
.ek-panel .ek-panel__head { display: flex !important; flex-direction: column; gap: 12px; margin-bottom: 28px !important; }
.ek-panel .ek-panel__head > * { margin: 0 !important; }
.ek-panel .ek-panel__head h1 { font-size: clamp(36px, 5vw, 60px) !important; }
.ek-panel .ek-formcard { max-width: 880px; }
.ek-panel + .ek-panel { margin-top: 56px; }

/* ---------- Pflichtfelder & Fehlermarkierung ---------- */
.ek-required-note { font-size: 14px; color: var(--wp--preset--color--muted); margin: 0 0 16px; }
.wpcf7 .wpcf7-not-valid,
.wpcf7 form.invalid .wpcf7-not-valid { border-color: #C62828 !important; background: #FFF5F5 !important; box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15) !important; }
.wpcf7 .wpcf7-not-valid-tip { color: #B71C1C; font-size: 14px; font-weight: 500; margin-top: 6px; }
.wpcf7 .wpcf7-acceptance.wpcf7-not-valid,
.wpcf7 .wpcf7-checkbox.wpcf7-not-valid { display: inline-block; padding: 6px 10px; border: 2px solid #C62828; border-radius: 10px; background: #FFF5F5; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: #C62828 !important; background: #FFF5F5; color: #B71C1C; }

/* Adresse in vier Feldern: Straße | Nr. / PLZ | Ort */
.wpcf7 .ek-addr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; margin: 0 0 14px; }
.wpcf7 .ek-addr > p { display: contents; }
.wpcf7 .ek-addr label { margin: 0; }
.wpcf7 .ek-addr__street, .wpcf7 .ek-addr__city { grid-column: span 3; }
.wpcf7 .ek-addr__nr, .wpcf7 .ek-addr__zip { grid-column: span 1; }

/* ---------- Weihnachtszeit (nur mit body.ek-xmas) ---------- */
.ek-xmas-bar { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); font-size: 14px; position: relative; z-index: 60; }
.ek-xmas-bar__inner { max-width: 1240px; margin: 0 auto; padding: 10px clamp(20px, 4vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; text-align: center; }
.ek-xmas-bar__links { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ek-xmas-bar__btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 13px; text-decoration: none; color: var(--wp--preset--color--ink) !important; }
.ek-xmas-bar__btn--gold { background: var(--wp--preset--color--gold); }
.ek-xmas-bar__btn--grey { background: #A9A49A; }
.ek-xmas-bar__btn:hover { filter: brightness(0.94); }

/* Zwei Weihnachtsbäume am unteren Rand des dunklen Titelbereichs */
.ek-xmas .ek-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none; z-index: 0;
	background-image: url("/wp-content/uploads/2026/11/weihnachtsbaum.webp"), url("/wp-content/uploads/2026/11/weihnachtsbaum.webp");
	background-repeat: no-repeat;
	background-size: auto 200px;
	background-position: left 2% bottom 0, right 2% bottom 0;
}
@media (max-width: 1100px) {
	.ek-xmas .ek-hero::after { height: 150px; background-size: auto 150px; }
}
@media (max-width: 700px) {
	.ek-xmas .ek-hero::after { height: 96px; background-size: auto 96px; background-position: left 8px bottom 0, right 8px bottom 0; }
}

/* Schneefall im dunklen Titelbereich (gezeichnet von assets/js/site.js) */
.ek-xmas .ek-hero { position: relative; overflow: hidden; }
.ek-xmas .ek-hero__grid { position: relative; z-index: 1; }
.ek-snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
	.ek-snow-canvas { display: none; }
}

/* Weihnachtsmann mit Schlitten (einmal pro Seitenaufruf) */
.ek-santa { position: fixed; top: 210px; left: -360px; width: clamp(200px, 24vw, 320px); z-index: 70; pointer-events: none; filter: drop-shadow(0 0 6px rgba(233, 180, 76, 0.45)); will-change: transform; animation: ek-santa-fly 9s linear 0.8s 1 both; }
.ek-santa svg { display: block; width: 100%; height: auto; animation: ek-santa-bob 1.8s ease-in-out infinite alternate; }
/* gleichmäßiger Flug von links nach rechts, das sanfte Auf und Ab übernimmt die Grafik selbst */
@keyframes ek-santa-fly {
	0%   { transform: translateX(0); opacity: 1; }
	99%  { opacity: 1; }
	100% { transform: translateX(calc(100vw + 380px)); opacity: 0; }
}
@keyframes ek-santa-bob {
	from { transform: translateY(8px) rotate(-3deg); }
	to   { transform: translateY(-14px) rotate(-1deg); }
}
@media (max-width: 600px) { .ek-santa { top: 250px; } }
@media (prefers-reduced-motion: reduce) { .ek-santa { display: none; } }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 600px) {
	.ek-hero .wp-block-buttons, .ek-cta .wp-block-buttons { width: 100%; }
	.ek-hero .wp-block-button, .ek-cta .wp-block-button { flex: 1 1 100%; }
	.ek-hero .wp-block-button__link, .ek-cta .wp-block-button__link { width: 100%; }
	.ek-wordmark, .ek-wordmark a { font-size: 16px !important; letter-spacing: 0.1em; }
	.ek-photo img { height: 240px; }
}
