:root {
  --blue: #0000cc; --blue-dark: #00008f; --ink: #333; --grey: #666; --grey-l: #aaa;
  --bg: #f2f2f2; --card: #fff; --line: #ddd; --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-style: italic; line-height: 1.2; }
h2 { font-size: 1.6rem; margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }

/* Kopf */
.top { background: #fff; border-bottom: 6px solid var(--blue); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 150px; }
.brand span { max-width: 250px; line-height: 1.3; font-size: .85rem; color: var(--grey); border-left: 1px solid var(--line); padding-left: 14px; }
.top nav a { margin-left: 18px; font-weight: bold; font-style: italic; text-decoration: none; color: var(--ink); }
.top nav a:hover { color: var(--blue); }
.top .call { white-space: nowrap; font-weight: bold; color: var(--blue); text-decoration: none; }

/* Hero */
.hero { position: relative; color: #fff; background: #444 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,40,.88) 0%, rgba(20,20,40,.65) 55%, rgba(20,20,40,.25) 100%); }
.hero .wrap { position: relative; padding-top: 70px; padding-bottom: 70px; max-width: 1100px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 .4em; max-width: 720px; }
.hero p { font-size: 1.1rem; max-width: 640px; margin: 0 0 1.4em; }
.btn { display: inline-block; padding: 11px 20px; border-radius: var(--radius); background: var(--blue); color: #fff; font-weight: bold; font-style: italic; text-decoration: none; border: 0; }
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; border: 2px solid #fff; margin-left: 8px; }
.btn.ghost:hover { background: rgba(255,255,255,.15); }

section { padding: 56px 0; }
section.alt { background: #fff; }
.lead { font-size: 1.1rem; max-width: 760px; }

/* Problem */
.problems { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.problems li { background: var(--bg); border-radius: var(--radius); padding: 18px; border-top: 4px solid var(--grey-l); }
.problems strong { display: block; margin-bottom: 6px; }
.callout { margin-top: 28px; padding: 18px 20px; background: #666; color: #fff; border-radius: var(--radius); border-top: 4px solid var(--grey-l); border-bottom: 4px solid var(--grey-l); }
.callout strong { font-style: italic; }

/* Loesung / Produkte */
.product { display: grid; grid-template-columns: 320px 1fr; gap: 24px; background: var(--bg); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.product img { border-radius: var(--radius); background: #fff; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.feats { margin: 0 0 10px; padding-left: 1.2em; }
.tools-label { margin: 0; font-weight: bold; }
.tools { margin: 4px 0 14px; padding-left: 1.2em; }
.note { margin-top: 18px; font-style: italic; }
.vid-link { display: inline-block; margin: 8px 0 0 14px; font-weight: bold; font-style: italic; text-decoration: none; }
.vid-link:hover { text-decoration: underline; }
.art { color: var(--grey); font-size: .85rem; white-space: nowrap; }
p.art { margin: -4px 0 8px; }
.lead a, .problems a, .feats a, .case-text a, .note a, .specs a { color: var(--blue); font-weight: bold; }
.callout a { color: #fff; font-weight: bold; }
.problems.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.callout.tips { background: #e8f0fe; color: #1a2b4c; border-color: var(--blue); margin-top: 16px; }
.callout.tips ul { margin: 8px 0 0; padding-left: 1.2em; }
.callout.tips li { margin: 4px 0; }
.callout.warn { background: #fff3cd; color: #5c4700; border-color: #e0a800; margin-top: 20px; }
.callout.warn a { color: var(--blue); }
.case-links a { display: inline-block; margin: 0 14px 6px 0; font-weight: bold; font-style: italic; text-decoration: none; }
.case-links a:hover { text-decoration: underline; }
.toolcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.toolcard { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; border-top: 4px solid #5b8c3a; }
.toolcard img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; margin-bottom: 12px; }
.specs { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; font-size: .95rem; }
.specs li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.specs span { display: block; font-size: .8rem; color: var(--grey); }
.toolcard .btn { align-self: flex-start; }
h3.sub { margin-top: 28px; font-size: 1.2rem; }
.matrix-wrap { overflow-x: auto; margin-top: 10px; border-radius: var(--radius); border: 1px solid var(--line); }
.matrix { border-collapse: collapse; width: 100%; font-size: .9rem; background: #fff; }
.matrix th, .matrix td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { background: #666; color: #fff; font-weight: bold; font-style: italic; font-size: .82rem; line-height: 1.2; }
.matrix tbody th { text-align: left; font-weight: normal; min-width: 220px; }
.matrix thead th:first-child { text-align: left; }
.r { font-weight: bold; white-space: nowrap; }
td.r3 { background: #2e7d32; color: #fff; } td.r2 { background: #66bb6a; color: #fff; } td.r1 { background: #c8e6c9; }
td.r-1, td.r-2 { background: #fff3cd; color: #8a6d00; } td.r0 { color: #bbb; }
.matrix-note { font-size: .9rem; font-style: italic; margin-top: 0; }
.legend { font-size: .8rem; color: var(--grey); line-height: 2; }
.legend .r { display: inline-block; min-width: 34px; text-align: center; border-radius: 4px; margin: 0 4px 0 12px; padding: 0 4px; }
.legend .r3 { background: #2e7d32; color: #fff; } .legend .r2 { background: #66bb6a; color: #fff; } .legend .r1 { background: #c8e6c9; }
.legend .r-1, .legend .r-2 { background: #fff3cd; color: #8a6d00; } .legend .r0 { background: #eee; color: #999; }
.radar { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 20px; margin-top: 10px; border: 1px solid var(--line); }
.radar-fig { margin: 0; }
.radar-svg { width: 100%; height: auto; display: block; overflow: visible; }
.radar-svg .grid { fill: none; stroke: #e2e2e2; stroke-width: 1; }
.radar-svg .grid.outer { stroke: #bbb; }
.radar-svg .spoke { stroke: #e2e2e2; }
.radar-svg .axis { font: italic bold 17px Helvetica, Arial, sans-serif; fill: #333; }
.radar-svg .series polygon { fill: var(--c); fill-opacity: .14; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; transition: opacity .2s; }
.radar-svg .series circle { fill: var(--c); stroke: #fff; stroke-width: 1.5; }
.radar-svg .series.off { opacity: 0; }
.radar-svg.focus .series:not(.hl) { opacity: .15; }
.radar-legend { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.radar-key { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: bold italic 15px Helvetica, Arial, sans-serif; color: var(--ink); cursor: pointer; text-align: left; }
.radar-key .sw { width: 22px; height: 12px; border-radius: 3px; background: var(--c); flex: none; }
.radar-key[aria-pressed="false"] { opacity: .45; }
.radar-key[aria-pressed="false"] .sw { background: transparent; border: 2px solid var(--c); }
.radar-hint { font-size: .8rem; color: var(--grey); }
.radar-table { margin-top: 10px; }
.radar-table summary { cursor: pointer; font-weight: bold; font-style: italic; color: var(--blue); }
.radar-table td { text-align: center; }
.faq { display: grid; gap: 10px; margin-top: 16px; max-width: 900px; }
.faq-item { background: #fff; border-radius: var(--radius); border-left: 4px solid var(--blue); }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: bold; font-style: italic; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); font-style: normal; }
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 18px 14px; }
.faq-item p { margin: 0; }
.faq-item a { color: var(--blue); font-weight: bold; }
.vacs-box { margin-top: 32px; padding: 20px; border-radius: var(--radius); background: var(--bg); border-left: 6px solid #e0a800; }
.vacs-box > p { max-width: 820px; }
.vacs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 12px; }
.vac { display: grid; grid-template-columns: 140px 1fr; gap: 16px; background: #fff; border-radius: var(--radius); padding: 14px; align-items: start; }
.vac img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.vac h4 { margin: 0 0 2px; font-style: italic; font-size: 1.05rem; }
.vac p { margin: 0 0 10px; font-size: .95rem; }
.families { display: grid; gap: 20px; margin-top: 24px; }
.families > *, .family-head > * { min-width: 0; }
.family { background: #fff; border-radius: var(--radius); padding: 20px; border-left: 6px solid var(--badge, #666); }
.family-head { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.family-head img { background: #fff; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.family-head p { margin: 0 0 8px; }
.family .use { background: var(--bg); border-radius: 6px; padding: 8px 12px; }
.variants { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .92rem; background: #fff; border-radius: 6px; overflow: hidden; }
.variants th { text-align: left; font-size: .8rem; color: var(--grey); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.variants td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.variants td:last-child { text-align: right; }
.btn.small { padding: 6px 14px; font-size: .9rem; }
.family.profi ul { margin: 0 0 10px; padding-left: 1.2em; }
section[id], article[id], h3[id] { scroll-margin-top: 16px; }

/* Beispiele */
.case { background: var(--card); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.case { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: center; }
.case:nth-of-type(even) .case-text { order: 2; }
.case-count { color: var(--grey); font-size: .9rem; font-style: italic; }
.slider { min-width: 0; outline: none; }
.slider:focus-visible .stage { box-shadow: 0 0 0 3px var(--blue); }
.stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #222; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 3 / 2; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.85); color: var(--blue); font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: background .2s, opacity .2s; }
.nav:hover { background: #fff; }
.nav:disabled { opacity: 0; pointer-events: none; }
.prev { left: 12px; } .next { right: 12px; }
.count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .85rem; padding: 3px 10px; border-radius: 20px; pointer-events: none; }
.zoom { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; pointer-events: none; }
.thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { flex: 0 0 auto; width: 76px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .55; background: none; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; }
.thumb.active { opacity: 1; border-color: var(--blue); }

/* Videos (2-Klick) */
.videos-title { margin: 36px 0 0; font-size: 1.3rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.video { margin: 0; }
.video-load, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #222; cursor: pointer; }
.video-load img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-load .play { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; line-height: 64px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 26px; text-align: center; }
.video-load .video-note { position: absolute; left: 0; right: 0; bottom: 14px; color: #fff; font-weight: bold; text-align: center; padding: 0 12px; }
.video-load small { font-weight: normal; }
.video figcaption { margin-top: 6px; font-style: italic; }

/* CTA */
.cta { background: var(--blue); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--blue); margin: 6px; }
.cta .btn.ghost { background: transparent; color: #fff; }
.cta a.phone { color: #fff; font-weight: bold; }
.cta .btn.wa { background: #25d366; color: #fff; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.cta .btn.wa:hover { background: #1ebe5b; }
.brand a { display: block; }

.legal { background: #fff; padding: 40px 0 56px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: 2rem; margin-top: 0; }
.legal h2 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
footer { background: #444; color: #ddd; font-size: .9rem; padding: 24px 0; }
footer a { color: #fff; }
footer .links a { margin-left: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; }
dialog.lightbox::backdrop { background: rgba(10,10,20,.94); }
dialog.lightbox { overflow: visible; }
dialog.lightbox img { max-width: 95vw; max-height: 88vh; border-radius: 6px; }
dialog.lightbox .close { position: fixed; top: 12px; right: 16px; font-size: 36px; color: #fff; background: none; border: 0; cursor: pointer; }
dialog.lightbox .nav { position: fixed; }
dialog.lightbox .lb-count { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); color: #fff; font-size: .9rem; }

@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; gap: 12px; }
  .case:nth-of-type(even) .case-text { order: 0; }
  .nav { width: 36px; height: 36px; font-size: 15px; }
  .top nav { display: none; }
  .brand span { display: none; }
  .product { grid-template-columns: 1fr; }
  .problems.cols3 { grid-template-columns: 1fr; }
  .family-head { grid-template-columns: 1fr; }
  .radar { grid-template-columns: 1fr; padding: 12px; }
  .radar-svg .axis { font-size: 26px; }
  .radar-svg .series polygon { stroke-width: 3.5; }
  .radar-svg .series circle { r: 6; }
  .family { padding: 14px; }
  .vacs-box { padding: 14px; }
  .vacs { grid-template-columns: 1fr; }
  .vac { grid-template-columns: 90px 1fr; gap: 12px; }
  .variants td, .variants th { padding: 8px 6px; }
  .family-head img { max-width: 260px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .btn.ghost { margin: 10px 0 0; }
}
