/* 04.11.2026: Hörmann-Aktion – Konfigurator für Tore und Türen (Seite /aktion) */
.ak-hero { background: linear-gradient(135deg, var(--brand-soft) 0%, var(--sky, #eef5fb) 100%); padding: clamp(24px, 5vw, 56px) 0; }
.ak-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.ak-hero h1 { margin: 6px 0 12px; }
.ak-hero-img img { width: 100%; height: clamp(260px, 38vw, 460px); object-fit: cover; object-position: 50% 70%; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.ak-hero .cta { margin-top: var(--s4); }
.ak-badges { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s4) 0; }
.ak-badge { display: flex; flex-direction: column; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.ak-badge span { font-size: .8125rem; color: var(--text-2); }
.ak-badge strong { font-size: 1.25rem; color: var(--navy); }
.ak-badge:hover { border-color: var(--brand); }

.ak-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s5); }
.ak-usp > div { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); border-left: 3px solid var(--brand); background: var(--surface); }
.ak-usp strong { color: var(--navy); }
.ak-usp span { color: var(--text-2); font-size: .9rem; }

.ak-produkte { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); margin-bottom: var(--s5); }
.ak-produkt { display: flex; flex-direction: column; gap: 4px; padding: var(--s3); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ak-produkt img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 6px; }
.ak-produkt:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ak-produkt.selected { border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.ak-p-name { font-weight: 700; color: var(--navy); }
.ak-p-name small { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font-size: .7rem; font-weight: 700; vertical-align: middle; }
.ak-p-kurz { font-size: .8125rem; color: var(--text-2); }
.ak-p-preis { margin-top: auto; font-size: .875rem; }
.ak-p-preis strong { color: var(--brand-text); }

.ak-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: var(--s6); align-items: start; }
/* 10.11.2026: Messanleitung mit Skizze */
.ak-messen { margin-top: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-left: 4px solid #f39200; border-radius: var(--radius-sm); background: #fff; }
.ak-messen summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.ak-messen img { width: 100%; height: auto; margin: var(--s3) 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ak-messen li { margin-bottom: 6px; }
.ak-steps { display: flex; flex-direction: column; gap: var(--s4); }
.ak-step { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s5) var(--s5); margin: 0; background: var(--surface); }
.ak-step legend { font-weight: 700; color: var(--navy); padding: 0 6px; font-size: 1.05rem; }
.ak-wahl { font-weight: 400; color: var(--text-2); font-size: .9rem; }
.ak-step .chips { margin-bottom: var(--s3); }

.ak-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s3); }
.ak-opt, .ak-paket, .ak-chip, .ak-farbe { position: relative; cursor: pointer; }
.ak-opt input, .ak-paket input, .ak-chip input, .ak-farbe input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ak-opt span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); height: 100%; }
.ak-opt small { color: var(--brand-text); font-weight: 700; }
.ak-opt input:checked + span, .ak-chip input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f3f7fc; }
.ak-opt input:focus-visible + span, .ak-chip input:focus-visible + span, .ak-paket input:focus-visible ~ span, .ak-farbe input:focus-visible + .ak-swatch { outline: 3px solid var(--brand); outline-offset: 2px; }
.ak-chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .875rem; background: var(--surface); }

.ak-farben { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s3); margin-bottom: var(--s3); }
.ak-farbe { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ak-farbe small { font-size: .72rem; line-height: 1.25; color: var(--text-2); }
.ak-swatch { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 2px 6px rgba(0,0,0,.12); transition: transform .15s; }
.ak-farbe input:checked + .ak-swatch { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--navy); transform: scale(1.06); }

.ak-pakete { display: flex; flex-direction: column; gap: var(--s2); }
.ak-paket { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.ak-paket::before { content: ""; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line-strong); background: var(--surface); }
.ak-paket:has(input:checked) { border-color: var(--navy); background: #f3f7fc; }
.ak-paket:has(input:checked)::before { background: var(--navy); border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--surface); }
.ak-paket span { display: flex; flex-direction: column; }
.ak-paket small { color: var(--text-2); font-size: .8125rem; }
.ak-paket em { font-style: normal; font-weight: 700; color: var(--brand-text); white-space: nowrap; font-size: .875rem; }

