/* ═══════════════════════════════════════════════════════════════
   NFCunnect — Design System Tokens + Stylesheet
   Primary: Copper #E0741A · Warm-Neutral Ink · Night #1A0E0A
   Fonts: Montserrat Alternates (Display) · Montserrat (UI) · Space Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Copper ramp */
  --copper-50:  #FEF4EA;
  --copper-100: #FDE3C4;
  --copper-200: #FAC68A;
  --copper-300: #F7A850;
  --copper-400: #F0926B;
  --copper-500: #E0741A;
  --copper-600: #C25C0E;
  --copper-700: #9E4709;
  --copper-800: #7A3506;
  --copper-900: #5A2504;

  /* Ember / Coral */
  --ember:  #E15A33;
  --coral:  #F0926B;

  /* Ink (warm neutral) */
  --ink-50:  #FAF6F2;
  --ink-100: #F2EBE3;
  --ink-200: #E2D5C8;
  --ink-300: #CAB9A8;
  --ink-400: #AE9785;
  --ink-500: #8E7560;
  --ink-600: #6E5743;
  --ink-700: #4E3B2B;
  --ink-800: #331F14;
  --ink-900: #14100D;

  /* Night (dark surfaces) */
  --night-900: #0E0806;
  --night-800: #1A0E0A;
  --night-700: #281608;

  /* Semantic */
  --primary:       var(--copper-500);
  --primary-hover: var(--copper-600);
  --primary-press: var(--copper-700);
  --fg:            var(--ink-900);
  --fg-muted:      var(--ink-500);
  --bg:            var(--ink-50);
  --surface:       #ffffff;
  --border:        var(--ink-200);

  /* Glow */
  --glow-copper:   rgba(224,116,26,.28);
  --glow-copper-lg: rgba(224,116,26,.42);

  /* Typography */
  --font-display: 'Montserrat Alternates', sans-serif;
  --font-ui:      'Montserrat', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing (4px base) */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 1px 3px rgba(74,36,6,.10), 0 1px 2px rgba(74,36,6,.06);
  --shadow-md: 0 4px 16px rgba(74,36,6,.12), 0 2px 6px rgba(74,36,6,.08);
  --shadow-lg: 0 12px 40px rgba(74,36,6,.16), 0 4px 12px rgba(74,36,6,.10);

  /* Motion */
  --ease:     cubic-bezier(0.22,1,0.36,1);
  --ease-std: cubic-bezier(0.4,0,0.2,1);
  --dur-fast: 160ms;
  --dur-std:  240ms;
  --dur-slow: 400ms;

  --max:       1140px;
  --header-h:  66px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink-900);
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--primary); }
button { font-family: var(--font-ui); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Type helpers */
.display {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.overline {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.mono { font-family: var(--font-mono); }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-500), var(--coral));
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 3px 3px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: .8rem 1.6rem;
  border-radius: var(--radius-md);
  font: 600 .95rem/1 var(--font-ui);
  border: 2px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease),
    background var(--dur-fast),
    color var(--dur-fast),
    box-shadow var(--dur-fast);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px var(--glow-copper);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--glow-copper-lg);
}
.btn--primary:active { transform: scale(.98); background: var(--primary-press); }
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn--ghost:hover {
  background: var(--ink-100);
  border-color: var(--ink-300);
  transform: translateY(-2px);
}
.btn--tap {
  background: var(--night-800);
  color: var(--copper-300);
  border: 1.5px solid rgba(224,116,26,.3);
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font: 600 .95rem/1 var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--dur-std) var(--ease);
  margin-top: var(--space-8);
}
.btn--tap svg { width: 18px; height: 18px; }
.btn--tap:hover { border-color: var(--primary); color: var(--primary); }
.btn--tap.tapping { animation: tapPulse .6s var(--ease); }
.btn--full { width: 100%; justify-content: center; }

