/* ==========================================================================
   JOZY B2B — stylesheet
   Palette derived from the printed packaging.
   ========================================================================== */

:root {
  /* Brand */
  --purple:        #5B3A8E;
  --purple-deep:   #3E2663;
  --purple-soft:   #EDE7F6;
  --purple-line:   #D9CDEC;

  --teal:          #2AA8D8;
  --teal-deep:     #1B7DA5;
  --teal-soft:     #E4F4FB;

  --sky:           #8FC6E8;
  --coral:         #E87A64;
  --coral-soft:    #FDEDE8;

  /* Neutrals */
  --ink:           #16121F;
  --ink-2:         #453D57;
  --ink-3:         #6E6683;
  --line:          #E7E3EE;
  --bg:            #FFFFFF;
  --bg-2:          #FAF8FC;
  --bg-3:          #F3EFF8;

  /* Type
     No external font is loaded: German case law makes embedding Google Fonts
     from Google's servers a real GDPR risk, and the brief promises no trackers.
     To use the packaging typeface, drop Poppins .woff2 files into
     assets/fonts/, uncomment the @font-face rules below, and rebuild. */
  --font: "Poppins", ui-rounded, "Segoe UI", -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", "Nimbus Sans", Arial, sans-serif;

  /* Layout */
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(22,18,31,.05), 0 4px 14px rgba(22,18,31,.05);
  --shadow-md: 0 2px 6px rgba(22,18,31,.06), 0 18px 40px rgba(22,18,31,.08);
  --shadow-lg: 0 30px 70px rgba(62,38,99,.16);
}

/* ---------------------------------------------------------------- font --
   Self-hosted Poppins (optional). Place the files, uncomment, rebuild.
@font-face { font-family:"Poppins"; font-style:normal; font-weight:400;
  src:url("fonts/poppins-400.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:500;
  src:url("fonts/poppins-500.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:600;
  src:url("fonts/poppins-600.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:700;
  src:url("fonts/poppins-700.woff2") format("woff2"); font-display:swap; }
*/

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.18; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--purple); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); height: 72px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 34px; width: auto; }
.logo-sub {
  display: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line);
  max-width: 190px; line-height: 1.35;
}
@media (min-width: 1080px) { .logo-sub { display: block; } }

.main-nav { margin-left: auto; display: none; gap: clamp(14px, 1.7vw, 26px); min-width: 0; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--purple); border-bottom-color: var(--purple); }
@media (min-width: 1180px) { .main-nav { display: flex; } }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
@media (min-width: 1180px) { .header-actions { margin-left: 0; } }
/* On narrow phones the hero CTA is enough — keep the bar from overflowing. */
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .header-inner { height: 64px; }
  .logo img { height: 30px; }
}

.lang-switch { display: flex; gap: 2px; background: var(--bg-3); padding: 3px; border-radius: 999px; }
.lang-switch a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); text-decoration: none; padding: 5px 11px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.lang-switch a:hover { color: var(--purple); }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }

/* -------------------------------------------------------------- button -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 22px rgba(91,58,142,.28); }
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(91,58,142,.34); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--purple-line); }
.btn-ghost:hover { border-color: var(--purple); background: var(--purple-soft); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ------------------------------------------------------------- section -- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tint { background: var(--bg-2); }
.section-tint-2 { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }

.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { margin-top: 18px; font-size: 17.5px; color: var(--ink-3); }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; background: var(--bg-2); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, #fff 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.25) 100%),
                    var(--hero-img, none);
  background-size: cover, cover; background-position: center, center right;
}
@media (max-width: 860px) {
  .hero::before {
    background-image: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.93) 55%, rgba(255,255,255,.6) 100%), var(--hero-img, none);
  }
}
.hero-inner { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--purple-line); color: var(--purple);
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); margin: 24px 0 0; max-width: 15ch; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; }
.hero-badges li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero-badges svg { flex: 0 0 auto; }
.hero-visual { position: relative; justify-self: center; }
.hero-visual img { filter: drop-shadow(0 34px 48px rgba(62,38,99,.22)); width: min(330px, 74vw); }
.hero-visual::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 48%; translate: -50% -50%;
  width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,198,232,.4), rgba(143,198,232,0) 68%);
}

/* -------------------------------------------------------- positioning -- */
.pos-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .pos-grid { grid-template-columns: 1fr 1fr; } }
.pos-points { display: grid; gap: 16px; }
.pos-point {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
}
.pos-point h3 { font-size: 17px; }
.pos-point p { margin-top: 6px; font-size: 15px; color: var(--ink-3); }

.proof-band {
  margin: clamp(36px, 5vw, 56px) 0 0; display: grid; gap: 0; align-items: center;
  background: var(--teal-soft); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 760px) { .proof-band { grid-template-columns: 1.1fr .9fr; } }
