/* spielplatz.schule – Neubau 26.11.2026. Aufbau nach Apples Gestaltungsregeln:
   Systemschrift mit grössenabhängiger Laufweite, viel Weissraum, Kacheln in voller Breite,
   Pillen-Knöpfe, durchscheinende Leisten, zurückhaltende Farbe (Bilder tragen die Emotion). */
:root {
  --text: #1d1d1f; --text2: #6e6e73; --text3: #6b6b70; /* text3: 5,3:1 auf Weiss, 4,9:1 auf #f5f5f7 (WCAG AA) */
  --grund: #fff; --kachel: #f5f5f7; --linie: #d2d2d7; --linie2: #e8e8ed;
  --blau: #0071e3; --blau-h: #0077ed; --link: #0066cc; --dunkel: #000; --gruen: #1d7a3e;
  --r: 18px; --r-g: 28px; --breit: 1240px; --schmal: 980px;
  --weich: cubic-bezier(.28, .11, .32, 1);
  font: 100%/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  color: var(--text); background: var(--grund);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 1.0625rem; letter-spacing: -.022em; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links im Fliesstext nicht nur über die Farbe erkennbar (WCAG 1.4.1) */
/* auch in Listen und Zeilen: «2 Unterlagen zum Herunterladen», Belagsliste im Fallschutzrechner */
p a:not(.knopf), dd a, .toast a, main li a:not(.knopf):not(.pfeil) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Sprunglink «Zum Inhalt»: mit Fokus sichtbar, über Leiste und Suche */
a.sr:focus { position: fixed; left: 12px; top: 6px; z-index: 1000; width: auto; height: auto; overflow: visible; clip-path: none; padding: 10px 18px; border-radius: 980px; background: #fff; color: var(--link); font-size: .9375rem; box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.wrap { width: min(var(--breit), 100% - 44px); margin-inline: auto; }
.schmal { width: min(var(--schmal), 100% - 44px); margin-inline: auto; }

/* Schrift: Laufweite je Grösse */
.t-riesig { font-size: clamp(2.75rem, 7.2vw, 6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.t-gross { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.07; letter-spacing: -.028em; font-weight: 600; text-wrap: balance; }
.t-titel { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.024em; font-weight: 600; text-wrap: balance; }
.t-kachel { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
.t-lead { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.33; letter-spacing: -.012em; font-weight: 400; text-wrap: pretty; }
.t-auge { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--text2); }
.t-klein { font-size: .875rem; line-height: 1.43; letter-spacing: -.016em; color: var(--text2); }
.t-mini { font-size: .75rem; line-height: 1.33; letter-spacing: -.01em; color: var(--text3); }
.grau { color: var(--text2); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px;
  background: var(--blau); color: #fff; font-size: 1.0625rem; font-weight: 400; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, transform .1s ease-out, opacity .2s; }
.knopf:hover { background: var(--blau-h); text-decoration: none; }
.knopf:active { transform: scale(.97); }
.knopf.klein { min-height: 36px; padding: 0 16px; font-size: .875rem; }
.knopf.gross { min-height: 52px; padding: 0 30px; }
.knopf.zweit { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.knopf.zweit:hover { background: var(--link); color: #fff; }
.knopf.hell { background: #fff; color: var(--text); }
.knopf.grau { background: #e8e8ed; color: var(--text); }
.knopf.grau:hover { background: #dedee3; }
.knopf[disabled] { opacity: .4; pointer-events: none; }
.pfeil::after { content: "›"; margin-left: .3em; font-size: 1.15em; line-height: 0; position: relative; top: .04em; }
.linkreihe { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; align-items: center; }

/* Globale Leiste */
.gnav { position: sticky; top: 0; z-index: 90; height: 48px; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(0, 0, 0, .1); }
.gnav .wrap { height: 100%; display: flex; align-items: center; gap: 4px; }
.marke { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--text); margin-right: auto; padding: 8px 0; }
.marke:hover { text-decoration: none; }
.marke i { font-style: normal; color: var(--blau); }
.gnav nav { display: flex; align-items: center; }
.gnav nav a { font-size: .8125rem; letter-spacing: -.01em; color: rgba(0, 0, 0, .8); padding: 14px 11px; transition: color .2s; }
.gnav nav a:hover, .gnav nav a[aria-current] { color: #000; text-decoration: none; }
.gnav nav a[aria-current] { font-weight: 600; }
.gnav .ik { display: grid; place-items: center; width: 40px; height: 44px; color: rgba(0, 0, 0, .8); position: relative; background: none; border: 0; cursor: pointer; }
.gnav .ik svg { width: 17px; height: 17px; }
.zahl { position: absolute; top: 7px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--blau); color: #fff; font-size: .625rem; font-weight: 600; line-height: 16px; text-align: center; letter-spacing: 0; }
.zahl[data-n="0"] { display: none; }
#menuknopf { display: none; }
@media (max-width: 860px) {
  #menuknopf { display: grid; }
  .gnav nav { position: fixed; inset: 48px 0 auto; flex-direction: column; align-items: stretch; background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 8px 22px 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--weich), transform .25s var(--weich), visibility .25s; max-height: calc(100dvh - 48px); overflow: auto; }
  .gnav nav.offen { opacity: 1; visibility: visible; transform: none; }
  .gnav nav a { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid var(--linie2); color: var(--text); }
}

/* Suchfeld */
.suchleiste { position: fixed; inset: 48px 0 auto; z-index: 89; background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--linie2); padding: 18px 0 22px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--weich), transform .2s var(--weich), visibility .2s; }
.suchleiste.offen { opacity: 1; visibility: visible; transform: none; }
.suchleiste input { width: 100%; border: 0; background: none; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; padding: 8px 0; outline: none; }
.suchtreffer { margin-top: 8px; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.suchtreffer a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; color: var(--text); font-size: .9375rem; }
.suchtreffer a small { color: var(--text3); }

/* Hero */
.hero { position: relative; background: #000; color: #fff; overflow: hidden; isolation: isolate; }
.hero video, .hero > img, .hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .66) 100%); }
.hero-in { min-height: min(86svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 120px 0 64px; gap: 18px; }
.hero .t-lead { max-width: 34em; color: rgba(255, 255, 255, .92); }
.hero .knopf.zweit { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.hero .knopf.zweit:hover { background: #fff; color: #000; }
.hero.klein .hero-in { min-height: min(60svh, 560px); padding-bottom: 48px; }
/* Hinweis «Symbolbild» (KI-Bilder): weiss auf dunkler Pille, lesbar auch über hellen Bildern */
.symbol { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: .6875rem; line-height: 1.4; color: #fff; background: rgba(0, 0, 0, .55); padding: 1px 8px; border-radius: 980px; letter-spacing: 0; }
/* Pausenknopf für Videos (site.js, WCAG 2.2.2); links unten, das Symbolbild steht rechts */
.vid-tgl { position: absolute; left: 14px; bottom: 10px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; }
.vid-tgl svg { width: 18px; height: 18px; }
.vid-tgl:hover { background: rgba(0, 0, 0, .7); }
.vid-tgl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--blau); }

/* Abschnitte */
.ab { padding: clamp(72px, 10vw, 140px) 0; }
.ab.eng { padding: clamp(48px, 6vw, 84px) 0; }
.ab.grau-bg { background: var(--kachel); }
.ab.dunkel { background: #000; color: #f5f5f7; }
.ab.dunkel .grau, .ab.dunkel .t-auge { color: #a1a1a6; }
.ab.dunkel a { color: #2997ff; }
.kopfblock { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.kopfblock .t-lead { max-width: 36em; color: var(--text2); }
.ab.dunkel .kopfblock .t-lead { color: #a1a1a6; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; background: var(--grund); }
.kachel { position: relative; overflow: hidden; background: var(--kachel); min-height: clamp(440px, 46vw, 620px); display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(36px, 4.4vw, 56px) 24px 0; gap: 8px; color: var(--text); isolation: isolate; }
.kachel.breit { grid-column: 1 / -1; }
.kachel .linkreihe { margin-top: 8px; }
.kachel .bildfuss { margin-top: auto; width: 100%; display: flex; justify-content: center; align-items: flex-end; padding-top: 24px; }
.kachel .bildfuss img { max-height: 340px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.kachel.medien { color: #fff; justify-content: flex-start; background: #000; }
.kachel.medien video, .kachel.medien > img, .kachel.medien > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.kachel.medien::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 42%, rgba(0, 0, 0, 0) 60%); }
.kachel.medien .grau { color: rgba(255, 255, 255, .88); }
.kachel.medien a:not(.knopf) { color: #fff; }
.kachel > a.voll { position: absolute; inset: 0; z-index: 1; }
.kachel .linkreihe, .kachel .knopf { position: relative; z-index: 2; }
@media (max-width: 760px) { .kacheln { grid-template-columns: 1fr; } }

/* Kategorie-Band */
.band { display: flex; gap: clamp(18px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 22px 18px; scrollbar-width: none; justify-content: safe center; }
.band::-webkit-scrollbar { display: none; }
.band a { flex: none; display: grid; justify-items: center; gap: 8px; color: var(--text); font-size: .8125rem; letter-spacing: -.01em; scroll-snap-align: center; width: 92px; text-align: center; }
.band a:hover { text-decoration: none; color: var(--link); }
.band span.b { width: 84px; height: 62px; display: grid; place-items: center; }
.band img { max-width: 84px; max-height: 62px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--weich); }
.band a:hover img { transform: scale(1.06); }

/* Produktkarten */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.karte { position: relative; background: var(--kachel); border-radius: var(--r); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 4px; min-height: 420px; transition: transform .4s var(--weich), box-shadow .4s var(--weich); }
.karte:hover { transform: scale(1.012); box-shadow: 0 12px 34px rgba(0, 0, 0, .1); }
.karte .b { height: 190px; display: grid; place-items: center; margin-bottom: 14px; }
.karte .b img { max-height: 190px; width: auto; object-fit: contain; mix-blend-mode: multiply; border-radius: 6px; }
/* Renderings mit eigenem Grauverlauf (Fulco, Norna, Lars Laj) zeichnen sonst einen harten Kasten auf die Bühne:
   die äussersten Ränder weich ausblenden, damit abgeschnittene Schatten in die Fläche übergehen */
.karte .b img, .gal .gross img, .gal .daumen img, .vsp .b img, .fsr-r > img, .band img, .anbau img, .kz img, .vtab img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent); mask-composite: intersect; }
/* Aktion auf Karten: ruhiger Chip oben links, alter Preis durchgestrichen unter dem neuen */
.akt-chip { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 3px 10px; border-radius: 980px; background: var(--grund); color: #bf4800; font-size: .75rem; font-weight: 600; letter-spacing: 0; }
/* Belag-Label EPDM/SBR: Chip oben rechts auf der Karte, Kasten unter dem Titel der Produktseite */
.bel-chip { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 3px 10px; border-radius: 980px; font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.bel-chip.bel-epdm { background: #e3f3e8; color: var(--gruen); }
.bel-chip.bel-sbr { background: #fdeee4; color: #a33a00; }
.bel-box { border-radius: var(--r); padding: 14px 18px; margin: 4px 0 14px; display: grid; gap: 4px; font-size: .9375rem; line-height: 1.45; }
.bel-box.bel-epdm { background: #e3f3e8; } .bel-box.bel-epdm b { color: var(--gruen); }
.bel-box.bel-sbr { background: #fdeee4; } .bel-box.bel-sbr b { color: #a33a00; }
.karte .pr small s { color: var(--text3); }
.karte .mk { font-size: .75rem; font-weight: 600; color: #bf4800; letter-spacing: 0; }
.karte h3 { font-size: 1.3125rem; line-height: 1.19; letter-spacing: -.02em; font-weight: 600; }
.karte h3 a { color: inherit; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.karte .f { font-size: .875rem; color: var(--text2); letter-spacing: -.016em; }
.karte .u { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.karte .pr { font-size: .9375rem; letter-spacing: -.016em; white-space: nowrap; }
.karte .pr small { display: block; font-size: .6875rem; color: var(--text3); letter-spacing: 0; }
.karte .tun { display: flex; gap: 8px; position: relative; z-index: 2; }
.vgl-k { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #e3e3e8; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .1s ease-out; }
.vgl-k:active { transform: scale(.94); }
.vgl-k svg { width: 16px; height: 16px; }
.vgl-k[aria-pressed="true"] { background: var(--text); color: #fff; }

/* Vergleich */
.vtab-w { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); background: var(--grund); }
.vtab { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .9375rem; letter-spacing: -.016em; }
.vtab th, .vtab td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--linie2); vertical-align: middle; }
.vtab thead th { font-size: .75rem; font-weight: 600; color: var(--text3); letter-spacing: 0; white-space: nowrap; position: sticky; top: 0; background: var(--grund); }
.vtab tbody th { font-weight: 600; }
.vtab tbody th a { color: var(--text); }
.vtab td.z { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vtab .mk { color: var(--text2); font-weight: 400; }
.vtab img { width: 56px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.vspalten { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 0; overflow-x: auto; }
.vsp { padding: 0 18px 8px; border-left: 1px solid var(--linie2); text-align: center; }
.vsp:first-child { border-left: 0; }
.vsp .b { height: 180px; display: grid; place-items: center; }
.vsp .b img { max-height: 170px; width: auto; mix-blend-mode: multiply; }
.vsp h3 { font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1.19; margin-top: 10px; }
.vsp h3 a { color: var(--text); }
.vsp .mk { font-size: .75rem; font-weight: 600; color: #bf4800; }
.vsp dl { margin-top: 18px; display: grid; gap: 0; }
.vsp dl div { padding: 14px 0; border-top: 1px solid var(--linie2); }
.vsp dt { font-size: .75rem; color: var(--text3); letter-spacing: 0; }
.vsp dd { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; }
.vsp dd.best { color: var(--gruen); }
.vsp .weg { background: none; border: 0; color: var(--link); font-size: .8125rem; cursor: pointer; margin-top: 10px; min-height: 32px; padding: 0 8px; }
.vleiste { position: fixed; left: 50%; bottom: 18px; z-index: 80; transform: translate(-50%, 140%); background: rgba(29, 29, 31, .88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #fff; border-radius: 980px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px; font-size: .9375rem; box-shadow: 0 10px 40px rgba(0, 0, 0, .28); white-space: nowrap; max-width: calc(100% - 24px);
  /* ausgeblendet unsichtbar, also weder per Tab noch für Screenreader erreichbar; die Sichtbarkeit wechselt erst nach dem Ausgleiten */
  visibility: hidden; transition: transform .45s var(--weich), visibility 0s linear .45s; }
.vleiste.da { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--weich), visibility 0s; }
.vleiste button.x { background: none; border: 0; color: #a1a1a6; cursor: pointer; font-size: .8125rem; min-height: 32px; padding: 0 8px; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.chip { min-height: 36px; padding: 0 16px; border-radius: 980px; border: 1px solid var(--linie); background: var(--grund); font-size: .875rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s ease-out; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.filter select { min-height: 36px; border-radius: 980px; border: 1px solid var(--linie); background: var(--grund); padding: 0 14px; font-size: .875rem; margin-left: auto; }
.filter .fgruppe { display: flex; flex-wrap: wrap; gap: 8px; }
.filter .fgruppe + .fgruppe { padding-left: 12px; border-left: 1px solid var(--linie); }
/* Mobil: jede Chipgruppe eine eigene Zeile, die seitlich rollt (wie im Apple Store), statt sieben Zeilen Chips */
@media (max-width: 760px) {
  .filter { display: grid; gap: 10px; margin-inline: -22px; }
  .filter .fgruppe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 22px; }
  .filter .fgruppe::-webkit-scrollbar { display: none; }
  .filter .fgruppe + .fgruppe { padding-left: 22px; border-left: 0; }
  .filter .chip { flex: none; }
  .filter select { margin: 0 22px 0 auto; }
}

/* Brotkrumen */
.brot { font-size: .75rem; color: var(--text3); letter-spacing: 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brot a { color: var(--text2); }

/* Produktseite */
.lnav { position: sticky; top: 48px; z-index: 70; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.lnav .wrap { min-height: 52px; display: flex; align-items: center; gap: 18px; }
.lnav b { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lnav a.l { font-size: .75rem; color: var(--text); letter-spacing: 0; opacity: .8; white-space: nowrap; }
.lnav .pr { font-size: .8125rem; color: var(--text2); white-space: nowrap; }
@media (max-width: 760px) { .lnav a.l, .lnav .pr { display: none; } .lnav b { font-size: 1.0625rem; } }
.kauf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.gal { position: sticky; top: 124px; }
.gal .gross { background: var(--kachel); border-radius: var(--r-g); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: clamp(18px, 3vw, 44px); overflow: hidden; }
.gal .gross img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; border-radius: 8px; }
.gal .daumen { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.gal .daumen button { width: 64px; height: 64px; border-radius: 12px; border: 0; background: var(--kachel); padding: 6px; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.gal .daumen button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--blau); }
.gal .daumen img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pinfo { display: grid; gap: 10px; }
.pinfo .mk { font-size: .75rem; font-weight: 600; color: #bf4800; letter-spacing: 0; }
.pinfo .mk a { color: inherit; }
.pinfo h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.07; letter-spacing: -.028em; font-weight: 600; }
.pinfo .kurz { color: var(--text2); }
.eck { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.eck div { background: var(--kachel); border-radius: 14px; padding: 14px 14px 12px; }
.eck dt { font-size: .6875rem; color: var(--text3); letter-spacing: 0; }
.eck dd { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.preisbox { border-top: 1px solid var(--linie2); padding-top: 18px; margin-top: 8px; display: grid; gap: 4px; }
.preis { font-size: 1.75rem; font-weight: 600; letter-spacing: -.024em; }
.kaufreihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.menge { display: inline-flex; align-items: center; border-radius: 980px; background: var(--kachel); height: 52px; }
.menge button { width: 44px; height: 52px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; }
.menge input { width: 36px; border: 0; background: none; text-align: center; font-weight: 600; }
.zusagen { margin-top: 18px; display: grid; gap: 10px; font-size: .875rem; color: var(--text2); letter-spacing: -.016em; }
.zusagen li { display: flex; gap: 10px; align-items: flex-start; }
.zusagen svg { flex: none; width: 18px; height: 18px; color: var(--text); margin-top: 1px; }
@media (max-width: 860px) { .kauf { grid-template-columns: 1fr; } .gal { position: static; } }

.daten { border-top: 1px solid var(--linie); }
.daten .zeile { display: grid; grid-template-columns: minmax(140px, 1fr) 2.4fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.daten .zeile h3 { font-size: 1.0625rem; font-weight: 600; }
.daten .zeile p, .daten .zeile dd { color: var(--text); }
.daten dl { display: grid; gap: 10px; }
.daten dl div { display: grid; grid-template-columns: minmax(120px, 1fr) 1.6fr; gap: 14px; }
.daten dt { color: var(--text2); }
@media (max-width: 640px) { .daten .zeile { grid-template-columns: 1fr; gap: 8px; } }

/* CAD-Grundriss */
.plan { background: var(--kachel); border-radius: var(--r-g); padding: clamp(20px, 4vw, 48px); display: grid; gap: 18px; justify-items: center; }
.plan svg { width: 100%; max-height: 520px; height: auto; }
.plan .cad-f { fill: rgba(0, 113, 227, .09); stroke: var(--blau); stroke-width: .035; stroke-dasharray: .14 .1; vector-effect: none; }
.plan .cad-g { fill: none; stroke: #1d1d1f; stroke-width: .022; stroke-linejoin: round; stroke-linecap: round; }
.plan .legende { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; font-size: .8125rem; color: var(--text2); }
.plan .legende i { display: inline-block; width: 22px; height: 0; border-top: 2px solid #1d1d1f; vertical-align: middle; margin-right: 8px; }
.plan .legende i.f { border-top: 2px dashed var(--blau); }
.planmasse { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; width: 100%; }
.planmasse div { background: var(--kachel); border-radius: 14px; padding: 14px; text-align: center; }
.planmasse dt { font-size: .6875rem; color: var(--text3); letter-spacing: 0; }
.planmasse dd { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; }

/* Listen, Textblöcke */
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .zwei { grid-template-columns: 1fr; } }
.rund { border-radius: var(--r-g); overflow: hidden; }
.rund img, .rund video { width: 100%; height: 100%; object-fit: cover; }
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.vorteil { background: var(--kachel); border-radius: var(--r); padding: 28px 24px; display: grid; gap: 8px; align-content: start; }
.ab.grau-bg .vorteil, .ab.grau-bg .faq details { background: var(--grund); }
.vorteil svg { width: 30px; height: 30px; color: var(--blau); margin-bottom: 6px; }
.vorteil h2, .vorteil h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.vorteil p { font-size: .9375rem; color: var(--text2); letter-spacing: -.016em; }
.marken { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.marken a { padding: 10px 18px; border-radius: 980px; background: var(--kachel); color: var(--text); font-size: .9375rem; transition: background .2s; }
.ab.grau-bg .marken a { background: var(--grund); }
.marken a:hover { background: #e8e8ed; text-decoration: none; }
.marken a small { color: var(--text3); margin-left: 6px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--kachel); border-radius: var(--r); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--text2); transition: transform .3s var(--weich); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text2); max-width: 46em; }
.prosa { display: grid; gap: 16px; max-width: 44em; }
.prosa p { color: var(--text2); text-wrap: pretty; }
.prosa h2, .prosa h3 { margin-top: 12px; }
.stich { display: flex; flex-wrap: wrap; gap: 8px; }
.stich span, .stich a { padding: 6px 14px; border-radius: 980px; background: var(--kachel); color: var(--text2); font-size: .8125rem; }
.galerie { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.galerie figure { border-radius: var(--r); overflow: hidden; grid-column: span 4; aspect-ratio: 4 / 3; }
.galerie figure:nth-child(1), .galerie figure:nth-child(5) { grid-column: span 8; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .galerie figure, .galerie figure:nth-child(1), .galerie figure:nth-child(5) { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }
.anbau { display: grid; gap: 0; border-top: 1px solid var(--linie2); }
.anbau .z { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie2); }
.anbau img { width: 64px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.anbau small { display: block; color: var(--text3); font-size: .75rem; }
.anbau .r { text-align: right; display: grid; gap: 6px; justify-items: end; font-size: .9375rem; }

/* Warenkorb, Formulare */
.korbliste { border-top: 1px solid var(--linie); }
.kz { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.kz img { width: 96px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.kz h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; }
.kz h3 a { color: var(--text); }
.kz .r { text-align: right; display: grid; gap: 8px; justify-items: end; }
.kz .weg { background: none; border: 0; color: var(--link); cursor: pointer; font-size: .875rem; padding: 0; min-height: 32px; }
.kz .menge { height: 36px; } .kz .menge button { height: 36px; width: 34px; font-size: 1rem; }
.summe { margin-left: auto; width: min(100%, 420px); display: grid; gap: 10px; padding: 24px 0; }
.summe div { display: flex; justify-content: space-between; gap: 16px; }
.summe .total { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; border-top: 1px solid var(--linie); padding-top: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .8125rem; color: var(--text2); letter-spacing: 0; }
.form .voll { grid-column: 1 / -1; }
.form input, .form select, .form textarea { min-height: 52px; border-radius: 12px; border: 1px solid var(--linie); background: var(--grund); padding: 12px 16px; font-size: 1.0625rem; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
/* Statusregion bleibt im DOM und wird erst beim Senden gefüllt (so sagen Screenreader sie an); leer unsichtbar */
.meldung { grid-column: 1 / -1; background: #eaf6ee; color: #14532d; border-radius: 12px; padding: 14px 16px; font-size: .9375rem; }
.meldung:empty { display: none; }
.pflicht { color: #b42318; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .kz { grid-template-columns: 72px 1fr; } .kz .r { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } .kz img { width: 72px; } }

/* Toast */
.toast { position: fixed; left: 50%; top: 64px; z-index: 95; transform: translate(-50%, -160%); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: 16px; padding: 14px 20px; font-size: .9375rem; box-shadow: 0 10px 40px rgba(0, 0, 0, .16); max-width: calc(100% - 24px);
  /* ausgeblendet ganz weg: kein Streifen über der Leiste, keine Klicks, nicht im Tab-Ablauf */
  opacity: 0; visibility: hidden; pointer-events: none; transition: transform .45s var(--weich), opacity .3s, visibility 0s linear .45s; }
.toast.da { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .45s var(--weich), opacity .3s, visibility 0s; }

/* Fuss */
.fuss { background: var(--kachel); color: var(--text2); font-size: .75rem; letter-spacing: 0; line-height: 1.5; padding: 22px 0 28px; }
.fuss .noten { padding-bottom: 16px; border-bottom: 1px solid var(--linie); display: grid; gap: 8px; }
.fuss .spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 18px; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.fuss h3 { font-size: .75rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.fuss li { margin: 6px 0; }
.fuss a { color: #424245; }
.fuss .unten { padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
/* Mobil: statt rund 50 offener Kategorien nur die Bereiche (sie führen zu allen Kategorien); die Links bleiben im HTML */
@media (max-width: 760px) {
  .fuss .spalten { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .fuss .fgr { padding: 0; }
  .fuss .fgr ul.kats { display: none; }
  .fuss .fgr h3 { font-size: .8125rem; font-weight: 400; margin: 0; }
  .fuss .fgr h3 a { display: block; padding: 10px 0; color: #424245; }
  .fuss .spalten > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 14px; }
  .fuss .spalten > div:last-child h3 { margin-top: 0 !important; }
  .fuss .spalten > div:last-child ul { grid-row: 2; }
}

/* Einblenden */
.js .ein { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--weich), transform .9s var(--weich); }
.js .ein.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .ein { opacity: 1; transform: none; transition: none; }
  .karte, .band img, .knopf, .vleiste, .toast { transition: none; }
  .karte:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav, .lnav, .suchleiste, .toast { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .vleiste { background: #1d1d1f; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) { :root { --text2: #424245; --text3: #515154; --linie: #86868b; } .gnav, .lnav { background: #fff; } }
@media print { .gnav, .lnav, .vleiste, .fuss, .hero video { display: none; } }

/* Fallschutz-Vorschlag */
.fs-raster { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 340px)); justify-content: center; }
.karte.fs { min-height: 380px; }
.karte.fs .b { height: 150px; } .karte.fs .b img { max-height: 150px; }

/* Fallschutz-Rechner */
.fsr-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); background: var(--kachel); border-radius: var(--r-g); padding: clamp(22px, 4vw, 48px); align-items: start; max-width: 1040px; margin-inline: auto; }
.ab.grau-bg .fsr-in { background: var(--grund); }
.fsr fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.fsr legend, .fsr-m2 span { font-size: .75rem; font-weight: 600; color: var(--text2); letter-spacing: 0; margin-bottom: 8px; padding: 0; display: block; }
.fsr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fsr-regler { display: flex; align-items: center; gap: 14px; }
.fsr-regler input { flex: 1; accent-color: var(--blau); min-height: 44px; }
.fsr-regler output { min-width: 64px; text-align: right; font-size: 1.1875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fsr-farben { display: flex; flex-wrap: wrap; gap: 10px; }
.fsr-farben button { display: grid; justify-items: center; gap: 6px; width: 92px; padding: 8px 6px; border: 0; border-radius: 14px; background: var(--grund); cursor: pointer; font-size: .75rem; color: var(--text2); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, transform .1s ease-out; }
.ab.grau-bg .fsr-farben button { background: var(--kachel); }
.fsr-farben button:active { transform: scale(.97); }
.fsr-farben button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--blau); color: var(--text); }
.fsr-farben img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.fsr-m2 { display: block; max-width: 200px; }
.fsr-m2 input { width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid var(--linie); background: var(--grund); padding: 0 16px; font-size: 1.1875rem; font-weight: 600; }
.fsr-m2 input:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.fsr-r { display: grid; gap: 8px; background: var(--grund); border-radius: var(--r); padding: 22px; }
.ab.grau-bg .fsr-r { background: var(--kachel); }
.fsr-r > img { height: 150px; width: auto; object-fit: contain; justify-self: center; border-radius: 8px; mix-blend-mode: multiply; }
.fsr-r .mk { font-size: .75rem; font-weight: 600; color: #bf4800; letter-spacing: 0; }
.fsr-r h3 { font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.02em; } .fsr-r h3 a { color: var(--text); }
.fsr-r dl { display: grid; margin: 6px 0 10px; }
.fsr-r dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie2); font-size: .9375rem; }
.fsr-r dt { color: var(--text2); } .fsr-r dd { font-weight: 600; white-space: nowrap; }
.fsr-r dl div:last-child dd { font-size: 1.1875rem; }
/* Fieldsets sind sonst mindestens so breit wie ihr Inhalt: bei 320 px rollte der Rechner seitlich (WCAG 1.4.10) */
.fsr fieldset { min-width: 0; }
.fsr-farben .farbfeld { width: 56px; height: 56px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
@media (max-width: 760px) { .fsr-in { grid-template-columns: minmax(0, 1fr); padding: 16px; } .fsr-r { padding: 16px; } .fsr-r .knopf { white-space: normal; text-align: center; } }
@media (max-width: 420px) {
  .linkreihe .knopf { white-space: normal; text-align: center; max-width: 100%; }
  .besch .bdat div, .daten dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.besch dd, .besch li, .daten dd { overflow-wrap: anywhere; }

/* Vollsortiment */
.seiten { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 40px; font-size: .9375rem; }
.seiten a:not(.knopf) { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 980px; color: var(--text); }
.seiten a[aria-current] { background: var(--text); color: #fff; }
.seiten a:not(.knopf):hover { background: var(--kachel); text-decoration: none; }
.seiten span { color: var(--text3); padding: 0 4px; }
.preis small { font-size: 1rem; font-weight: 400; color: var(--text2); }
.unterlagen { display: grid; gap: 8px; }
.unterlagen li { display: flex; gap: 10px; align-items: center; }
.unterlagen svg { width: 18px; height: 18px; flex: none; color: var(--text2); }
.besch { display: grid; gap: 12px; color: var(--text); }
.besch .btit { font-size: 1rem; font-weight: 600; margin-top: 8px; }
.besch .bdat { display: grid; gap: 6px; }
.besch .bdat div { display: grid; grid-template-columns: minmax(120px, 1fr) 1.6fr; gap: 14px; }
.besch .bdat dt { color: var(--text2); }
.besch ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }
/* Fallschutzrechner: Nettoangaben als ruhige Nebenzeile unter dem Bruttobetrag */
.fsb-netto { margin-top: 10px; }