@keyframes tapPulse {
  0%   { box-shadow: 0 0 0 0 var(--glow-copper-lg); }
  50%  { box-shadow: 0 0 0 18px rgba(224,116,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,116,26,0); }
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════
   HEADER
   ════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250,246,242,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow var(--dur-std);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.header__logo { height: 38px; width: auto; object-fit: contain; }
.header__brand { display: flex; align-items: center; flex: none; }

/* Tabs */
.tabs { display: flex; align-items: center; gap: .2rem; }
.tab {
  padding: .5rem 1rem;
  border-radius: var(--radius-md);
  font: 600 .88rem/1 var(--font-ui);
  color: var(--fg-muted);
  background: transparent;
  border: none;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.tab:hover { color: var(--fg); background: var(--ink-100); }
.tab--active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 12px var(--glow-copper);
}
.tab--active:hover { background: var(--primary-hover); color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: none;
  background: none;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: .22s var(--ease);
  display: block;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-top: 1px solid var(--ink-100);
  padding: var(--space-3) var(--space-5) var(--space-5);
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav .tab {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-sm);
  padding: .75rem var(--space-4);
  margin-bottom: 2px;
}

/* ════════════════════════════════════
   PAGES
   ════════════════════════════════════ */
.pages { flex: 1; position: relative; }

.page {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  min-height: calc(100vh - var(--header-h) - 72px);
}
.page--active { display: block; opacity: 1; transform: none; }
.page--entering {
  display: block;
  animation: pageIn var(--dur-slow) var(--ease) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.page-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-12) var(--space-5) var(--space-16);
}
.page-inner--center { display: flex; flex-direction: column; align-items: center; }
.page-head { text-align: center; margin-bottom: var(--space-10); }
.page-head h2 { font-size: clamp(2rem,4vw,2.8rem); margin-bottom: var(--space-3); }
.page-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: var(--space-4) auto 0;
}
.page-head__sub { color: var(--fg-muted); font-size: 1.05rem; margin-top: var(--space-2); }

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--space-5) 4rem;
  overflow: hidden;
}

/* Dark night panel fills the visual half */
.hero__night {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 54%;
  height: 140%;
  border-radius: 48px 0 0 48px;
  background: var(--night-800);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(224,116,26,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero__mark {
  width: 58%;
  opacity: .12;
  filter: invert(1);
  position: absolute;
}

.hero__content {
  position: relative;
  z-index: 2;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero__sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: var(--space-4);
}
.hero__typewriter {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: var(--space-6);
  min-height: 1.4em;
}
.hero__typed {
  color: var(--primary);
  font-weight: 700;
  border-right: 2px solid var(--primary);
  padding-right: 2px;
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100%{ border-color: var(--primary); } 50%{ border-color: transparent; } }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Hero visual */
.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

/* 3D tilt product */
.product-tilt {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: visible;
  transform-style: preserve-3d;
  cursor: pointer;
}
.product-tilt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px var(--glow-copper);
  transform: scale(1.28);
  display: block;
}
.product-tilt__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--glow-copper-lg) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: .6; }
  50%      { opacity: 1; }
}

/* NFC ripple rings */
.nfc-ripple {
  position: absolute;
  bottom: 40px;
  right: 20px;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  animation: rippleOut 2.4s var(--ease) infinite;
  opacity: 0;
}
.r1 { width: 30px; height: 30px; animation-delay: 0s; }
.r2 { width: 58px; height: 58px; animation-delay: .4s; }
.r3 { width: 86px; height: 86px; animation-delay: .8s; }
@keyframes rippleOut {
  0%   { transform: translate(-50%,-50%) scale(.6); opacity: .8; }
  100% { transform: translate(-50%,-50%) scale(1.5); opacity: 0; }
}

/* ════════════════════════════════════
   PROBLEM SECTION
   ════════════════════════════════════ */
.problem-section {
  background: var(--ink-100);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.problem-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-12) var(--space-5);
  text-align: center;
}
.problem-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-10);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.problem-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform var(--dur-std) var(--ease), box-shadow var(--dur-std);
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-3);
  stroke-width: 1.5;
}
.problem-card--old svg { color: var(--ink-400); }
.problem-card--new svg { color: var(--primary); }
.problem-card h3 { font-size: 1rem; margin-bottom: var(--space-3); }
.problem-card--old h3 { color: var(--fg-muted); }
.problem-card--new h3 { color: var(--primary); }
.problem-card li {
  font-size: .9rem;
  color: var(--fg-muted);
  padding: .3rem 0;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.problem-card li:last-child { border-bottom: none; }
.problem-card--old li::before { content: "×"; color: var(--ink-400); font-weight: 700; }
.problem-card--new li::before { content: "✓"; color: var(--primary); font-weight: 700; }

.problem-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
}
.problem-divider__line { width: 1.5px; height: 60px; background: var(--ink-200); }
.problem-divider svg { width: 22px; height: 22px; }

