/* ===== Fonts (self-hosted, DSGVO-freundlich) ===== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/montserrat-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/montserrat-latin-900-italic.woff2") format("woff2"); }

/* ===== Tokens ===== */
:root {
  --navy: #0B1F3B;
  --navy-2: #12305a;
  --teal: #00B3A6;
  --lime: #A6FF00;
  --bg: #F2F4F8;
  --white: #fff;
  --text: #0B1F3B;
  --muted: #4a5a72;
  --line: #dde2ea;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 59, .08);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 "Montserrat", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--lime); color: var(--navy); box-shadow: 0 6px 20px rgba(166, 255, 0, .3); }
.btn-accent:hover { box-shadow: 0 8px 26px rgba(166, 255, 0, .45); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* ===== Logo ===== */
.logo { display: inline-grid; grid-template-columns: auto auto; align-items: end; text-decoration: none; line-height: 1; }
.logo-word { font-style: italic; font-weight: 900; font-size: 1.65rem; letter-spacing: -.02em; }
.logo-eliq { color: #fff; }
.logo-click { color: var(--lime); }
.logo-cursor { width: 30px; height: 30px; margin-left: -2px; margin-bottom: 2px; }
.logo-tag {
  grid-column: 1 / -1; display: flex; align-items: center; gap: .45rem;
  font-size: .56rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #fff; margin-top: .3rem;
}
.logo-tag::before, .logo-tag::after { content: ""; height: 2px; flex: 1; background: var(--lime); min-width: 12px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 59, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .9; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--lime); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11,31,59,.85) 18%, rgba(11,31,59,.25) 45%, rgba(11,31,59,0) 70%);
}
.hero-inner { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(6rem, 11vw, 9rem); max-width: var(--container); }
.hero-title {
  font-style: italic; font-weight: 800; font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -.01em;
  padding-left: 1.4rem; position: relative; max-width: 20ch;
}
.hero-title::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; background: var(--lime); transform: skewX(-12deg); border-radius: 3px; }
.hero-title span { display: block; }
.hero-title em { color: var(--lime); font-style: italic; }
.hero-lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34rem; color: #dbe3ef; }

.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: 1.05rem; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23A6FF00' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 100px); }
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: #e8ecf3; }
.section-dark { background: var(--navy); color: #fff; }
.eyebrow { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; margin-bottom: .7rem; }
.section-dark .eyebrow { color: var(--lime); }
.section-title { font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
.section-lead { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; max-width: 40rem; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
.product-card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem 1.4rem; box-shadow: var(--shadow);
  border-top: 4px solid transparent; transition: transform .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-top-color: var(--lime); }
.product-card .icon {
  width: 64px; height: 64px; border-radius: 14px; background: var(--navy); color: var(--lime);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.product-card .icon svg { width: 38px; height: 38px; }
.product-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.product-card p { color: var(--muted); font-size: .93rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.step { background: var(--navy-2); border-radius: var(--radius); padding: 2rem 1.75rem; position: relative; border: 1px solid rgba(255,255,255,.08); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--navy); font-weight: 800; font-size: 1.3rem; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: #c8d3e3; }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
.benefit { padding: 1.6rem 1.4rem; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.benefit h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.benefit p { color: var(--muted); font-size: .94rem; }

/* ===== Configurator ===== */
.configurator { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; margin-top: 2.5rem; align-items: start; }
.config-block { border: 0; margin: 0 0 1.5rem; padding: 1.75rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.config-block legend { float: left; width: 100%; font-weight: 700; font-size: 1.15rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .7rem; }
.config-block legend + * { clear: both; }
.badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: .9rem; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: 12px;
  border: 2px solid var(--line); font-weight: 600; font-size: .93rem; transition: all .15s ease; height: 100%;
}
.choice span::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #b6c0cf; flex: none; transition: all .15s ease; }
.choice input:checked + span { border-color: var(--navy); background: #f5f8fc; }
.choice input:checked + span::before {
  background: var(--lime) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%230B1F3B' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: var(--navy);
}
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
.field { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  width: 100%; font: 500 1rem "Montserrat", sans-serif; color: var(--text);
  padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.field input[aria-invalid="true"] { border-color: #d43a3a; }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 3.6rem; }
.input-unit em { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-weight: 600; }
[data-show-for][hidden] { display: none !important; }

.config-result { position: sticky; top: 96px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.9rem; box-shadow: 0 20px 40px rgba(11,31,59,.25); }
.config-result h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem; }
.result-list { margin: 0 0 1.2rem; display: grid; gap: 0; }
.result-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.result-list dt { color: #c8d3e3; font-size: .92rem; }
.result-list dd { margin: 0; font-weight: 700; color: var(--lime); white-space: nowrap; text-align: right; }
.result-note { font-size: .78rem; color: #9fb0c8; margin-bottom: 1.3rem; }

/* ===== Contact form ===== */
.contact-form { margin-top: 2.2rem; background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1.2rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); flex: none; }
.form-error { color: #b42323; font-weight: 600; font-size: .92rem; }
.form-hint { font-size: .8rem; color: var(--muted); }
.contact-form .btn { justify-self: start; }
.form-success { background: #effbe0; border: 2px solid var(--lime); padding: 1.5rem; border-radius: 12px; font-weight: 600; }

/* ===== FAQ ===== */
.faq { margin-top: 2.2rem; display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 0 1.4rem; }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #c8d3e3; padding: 3.5rem 0 1.5rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-claim { margin-top: 1rem; font-style: italic; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }

/* ===== Legal pages ===== */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .7rem; }
.legal .placeholder { background: #fff7cc; padding: 0 .3rem; border-radius: 4px; color: #6b5300; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-media { position: relative; display: block; width: 100%; height: clamp(220px, 55vw, 420px); z-index: 0; }
  .hero-media img { object-position: 60% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,31,59,0) 55%, var(--navy) 100%); }
  .hero-inner { padding-top: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .configurator { grid-template-columns: 1fr; }
  .config-result { position: static; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .product-card { padding: 1.3rem 1.1rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .logo-word { font-size: 1.4rem; }
  .logo-cursor { width: 26px; height: 26px; }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
