/* ==========================================================================
   Wäscheduft – Gestaltung
   Farben und Schriften zentral als Variablen (unter Design → Customizer
   bzw. hier änderbar).
   ========================================================================== */
:root {
	--wd-blau: #18246A;          /* Markenblau: Überschriften, Knöpfe, Fußzeile */
	--wd-blau-hell: #E9EEF8;     /* Hintergrund Anwendung */
	--wd-gruen: #2F6447;         /* Akzent */
	--wd-gruen-hell: #E7F0EA;
	--wd-text: #2E3550;
	--wd-text-weich: #4A5170;
	--wd-grau: #5A6178;
	--wd-linie: #E3E6F0;
	--wd-grund: #F6F7FB;
	--wd-weiss: #FFFFFF;
	--wd-kachel: #F3F5FA;
	--wd-schrift-titel: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
	--wd-schrift: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
	--wd-breite: 1200px;
	--wd-rund: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.wd {
	margin: 0;
	font-family: var(--wd-schrift);
	font-size: 17px;
	line-height: 1.6;
	color: var(--wd-text);
	background: var(--wd-grund);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--wd-blau); }
a:hover { color: var(--wd-gruen); }
:focus-visible { outline: 3px solid #F5B400; outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--wd-schrift-titel); color: var(--wd-blau); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 21px; }
p { margin: 0 0 1em; }

.wd-skip { position: absolute; left: -9999px; top: 0; background: var(--wd-blau); color: #fff; padding: 10px 16px; z-index: 100; }
.wd-skip:focus { left: 16px; top: 16px; }

/* ---------- Grundraster ---------- */
.wd-breit { max-width: var(--wd-breite); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.wd-band-weiss { background: var(--wd-weiss); }
.wd-band-blau { background: var(--wd-blau-hell); }
.wd-band-gruen { background: var(--wd-gruen-hell); }
.wd-abschnitt { padding-top: 72px; padding-bottom: 72px; }
.wd-abschnitt-eng { padding-top: 56px; padding-bottom: 16px; }

/* ---------- Kopfzeile ---------- */
.wd-kopf { background: var(--wd-weiss); border-bottom: 1px solid var(--wd-linie); position: relative; z-index: 20; }
.wd-kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding-top: 12px; padding-bottom: 12px; }
.wd-marke { display: block; flex: none; }
.wd-logo { display: block; height: 72px; width: auto; }
.wd-navigation { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; justify-content: flex-end; }
.wd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.wd-menu a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 0; display: inline-block; }
.wd-menu .current-menu-item > a { color: var(--wd-gruen); box-shadow: inset 0 -2px 0 var(--wd-gruen); }
.wd-menu-knopf { display: none; background: none; border: 1.5px solid var(--wd-linie); border-radius: 12px; width: 48px; height: 48px; color: var(--wd-blau); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Knöpfe ---------- */
.wd-knopf { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--wd-blau); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid var(--wd-blau); cursor: pointer; font: inherit; font-weight: 600; }
.wd-knopf:hover { background: #24338A; color: #fff; }
.wd-knopf-hell { background: var(--wd-weiss); color: var(--wd-blau); border-color: #C9CEE2; }
.wd-knopf-hell:hover { background: var(--wd-blau-hell); color: var(--wd-blau); }
.wd-knopf-klein { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.wd-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.wd-mehr { font-weight: 600; }

/* ---------- Einstieg ---------- */
.wd-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 80px; }
.wd-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.wd-hero-text h1 { margin: 0; font-size: clamp(28px, 3.1vw, 40px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.wd-hero-medien { flex: 1 1 460px; min-width: 0; }
.wd-badge { align-self: flex-start; background: var(--wd-gruen-hell); color: var(--wd-gruen); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.wd-lead { margin: 0; font-size: 18px; color: var(--wd-text-weich); max-width: 560px; }
.wd-lead b, .wd-lead strong { font-weight: inherit; }

/* ---------- Video ---------- */
.wd-video { display: flex; flex-direction: column; gap: 12px; }
.wd-video-titel { font-size: 20px; font-weight: 700; letter-spacing: 0; margin: 0; }
.wd-yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 20px; overflow: hidden; background: var(--wd-blau-hell); cursor: pointer; }
.wd-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wd-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wd-yt-play { position: absolute; left: 50%; top: 72%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; border: none; background: #FF0000; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.wd-yt:hover .wd-yt-play { transform: translate(-50%, -50%) scale(1.06); background: #CC0000; }
@media (max-width: 520px) { .wd-yt-play { width: 52px; height: 36px; border-radius: 10px; top: 72%; } .wd-yt-play svg { width: 20px; height: 20px; } }
.wd-yt-hinweis { margin: 0; font-size: 13px; color: var(--wd-grau); }
.wd-video-unterseite { padding-top: 32px; max-width: 900px; }

/* ---------- Karten (Hinweise) ---------- */
.wd-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.wd-karte { background: var(--wd-weiss); border-radius: var(--wd-rund); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.wd-karte h3 { margin: 0; }
.wd-karte h3 a { text-decoration: none; }
.wd-karte-text { color: var(--wd-text-weich); font-size: 16px; }
.wd-karte-text p { margin: 0; }
.wd-karte .wd-mehr { margin-top: auto; font-size: 16px; }
.wd-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.wd-icon-flasche, .wd-icon-maschine { background: #E5EEF8; color: #24508F; }
.wd-icon-raster, .wd-icon-tropfen { background: #ECEAF8; color: #4B3F9E; }
.wd-icon-schild, .wd-icon-trockner { background: var(--wd-gruen-hell); color: var(--wd-gruen); }
.wd-icon-hinweis { background: #FBEFD9; color: #8A5300; }

/* ---------- Fließtext ---------- */
.wd-text { color: var(--wd-text-weich); min-width: 0; }
.wd-text p:last-child { margin-bottom: 0; }
.wd-text b, .wd-text strong { color: var(--wd-blau); }
.wd-text-betont { color: var(--wd-text); font-weight: 600; }
.wd-text-betont b, .wd-text-betont strong { color: inherit; }
.wd-text-schmal { max-width: 760px; margin-bottom: 36px; }
.wd-text-haupt h2 { margin-bottom: 20px; }
.wd-zwei { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.wd-zwei > * { flex: 1 1 420px; min-width: 0; }
.wd-zwei > .wd-text-haupt { flex: 1.5 1 520px; }
.wd-zwei-titel > h2 { flex: 1 1 340px; margin: 0; }
.wd-zwei-titel > .wd-text { flex: 1.4 1 520px; color: var(--wd-text); }
.wd-zwei-gleich { margin-bottom: 40px; }

/* ---------- Zitat ---------- */
.wd-zitat { margin: 0; flex: 1 1 340px; background: var(--wd-blau); color: #fff; border-radius: 22px; padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; }
.wd-zitat-gross { font-family: var(--wd-schrift-titel); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: #A9C9B4; }
.wd-zitat blockquote { margin: 0; font-family: var(--wd-schrift-titel); font-weight: 500; font-size: 23px; line-height: 1.35; }

/* ---------- Duftsorten ---------- */
.wd-kopfzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.wd-kopfzeile h2 { margin: 0; }
.wd-duefte { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.wd-duefte-klein { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.wd-duft { background: var(--wd-kachel); border-radius: var(--wd-rund); padding: 18px 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--wd-text-weich); transition: transform .15s, box-shadow .15s; }
.wd-duft:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(24, 36, 106, .10); color: var(--wd-text-weich); }
.wd-duft-bild { width: 100%; height: 170px; display: flex; align-items: center; justify-content: center; }
.wd-duefte-klein .wd-duft-bild { height: 120px; }
.wd-duft-bild img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 10px; }
.wd-duft-name { font-family: var(--wd-schrift-titel); font-weight: 700; font-size: 19px; color: var(--wd-blau); text-align: center; }
.wd-duft-text { font-size: 14px; line-height: 1.5; text-align: center; }

/* ---------- Baukasten-Produkte ---------- */
.wd-produkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.wd-produkt { background: var(--wd-weiss); border-radius: var(--wd-rund); padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
.wd-produkt img { width: 96px; height: 128px; object-fit: cover; border-radius: 10px; flex: none; }
.wd-produkt > div { min-width: 0; }
.wd-produkt h3 { font-size: 20px; margin: 0 0 8px; }
.wd-produkt p { margin: 0; font-size: 15px; color: var(--wd-text-weich); }

/* ---------- Anwendung ---------- */
.wd-punkte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.wd-punkte li { background: var(--wd-weiss); border-radius: var(--wd-rund); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.wd-punkte .wd-icon { width: 44px; height: 44px; border-radius: 12px; }
.wd-punkte p { margin: 0; font-size: 16px; color: var(--wd-text-weich); }

/* ---------- Unterseiten ---------- */
.wd-seitenkopf { padding: 56px 0 36px; border-bottom: 1px solid var(--wd-linie); }
.wd-seitenkopf h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.wd-seite { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.wd-inhalt { flex: 1 1 560px; max-width: 820px; background: var(--wd-weiss); border-radius: 22px; padding: clamp(24px, 4vw, 48px); color: var(--wd-text); }
.wd-inhalt h1 { font-size: clamp(26px, 3vw, 36px); }
.wd-inhalt h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 1.2em; }
.wd-inhalt h2:first-child, .wd-inhalt h1:first-child { margin-top: 0; }
.wd-inhalt img { border-radius: 10px; }
.wd-inhalt .pull-right { float: right; margin: 0 0 20px 28px; max-width: 42%; }
.wd-inhalt .pull-left { float: left; margin: 0 28px 20px 0; max-width: 42%; }
.wd-inhalt .item-image img { display: block; }
.wd-inhalt::after { content: ""; display: block; clear: both; }
.wd-produktbild { flex: 0 1 340px; background: var(--wd-weiss); border-radius: 22px; padding: 24px; text-align: center; }
.wd-produktbild img { border-radius: 12px; }
/* „Alle unsere Duftsorten“: Joomla-Raster als Kacheln */
.wd-inhalt .productthumb { display: inline-flex; flex-direction: column; align-items: center; width: 132px; margin: 0 10px 18px 0; padding: 14px 10px; background: var(--wd-kachel); border-radius: 14px; text-align: center; vertical-align: top; }
.wd-inhalt .productthumb a { text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.wd-inhalt .productthumb img { width: 80px !important; height: auto !important; margin: 0 auto 8px; border-radius: 6px; }
.wd-inhalt .productthumb br { display: none; }
/* Kontakt / Impressum (Joomla-Bausteine) */
.wd-inhalt #kontleft, .wd-inhalt .contact-miscinfo div { margin-bottom: 4px; }
.wd-inhalt .txt2 { margin-bottom: 8px; }

/* ---------- Sicherheitsdatenblätter ---------- */
.wd-sdb { margin-top: 24px; }
.wd-sdb .datenblaetter { list-style: none; margin: 0; padding: 0; }
.wd-sdb .datenblaetter .datenblaetter { margin: 6px 0 4px 18px; }
.wd-sdb li { border-bottom: 1px solid var(--wd-linie); }
.wd-sdb li:last-child { border-bottom: 0; }
.wd-sdb summary { list-style: none; cursor: pointer; padding: 12px 0 12px 30px; position: relative; font-weight: 600; color: var(--wd-blau); }
.wd-sdb summary::-webkit-details-marker { display: none; }
.wd-sdb summary::before { content: "+"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 6px; background: var(--wd-blau-hell); color: var(--wd-blau); font-weight: 700; line-height: 20px; text-align: center; }
.wd-sdb details[open] > summary::before { content: "–"; }
.wd-sdb .sdb-datei a { display: block; padding: 8px 0 8px 30px; text-decoration: none; font-size: 15px; background: no-repeat 2px center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318246A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); }
.wd-sdb .sdb-datei a:hover { text-decoration: underline; }

/* ---------- Fußzeile ---------- */
.wd-fuss { background: var(--wd-blau); color: #DDE1F2; padding: 64px 0 32px; }
.wd-fuss a { color: #fff; }
.wd-fuss-oben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.wd-fuss-kontakt { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.wd-fuss-klein { font-size: 14px; color: #C2C8E6; }
.wd-fuss-firma { font-family: var(--wd-schrift-titel); font-weight: 800; font-size: 26px; color: #fff; }
.wd-fuss-nav { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.wd-fussmenu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wd-fussmenu a { text-decoration: none; }
.wd-fussmenu a:hover, .wd-fuss-extra:hover { text-decoration: underline; color: #fff; }
.wd-fuss-extra { font-weight: 600; margin-top: 12px; }
.wd-fuss-unten { border-top: 1px solid #34418C; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #C2C8E6; }

/* ---------- Cookie-Hinweis ---------- */
.wd-cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; max-width: 980px; margin: 0 auto; background: var(--wd-weiss); color: var(--wd-text); border-radius: 18px; box-shadow: 0 12px 40px rgba(24, 36, 106, .22); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.wd-cookie p { margin: 0; flex: 1 1 420px; font-size: 15px; }
.wd-cookie[hidden] { display: none; }

/* ---------- Handy ---------- */
@media (max-width: 900px) {
	.wd-menu-knopf { display: inline-flex; }
	.wd-navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wd-weiss); border-bottom: 1px solid var(--wd-linie); padding: 8px max(24px, env(safe-area-inset-left)) 20px; flex-direction: column; align-items: stretch; box-shadow: 0 12px 24px rgba(24, 36, 106, .08); }
	.wd-navigation.ist-offen { display: flex; }
	.wd-menu { flex-direction: column; gap: 0; }
	.wd-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--wd-linie); }
	.wd-navigation .wd-knopf { align-self: flex-start; margin-top: 12px; }
	.wd-logo { height: 56px; }
	.wd-kopf-innen { min-height: 76px; }
	.wd-hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
	.wd-abschnitt { padding-top: 56px; padding-bottom: 56px; }
	.wd-inhalt .pull-right, .wd-inhalt .pull-left { float: none; max-width: 100%; margin: 0 0 20px; }
}
@media (max-width: 520px) {
	body.wd { font-size: 16px; }
	.wd-produkt { flex-direction: column; }
	.wd-duefte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.wd-duft { padding: 14px 10px 16px; }
	.wd-duft-bild { height: 130px; }
	.wd-duft-text { display: none; }
	.wd-zitat { padding: 28px 24px; }
	.wd-zitat blockquote { font-size: 20px; }
}

/* Kontaktformular */
.wd-seite-kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; }
.wd-seite-kontakt .wd-inhalt { max-width: none; }
.wd-kf h2 { margin-top: 0; }
.wd-kf-hinweis { font-size: 14px; color: var(--wd-grau); margin: 0 0 16px; }
.wd-kf-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.wd-kf-feld, .wd-kf .wd-kf-feld:last-child { margin: 0 0 18px; }
.wd-kf-feld label { display: block; font-weight: 600; color: var(--wd-blau); margin-bottom: 6px; font-size: 15px; }
.wd-kf-optional { font-weight: 400; color: var(--wd-grau); }
.wd-kf-feld input[type=text], .wd-kf-feld input[type=email], .wd-kf-feld input[type=tel], .wd-kf-feld textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--wd-text); background: #fff;
	border: 1.5px solid #C9CEE2; border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.wd-kf-feld textarea { resize: vertical; min-height: 150px; }
.wd-kf-feld input:focus, .wd-kf-feld textarea:focus { outline: none; border-color: var(--wd-blau); box-shadow: 0 0 0 3px rgba(24, 36, 106, .15); }
.wd-kf-fehlt input, .wd-kf-fehlt textarea { border-color: #C0392B; }
.wd-kf-fehlt label { color: #C0392B; }
.wd-kf-check { display: flex; gap: 10px; align-items: flex-start; }
.wd-kf-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--wd-blau); }
.wd-kf-check label { font-weight: 400; color: var(--wd-text); font-size: 15px; margin: 0; }
.wd-kf-falle { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wd-kf-meldung { padding: 14px 18px; border-radius: 12px; margin: 0 0 18px; }
.wd-kf-ok { background: #E6F2EA; color: var(--wd-gruen); font-weight: 600; }
.wd-kf-warnung { background: #FBEAE8; color: #8E2A1F; }
@media (max-width: 900px) { .wd-seite-kontakt { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wd-kf-reihe { grid-template-columns: 1fr; } }