/* ════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════ */
.how-section { padding: var(--space-16) 0; }
.how-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-5);
  text-align: center;
}
.how-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: var(--space-10); }

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-4);
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--dur-std) var(--ease), box-shadow var(--dur-std), border-color var(--dur-std);
}
.how-step:hover, .how-step.active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.how-step__num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
}
.how-step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--copper-50);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.how-step__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.how-step h3 { font-size: .95rem; font-weight: 700; }
.how-step p { font-size: .85rem; color: var(--fg-muted); line-height: 1.5; }

.how-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: var(--ink-300);
  width: 60px;
}
.how-connector svg { width: 60px; height: 12px; }

.tap-hint {
  min-height: 1.5em;
  margin-top: var(--space-3);
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ════════════════════════════════════
   SUSTAINABILITY BANNER
   ════════════════════════════════════ */
.sustain-banner {
  background: var(--night-800);
  color: var(--copper-200);
  border-top: 1px solid rgba(224,116,26,.2);
  border-bottom: 1px solid rgba(224,116,26,.2);
}
.sustain-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-5) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.sustain-inner svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--primary); }
.sustain-inner p { font-size: .95rem; line-height: 1.6; }
.sustain-inner strong { color: var(--copper-300); }

/* ════════════════════════════════════
   GLOBUS
   ════════════════════════════════════ */
.globe-section {
  padding: var(--space-16) 0;
  background: var(--ink-100);
  border-top: 1px solid var(--ink-200);
}
.globe-section__head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--space-10);
  padding: 0 var(--space-5);
}
.globe-section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--space-3); }
.globe-section__sub { color: var(--fg-muted); font-size: 1.05rem; }
.globe-wrap { display: flex; justify-content: center; }
.globe {
  width: min(420px, 82vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 25px 55px var(--glow-copper));
}
.globe-svg { width: 100%; height: 100%; overflow: visible; }
.globe-lon ellipse {
  transform-box: fill-box;
  transform-origin: center;
  animation: lonRotate 6s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes lonRotate {
  0%,100%{ transform: scaleX(1); } 25%{ transform: scaleX(.04); }
  50%{ transform: scaleX(1); } 75%{ transform: scaleX(.04); }
}
.globe-arcs path {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: arcFlow 4s var(--ease) infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 4px rgba(255,255,255,.7));
}
@keyframes arcFlow {
  0%{ stroke-dashoffset: var(--len); opacity: 0; }
  15%{ opacity: 1; }
  55%{ stroke-dashoffset: 0; opacity: 1; }
  80%{ stroke-dashoffset: 0; opacity: 0; }
  100%{ stroke-dashoffset: calc(var(--len) * -1); opacity: 0; }
}
.globe-nodes circle {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.6s ease-in-out infinite;
  filter: drop-shadow(0 0 5px #fff);
}
.globe-nodes circle:nth-child(2n)  { animation-delay: .5s; }
.globe-nodes circle:nth-child(3n)  { animation-delay: 1.1s; }
@keyframes nodePulse {
  0%,100%{ transform: scale(.7); opacity: .65; }
  50%{ transform: scale(1.25); opacity: 1; }
}

/* ════════════════════════════════════
   PRODUKT
   ════════════════════════════════════ */
.produkt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.produkt-media {}

.produkt-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Creme/Kupfer-Verlauf — die Anhänger-Bilder sind transparente Freisteller */
  background: radial-gradient(120% 95% at 50% 42%, #FDF4EA 0%, #FAE3C4 100%);
  user-select: none;
}
/* Hover-Glow folgt dem Cursor — liegt HINTER dem Anhänger (z-index 1 < 2) */
.produkt-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--glow-copper-lg), transparent 55%);
  transition: opacity var(--dur-std) var(--ease);
}
.produkt-stage:hover::after { opacity: 1; }
#produkt-main {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  transition: opacity .22s var(--ease);
}
.produkt-stage__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 40% at 50% 75%, var(--glow-copper) 0%, transparent 65%);
  pointer-events: none;
}

.thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--border);
  background: radial-gradient(120% 95% at 50% 42%, #FDF4EA 0%, #FAE3C4 100%);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); }
.thumb:hover { transform: translateY(-2px); border-color: var(--ink-300); }
.thumb--active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--glow-copper); }

.variant-note { margin-top: var(--space-4); color: var(--fg-muted); font-size: .82rem; }

