/* =========================================================
   Danona – Kassensysteme & ESL
   Keine externen Schriften/CDNs (DSGVO-freundlich)
   ========================================================= */

:root {
  --brand: #2BB3EA;          /* Logo-Blau */
  --brand-strong: #0A74B0;   /* Buttons/Links – ausreichend Kontrast */
  --brand-soft: #E6F6FD;
  --navy: #081626;
  --navy-2: #0E2640;
  --ink: #0F1B2A;
  --muted: #56677A;
  --bg: #F5F8FB;
  --surface: #FFFFFF;
  --line: #E1E9F1;
  --ok: #15A05A;
  --sale: #E0302B;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 38, .06), 0 2px 8px rgba(8, 22, 38, .05);
  --shadow: 0 10px 30px -10px rgba(8, 22, 38, .18), 0 4px 10px -4px rgba(8, 22, 38, .08);
  --shadow-lg: 0 30px 60px -20px rgba(8, 22, 38, .35);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none !important; white-space: nowrap; font-family: inherit;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 116, 176, .7); }
.btn-primary:hover { background: #08659a; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--brand-soft); text-decoration: none; }
.nav .btn { margin-left: 8px; padding: .6em 1.1em; color: #fff; }
.nav .btn:hover { background: #08659a; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px var(--gutter) 24px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1;
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(43,179,234,.28), transparent 70%),
    radial-gradient(35% 45% at 10% 10%, rgba(10,116,176,.14), transparent 70%),
    radial-gradient(50% 60% at 60% 100%, rgba(43,179,234,.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--brand-strong);
  background: var(--brand-soft); border: 1px solid #C9ECFB; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,160,90,.18); }

.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, var(--brand-strong), var(--brand) 60%, #6FD3FA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: var(--ink); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.4; }

/* Hero visual */
.hero-visual { position: relative; min-height: 460px; }
.pos {
  position: absolute; right: 4%; top: 50%; transform: translateY(-52%);
  width: min(340px, 70%);
}
.pos-screen {
  background: linear-gradient(180deg, #0F2A47, #0A1C31);
  border-radius: 22px; padding: 18px; color: #E8F4FB;
  border: 8px solid #1A2B3E; box-shadow: var(--shadow-lg);
}
.pos-top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: #9FC3DA; margin-bottom: 12px; }
.tse-badge { background: rgba(21,160,90,.18); color: #5BE39A; padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
.pos-items { list-style: none; padding: 0; margin: 0 0 12px; font-size: .9rem; }
.pos-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.pos-items li span:first-child { color: #CFE3F0; }
.pos-items li small { color: #7FA3BC; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.pos-total strong { font-size: 1.7rem; color: #fff; font-variant-numeric: tabular-nums; }
.pos-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.pos-keys span { height: 30px; border-radius: 8px; background: rgba(255,255,255,.07); }
.pos-keys span.k-pay { grid-column: span 2; background: var(--brand); }
.pos-stand { width: 34%; height: 44px; margin: 0 auto; background: linear-gradient(#1A2B3E, #24384E); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3;
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.float-card .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.float-card strong { display: block; font-size: 1rem; }
.float-card small { color: var(--muted); }
.float-card.pay { left: 0; top: 30%; }
.float-card.pay .fi { background: #E4F7EC; color: var(--ok); }
.float-card.weigh { left: 0; bottom: 14%; animation-delay: -2s; }

/* Abstraktes ESL wie die Kasse: Gehäuse, E-Paper-Feld, LED, Halteklammer */
.esl-mini {
  position: absolute; right: -2%; bottom: -3%; width: 178px;
  animation: float 7s ease-in-out infinite; animation-delay: -4s;
  color: #141414; font-size: .78rem;
}
.esl-mini .clip { width: 46px; height: 12px; margin: 0 auto -4px; border-radius: 4px 4px 0 0; background: linear-gradient(#24384E, #1A2B3E); }
.esl-mini .housing {
  position: relative; border-radius: 14px; padding: 7px 7px 16px;
  background: linear-gradient(180deg, #F4F6F8, #DCE2E8); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,42,71,.12);
}
.esl-mini .housing::after { content: ""; position: absolute; right: 12px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: #5BE39A; box-shadow: 0 0 6px #5BE39A; }
.esl-mini .housing::before { content: ""; position: absolute; left: 12px; bottom: 6px; width: 26px; height: 4px; border-radius: 2px; background: rgba(15,42,71,.18); }
.esl-mini .scr { background: #FBFBF7; border-radius: 4px; overflow: hidden; padding: 0 10px 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.esl-mini .band { margin: 0 -10px 6px; padding: 3px 10px; background: #D7141A; color: #fff; font-weight: 800; font-size: .62rem; letter-spacing: .08em; }
.esl-mini .name { font-weight: 700; }
.esl-mini .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.esl-mini .price { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-top: 2px; color: #D7141A; }
.esl-mini .price sup { font-size: .55em; }
.esl-mini .unit { color: #141414; font-size: .66rem; }
.esl-mini .bars { width: 34px; height: 16px; background: repeating-linear-gradient(90deg, #141414 0 1px, transparent 1px 3px, #141414 3px 5px, transparent 5px 6px); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 400px; }
  .float-card { padding: 10px 12px; font-size: .8rem; }
  .float-card .fi { width: 34px; height: 34px; }
  .float-card.pay { top: 0; }
  .float-card.weigh { bottom: 6%; }
  .esl-mini { width: 140px; right: 0; bottom: -6%; }
  .esl-mini .price { font-size: 1.5rem; }
}

/* ---------- Trust bar ---------- */
.trust { padding: 8px 0 24px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.trust-item { background: var(--surface); padding: 22px 20px; display: flex; gap: 14px; align-items: center; }
.trust-item .ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { font-size: .87rem; color: var(--muted); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Marken ---------- */
.brands { padding: 32px 0 8px; }
.brands-title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.brand-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-list li {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 22px; min-width: 150px; text-align: center;
}
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; color: var(--navy-2); }
.brand-cat { font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) {
  .brand-list { display: grid; grid-template-columns: 1fr 1fr; }
  .brand-list li { min-width: 0; padding: 12px 10px; }
  .brand-name { font-size: .95rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 12px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.split-intro { position: sticky; top: 110px; }
@media (max-width: 960px) { .split-intro { position: static; } }
.split-intro .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.pill { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBE6F5; }
.card .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--brand-soft), #D3EEFB); color: var(--brand-strong); }
.card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card.wide { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; }
.card.wide .ci { margin: 0; }
@media (max-width: 600px) { .card.wide { flex-direction: column; } }

.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt .card { background: var(--bg); }
.section.alt .card:hover { background: #fff; }

/* ---------- ESL (dark) ---------- */
.section.dark {
  background: radial-gradient(60% 80% at 80% 0%, rgba(43,179,234,.22), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #E6F1F8;
}
.section.dark h2 { color: #fff; }
.section.dark .kicker { color: #7DD3F7; }
.section.dark .section-head p, .section.dark .muted { color: #A9C1D3; }

.esl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .esl-grid { grid-template-columns: 1fr; } }

.esl-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.esl-list li { display: flex; gap: 16px; }
.esl-list .li-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(43,179,234,.14); color: #7DD3F7; flex: none; border: 1px solid rgba(125,211,247,.2); }
.esl-list strong { display: block; color: #fff; font-size: 1.05rem; }
.esl-list span { color: #A9C1D3; font-size: .95rem; }

.esl-stage { position: relative; display: grid; place-items: center; padding: 40px 0; }
/* Echte ESL-Geräte (Foto) in drei Größen: 7,5", 3,7", 2,66". Breiten im Verhältnis der Geräte. */
.shelf { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 22px; }
.esl-reihe { display: flex; justify-content: center; align-items: flex-end; gap: 3%; flex-wrap: wrap; row-gap: 18px; }
.esl-geraet { position: relative; margin: 0; container-type: inline-size; }
.esl-bild { position: relative; }   /* Bezug für die Lage des Inhalts: nur das Foto, ohne Größenangabe */
.esl-geraet img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)); }
.esl-geraet figcaption { text-align: center; font-size: .72rem; color: #A9C1D3; margin-top: 6px; letter-spacing: .04em; }
.g75 { width: 100%; }
.g37 { width: 48.5%; }
.g266 { width: 31.3%; }
/* Inhalt liegt genau auf dem Display des Fotos (Lage in % des zugeschnittenen Bildes, gemessen) */
.esl {
  --epd-black: #141414; --epd-red: #D7141A; --epd-yellow: #FFD200;
  position: absolute; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  color: var(--epd-black); padding: 0 3cqw 2cqw; font-size: 4cqw; line-height: 1.15;
}
.g266 .esl { left: 13.83%; top: 15.10%; width: 72.95%; height: 69.80%; }
.g37  .esl { left: 11.59%; top: 10.17%; width: 77.13%; height: 80.51%; }
.g75  .esl { left: 5.64%;  top: 8.05%;  width: 88.86%; height: 77.54%; padding: 0 3cqw 2.5cqw; font-size: 3.2cqw; }
/* 7,5": links Text, Preis (rot) und Grundpreis (gelb) unten links; rechts Flasche (grau) und QR-Code */
.esl-gross {
  display: grid; grid-template-columns: 1fr 30%; column-gap: 3cqw;
  grid-template-areas: "band band" "text flasche" "preis flasche" "grund qr";
  grid-template-rows: auto auto 1fr auto; align-items: end;
}
.esl-gross .band { grid-area: band; }
.esl-gross .text { grid-area: text; align-self: start; }
.esl-gross .price { grid-area: preis; align-self: center; }
.esl-gross .grundpreis { grid-area: grund; justify-self: start; background: var(--epd-yellow); padding: .25em .6em; font-weight: 700; font-size: 1.05em; }
.esl-gross .flasche { grid-area: flasche; justify-self: center; align-self: stretch; height: 100%; max-height: 27cqw; width: auto; }
.esl-gross .qr-box { grid-area: qr; justify-self: end; display: flex; flex-direction: column; align-items: center; gap: .2em; }
.esl-gross .qr { width: 10cqw; height: 10cqw; fill: var(--epd-black); background: #fff; padding: .6cqw; }
.esl-gross .qr-box span { font-size: .7em; }
/* 2,66": wenig Platz -> größere Schrift, kleinerer Preis, kompaktes Band */
.g266 .esl { font-size: 4.8cqw; padding-bottom: 1.5cqw; }
.g266 .esl .name { font-size: 1.05em; white-space: nowrap; }
.g266 .esl .price { font-size: 3.3em; }
.g266 .esl .meta { position: absolute; right: 3cqw; bottom: 2.5cqw; }   /* nur Strichcode, neben dem Preis */
.g266 .esl .meta span:first-child { display: none; }
.g266 .esl .band, .g266 .esl .flag { margin-bottom: .15em; padding-top: .15em; padding-bottom: .15em; }
.esl .name { font-weight: 700; font-size: 1.25em; }
.esl .info { font-size: .95em; margin-top: .3em; }
.esl .price { font-size: 4em; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .35s, transform .35s, color .35s; }
.g75 .esl .price { font-size: 5.5em; }
.esl .price sup { font-size: .5em; }
.esl .price.red { color: var(--epd-red); }
.esl .meta { display: flex; justify-content: space-between; align-items: flex-end; font-size: .85em; gap: .5em; }
.esl .bars { flex: none; width: 5.5em; height: 1.8em; background: repeating-linear-gradient(90deg, var(--epd-black) 0 1px, transparent 1px 3px, var(--epd-black) 3px 5px, transparent 5px 6px); }
/* Band oben: bei allen Schildern gleich, nur die Farbe wechselt */
.esl .band, .esl .flag { margin: 0 -3cqw .4em; padding: .3em 3cqw; font-weight: 800; font-size: .85em; letter-spacing: .07em; text-transform: uppercase; }
.esl .band { background: var(--epd-black); color: #fff; }
.esl .band.yellow { background: var(--epd-yellow); color: var(--epd-black); }
.esl .band.red { background: var(--epd-red); color: #fff; }
/* Aktion (animiert): Band wird rot "AKTION", Preis rot */
.esl .flag { position: absolute; top: 0; left: 0; right: 0; margin: 0; background: var(--epd-red); color: #fff; opacity: 0; transition: opacity .35s; }
.esl.sale .flag { opacity: 1; }
.esl.sale .price { color: var(--epd-red); }
.esl.updating .price { opacity: 0; transform: translateY(6px); }

.esl-sync {
  margin: 22px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .9rem; color: #A9C1D3;
}
.esl-sync .pulse { width: 10px; height: 10px; border-radius: 50%; background: #5BE39A; box-shadow: 0 0 0 0 rgba(91,227,154,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(91,227,154,0); } 100% { box-shadow: 0 0 0 0 rgba(91,227,154,0); } }

@media (max-width: 560px) {
  /* Handy: 3,7" einzeln, 2,66" zu zweit, damit die Schrift lesbar bleibt */
  .g37 { width: 70%; }
  .g266 { width: 48.5%; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: .85rem; font-weight: 800; color: var(--brand-strong); letter-spacing: .05em; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Warum ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand-strong); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: clamp(32px, 6vw, 64px);
  background: radial-gradient(60% 120% at 100% 0%, rgba(111,211,250,.5), transparent 60%), linear-gradient(120deg, #0A74B0, #1596D3);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 30px 60px -30px rgba(10,116,176,.8);
}
.cta-band h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; color: #E3F5FD; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--ink); }
a.contact-card:hover { text-decoration: none; border-color: #BFE3F6; box-shadow: var(--shadow-sm); }
.contact-card .cc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { font-size: 1.02rem; word-break: break-word; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(43,179,234,.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-strong); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; font-size: .95rem; }
.form-status.ok { display: block; background: #E4F7EC; color: #0E6B3C; border: 1px solid #BDE9CF; }
.form-status.err { display: block; background: #FDECEC; color: #9B1C1C; border: 1px solid #F6C8C8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #A9C1D3; padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #CFE3F0; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 28px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1em; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal p, .legal li { color: #2C3B4B; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Unterseiten: Produkte, Funktionen, Downloads
   ========================================================= */
.nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }

.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 160%; z-index: -1;
  background: radial-gradient(40% 50% at 85% 20%, rgba(43,179,234,.24), transparent 70%), radial-gradient(35% 45% at 5% 0%, rgba(10,116,176,.12), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; max-width: 16em; }
.page-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { font-size: .88rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.chips a:hover { text-decoration: none; border-color: #BFE3F6; background: var(--brand-soft); }

/* ---------- Produkte ---------- */
.group-title { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.group-title h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.products { display: grid; gap: 20px; }
.product {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.product:nth-child(even) .product-media { order: 2; }
.product-media {
  background: linear-gradient(135deg, #EEF7FC, #F8FBFD); display: grid; place-items: center;
  padding: clamp(20px, 3vw, 36px); min-height: 280px;
}
.product-media img { max-height: 320px; width: auto; object-fit: contain; border-radius: 12px; }
.product-media.photo { padding: 0; }
.product-media.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
.product-media.duo { grid-template-columns: 1fr 1fr; gap: 12px; }
.product-media.duo img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.product-media.icon-media .big-ic { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; background: #fff; color: var(--brand-strong); box-shadow: var(--shadow); }
.product-media.icon-media .big-ic .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.product-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.product-body .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.product-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; }
.product-body p { color: var(--muted); }
.product-body ul { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 8px; }
.product-body li { display: flex; gap: 10px; color: var(--ink); }
.product-body li .icon { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.4; margin-top: 3px; }
.product-body .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.product-body .btn { padding: .65em 1.15em; font-size: .95rem; }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-media { order: 0; }
  .product-media { min-height: 220px; }
  .product-media.photo img { max-height: 320px; }
}

/* ---------- Funktionen ---------- */
.fx-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 20px; position: sticky; top: 72px; z-index: 10; padding: 12px 0; background: var(--bg); }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button { font: inherit; font-size: .92rem; font-weight: 600; border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--brand-strong); color: #fff; }
.fx-count { color: var(--muted); font-size: .92rem; }
.fx-count strong { color: var(--ink); }

.fx-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.fx-group[hidden] { display: none; }
.fx-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FAFCFE, #F4F8FB); }
.fx-head .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.fx-head h2 { font-size: 1.12rem; margin: 0; flex: 1; letter-spacing: -.01em; }
.fx-head .col { width: 96px; text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; flex: none; }
.fx-table { width: 100%; border-collapse: collapse; }
.fx-table td { padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: .97rem; vertical-align: middle; }
.fx-table tr:last-child td { border-bottom: 0; }
.fx-table tr:hover td { background: #FAFCFE; }
.fx-table td.c { width: 96px; text-align: center; padding-left: 0; padding-right: 0; }
.fx-table tr[hidden] { display: none; }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #E4F7EC; color: var(--ok); vertical-align: middle; }
.yes .icon { width: 15px; height: 15px; stroke-width: 3; }
.no { display: inline-block; width: 12px; height: 2px; background: #C9D3DD; border-radius: 2px; vertical-align: middle; }
@media (max-width: 600px) {
  .fx-head { padding: 14px; gap: 10px; }
  .fx-head .ci { display: none; }
  .fx-head h2 { font-size: 1rem; }
  .fx-head .col, .fx-table td.c { width: 50px; font-size: .58rem; letter-spacing: 0; }
  .fx-table td { padding: 12px 14px; font-size: .92rem; }
  .seg button { padding: 8px 12px; font-size: .86rem; }
}

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.dl-top { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.dl-logo { width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); overflow: hidden; }
.dl-logo img { width: 100%; height: 100%; object-fit: cover; }
.dl-logo .icon { width: 30px; height: 30px; }
.dl-card h3 { font-size: 1.25rem; margin: 0 0 2px; }
.dl-card .sub { color: var(--muted); font-size: .92rem; }
.dl-card > p { color: var(--muted); font-size: .96rem; flex: 1; }
.dl-files { display: grid; gap: 10px; margin-top: 6px; }
.dl-file {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color .2s, background .2s, transform .15s;
}
.dl-file:hover { text-decoration: none; border-color: #9FD6F2; background: #fff; transform: translateY(-1px); }
.dl-file .ft { font-size: .7rem; font-weight: 800; letter-spacing: .05em; padding: 5px 7px; border-radius: 6px; background: var(--navy-2); color: #fff; flex: none; min-width: 40px; text-align: center; }
.dl-file .ft.pdf { background: var(--sale); }
.dl-file .fn { flex: 1; min-width: 0; }
.dl-file .fn strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.dl-file .fn small { color: var(--muted); font-size: .82rem; }
.dl-file > .icon { color: var(--brand-strong); }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-soft); border: 1px solid #C9ECFB; border-radius: var(--radius); padding: 20px 22px; margin-top: 28px; color: #0B4E75; }
.note .icon { color: var(--brand-strong); margin-top: 2px; }
.note p { margin: 0; }
