/* Fenstershop: Übersicht, Konfigurator, Warenkorb. Farben und Schrift aus alumundo.css. */

.fs-kopf { padding-block: 40px 16px; }
.fs-kopf-klein { padding-block: 16px 8px; }
.fs-kopf h1 { font-family: var(--schrift-display); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; margin: 6px 0 10px; text-wrap: balance; }
.fs-lead { max-width: 62ch; color: var(--tinte-weich); font-size: 18px; margin: 0; }

.fs-vorteile { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; }
.fs-vorteile li { display: flex; align-items: center; gap: 8px; }
.fs-vorteile li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

.fs-gruppe { padding-block: 22px; }
.fs-gruppe h2 { font-family: var(--schrift-display); font-size: 22px; margin: 0 0 12px; }
.fs-kacheln { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fs-kachel { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.fs-kachel:hover, .fs-kachel:focus-visible { border-color: var(--akzent); transform: translateY(-2px); }
.fs-kachel h3 { margin: 0; font-size: 18px; }
.fs-kachel p { margin: 0; color: var(--tinte-weich); font-size: 14px; flex: 1; }
.fs-kachel-pfeil { color: var(--akzent); font-weight: 600; font-size: 14px; }

.fs-laedt { color: var(--tinte-blass); padding: 24px 0; }
.fs-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-block: 12px 32px; }
@media (max-width: 900px) { .fs-layout { grid-template-columns: minmax(0, 1fr); } }

.fs-schritte { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fs-schritt { border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); }
.fs-schritt > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; }
.fs-schritt > summary::-webkit-details-marker { display: none; }
.fs-schritt > summary::after { content: "+"; margin-left: auto; color: var(--tinte-blass); font-weight: 400; font-size: 22px; line-height: 1; }
.fs-schritt[open] > summary::after { content: "–"; }
.fs-nr { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--akzent-wash); color: var(--akzent); font-size: 14px; font-variant-numeric: tabular-nums; flex: none; }
.fs-schritt > .fs-feld { padding: 0 16px 16px; }

.fs-feld { display: flex; flex-direction: column; gap: 8px; }
.fs-feld-titel, .fs-feld > label { margin: 0; font-size: 14px; font-weight: 600; color: var(--tinte-weich); }
.fs-feld select, .fs-feld input { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--linie-stark); border-radius: var(--r); background: var(--grund); color: var(--tinte); max-width: 100%; min-height: 44px; }
.fs-feld-mass input { width: 160px; font-variant-numeric: tabular-nums; }
.fs-kacheln-wahl { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fs-wahl { font: inherit; font-size: 14px; text-align: left; padding: 12px; min-height: 44px; border: 1px solid var(--linie-stark); border-radius: var(--r); background: var(--grund); color: var(--tinte); cursor: pointer; line-height: 1.3; }
.fs-wahl:hover { border-color: var(--akzent); }
.fs-wahl:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.fs-wahl[aria-checked="true"] { border-color: var(--akzent); background: var(--akzent-wash); box-shadow: inset 0 0 0 1px var(--akzent); font-weight: 600; }

.fs-preiskasten { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); box-shadow: var(--schatten); }
@media (max-width: 900px) { .fs-preiskasten { position: static; } }
.fs-preis-label { margin: 0; font-size: 13px; color: var(--tinte-blass); }
.fs-preis-wert { margin: 0; font-family: var(--schrift-display); font-size: 40px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.fs-preis-info { margin: 0; font-size: 14px; color: var(--tinte-weich); }
.fs-preis-hinweis { margin: 0; font-size: 14px; color: var(--warn); }
.fs-korb-knopf { width: 100%; justify-content: center; }
.fs-korb-knopf[disabled] { opacity: .45; cursor: not-allowed; }
.fs-preis-punkte { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--tinte-weich); }
.fs-preis-punkte li::before { content: "✓ "; color: var(--ok); }
.fs-korb-link { font-weight: 600; color: var(--akzent); }

.fs-hilfe { padding-block: 16px 48px; }
.fs-hilfe h2 { font-family: var(--schrift-display); font-size: 22px; margin: 0 0 6px; }