/* Features */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-5); }
.feature { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--copper-50);
  color: var(--primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--copper-100);
}
.feature__icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.feature h3 { font-size: 1rem; margin-bottom: .2rem; }
.feature p { color: var(--fg-muted); font-size: .92rem; }

/* Chip spec */
.chip-spec {
  margin-top: var(--space-10);
  border-top: 1px solid var(--border);
  padding-top: var(--space-8);
}
.chip-spec__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.chip-spec__item {
  background: var(--night-800);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid rgba(224,116,26,.15);
}
.chip-spec__label { display: block; font-size: .7rem; color: var(--ink-500); margin-bottom: var(--space-1); text-transform: uppercase; letter-spacing: .08em; }
.chip-spec__val { font-family: var(--font-mono); font-size: .88rem; color: var(--copper-300); }

/* ════════════════════════════════════
   PRODUKTVIDEO
   ════════════════════════════════════ */
.produkt-video { margin-top: var(--space-16); text-align: center; }
.produkt-video .page-head { margin-bottom: 0; }
.produkt-video__frame {
  position: relative; margin: var(--space-8) auto 0;
  width: fit-content; max-width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.produkt-video__frame video {
  display: block; max-height: 540px; width: auto; max-width: 100%;
  background: var(--night-800);
}
.produkt-video__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(14,8,6,.62); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px;
  border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.produkt-video__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: videoPulse 1.6s infinite; }
@keyframes videoPulse {
  0%   { box-shadow: 0 0 0 0 rgba(225,90,51,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(225,90,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,90,51,0); }
}

/* ════════════════════════════════════
   GALERIE – Flip Cards mit Lucide
   ════════════════════════════════════ */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--space-5);
}
.flip-card { perspective: 1200px; height: 320px; }
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.flip-card:hover .flip-card__inner { transform: rotateY(180deg); }
.flip-card__front, .flip-card__back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  overflow: hidden;
}
.flip-card__front {
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: box-shadow var(--dur-std), border-color var(--dur-std);
}
.flip-card:hover .flip-card__front { border-color: var(--primary); box-shadow: var(--shadow-md); }

.flip-card__art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--copper-50) 0%, var(--surface) 70%);
}
.art-icon {
  width: 64px !important;
  height: 64px !important;
  color: var(--primary);
  stroke-width: 1.2;
  transition: transform var(--dur-std) var(--ease);
}
.flip-card:hover .art-icon { transform: scale(1.08) translateY(-3px); }

.card-label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background: rgba(20,16,13,.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}

.flip-card__back {
  background: var(--night-800);
  color: var(--ink-50);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(224,116,26,.2);
}
.back-lucide {
  width: 36px !important;
  height: 36px !important;
  color: var(--primary);
  margin-bottom: var(--space-4);
  stroke-width: 1.2;
}
.flip-card__back h3 { font-size: 1.05rem; margin-bottom: var(--space-2); color: var(--copper-100); }
.flip-card__back p { color: var(--ink-400); font-size: .88rem; line-height: 1.6; }

/* ════════════════════════════════════
   ÜBER UNS
   ════════════════════════════════════ */
.ueber-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
}
.ueber-text p { color: var(--fg-muted); font-size: 1.05rem; margin-bottom: var(--space-4); }
.ueber-text strong { color: var(--fg); }

.ueber-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--copper-50);
  color: var(--copper-700);
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--copper-100);
}
.value-pill svg { width: 14px; height: 14px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.stat {
  background: var(--night-800);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  border: 1px solid rgba(224,116,26,.18);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--glow-copper); }
.stat__num { font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat__suffix { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat p { color: var(--ink-500); font-size: .82rem; margin-top: var(--space-2); }

/* Teamfoto */
.ueber-team {
  width: 100%;
  margin-bottom: var(--space-12);
  padding: var(--space-6) var(--space-5) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  background:
    radial-gradient(ellipse 65% 90% at 50% 108%, var(--glow-copper) 0%, transparent 60%),
    linear-gradient(180deg, var(--copper-50) 0%, var(--surface) 80%);
  text-align: center;
  overflow: hidden;
}
.ueber-team__img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 24px rgba(74,36,6,.18));
}
.ueber-team__cap {
  margin: var(--space-3) 0 var(--space-5);
  color: var(--fg-muted);
  font-size: .9rem;
  font-style: italic;
}

/* Kooperation */
.coop {
  width: 100%;
  margin-top: var(--space-12);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--copper-100);
  background: var(--copper-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.coop__label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper-700);
}
.coop__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.coop__logo {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.coop__logo--partner { height: 46px; }
.coop__x {
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--copper-400);
  line-height: 1;
}
.coop__wordmark {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #111;
}