.proof-band img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.proof-band figcaption strong { color: var(--ink); display: block; margin-bottom: 6px; }
.proof-band figcaption { padding: clamp(22px, 3vw, 38px); font-size: 16.5px; color: var(--ink-2); }

/* ------------------------------------------------------------ benefits -- */
.benefit-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--purple-line); }
.benefit-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--purple-soft); color: var(--purple); margin-bottom: 18px;
}
.benefit h3 { font-size: 17px; }
.benefit p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }

/* --------------------------------------------------------------- howto -- */
.howto-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-3); }

/* ------------------------------------------------------- metrics/specs -- */
.split { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.metric-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.metric-table th, .metric-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.metric-table tr:last-child th, .metric-table tr:last-child td { border-bottom: 0; }
.metric-table th { font-weight: 600; color: var(--ink); width: 44%; background: var(--bg-2); }
.metric-table td { color: var(--ink-2); }
.metric-table th, .metric-table td { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 420px) {
  .metric-table th, .metric-table td { padding: 13px 12px; font-size: 14.5px; }
  .metric-table th { width: 46%; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 36px); box-shadow: var(--shadow-sm); height: 100%;
}
.card h3 { font-size: 20px; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; margin-bottom: 13px; color: var(--ink-2); }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 15px; height: 9px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  rotate: -45deg;
}
.term-list li { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.term-list li:first-child { padding-top: 0; }
.term-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.term-list strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.term-list span { color: var(--ink-3); font-size: 15px; }

/* ---------------------------------------------------------- comparison -- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 800px; border-collapse: collapse; font-size: 14.5px; }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { background: var(--purple); color: #fff; font-weight: 600; font-size: 14px; border-bottom: 0; }
.cmp-table thead th:first-child { background: var(--purple-deep); }
.cmp-table tbody th { font-weight: 600; color: var(--ink); background: var(--bg-2); width: 170px; }
.cmp-table td { color: var(--ink-2); }
.cmp-table td.own { background: var(--purple-soft); color: var(--ink); font-weight: 500; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* --------------------------------------------------------------- trust -- */
.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; text-align: left; box-shadow: var(--shadow-sm); }
.stat-v { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; color: var(--purple); letter-spacing: -.03em; line-height: 1.1; }
.stat-l { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.source { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

.granule-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 36px; border-radius: var(--radius); overflow: hidden; }
.granule-strip img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 620px) { .granule-strip { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- video -- */
.video-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  background: #0d0b12; aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- contact -- */
.contact { background: linear-gradient(165deg, var(--purple-deep), var(--purple) 62%, #6E4AA6); color: #fff; }
.contact .kicker { color: var(--sky); }
.contact h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.contact .section-head p { color: rgba(255,255,255,.82); }
.contact-grid { display: grid; gap: clamp(32px, 4vw, 52px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

.contact-side p { color: rgba(255,255,255,.86); font-size: 16px; }
.contact-side .direct-label { margin-top: 30px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact-side ul { margin-top: 14px; display: grid; gap: 11px; }
.contact-side a { color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-side a:hover { border-bottom-color: #fff; }
.contact-person { margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.86); }

.form-card { background: #fff; border-radius: var(--radius); padding: clamp(26px, 3.4vw, 38px); box-shadow: var(--shadow-lg); }
.field-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); transition: border-color .15s, background .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px var(--purple-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #A49CB6; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.consent { font-size: 12.5px; color: var(--ink-3); max-width: 46ch; line-height: 1.5; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--teal-soft); color: var(--teal-deep); border: 1px solid #B9E3F2; }
.form-msg.err { display: block; background: var(--coral-soft); color: #B8503A; border: 1px solid #F6CDC2; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 56px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo img { height: 30px; width: auto; opacity: .95; }
.footer-role { margin-top: 16px; max-width: 34ch; color: rgba(255,255,255,.72); }
.footer-list { display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px;
}
.footer-lang { display: flex; gap: 14px; }

/* ---------------------------------------------------------- legal page -- */
.legal-page { padding: clamp(56px, 7vw, 92px) 0; max-width: 780px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.legal-page h2 { font-size: 19px; margin-top: 38px; margin-bottom: 10px; }
.legal-page p { color: var(--ink-2); font-size: 16px; }
.legal-back { display: inline-block; margin-bottom: 26px; font-size: 14.5px; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }

/* ------------------------------------------------------------- motion -- */
/* Content is visible by default; the fade-in only applies once JS confirms it
   can un-hide the elements again. No JS = no hidden content. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .contact, .video-frame, .hero-cta { display: none; }
  body { font-size: 12pt; }
}