.fs-korb-liste { display: flex; flex-direction: column; gap: 10px; }
.fs-korb-pos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); }
.fs-korb-pos h3 { margin: 0; font-size: 17px; }
.fs-korb-pos ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--tinte-weich); grid-column: 1 / -1; }
.fs-korb-preis { font-weight: 700; font-variant-numeric: tabular-nums; }
.fs-korb-entfernen { font: inherit; font-size: 13px; background: none; border: 0; color: var(--fehler); cursor: pointer; padding: 0; justify-self: start; }
.fs-summen { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-variant-numeric: tabular-nums; }
.fs-summen .fs-gesamt { font-weight: 750; font-size: 20px; }

.fs-bestellen { display: flex; flex-direction: column; gap: 14px; max-width: 720px; padding-block: 16px 48px; }
.fs-bestellen h2 { font-family: var(--schrift-display); font-size: 26px; margin: 0; }
.fs-bestellen .fs-wahl { display: flex; align-items: center; gap: 8px; }
.fs-bestellen .fs-wahl:has(input:checked) { border-color: var(--akzent); background: var(--akzent-wash); box-shadow: inset 0 0 0 1px var(--akzent); }
.fs-bestellen textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--linie-stark); border-radius: var(--r); background: var(--grund); color: var(--tinte); }
.fs-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.fs-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.fs-menge { width: 72px; font: inherit; padding: 6px 8px; border: 1px solid var(--linie-stark); border-radius: var(--r); background: var(--grund); color: var(--tinte); }
.fs-danke { padding-block: 24px 48px; max-width: 62ch; }

.fs-text { max-width: 760px; padding-block: 16px 56px; }
.fs-text h1 { font-family: var(--schrift-display); font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 8px 0 10px; text-wrap: balance; }
.fs-text h2 { font-family: var(--schrift-display); font-size: 22px; margin: 28px 0 8px; }
.fs-text p { line-height: 1.6; }
.fs-anleitung { list-style: none; counter-reset: schritt; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 18px; }
.fs-anleitung li { counter-increment: schritt; position: relative; padding-left: 52px; }
.fs-anleitung li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--akzent); color: var(--akzent-tinte); font-weight: 700; }
.fs-anleitung h2 { margin: 4px 0 6px; font-size: 19px; }
.fs-beispiel { padding: 12px 14px; border-left: 3px solid var(--akzent); background: var(--akzent-wash); font-variant-numeric: tabular-nums; }
.fs-kasten { margin-block: 28px; padding: 20px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); }
.fs-kasten h2 { margin-top: 0; }
.fs-faq { display: flex; flex-direction: column; gap: 8px; margin-block: 12px 24px; }
.fs-faq details { border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); padding: 0 16px; }
.fs-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.fs-faq details p { margin: 0 0 14px; color: var(--tinte-weich); }
.fs-hilfe-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-weight: 600; }
.fs-ab { display: inline-block; font-weight: 700; color: var(--akzent); font-variant-numeric: tabular-nums; }

/* Live-Vorschau */
.fs-vorschau { margin: 0 0 6px; display: flex; flex-direction: column; gap: 8px; }
.fs-vorschau-bild { display: grid; place-items: center; padding: 10px 6px 2px; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 20%, var(--flaeche) 0%, var(--flaeche-2) 100%); color: var(--tinte-weich); min-height: 240px; }
.fs-vorschau-bild svg { width: 100%; max-width: 320px; height: auto; overflow: visible; }
.fs-vorschau-leiste { display: flex; gap: 6px; }
.fs-ansicht { font: inherit; font-size: 13px; padding: 7px 10px; min-height: 36px; border: 1px solid var(--linie-stark); border-radius: 999px; background: var(--grund); color: var(--tinte); cursor: pointer; }
.fs-ansicht[aria-pressed="true"] { border-color: var(--akzent); color: var(--akzent); font-weight: 600; }
.fs-oeffnen { margin-left: auto; }
.fs-fl { transition: transform .5s var(--ease); }
.fs-zeigen .fs-fl-dreh[data-seite="l"] { animation: fs-dreh-l 2.6s var(--ease) both; }
.fs-zeigen .fs-fl-dreh[data-seite="r"] { animation: fs-dreh-r 2.6s var(--ease) both; }
.fs-zeigen .fs-fl-kipp { animation: fs-kipp 2.6s var(--ease) both; }
.fs-zeigen .fs-fl-schiebe[data-seite="l"] { animation: fs-schiebe-l 2.6s var(--ease) both; }
.fs-zeigen .fs-fl-schiebe[data-seite="r"] { animation: fs-schiebe-r 2.6s var(--ease) both; }
@keyframes fs-dreh-l { 0%, 100% { transform: none; } 35%, 65% { transform: skewY(-7deg) scaleX(.52); } }
@keyframes fs-dreh-r { 0%, 100% { transform: none; } 35%, 65% { transform: skewY(7deg) scaleX(.52); } }
@keyframes fs-kipp { 0%, 100% { transform: none; } 35%, 65% { transform: skewX(-4deg) scaleY(.84); } }
@keyframes fs-schiebe-l { 0%, 100% { transform: none; } 35%, 65% { transform: translateX(-28px); } }
@keyframes fs-schiebe-r { 0%, 100% { transform: none; } 35%, 65% { transform: translateX(28px); } }
@media (prefers-reduced-motion: reduce) { .fs-zeigen .fs-fl { animation: none !important; } .fs-kachel, .fs-wahl { transition: none !important; } }