/* ════════════════════════════════════
   KONTAKT
   ════════════════════════════════════ */
.kontakt-card {
  width: 100%;
  max-width: 660px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  border: 1.5px solid var(--border);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-4); }
.field label {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.char-count { font-weight: 400; color: var(--fg-muted); font-size: .78rem; }
.field input, .field textarea {
  font: inherit;
  padding: .75rem var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  resize: vertical;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-copper);
}
.form-status { margin-top: var(--space-4); font-weight: 600; min-height: 1.4em; font-size: .92rem; }
.form-status.ok  { color: #1a7f37; }
.form-status.err { color: #c0392b; }

.kontakt-direkt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.kontakt-mail-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--fg-muted);
  font-size: .9rem;
  transition: color var(--dur-fast);
}
.kontakt-mail-link svg { width: 16px; height: 16px; }
.kontakt-mail-link:hover { color: var(--primary); }
.kontakt-social { display: flex; gap: var(--space-3); }
.kontakt-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  transition: all var(--dur-fast);
}
.kontakt-social a svg { width: 17px; height: 17px; }
.kontakt-social a:hover { border-color: var(--primary); color: var(--primary); background: var(--copper-50); }

.hp-field { position: absolute !important; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }

/* socials nav tab accent */
.tab--socials { position: relative; }
.tab--socials::after {
  content: "";
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(225,90,51,.6);
  animation: socialDot 1.8s var(--ease) infinite;
}
.tab--active.tab--socials::after { background: #fff; }
@keyframes socialDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(225,90,51,.5); }
  50%     { box-shadow: 0 0 0 5px rgba(225,90,51,0); }
}

/* ════════════════════════════════════
   SOCIALS PAGE
   ════════════════════════════════════ */
.social-card__icon svg,
.kontakt-social svg { width: 100%; height: 100%; }

