/* Dr. Haller – Hafenkai-Konfigurator v1.2 */
.hk-konf { --hk-akzent: #B84F20; --hk-akzent-hell: #FBE9E0; --hk-text: #2B2723; --hk-leise: #5E584D; --hk-linie: #CFC7B8; --hk-flaeche: #FAF7F2;
	color: var(--hk-text); margin: 0 0 20px; max-width: 760px; }
.hk-konf *, .hk-konf *::before, .hk-konf *::after { box-sizing: border-box; }

.hk-schritt { border: 0; border-top: 1px solid #E3DED4; margin: 0; padding: 18px 0 16px; min-width: 0; }
.hk-schritt legend { font-size: 16px; font-weight: 600; padding: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; float: left; width: 100%; }
.hk-schritt legend + * { clear: both; }
.hk-nr { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hk-text); color: #fff; font-size: 13px; flex: 0 0 auto; }
.hk-hinweis { color: var(--hk-leise); font-size: 13px; margin: 8px 0 0; line-height: 1.45; }
.hk-fehler { color: #A3341A; font-size: 13px; font-weight: 500; margin: 8px 0 0; }

/* Ausführungen */
.hk-ausf { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; clear: both; }
.hk-karte { display: flex; flex-direction: column; gap: 3px; text-align: left; min-height: 48px; padding: 12px 14px; background: #fff; color: var(--hk-text);
	border: 1px solid var(--hk-linie); border-radius: 4px; cursor: pointer; font: inherit; line-height: 1.35; }
.hk-karte:hover { border-color: #9E9588; }
.hk-karte strong { font-size: 14.5px; }
.hk-karte-sub { font-size: 12px; font-weight: 600; color: var(--hk-akzent); }
.hk-karte-text { font-size: 12.5px; color: var(--hk-leise); }
.hk-karte.is-aktiv { border: 2px solid var(--hk-text); padding: 11px 13px; background: var(--hk-flaeche); }

/* Farben */
.hk-farben { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; clear: both; }
.hk-farbe { display: block; padding: 0; background: #fff; border: 1px solid var(--hk-linie); border-radius: 4px; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: var(--hk-text); }
.hk-farbe:hover { border-color: #9E9588; }
.hk-farbe-bild { display: block; aspect-ratio: 1 / 1; background-color: #eee; }
.hk-farbe-bild img, .hk-vorschau-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hk-farbe-name { display: block; padding: 7px 8px 8px; font-size: 12.5px; font-weight: 500; line-height: 1.25; }
.hk-farbe.is-aktiv { outline: 2px solid var(--hk-text); outline-offset: 1px; }

.hk-vorschau { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding: 14px; background: var(--hk-flaeche); border-radius: 4px; }
.hk-vorschau[hidden] { display: none; }
.hk-vorschau-bild { flex: 0 0 180px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background-color: #eee; }
.hk-vorschau-text { flex: 1 1 220px; min-width: 0; }
.hk-vorschau-name { display: block; font-size: 15px; margin-bottom: 8px; }
.hk-seiten { display: flex; gap: 6px; margin-bottom: 8px; }
.hk-seiten[hidden] { display: none; }
.hk-seite { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hk-linie); background: #fff; color: var(--hk-text); font: inherit; font-size: 13px; cursor: pointer; }
.hk-seite.is-aktiv { background: var(--hk-text); border-color: var(--hk-text); color: #fff; }
.hk-seiten-text { font-size: 13px; color: var(--hk-leise); margin: 0 0 8px; }
.hk-muster { font-size: 13px; font-weight: 500; color: var(--hk-akzent); }

/* Breite, Länge, Zubehör */
.hk-breiten { display: flex; gap: 10px; flex-wrap: wrap; clear: both; }
.hk-radio { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--hk-linie); border-radius: 4px; background: #fff; cursor: pointer; font-weight: 500; }
.hk-radio:has(input:checked) { border: 2px solid var(--hk-text); padding: 9px 15px; background: var(--hk-flaeche); }
.hk-feld { display: flex; flex-direction: column; gap: 6px; max-width: 240px; clear: both; font-size: 13px; color: var(--hk-leise); }
.hk-feld input { min-height: 48px; font-size: 16px; padding: 10px 12px; border: 1px solid var(--hk-linie); border-radius: 4px; color: var(--hk-text); }
.hk-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; clear: both; font-size: 14px; }
.hk-check input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; }

/* Preis */
.hk-preis { margin-top: 6px; padding: 14px 16px; border: 1px solid var(--hk-linie); border-radius: 4px; background: #fff; }
.hk-preis-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 14px; }
.hk-gesamt { border-top: 1px solid #E3DED4; margin-top: 4px; padding-top: 8px; font-size: 16px; }
.hk-gesamt strong { font-size: 20px; }
.hk-menge-label { margin: 16px 0 6px; font-weight: 600; font-size: 14px; }

.hk-konf button:focus-visible, .hk-konf input:focus-visible, .hk-konf a:focus-visible { outline: 2px solid #E0642A; outline-offset: 2px; }
form.cart .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.hk-ab { font-size: .7em; font-weight: 400; }

@media (max-width: 480px) {
	.hk-farben { grid-template-columns: repeat(3, 1fr); }
	.hk-vorschau-bild { flex-basis: 100%; }
}
.hk-konf img[hidden] { display: none; }

/* v1.1 */
.hk-umtausch { margin: 8px 0 0; color: #B3261E; font-weight: 600; font-size: 14px; }
.hk-video { margin-top: 12px; border: 1px solid #E3DED4; border-radius: 4px; background: #fff; }
.hk-video summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--hk-akzent); }
.hk-video[open] summary { border-bottom: 1px solid #E3DED4; }
.hk-video-rahmen { position: relative; aspect-ratio: 16 / 9; background: #111; }
.hk-video-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hk-video .hk-hinweis { margin: 0; padding: 8px 14px 10px; font-size: 12px; }

/* v1.2: Großansicht beim Überfahren */
.hk-zoom { position: fixed; z-index: 99999; width: 300px; background: #fff; border-radius: 6px; box-shadow: 0 14px 40px rgba(43,39,35,.28); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.97); transition: opacity .12s ease, transform .12s ease; }
.hk-zoom.is-sichtbar { opacity: 1; transform: none; }
.hk-zoom-bild { width: 300px; height: 300px; background-color: #eee; }
.hk-zoom-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hk-zoom-bild img[hidden] { display: none; }
.hk-zoom-name { padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: #2B2723; }
@media (prefers-reduced-motion: reduce) { .hk-zoom { transition: none; } }
