/* JW Maschinen – Design-Ergänzungen (Layout-Bausteine aus design.php).
   Karten/Galerie/Specs/Buttons/Chips liegen in jw-maschinen.css. */

:root {
	--jw-radius: 10px;
	--jw-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Header / Topbar */
.jw-topbar p { margin: 0; }
.jw-topbar a { color: inherit; text-decoration: none; }
.jw-topbar a:hover { color: var(--jw-accent, #F9A825); }
.jw-header .elementor-nav-menu--dropdown { box-shadow: var(--jw-shadow); }

/* Badges + Kerndaten (Karten, Single) */
.jw-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.jw-badge {
	display: inline-block; padding: 3px 10px; border-radius: 999px;
	background: var(--jw-green, #2E7D32); color: #fff;
	font: 600 12px/1.6 Montserrat, sans-serif; letter-spacing: .3px;
}
.jw-badge--light { background: var(--jw-light, #F4F6F5); color: var(--jw-dark, #1B1F23); }
.jw-kerndaten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.jw-kerndaten li { display: flex; flex-direction: column; line-height: 1.3; }
.jw-kerndaten span { color: #6B757B; font-size: 12px; }
.jw-kerndaten strong { color: var(--jw-dark, #1B1F23); }

/* Loop-Item-Karte (Elementor Loop Grid, optional) */
.jw-loop-card { transition: transform .2s ease, box-shadow .2s ease; }
.jw-loop-card:hover { transform: translateY(-4px); box-shadow: var(--jw-shadow); }
.jw-loop-card__img img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; display: block; }

/* Breadcrumb */
.jw-breadcrumb { font-size: 14px; color: #6B757B; }
.jw-breadcrumb a { color: var(--jw-green, #2E7D32); text-decoration: none; }
.jw-breadcrumb a:hover { text-decoration: underline; }
.jw-breadcrumb span { margin: 0 4px; }

/* Hero & Seitenkopf */
.jw-hero .elementor-button, .jw-cta .elementor-button { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.jw-page-head p { margin: 0; }

/* Vorteile */
.jw-benefit { box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: box-shadow .2s ease, transform .2s ease; }
.jw-benefit:hover { box-shadow: var(--jw-shadow); transform: translateY(-3px); }

/* Kategorie-Kacheln */
.jw-cat-tiles > .e-con, .jw-cat-tiles > a { flex: 1 1 280px; }
.jw-cat-tile { overflow: hidden; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.jw-cat-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.jw-cat-tile p { margin: 0 0 4px; }
.jw-cat-tile__more { color: var(--jw-accent, #F9A825); font-weight: 700; font-family: Montserrat, sans-serif; }

/* Footer */
.jw-footer a { color: #fff; text-decoration: none; }
.jw-footer a:hover { color: var(--jw-accent, #F9A825); }
.jw-footer-links { list-style: none; margin: 0; padding: 0; }
.jw-footer-links li { margin: 0 0 6px; }
.jw-footer-text p { margin: 0 0 8px; }
.jw-footer-legal { margin: 0; }

/* Über uns */
.jw-checklist { list-style: none; margin: 0; padding: 0; }
.jw-checklist li { position: relative; padding: 0 0 8px 26px; }
.jw-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	color: var(--jw-green, #2E7D32); font-weight: 700;
}

/* Rechtstexte / Beschreibung */
.jw-legal h2 { font-size: 22px; margin: 28px 0 10px; }
.jw-description p { margin: 0 0 12px; }
.jw-map iframe { border-radius: var(--jw-radius); }

@media (max-width: 767px) {
	.jw-cat-tiles > .e-con, .jw-cat-tiles > a { flex-basis: 100%; }
}