/* Laufband / Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
  margin-bottom: var(--space-10);
  background: var(--night-800);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--copper-200);
  white-space: nowrap;
}
.marquee__track .dot { color: var(--primary); font-size: .7rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.social-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--fg);
  transition: transform var(--dur-std) var(--ease), box-shadow var(--dur-std), border-color var(--dur-std);
}
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.social-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}
.social-card:hover .social-card__glow { opacity: .14; }

.social-card__icon {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 18px;
  transition: transform var(--dur-std) var(--ease);
}
.social-card:hover .social-card__icon { transform: scale(1.08) rotate(-4deg); }

.tap-ring {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid currentColor;
  opacity: 0;
}
.social-card:hover .tap-ring {
  animation: tapRing 1.1s var(--ease) infinite;
}
@keyframes tapRing {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.social-card h3 { font-size: 1.2rem; }
.social-card__handle { color: var(--fg-muted); font-size: .9rem; }
.social-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  transition: gap var(--dur-fast) var(--ease);
}
.social-card__cta svg { width: 16px; height: 16px; }
.social-card:hover .social-card__cta { gap: 10px; }

/* Brand colours */
.social-card--ig .social-card__icon,
.social-card--ig .social-card__glow {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}
.social-card--ig:hover { border-color: #dc2743; }
.social-card--tt .social-card__icon { background: #010101; }
.social-card--tt .social-card__glow { background: linear-gradient(45deg, #25f4ee, #010101 50%, #fe2c55); }
.social-card--tt:hover { border-color: #fe2c55; }
.social-card--li .social-card__icon,
.social-card--li .social-card__glow { background: #0a66c2; }
.social-card--li:hover { border-color: #0a66c2; }


/* Kontakt social brand hover colours */
.kontakt-social a svg { width: 17px; height: 17px; }
.kontakt-social .soc-ig:hover { border-color: #dc2743; color: #dc2743; background: rgba(220,39,67,.06); }
.kontakt-social .soc-li:hover { border-color: #0a66c2; color: #0a66c2; background: rgba(10,102,194,.06); }
.kontakt-social .soc-tt:hover { border-color: #010101; color: #010101; background: rgba(0,0,0,.05); }

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.footer { background: var(--night-800); padding: var(--space-6) var(--space-5); border-top: 1px solid rgba(224,116,26,.12); }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}
.footer__logo { height: 32px; filter: brightness(0) invert(1); opacity: .7; }
.footer__links { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.footer__mail { color: var(--ink-400); font-size: .85rem; transition: color var(--dur-fast); }
.footer__mail:hover { color: var(--primary); }
.footer__sep { color: var(--ink-600); }
.footer__addr { color: var(--ink-600); font-size: .82rem; }
.footer__copy { color: var(--ink-700); font-size: .78rem; margin-left: auto; }

/* ════════════════════════════════════
   ORGANIGRAMM (Über uns)
   ════════════════════════════════════ */
.org-head { text-align: center; margin-top: var(--space-10); }
.orgchart { margin-top: var(--space-8); margin-bottom: var(--space-12); }

/* — Halbkreis-Organigramm — */
.orgA { display: flex; flex-direction: column; align-items: center; --arc-rise: 70px; }

.orgA__center {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  position: relative;
  background: var(--surface); border: 1.5px solid var(--copper-300);
  border-radius: var(--radius-lg); padding: var(--space-4) var(--space-8);
  box-shadow: var(--shadow-sm);
}
.orgA__center-label { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--copper-600); }
.orgA__center-names { font-size: .82rem; color: var(--ink-600); }
/* Verbindungslinie nach unten zum Bogen */
.orgA__center::after {
  content: ""; position: absolute; left: 50%; bottom: calc(-1 * var(--space-8));
  transform: translateX(-50%); width: 2px; height: var(--space-8); background: var(--border);
}

.orgA__arc { display: flex; justify-content: center; align-items: flex-end; gap: var(--space-4); margin-top: var(--space-8); }
.orgA__dept {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 94px; padding: var(--space-3) var(--space-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: .8rem; color: var(--fg);
  box-shadow: var(--shadow-sm); transform: translateY(0);
  transition: transform var(--dur-std) var(--ease), border-color var(--dur-fast),
              box-shadow var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.orgA__dept i { width: 22px; height: 22px; color: var(--primary); transition: color var(--dur-fast); }
.orgA__dept:nth-child(1), .orgA__dept:nth-child(5) { margin-bottom: 0; }
.orgA__dept:nth-child(2), .orgA__dept:nth-child(4) { margin-bottom: calc(var(--arc-rise) * .55); }
.orgA__dept:nth-child(3) { margin-bottom: var(--arc-rise); }
.orgA__dept:hover { border-color: var(--copper-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.orgA__dept.is-active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 8px 24px var(--glow-copper); transform: translateY(-4px);
}
.orgA__dept.is-active i { color: #fff; }

.orgA__panel {
  margin-top: var(--space-6); width: 100%; max-width: 540px;
  background: var(--night-800); border: 1px solid rgba(224,116,26,.18);
  border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); min-height: 92px;
}
.orgA__hint { color: var(--ink-500); font-size: .88rem; text-align: center; }
.orgA__panel-title { display: flex; align-items: center; gap: 8px; color: var(--copper-300); font-weight: 700; margin-bottom: var(--space-3); }
.orgA__panel-title i { width: 18px; height: 18px; }
.orgA__members { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); list-style: none; }
.orgA__members li { color: var(--ink-100); font-size: .9rem; padding-left: var(--space-4); position: relative; }
.orgA__members li::before { content: "·"; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 900px) {
  .tabs { display: none; }
  .burger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-top: 3rem;
  }
  .hero__night { display: none; }
  .hero__sub { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { height: 300px; }
  .product-tilt { width: 200px; height: 260px; }
  .nfc-ripple { bottom: 20px; right: 10px; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-divider { flex-direction: row; padding: 0; }
  .problem-divider__line { width: 60px; height: 1.5px; }

  .how-steps { grid-template-columns: 1fr; }
  .how-connector { display: none; }

  .produkt-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .chip-spec__grid { grid-template-columns: 1fr 1fr; }

  .galerie-grid { grid-template-columns: 1fr 1fr; }
  .socials-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .ueber-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; }
}
@media (max-width: 560px) {
  .galerie-grid { grid-template-columns: 1fr; }
  .flip-card { height: 280px; }
  .kontakt-card { padding: var(--space-5); }
  .chip-spec__grid { grid-template-columns: 1fr 1fr; }

  .orgA__arc { flex-wrap: wrap; gap: var(--space-3); }
  .orgA__dept { width: 80px; }
  .orgA__dept:nth-child(n) { margin-bottom: 0; }
  .orgA__members { grid-template-columns: 1fr; }

  .produkt-video__frame video { max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