.ak-summary { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); padding: var(--s4); box-shadow: var(--shadow); }
.ak-preview { border-radius: var(--radius); overflow: hidden; background: #ebe7e1; }
.ak-svg { display: block; width: 100%; height: auto; }
.ak-svg [data-farbe], .ak-svg [data-rahmen] { transition: fill .35s ease; }
.ak-titel { margin: var(--s3) 0 2px; }
.ak-zeile { margin: 0; color: var(--text-2); font-size: .9rem; min-height: 2.6em; }
.ak-preis { margin: var(--s3) 0 0; font-size: 1rem; }
.ak-preis strong { display: block; font-size: 1.9rem; color: var(--navy); letter-spacing: -.02em; }
.ak-fuss { font-size: .75rem; color: var(--text-3); margin: 2px 0 var(--s3); }
.ak-punkte { margin: 0 0 var(--s3); padding-left: 1.1em; font-size: .875rem; color: var(--text-2); }
.ak-aktionen { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ak-aktionen .btn { flex: 1 1 160px; }
.ak-teilen { margin: var(--s3) 0 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--link, var(--navy)); text-decoration: underline; cursor: pointer; font: inherit; }

.ak-liste { margin-top: var(--s5); padding: var(--s4) var(--s5); border: 1px dashed var(--navy); border-radius: var(--radius); background: #f3f7fc; }
.ak-liste ul { margin: 0; padding-left: 1.1em; }
.ak-kontakt { margin-top: var(--s6); }
.ak-rad { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ak-rad legend { font-weight: 600; margin-bottom: 4px; }

.ak-ablauf { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.ak-ablauf li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ak-ablauf li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 4px; }
.ak-ablauf span { color: var(--text-2); font-size: .9rem; }

@media (max-width: 1100px) { .ak-produkte { grid-template-columns: repeat(3, 1fr); } .ak-usp, .ak-ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .ak-hero-in, .ak-grid { grid-template-columns: 1fr; }
    .ak-hero-img { order: -1; }
    .ak-summary { position: static; order: -1; }
    .ak-grid { display: flex; flex-direction: column; }
}
@media (max-width: 600px) {
    .ak-produkte { grid-template-columns: repeat(2, 1fr); }
    .ak-produkt img { height: 90px; }
    .ak-usp, .ak-ablauf { grid-template-columns: 1fr; }
    .ak-step { padding: var(--s3) var(--s4) var(--s4); }
    .ak-farben { grid-template-columns: repeat(4, 1fr); }
    .ak-swatch { width: 44px; height: 44px; }
}

/* Motivbilder (Original Hörmann / Prospekt) */
.ak-motive { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: var(--s2); margin-bottom: var(--s3); }
.ak-motiv { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f6f7f9; cursor: pointer; }
.ak-motiv input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ak-motiv img { width: 100%; max-width: 70px; height: auto; }
.ak-motiv span { font-size: .8125rem; font-weight: 600; }
.ak-motiv:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); background: #f3f7fc; }
.ak-motiv:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.ak-motivfoto { display: flex; align-items: center; gap: var(--s3); margin: var(--s3) 0 0; padding: 8px; border-radius: var(--radius-sm); background: #f6f7f9; }
.ak-motivfoto img { width: 64px; height: auto; }
.ak-motivfoto figcaption { font-size: .8125rem; color: var(--text-2); }

/* Farbechte Hörmann-Bilder (img/aktion/render) */
.ak-preview { display: flex; justify-content: center; align-items: flex-end; padding: var(--s3) var(--s3) 0; background: linear-gradient(180deg, #f4f1ec 0%, #e9e4dc 82%, #d6d0c6 82%, #cfc8bd 100%); }
.ak-preview img { display: block; width: auto; max-width: 100%; max-height: 400px; height: auto; transition: opacity .2s; }
.ak-preview img.laedt { opacity: .55; }
.ak-bildhinweis { margin: 6px 0 0; font-size: .75rem; color: var(--text-3); }
.ak-motiv img { max-width: 64px; }
.ak-motiv[hidden] { display: none; }   /* Motive anderer Ausführung (Verglasung) ausblenden */
