/* =====================================================================
   ZellaMed – Stylesheet
   Farben aus dem Logo: Medizinblau („zella") + Anthrazit („med").
   Schrift „Inter" lokal (kein Google Fonts → DSGVO).
   Keine Inline-Styles im HTML (Content-Security-Policy erlaubt nur 'self').
   ===================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

:root {
  --blue: #1f82c8;
  --blue-dark: #155f98;
  --cyan: #35aae6;
  --cyan-soft: #e8f4fc;
  --ink: #263640;
  --text: #37474f;
  --muted: #627683;
  --line: #e2eaf0;
  --bg: #f4f8fb;
  --white: #fff;
  --ok: #16865a;
  --err: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14,31,61,.05), 0 8px 28px rgba(14,31,61,.07);
  --shadow-lg: 0 24px 60px rgba(14,31,61,.14);
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 700px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-l { margin-top: 40px; }
.mt-m { margin-top: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icons (SVG-Sprite) ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--s { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(31,78,165,.28); }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(31,78,165,.36); }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--blue); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--ink); color: #c9d6ea; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--cyan-soft); color: var(--blue); }
.nav-links .btn { margin-left: 8px; padding: 11px 20px; color: #fff; }
.nav-links .btn:hover { background: var(--grad); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .topbar .t-hide { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(22,166,228,.16), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(31,78,165,.10), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; color: var(--blue); margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22,166,228,.18); }
.hero .lead { font-size: 1.2rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--cyan); }
.hero-visual { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink); font-weight: 600; max-width: 250px;
}
.float-card img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--bg); }
.float-card small { display: block; color: var(--muted); font-weight: 500; }
.float-card--1 { left: -34px; bottom: 54px; }
.float-card--2 { right: -18px; top: 34px; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--blue); }

@media (max-width: 960px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .float-card--1 { left: 10px; bottom: 14px; }
  .float-card--2 { right: 10px; top: 14px; }
}

/* ---------- Trust-Leiste ---------- */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; list-style: none; margin: 0; padding: 20px 0; }
.strip li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.strip .i { color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card p:last-child { margin-bottom: 0; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--cyan-soft); color: var(--blue);
}
.card .ic .i { width: 26px; height: 26px; }
a.card { display: block; text-decoration: none; color: var(--text); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3f3; color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: .95rem; margin-top: 6px; }

