/* ==========================================================
   Ilkora – Stylesheet
   Farben und Abstände zentral als Variablen (wie Theme-Settings)
   ========================================================== */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #050608;
  --bg-2: #0b0e13;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f1ea;
  --muted: #9aa3ad;
  --blue: #5bb4ff;
  --warm: #ffe2bd;
  --radius: 18px;
  --container: 1160px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 650; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22ch; }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--blue); margin-bottom: 0.8em; font-weight: 600; }
.lead { font-size: 1.12rem; color: #cfd5dc; max-width: 58ch; }
.glow {
  background: linear-gradient(90deg, var(--warm), #fff 40%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.link { color: var(--warm); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.85em 1.4em; border-radius: 999px; border: 1px solid #fff;
  background: #fff; color: #000; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  font-family: inherit; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(91, 180, 255, .18), 0 8px 30px rgba(91, 180, 255, .25); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--small { padding: 0.55em 1.1em; font-size: 0.9rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo img { width: 116px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: #d8dde3; font-size: 0.95rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 24px 20px 28px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; padding: 100px 0 80px; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { animation: drift 30s ease-in-out infinite alternate; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(5,6,8,.88) 0%, rgba(5,6,8,.55) 55%, rgba(5,6,8,.25) 100%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero__content { position: relative; }
.hero__content > * { max-width: 640px; }
@media (min-width: 900px) {
  .hero__bg { left: 38%; width: 62%; }
  .hero__shade { background: linear-gradient(90deg, var(--bg) 38%, rgba(5,6,8,.6) 50%, rgba(5,6,8,0) 70%), linear-gradient(to bottom, transparent 75%, var(--bg)); }
}
@media (max-width: 899px) {
  .hero__shade { background: rgba(5,6,8,.86); }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@keyframes drift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section--dots { background-color: var(--bg-2); }
.section--dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1.2px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 65%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 65%);
}
.section > .container, .page-head > .container { position: relative; }
.page-head { padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 70px); position: relative; }

.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(91,180,255,.4); transform: translateY(-2px); }
.card p { color: #c3c9d0; margin: 0; }
.icon { color: var(--blue); margin-bottom: 18px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.split--contact { align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.reasons strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.reasons p { color: #c3c9d0; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: "0" counter(step); display: block; color: var(--blue); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: #c3c9d0; margin: 0; }

/* NFC-Aufsteller-Illustration */
.stand { display: grid; place-items: center; perspective: 900px; padding: 20px 0; }
.stand__card {
  width: min(280px, 80%); aspect-ratio: 3 / 4; border-radius: 22px; background: #000;
  border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: rotateY(-14deg) rotateX(4deg);
  box-shadow: 0 30px 80px rgba(91,180,255,.18), 0 0 0 1px rgba(255,226,189,.06) inset;
  background-image: radial-gradient(circle, rgba(91,180,255,.18) 1px, transparent 1.5px); background-size: 10px 10px;
}
.stand__card img { width: 55%; }
.stand__card p { margin: 0; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.stand__wave { position: relative; width: 70px; height: 70px; }
.stand__wave span { position: absolute; inset: 0; border: 2px solid var(--blue); border-radius: 50%; opacity: 0; animation: ping 2.4s ease-out infinite; }
.stand__wave span:nth-child(2) { animation-delay: .8s; }
.stand__wave span:nth-child(3) { animation-delay: 1.6s; }
@keyframes ping { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
.stand__base { width: min(220px, 60%); height: 18px; margin-top: -6px; border-radius: 6px; background: #15191f; border: 1px solid var(--line); }

/* Produkte */
.product { display: flex; flex-direction: column; gap: 14px; }
.product .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0; color: #c3c9d0; font-size: .95rem; }
.ticks li { padding-left: 24px; position: relative; margin-bottom: 4px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--warm); font-size: .8rem; top: 2px; }
.price { font-size: 1.35rem; font-weight: 650; color: #fff !important; }

/* Formular */
.form { display: grid; gap: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: #c3c9d0; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.form .check input { width: auto; margin-top: 4px; }
.form__status { margin: 0; font-size: .95rem; }
.hp { display: none; }

/* Rechtstexte */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.2rem; max-width: none; margin-top: 2em; }
.legal p { color: #c9cfd6; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__inner img { margin-bottom: 12px; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { text-decoration: none; color: #c3c9d0; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { margin-top: 36px; font-size: .85rem; }
