/* Sibrayze Clean - shared styles */
:root {
  --red: #C8102E;
  --red-dark: #9E0C24;
  --ink: #1A1D21;
  --muted: #5B6470;
  --line: #E5E7EB;
  --surface: #F6F7F9;
  --white: #FFFFFF;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 14px; height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 8px; }
.brand img { height: 34px; width: auto; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.2px; color: var(--ink); white-space: nowrap; }
.brand-name span { color: var(--red); }
.main-nav { display: flex; gap: 4px; flex-wrap: nowrap; flex: 1; justify-content: space-evenly; min-width: 0; }
.main-nav a { color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 9px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { background: var(--surface); text-decoration: none; }
.main-nav a.active { color: var(--red); font-weight: 600; }
.header-cta { margin-left: auto; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1FA855; color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
.btn-wa:hover { background: #178f47; text-decoration: none; }
.btn-wa svg { width: 17px; height: 17px; fill: currentColor; }

/* Nav dropdown */
.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none; cursor: pointer; color: var(--ink);
  font-size: 14px; font-weight: 500; padding: 8px 9px; border-radius: 8px;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: "\25BE"; font-size: 10px; color: var(--muted); }
.nav-drop > summary:hover { background: var(--surface); }
.nav-drop[open] > summary { background: var(--surface); }
.nav-drop .nav-menu {
  position: absolute; left: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10,20,30,.10); padding: 6px; min-width: 210px; z-index: 60;
}
.nav-drop .nav-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.nav-drop .nav-menu a:hover { background: var(--surface); text-decoration: none; color: var(--red); }

/* Language switcher */
.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 7px;
  cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink); user-select: none; white-space: nowrap;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lang[open] summary { border-color: var(--ink); }
.lang .lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10,20,30,.10); padding: 6px; min-width: 160px; z-index: 60;
}
.lang .lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.lang .lang-menu a:hover { background: var(--surface); text-decoration: none; color: var(--red); }
.lang .lang-menu a[aria-current="true"] { color: var(--red); font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, #FFFFFF 45%, #FDF2F4 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 64px 0; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -1px; font-weight: 800; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero p.sub { font-size: 18px; color: var(--muted); margin: 18px 0 28px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px;
  padding: 13px 24px; border-radius: 10px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.hero-img img { border-radius: 14px; }

/* Trust strip */
.trust { background: var(--ink); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 22px 0; max-width: var(--maxw); margin: 0 auto; }
.trust-item { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; }
.trust-item b { display: block; font-size: 15.5px; }
.trust-item span { color: #B8BEC7; font-size: 13.5px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); }
.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1.2px; margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 34px; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
section.alt .card { background: var(--white); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 20px 20px 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.card .more { font-weight: 600; font-size: 14.5px; }
.card:hover { border-color: #c9cdd4; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.card:hover { text-decoration: none; }

/* Mini feature cards */
.mini { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.mini h3 { font-size: 16.5px; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 14.5px; }
.mini .ico { font-size: 24px; margin-bottom: 10px; display: block; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: 14px; }

/* Tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.data th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; }
table.data td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--surface); }
.table-scroll { overflow-x: auto; border-radius: 12px; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin-bottom: 10px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15.5px; list-style: none; }
details.faq summary::before { content: "+"; color: var(--red); font-weight: 700; margin-right: 10px; }
details.faq[open] summary::before { content: "\2013"; }
details.faq .a { padding: 0 20px 18px 42px; color: var(--muted); font-size: 15px; }

/* Diagram */
.diagram-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #F6D5DB; max-width: 560px; margin: 0 auto 26px; font-size: 16.5px; }
.cta-band .btn-wa { background: #fff; color: var(--red); font-size: 16px; padding: 13px 26px; }
.cta-band .btn-wa:hover { background: #f2e2e5; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 34px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--red); }
.footer-brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brandline img { height: 30px; }
.footer-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

/* Float WA */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 9px;
  background: #1FA855; color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.wa-float:hover { background: #178f47; text-decoration: none; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }
.gallery-slot { border: 1.5px dashed #C4C9D1; border-radius: 12px; aspect-ratio: 4/3.42; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #8A929E; padding: 20px; background: var(--surface); }
.gallery-slot b { color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.gallery-slot p { font-size: 13.5px; max-width: 260px; }

/* Page hero (sub pages) */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 56px 0; }
.page-hero .wrap { max-width: 860px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.8px; line-height: 1.18; text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; max-width: 760px; text-wrap: pretty; }

/* Page hero with photo background (own factory/application shots) */
.page-hero.has-bg { position: relative; background: #14171C; border-bottom-color: rgba(255,255,255,.14); color: #fff; overflow: hidden; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,16,.90) 0%, rgba(10,12,16,.78) 30%, rgba(10,12,16,.40) 58%, rgba(10,12,16,.08) 88%); }
.page-hero.has-bg .wrap { position: relative; z-index: 1; }
.page-hero.has-bg h1 { color: #fff; }
.page-hero.has-bg .lead { color: rgba(255,255,255,.88); }
.page-hero.has-bg .eyebrow { color: #FF7A88; }
.page-hero.has-bg .btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.page-hero.has-bg .btn-ghost:hover { border-color: #fff; text-decoration: none; }


/* Balanced heading wraps (avoid orphan words like "that way.") */
h2 { text-wrap: balance; }

ul.checks { list-style: none; margin: 8px 0 0; }
ul.checks li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
ul.checks li::before { content: "\2713"; color: var(--red); font-weight: 700; position: absolute; left: 4px; }


/* Inquiry form */
.inq-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.inq-form { display: flex; flex-direction: column; gap: 16px; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inq-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.inq-field .req { color: var(--red); }
.inq-field input, .inq-field select, .inq-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--white);
}
.inq-field input:focus, .inq-field select:focus, .inq-field textarea:focus { outline: 2px solid rgba(200,16,46,.25); border-color: var(--red); }
.inq-field textarea { min-height: 110px; resize: vertical; }
.inq-field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.inq-submit {
  background: var(--red); color: #fff; border: none; border-radius: 999px;
  padding: 13px 26px; font-size: 15.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; align-self: flex-start;
}
.inq-submit:hover { background: var(--red-dark); }
.inq-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.inq-alt { background: var(--surface); border-radius: 14px; padding: 26px; }
.inq-alt h2 { font-size: 19px; margin-bottom: 12px; }
.inq-alt p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.inq-alt .btn-wa { margin-top: 6px; }
@media (max-width: 900px) { .inq-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .inq-row { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 1280px) {
  .main-nav a { padding: 8px 6px; font-size: 13.5px; }
  .nav-drop > summary { padding: 8px 6px; font-size: 13.5px; }
  .header-inner { gap: 10px; }
}
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 5px; font-size: 13px; }
  .nav-drop > summary { padding: 8px 5px; font-size: 13px; }
  .brand-name { font-size: 15px; }
  .lang summary { padding: 7px 9px; }
  .btn-wa { padding: 9px 12px; }
  .wa-label { display: none; }
}
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 28px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .cards-4, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .main-nav { display: none; }
}
@media (max-width: 560px) {
  .cards-3, .cards-4, .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
}

/* Catalog: filter bar */
.catalog { scroll-margin-top: 84px; }
.catalog-bar { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: flex-start; margin-bottom: 28px; padding: 18px 20px; background: var(--surface); border-radius: 12px; }
.catalog-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.catalog-group .lbl { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 2px; line-height: 1.6; }
.chip { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; user-select: none; line-height: 1.5; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.catalog-meta { font-size: 13px; color: var(--muted); margin: -8px 0 22px; }

/* Catalog: product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
.product-grid.compact { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: #c9cdd4; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.product-card[hidden] { display: none; }
.product-card .thumb { position: relative; aspect-ratio: 4/3; background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-grid.compact .product-card .thumb { aspect-ratio: 1/1; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card .badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.product-card .body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 16px 17px 18px; }
.product-card h3 { font-size: 17px; line-height: 1.3; }
.product-grid.compact .product-card h3 { font-size: 15px; }
.product-card .tag { font-size: 12.5px; color: var(--muted); }
.product-card .spec { font-size: 13px; color: var(--ink); }
.product-card .cta { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--red); }
.product-card .cta:hover { text-decoration: none; }
.product-card .cmp { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.product-card .cmp input { accent-color: var(--red); width: 15px; height: 15px; }

/* Catalog: compare bar */
.compare-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.compare-bar .picked { font-size: 14px; color: var(--muted); }
.compare-bar .picked b { color: var(--ink); }
.compare-bar a.btn-primary { font-size: 14.5px; padding: 9px 20px; }
table.data th[data-col], table.data td[data-col] { transition: opacity .15s; }
table.data .col-off { display: none; }
@media (max-width: 560px) {
  .product-grid, .product-grid.compact { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card .body { padding: 13px; }
}

/* Product videos */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--ink); }
.video-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(16,20,28,.05) 40%, rgba(16,20,28,.42) 100%);
  z-index: 2;
}
.video-play .circle {
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.28); transition: transform .15s;
}
.video-card:hover .video-play .circle { transform: scale(1.07); }
.video-play .circle svg { width: 24px; height: 24px; fill: var(--red); margin-left: 3px; }
.video-tag {
  position: absolute; z-index: 3; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
  background: rgba(200,16,46,.92); color: #fff;
}
.video-soon {
  position: absolute; z-index: 3; bottom: 12px; right: 12px; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: rgba(16,20,28,.78); color: #fff;
}
.video-card figcaption { padding: 14px 16px 16px; }
.video-card figcaption b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.video-card figcaption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* Blog: insights cards + article reading */
.insights { padding: 64px 0; }
.insight-card { display:block; background:var(--white); border:1px solid var(--line); border-radius:14px; overflow:hidden; color:inherit; text-decoration:none; transition:transform .15s ease, box-shadow .15s ease; }
.insight-card:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,.08); }
.insight-card img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.insight-card > div { padding:18px 20px 22px; }
.insight-tag { color:var(--red); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; }
.insight-card h3 { font-size:17px; line-height:1.42; margin:9px 0 14px; }
.insight-more { color:var(--muted); font-size:13px; }
.article-body { max-width:780px; margin:0 auto; }
.article-body h2 { font-size:27px; line-height:1.28; margin:0 0 18px; color:var(--ink); }
.article-body p, .article-body li { font-size:17px; line-height:1.78; color:var(--muted); }
.article-body p { margin-bottom:18px; }
.article-body ul { margin:0 0 20px; padding-left:24px; list-style:disc; }
.article-body li { margin-bottom:13px; }
.article-body b { color:var(--ink); font-weight:700; }
.article-body a { color:var(--red); text-decoration:underline; }
@media (max-width:600px){ .insights .cards-3 { grid-template-columns:1fr; } .article-body h2 { font-size:23px; } }

/* Portrait (vertical) videos, e.g. German-language clips */
.portrait-grid .video-frame { aspect-ratio: 9/16; max-width: 300px; margin: 0 auto; }