/* Kategorie-Kacheln */
.cat-tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.cat-tile .media { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fff, var(--cyan-soft)); display: grid; place-items: center; padding: 18px; }
.cat-tile .media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-tile .body { padding: 20px 22px 24px; }
.cat-tile .count { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* Zwei Wege (Shop / Anfrage) */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.way { border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.way--shop { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.way--b2b { background: var(--ink); color: #c9d6ea; }
.way--b2b h3 { color: #fff; }
.way--b2b::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(22,166,228,.45), transparent 70%); }
.way h3 { font-size: 1.45rem; }
.way ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.way li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.way li .i { color: var(--cyan); margin-top: 3px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; background: var(--cyan-soft); color: var(--blue); margin-bottom: 14px; }
.way--b2b .tag { background: rgba(255,255,255,.1); color: #9fdcf7; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way { padding: 30px; } }

/* Ablauf / Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px;
}
.steps li p { margin: 0; font-size: .96rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split-Abschnitt Bild + Text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.checklist .i { color: var(--cyan); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  background: var(--cyan-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* CTA */
.cta { background: var(--grad); border-radius: 28px; padding: 56px 48px; color: #e8f4ff; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta .btn--white { background: #fff; color: var(--blue); }
.cta .btn--white:hover { color: var(--blue-dark); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--line { border-color: rgba(255,255,255,.55); color: #fff; }
.cta .btn--line:hover { border-color: #fff; color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding: 54px 0 58px; background:
  radial-gradient(700px 360px at 90% 0%, rgba(22,166,228,.18), transparent 60%), var(--ink); color: #c9d6ea; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-head .lead { color: #c9d6ea; }
.page-head .eyebrow { color: #7fd0f3; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #7f93b3; }
.crumbs a { color: #9fdcf7; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Katalog ---------- */
.chips { position: sticky; top: 74px; z-index: 20; background: rgba(245,249,253,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chips ul { display: flex; gap: 8px; overflow-x: auto; list-style: none; margin: 0; padding: 14px 0; scrollbar-width: thin; }
.chips a { white-space: nowrap; display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.chips a:hover { border-color: var(--cyan); color: var(--blue); }
.cat-section { padding: 56px 0 8px; scroll-margin-top: 140px; }
.cat-section header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-section header p { margin: 0; color: var(--muted); max-width: 680px; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products { grid-template-columns: 1fr; } }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product .media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.product .media img { width: 100%; height: 100%; object-fit: contain; }
.product .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1rem; margin-bottom: 8px; }
.product ul { margin: 0 0 16px; padding-left: 1.1em; font-size: .9rem; color: var(--muted); }
.product ul li { margin-bottom: 3px; }
.product .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.product .actions .btn { flex: 1; justify-content: center; padding: 9px 12px; font-size: .84rem; }
.notice { background: #fff8e6; border: 1px solid #f3dfa6; color: #6b5310; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; margin-top: 18px; }
.notice strong { color: #4d3b06; }

/* ---------- Branchen-Detailseiten ---------- */
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul li { margin-bottom: .4em; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.aside-card h3 { margin-bottom: .6em; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.aside-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 0; }
.aside-card li a { text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.layout-aside { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 20px 0 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--blue); flex: none; }
.info-list b { display: block; color: var(--ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(22,166,228,.15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: .9rem; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--blue); }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.field--check label { font-weight: 400; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.cf-status { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.cf-status--info { background: var(--cyan-soft); color: var(--blue); }
.cf-status--ok { background: #e7f6ee; color: var(--ok); }
.cf-status--err { background: #fdecea; color: var(--err); }

/* ---------- Rechtliches ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0c9; padding: 64px 0 28px; font-size: .94rem; }
.site-footer a { color: #d7e3f4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll-Reveal (nur mit JS aktiv) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product { transition: none; }
}
.form-note .i { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--cyan); }
.topbar .i { width: 15px; height: 15px; }
.legal ol { padding-left: 1.4em; columns: 2; column-gap: 32px; }
.legal ol li { margin-bottom: 4px; break-inside: avoid; }
.legal h2[id] { scroll-margin-top: 100px; }
@media (max-width: 640px) { .legal ol { columns: 1; } }

/* ---------- Cookie-Banner (assets/js/consent.js) ---------- */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 1100px; margin: 0 auto;
  display: none; gap: 22px; align-items: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; box-shadow: 0 20px 60px rgba(14,31,61,.25);
}
.cc-banner.show { display: flex; }
.cc-banner__text { flex: 1; min-width: 260px; }
.cc-banner__text h2 { font-size: 1.08rem; margin: 0 0 6px; }
.cc-banner__text p { margin: 0; color: var(--muted); font-size: .9rem; }
.cc-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc-btn {
  font: inherit; font-weight: 700; font-size: .92rem; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--blue); background: var(--blue); color: #fff; transition: background .15s, border-color .15s;
}
.cc-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.cc-btn--link { border: 0; background: none; color: var(--muted); text-decoration: underline; padding: 11px 6px; }
.cc-btn--link:hover { background: none; color: var(--blue); }
.cc-modal-back {
  position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 16px;
  background: rgba(14,31,61,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.cc-modal-back.show { display: flex; }
.cc-modal { background: #fff; border-radius: 20px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 28px; box-shadow: var(--shadow-lg); }
.cc-modal h2 { font-size: 1.3rem; margin: 0 0 6px; }
.cc-modal > p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.cc-opt { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.cc-opt__body { flex: 1; }
.cc-opt__body b { display: block; color: var(--ink); }
.cc-opt__body span { color: var(--muted); font-size: .86rem; }
.cc-switch { position: relative; width: 46px; height: 26px; flex: none; margin-top: 2px; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-slider { position: absolute; inset: 0; background: #c9d4df; border-radius: 999px; transition: background .2s; }
.cc-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cc-switch input:checked + .cc-slider { background: var(--blue); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-switch input:disabled + .cc-slider { background: var(--cyan); opacity: .8; }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid var(--cyan); outline-offset: 2px; }
.cc-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cc-modal__actions .cc-btn { flex: 1; }
.cc-lock, .cc-lock body { overflow: hidden; }
.footer-bottom .cc-link { background: none; border: 0; padding: 0; font: inherit; color: #d7e3f4; cursor: pointer; }
.footer-bottom .cc-link:hover { color: #fff; }
@media (max-width: 640px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .cc-banner__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc-banner__actions .cc-btn { white-space: nowrap; padding: 11px 10px; }
  .cc-banner__actions .cc-btn--link { grid-column: 1 / -1; order: 3; padding: 4px; }
}
@media print { .cc-banner, .cc-modal-back { display: none !important; } }

/* =====================================================================
   ZellaMed – projektspezifische Ergänzungen
   ===================================================================== */

/* Logo im Header (Quelllogo hat Weißraum → etwas größer zeigen) */
.brand img { height: 46px; width: auto; }
@media (max-width: 1080px) { .brand img { height: 40px; } }

/* Text-Wortmarke (Footer, dunkler Grund) */
.wordmark { font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; }
.wordmark .z { color: var(--cyan); }
.wordmark .m { color: #e6edf3; }
.wordmark small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .34em;
  text-transform: uppercase; color: #8aa0b2; margin-top: 7px; }

/* Kategorie-Banner (vorgefertigte Marken-Banner) */
.cat-tile .media--band { aspect-ratio: 1024 / 326; background: #fff; padding: 0; }
.cat-tile .media--band img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

/* Spezifikations-/Fakten-Leiste */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); text-align: center; }
.facts b { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Siegel-Reihe (Made in Germany, EU-MDR) */
.seals { display: flex; flex-wrap: wrap; align-items: center; gap: 26px 40px; }
.seals img { height: 46px; width: auto; }
.seal-badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; box-shadow: var(--shadow); }
.seal-badge .i { color: var(--cyan); }

/* Downloads-Liste */
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .dl-list { grid-template-columns: 1fr; } }
.dl-list a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.dl-list a:hover { transform: translateY(-2px); border-color: var(--cyan); }
.dl-list .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--blue); flex: none; }
.dl-list small { display: block; color: var(--muted); font-weight: 500; font-size: .84rem; }

/* Hero-Produktbild (freigestelltes Produkt auf Weiß) */
.hero-photo--product { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; padding: 26px; }
.hero-photo--product img { width: 100%; height: 100%; object-fit: contain; }

/* Split-Foto als freigestelltes Produkt (unbeschnitten auf Weiß) */
.split .photo--contain { background: #fff; display: grid; place-items: center; padding: 20px; aspect-ratio: 5 / 4; }
.split .photo--contain img { width: 100%; height: 100%; object-fit: contain; }

/* Aside-Card Fakten (Label links, Wert rechts) */
.aside-card li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.aside-card li span { color: var(--muted); }
.aside-card li strong { color: var(--ink); text-align: right; }
.aside-card li a { width: 100%; }

/* Lange Komposita auf schmalen Screens sauber umbrechen */
h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 640px) { h1, h2 { hyphens: auto; } }
body { overflow-x: hidden; }

/* =====================================================================
   Navigation: Produkte-Dropdown (Hover + Tastatur)
   ===================================================================== */
.nav-item { position: relative; }
.nav-links .nav-top { display: inline-flex; align-items: center; gap: 5px; }
.i--chev { width: 15px; height: 15px; stroke-width: 2.2; transition: transform .2s ease; color: var(--muted); }
.nav-item.has-sub:hover .i--chev,
.nav-item.has-sub:focus-within .i--chev { transform: rotate(180deg); color: var(--blue); }

.submenu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* unsichtbare Brücke, damit der Hover zwischen Link und Panel nicht abreißt */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.has-sub:hover .submenu,
.nav-item.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }

.submenu a { display: block; padding: 11px 14px; border-radius: 11px; text-decoration: none; color: var(--ink); }
.submenu a:hover, .submenu a:focus-visible { background: var(--cyan-soft); color: var(--blue); }
.submenu a b { display: block; font-weight: 700; font-size: .96rem; letter-spacing: -.01em; }
.submenu a span { display: block; color: var(--muted); font-weight: 500; font-size: .83rem; margin-top: 2px; }
.submenu a:hover span, .submenu a:focus-visible span { color: var(--text); }

@media (max-width: 1080px) {
  /* Im mobilen Menü als eingerückte, offene Liste statt Dropdown */
  .nav-item { display: block; }
  .nav-item.has-sub .i--chev { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 2px 0 2px 8px; min-width: 0;
  }
  .submenu::before { display: none; }
  .submenu a { padding: 9px 12px; }
  .submenu a span { display: none; }
}