/* Kacheln mit Bild */
.fs-wahl { transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.fs-wahl:active { transform: scale(.98); }
.fs-kacheln-oeffnung { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.fs-wahl-oeffnung { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; }
.fs-wahl-bild { display: grid; place-items: center; height: 72px; width: 100%; }
.fs-wahl-bild svg { max-height: 72px; max-width: 100%; width: auto; height: 72px; }
.fs-kacheln-farbe { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.fs-wahl-farbe { display: flex; flex-direction: column; gap: 8px; }
.fs-farbfeld { display: block; height: 46px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -10px 18px rgba(0, 0, 0, .12); }
.fs-wahl-glas { display: flex; align-items: center; gap: 10px; }
.fs-glas { display: inline-flex; gap: 3px; height: 34px; align-items: stretch; flex: none; }
.fs-glas i { width: 6px; border-radius: 1px; background: linear-gradient(180deg, #e3f0f6, #9dbccc); border: 1px solid #7fa2b4; }
.fs-kacheln-profil { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); max-height: 420px; overflow-y: auto; padding-right: 4px; }
.fs-wahl-profil { display: flex; flex-direction: column; gap: 4px; }
.fs-profil-daten { font-size: 12.5px; color: var(--tinte-weich); }
.fs-daemmbalken { display: block; height: 5px; border-radius: 3px; background: var(--flaeche-2); overflow: hidden; }
.fs-daemmbalken i { display: block; height: 100%; background: linear-gradient(90deg, #d9a43b, var(--ok)); }

/* Shop-Kopf mit 3D-Fenster */
.fs-held { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 36px 12px; }
@media (max-width: 900px) { .fs-held { grid-template-columns: minmax(0, 1fr); } }
.fs-held h1 { font-family: var(--schrift-display); font-size: clamp(34px, 5vw, 60px); line-height: 1.04; margin: 6px 0 12px; text-wrap: balance; }
.fs-held-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.fs-held-3d { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: 10px; background: radial-gradient(110% 90% at 50% 25%, #f3f1ec 0%, #dcd8cf 100%); overflow: hidden; opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fs-held-3d.fs-held-3d-bereit { opacity: 1; transform: none; }
.fs-3d-flaeche { width: 100% !important; height: 100% !important; display: block; }
@media (prefers-reduced-motion: reduce) { .fs-held-3d { transition: none; opacity: 1; transform: none; } }
.fs-vorschau-3d { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: radial-gradient(110% 90% at 50% 25%, #f3f1ec 0%, #dcd8cf 100%); }
.fs-vorschau-bild[hidden], .fs-vorschau-3d[hidden] { display: none; }
.fs-kachel-bild { display: grid; place-items: center; height: 150px; margin: -6px -6px 6px; border-radius: 4px; background: radial-gradient(110% 90% at 50% 20%, #f6f5f1 0%, #e4e1d9 100%); }
.fs-kachel-bild svg { max-height: 132px; width: auto; max-width: 92%; transition: transform .35s var(--ease); }
.fs-kachel:hover .fs-kachel-bild svg { transform: translateY(-3px) scale(1.03); }
.fs-kachel:hover .fs-kachel-bild .fs-fl-dreh[data-seite="l"] { transform: skewY(-6deg) scaleX(.6); }
.fs-kachel:hover .fs-kachel-bild .fs-fl-dreh[data-seite="r"] { transform: skewY(6deg) scaleX(.6); }
.fs-kachel:hover .fs-kachel-bild .fs-fl-schiebe[data-seite="r"] { transform: translateX(18px); }
.fs-kachel:hover .fs-kachel-bild .fs-fl-schiebe[data-seite="l"] { transform: translateX(-18px); }
@media (prefers-reduced-motion: reduce) { .fs-kachel-bild svg, .fs-kachel-bild .fs-fl { transform: none !important; } }

/* Bewegung der Produktbilder (Vorschau: .fs-zeigen, Kachel: :hover) */
.fs-pb-panzer, .fs-pb-tor, .fs-pb-blatt, .fs-pb-tuch { transition: transform .9s var(--ease); }
.fs-zeigen .fs-pb-panzer { animation: fs-panzer 3.2s var(--ease) both; }
.fs-zeigen .fs-pb-tor { animation: fs-tor 3.2s var(--ease) both; }
.fs-zeigen .fs-pb-blatt { animation: fs-blatt 3s var(--ease) both; }
.fs-zeigen .fs-pb-tuch { animation: fs-tuch 3.2s var(--ease) both; }
.fs-kachel:hover .fs-pb-panzer { transform: scaleY(.18); }
.fs-kachel:hover .fs-pb-tor { transform: translateY(-82%); }
.fs-kachel:hover .fs-pb-blatt { transform: skewY(-8deg) scaleX(.45); }
.fs-kachel:hover .fs-pb-tuch { transform: scaleY(.25); }
@keyframes fs-panzer { 0% { transform: scaleY(.12); } 40%, 60% { transform: none; } 100% { transform: scaleY(.12); } }
@keyframes fs-tor { 0%, 100% { transform: none; } 40%, 60% { transform: translateY(-82%); } }
@keyframes fs-blatt { 0%, 100% { transform: none; } 35%, 65% { transform: skewY(-8deg) scaleX(.45); } }
@keyframes fs-tuch { 0% { transform: scaleY(.2); } 40%, 60% { transform: none; } 100% { transform: scaleY(.2); } }
@media (prefers-reduced-motion: reduce) { .fs-pb-panzer, .fs-pb-tor, .fs-pb-blatt, .fs-pb-tuch { animation: none !important; transform: none !important; } }
.fs-pb-panzer, .fs-pb-tor, .fs-pb-blatt, .fs-pb-tuch { transform-box: view-box; }

/* Scroll-Szene: Bühne bleibt stehen, Scrollweg steuert das 3D-Fenster */
.fs-szene { height: 260vh; position: relative; margin-block: 24px; }
.fs-szene-buehne { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); height: calc(100vh - 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.fs-szene-3d { aspect-ratio: auto; height: 100%; max-height: 640px; }
.fs-szene-text h2 { font-family: var(--schrift-display); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
.fs-szene-liste { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fs-szene-merkmal { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-left: 3px solid var(--linie); opacity: .38; transition: opacity .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.fs-szene-merkmal strong { font-size: 18px; }
.fs-szene-merkmal span { color: var(--tinte-weich); line-height: 1.5; }
.fs-szene-merkmal.fs-aktiv { opacity: 1; border-color: var(--akzent); transform: translateX(6px); }
@media (max-width: 900px) {
  .fs-szene { height: auto; }
  .fs-szene-buehne { position: static; height: auto; grid-template-columns: minmax(0, 1fr); }
  .fs-szene-3d { height: auto; aspect-ratio: 4 / 5; }
  .fs-szene-merkmal { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .fs-szene { height: auto; } .fs-szene-buehne { position: static; height: auto; } .fs-szene-merkmal { opacity: 1; transform: none; } }
.fs-recht h2 { font-size: 19px; } .fs-stand { color: var(--tinte-blass); font-size: 13px; } .fs-formular { white-space: pre-wrap; font: inherit; font-size: 14px; padding: 14px; border: 1px dashed var(--linie-stark); border-radius: var(--r); background: var(--flaeche); }
.fs-kacheln-lang { grid-template-columns: minmax(0, 1fr); } .fs-kacheln-lang .fs-wahl { line-height: 1.45; }
.fs-kacheln-lang .fs-wahl { font-size: 13px; color: var(--tinte-weich); } .fs-kacheln-lang .fs-wahl[aria-checked="true"] { color: var(--tinte); }
