/* ============================================================
   TIPPLINK — STYLES
   Mobile-first. CSS variables for easy theming.
   ============================================================ */

/* ---------- SELF-HOSTED FONTS ----------
   Doto und Inter liegen als woff2 in /fonts und werden vom eigenen Server
   ausgeliefert — beim Laden entsteht keine Verbindung zu Google Fonts. */
@font-face {
  font-family: 'Doto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/doto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- DESIGN TOKENS (edit these to change the whole site) ---------- */
:root {
  /* Colors */
  --color-bg:          #f6fbf7;
  --color-surface:     #ffffff;
  --color-text:        #17351f;
  --color-text-muted:  #5d7463;
  --color-primary:     #2d7a3a;    /* Tipplink green */
  --color-primary-hover: #246b31;
  --color-green-dark:  #d8efdc;    /* soft green */
  --color-green-light: #4ade68;    /* Tipplink accent green */
  --color-accent:      #edf8ef;    /* pale green tint */
  --color-border:      #d6e9d9;
  --color-badge:       #2d7a3a;

  /* Typography */
  --font-sans:         "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold:   700;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2.5rem;
  --space-2xl:  4rem;

  /* Sizing */
  --container-max:  1120px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;

  /* Transitions */
  --transition: 180ms ease;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-normal);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--color-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--color-primary); }

/* Focus styles — keyboard-only, accessible */
:focus-visible {
  outline: 3px solid var(--color-green-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  line-height: 1;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), opacity var(--transition);
}

.btn-primary {
  background: var(--color-green-light);
  color: #000;
  box-shadow: 0 2px 8px rgba(74, 222, 104, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary);
  color: #000;
  box-shadow: 0 4px 16px rgba(74, 222, 104, 0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-green-light);
  color: var(--color-green-light);
}
.btn-full { width: 100%; }

.btn-success {
  background: var(--color-green-light);
  color: #000;
  pointer-events: none;
}

.btn-check-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
  animation: check-pop 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.btn-check-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  animation: check-draw 0.3s 0.2s ease forwards;
}
@keyframes check-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes check-draw {
  0% { transform: rotate(45deg) scale(0); }
  60% { transform: rotate(45deg) scale(1.2); }
  100% { transform: rotate(45deg) scale(1); }
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  overflow: visible;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}
.logo-img {
  height: 200px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}
.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition);
}
.nav-list a:hover { color: var(--color-green-light); }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-green-light);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* Cart toggle */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: var(--space-xs);
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--color-green-light);
  color: #000;
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.cart-count[data-visible="true"] { opacity: 1; }

/* ---------- COUNTDOWN TIMER ---------- */
.countdown-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  text-align: center;
}

.countdown-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.countdown-label {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.countdown-value {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 8px rgba(74, 222, 104, 0.6),
    0 0 20px rgba(74, 222, 104, 0.4),
    0 0 40px rgba(74, 222, 104, 0.2);
  animation: glow-pulse 2s ease-in-out infinite alternate;
  line-height: 1;
}

.countdown-name {
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
  opacity: 0.5;
  margin-top: -16px;
  animation: sep-blink 1s step-end infinite;
}

@keyframes glow-pulse {
  0% {
    text-shadow:
      0 0 8px rgba(74, 222, 104, 0.6),
      0 0 20px rgba(74, 222, 104, 0.4),
      0 0 40px rgba(74, 222, 104, 0.2);
  }
  100% {
    text-shadow:
      0 0 12px rgba(74, 222, 104, 0.8),
      0 0 30px rgba(74, 222, 104, 0.6),
      0 0 60px rgba(74, 222, 104, 0.3);
  }
}

@keyframes sep-blink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.15; }
}

@media (max-width: 899px) {
  .nav-list { display: none !important; }
}

@media (max-width: 480px) {
  .countdown-value { font-size: 1.4rem; }
  .countdown-sep { font-size: 1.4rem; }
  .countdown-label { font-size: 0.85rem; }
}

/* ---------- HERO ---------- */
.hero {
  padding: var(--space-2xl) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Hero animations */
.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-content .btn {
  opacity: 0;
  animation: hero-fade-up 0.7s ease forwards;
}
.hero-eyebrow   { animation-delay: 0.1s; }
.hero-title     { animation-delay: 0.25s; }
.hero-subtitle  { animation-delay: 0.4s; }
.hero-content .btn { animation-delay: 0.55s; }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: hero-fade-in 0.8s ease 0.3s forwards;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-green-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* Trust signals */
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.trust-item svg {
  color: var(--color-green-light);
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(74, 222, 104, 0.15);
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.hero-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(74, 222, 104, 0.25);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--space-2xl) 0;
}

.section--how { background: var(--color-surface); }
.section--products { background: var(--color-bg); }
.section--about { background: var(--color-surface); }

/* Section divider accent */
.section--how::before,
.section--about::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-green-light);
  border-radius: 2px;
  margin: 0 auto var(--space-xl);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- STEPS (How it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.step-number,
.step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green-dark);
  color: var(--color-green-light);
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  stroke: var(--color-green-light);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xs);
}
.step-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- PRODUCTS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 222, 104, 0.1);
}

.product-card--bundle {
  border-color: var(--color-green-light);
  border-width: 2px;
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-green-light);
  color: #000;
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  z-index: 1;
}

.product-image {
  background: var(--color-surface);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 400ms ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: var(--font-weight-medium);
}

.product-price {
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
}

.product-price-save {
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  margin-left: var(--space-xs);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  flex: 1;
}

/* ---------- CUSTOMER COUNTER ---------- */
.customer-counter {
  text-align: center;
  padding: var(--space-xl) 0;
  margin-top: var(--space-lg);
}

.counter-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.counter-value {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 10px rgba(74, 222, 104, 0.5),
    0 0 30px rgba(74, 222, 104, 0.3);
}

.counter-suffix {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
}

.counter-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- ABOUT ---------- */
.about-content {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.about-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-motto {
  text-align: center;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-green-light);
  margin-top: var(--space-xl);
  letter-spacing: 0.02em;
}

/* ---------- MAP CARD ---------- */
.map-card {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0.85) contrast(1.1) saturate(0.8);
}

/* Karte wird erst nach Klick geladen (§ 25 TDDDG) */
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  text-align: center;
  background: var(--color-surface);
}

.map-placeholder-title {
  font-weight: var(--font-weight-bold);
  font-size: 1.05rem;
  color: var(--color-text);
}

.map-placeholder-text {
  max-width: 440px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.map-placeholder-text a {
  color: var(--color-green-light);
}

.map-badge {
  position: absolute;
  top: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-green-light);
  color: #000;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(74, 222, 104, 0.35);
  z-index: 2;
  pointer-events: none;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .map-badge { font-size: 0.82rem; padding: 0.4rem 1rem; }
}

.map-caption {
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 480px) {
  .map-wrapper { height: 280px; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-bg);
  color: var(--color-text-muted);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-col h3 {
  color: var(--color-green-light);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-sm);
}
.footer-col p, .footer-col span {
  color: var(--color-text-muted);
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}
.footer-col address a {
  color: var(--color-green-light);
}

/* Impressum */
.footer-legal {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}
.footer-legal hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}
.footer-legal-title {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-green-light);
  margin-bottom: var(--space-md);
}

/* Impressum Accordion */
.impressum-details {
  margin-bottom: var(--space-lg);
}

.impressum-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-green-light);
  padding: var(--space-sm) 0;
  list-style: none;
}

.impressum-summary::-webkit-details-marker {
  display: none;
}

.impressum-summary:hover {
  color: var(--color-primary);
}

.impressum-chevron {
  transition: transform 200ms ease;
  color: var(--color-text-muted);
}

.impressum-details[open] .impressum-chevron {
  transform: rotate(180deg);
  color: var(--color-green-light);
}

.impressum-text {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 640px;
  color: var(--color-text-muted);
  padding-top: var(--space-md);
}
.impressum-text p { margin-bottom: var(--space-md); }
.impressum-text a { color: var(--color-green-light); }

/* Back to Home Button */
.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--color-green-light);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  transition: color var(--transition);
  margin-bottom: var(--space-lg);
}

.back-to-home:hover {
  color: var(--color-primary);
}

.back-to-home svg {
  transition: transform var(--transition);
}

.back-to-home:hover svg {
  transform: translateX(-4px);
}

.footer-copy {
  margin-top: var(--space-lg);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ---------- CART DRAWER ---------- */
.cart-drawer[aria-hidden="false"] {
  visibility: visible;
}
.cart-drawer[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 200ms;
}
.cart-drawer[aria-hidden="false"] .cart-overlay { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 90vw);
  height: 100%;
  background: var(--color-surface);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer[aria-hidden="false"] .cart-panel {
  transform: translateX(0);
  pointer-events: auto;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.cart-header h2 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
}
.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: var(--space-xs);
}
.cart-body {
  flex: 1;
  padding: var(--space-lg);
  overflow-y: auto;
}
.cart-empty {
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-xl) 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item-name { font-weight: var(--font-weight-medium); font-size: 0.95rem; }
.cart-item-price { color: var(--color-primary); font-weight: var(--font-weight-bold); }
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
}
.cart-item-remove:hover { color: var(--color-green-light); }
.cart-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.checkout-notice {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--color-green-dark);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-text-muted);
  font-size: .88rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
}
.checkout-notice.is-visible {
  animation: checkout-notice-in 360ms ease forwards;
}
.checkout-notice strong { color: var(--color-green-light); font-size: 1rem; }
@keyframes checkout-notice-in {
  to { opacity: 1; transform: translateY(0); }
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet and up */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card { flex-direction: column; }
  .logo-img { height: 200px; }
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .hero-img {
    max-width: 500px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
  .logo-img { height: 200px; }
}

/* Desktop: hide hamburger, show nav */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex !important;
  }
}

/* Mobile: compact header with a slide-in side navigation */
@media (max-width: 899px) {
  .header-inner {
    position: relative;
  }
  .main-nav {
    order: 4;
    position: static;
    width: 40px;
    flex: 0 0 40px;
  }
  .cart-toggle { order: 2; margin-left: var(--space-sm); }
  .auth-section { order: 3; margin-left: auto; }
  .nav-toggle {
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    z-index: 402;
  }
  .nav-list {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 360px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    padding: 6.5rem var(--space-lg) var(--space-xl);
    gap: var(--space-sm);
    box-shadow: -10px 0 32px rgba(0,0,0,0.16);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
    transition: transform 280ms ease, opacity 180ms ease;
    z-index: 401;
  }
  .nav-list[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .nav-list a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(23, 53, 31, 0.28);
    cursor: pointer;
    z-index: 400;
  }
  .nav-list[data-open="true"] + .nav-backdrop {
    display: block;
  }
  .hero {
    padding: var(--space-xl) 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section {
    padding: var(--space-xl) 0;
  }
  .product-img {
    height: 180px;
  }
  .container {
    padding: 0 var(--space-md);
  }
  .auth-btn-text {
    display: none;
  }
  .user-name {
    display: none;
  }
}

/* ---------- JIGGLE ANIMATION ---------- */
.btn-jiggle {
  animation: jiggle 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes jiggle {
  0%   { transform: scale(1); }
  20%  { transform: scale(0.92); }
  50%  { transform: scale(1.06); }
  75%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger .step,
.reveal-stagger .product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.is-visible .step,
.reveal-stagger.is-visible .product-card {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible .step:nth-child(1),
.reveal-stagger.is-visible .product-card:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.is-visible .step:nth-child(2),
.reveal-stagger.is-visible .product-card:nth-child(2) { transition-delay: 0.25s; }
.reveal-stagger.is-visible .step:nth-child(3) { transition-delay: 0.4s; }

/* Cookie preference controls */
.cookie-preferences {
  width: 100%;
  max-width: 760px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.cookie-preferences h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  cursor: pointer;
}
.cookie-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.cookie-option span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cookie-option small {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.cookie-option--disabled { cursor: default; opacity: 0.8; }
.cookie-preferences .btn { margin-top: var(--space-sm); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .checkout-notice { opacity: 1; transform: none; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger .step, .reveal-stagger .product-card {
    opacity: 1;
    transform: none;
  }
}

/* ---------- FAQ ---------- */
.section--faq {
  background: var(--color-surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--color-green-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  list-style: none;
  transition: color var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-green-light);
}

.faq-question span {
  flex: 1;
  padding-right: var(--space-md);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--color-text-muted);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-green-light);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-consent[data-visible="true"] {
  transform: translateY(0);
}
.cookie-consent-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}
.cookie-consent-text h2 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.cookie-consent-text p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- FOOTER LEGAL LINKS ---------- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--color-green-light);
}

@media (min-width: 640px) {
  .cookie-consent-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-consent-text { flex: 1 1 55%; }
  .cookie-consent-actions { flex: 0 1 auto; }
  .cookie-preferences { flex: 1 1 100%; }
}

@media (max-width: 639px) {
  .cookie-consent-actions .btn { flex: 1 1 100%; }
}

.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  cursor: pointer;
}
.footer-links button:hover { color: var(--color-green-light); }

/* ---------- BACK TO TOP BUTTON ---------- */
.back-to-top {
  position: fixed;
  bottom: 5.8rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-green-dark);
  border: 2px solid var(--color-green-light);
  color: var(--color-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease, background 180ms ease;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(74, 222, 104, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-green-light);
  color: #000;
  box-shadow: 0 6px 24px rgba(74, 222, 104, 0.4);
}

.back-to-top:hover svg {
  stroke: #000;
}

.back-to-top svg {
  stroke: var(--color-green-light);
  transition: stroke 180ms ease;
}

@media (max-width: 480px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 5.2rem;
    right: 1.5rem;
  }
}

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  width: 100%;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  text-align: center;
}

/* Hide sticky CTA on desktop */
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* Der Sticky-CTA-Balken klebt unten im Viewport. Damit er die Rechts-Links im
   Footer (Datenschutz, AGB, Widerrufsbelehrung, Cookie-Richtlinie) nicht
   überdeckt, bekommt der Footer-Legal-Block auf Mobilgeräten etwas mehr Luft.
   Gilt nur für Seiten mit dem Balken (body.has-sticky-cta, siehe index.html) —
   ab 900px ist der Balken ohnehin ausgeblendet. */
@media (max-width: 899px) {
  body.has-sticky-cta .footer-legal {
    padding-bottom: calc(var(--space-xl) + 4rem);
  }
}

/* ---------- GUARANTEE BANNER ---------- */
.guarantee-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--color-accent);
  border: 1px solid var(--color-green-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-banner svg {
  flex-shrink: 0;
  color: var(--color-green-light);
  margin-top: 2px;
}

.guarantee-banner p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.guarantee-banner strong {
  color: var(--color-green-light);
}

/* ---------- REMOVED TIPPLINK LAB / SCROLL STORY ----------

.lab-story {
  --lab-ink: var(--color-surface);
  --lab-panel: var(--color-bg);
  --lab-line: rgba(74, 222, 104, 0.22);
  --lab-bright: var(--color-green-light);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 78% 21%, rgba(74, 222, 104, 0.10), transparent 22rem),
    radial-gradient(circle at 10% 80%, var(--color-accent), transparent 26rem),
    var(--lab-ink);
  border-top: 1px solid var(--color-border);
}
.lab-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(74, 222, 104, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 222, 104, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.lab-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.lab-container { position: relative; z-index: 1; }
.lab-heading {
  max-width: 660px;
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(3rem, 7vw, 6rem);
}
.lab-kicker, .lab-stage-topline, .lab-stage-bottomline, .lab-step-index, .lab-step-status, .lab-footnote {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.lab-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--lab-bright);
  font-size: .72rem;
  font-weight: 700;
}
.lab-kicker-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lab-bright); box-shadow: 0 0 18px var(--lab-bright); animation: lab-blink 1.8s infinite; }
@keyframes lab-blink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.lab-heading h2 { margin-top: 1.4rem; font-size: clamp(3rem, 8vw, 7.5rem); line-height: .91; letter-spacing: -.075em; font-weight: 700; }
.lab-heading h2 span { color: var(--lab-bright); text-shadow: 0 0 34px rgba(74, 222, 104, .22); }
.lab-heading > p:last-child { max-width: 470px; margin-top: 2rem;  color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.75; }
.lab-scroll { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(460px, 1.18fr); gap: clamp(3rem, 8vw, 10rem); align-items: start; }
.lab-copy-column { position: relative; }
.lab-step { min-height: 88vh; padding: 15vh 0; opacity: .24; transform: translateX(-12px); transition: opacity .6s ease, transform .6s ease; }
.lab-step.is-active { opacity: 1; transform: translateX(0); }
.lab-step-index { display: block;  color: var(--color-text-muted); font-size: .7rem; margin-bottom: 1.6rem; }
.lab-step h3 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 1.4rem; }
.lab-step p { max-width: 390px;  color: var(--color-text-muted); line-height: 1.75; }
.lab-step-status { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2.2rem; padding: .65rem .9rem; border: 1px solid var(--lab-line);  color: var(--color-text-muted); font-size: .62rem; }
.lab-step-status b { display: grid; place-items: center; width: 18px; height: 18px; color: var(--lab-ink); background: var(--lab-bright); border-radius: 50%; font-size: .7rem; }
.lab-step-cta { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2.2rem; padding-bottom: .35rem; color: var(--lab-bright); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--lab-bright); }
.lab-step-cta span { font-size: 1.25rem; transition: transform .2s ease; }
.lab-step-cta:hover span { transform: translate(3px, -3px); }
.lab-visual-column { min-width: 0; }
.lab-sticky-stage { position: sticky; top: 80px; height: calc(100vh - 120px); min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem 0 2rem; }
.lab-stage-topline, .lab-stage-bottomline { display: flex; align-items: center; gap: 1rem;  color: var(--color-text-muted); font-size: .6rem; white-space: nowrap; }
.lab-stage-line { height: 1px; flex: 1; background: var(--lab-line); }
.lab-stage-bottomline { justify-content: flex-end; }
.lab-stage-progress { width: 110px; height: 2px;  background: rgba(74, 222, 104, .14); overflow: hidden; }
.lab-stage-progress i { display: block; width: 25%; height: 100%; background: var(--lab-bright); box-shadow: 0 0 12px var(--lab-bright); transition: width .5s ease; }
.lab-scene { position: relative; flex: 1; min-height: 470px; overflow: hidden; perspective: 1300px; }
.lab-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 28%, rgba(10, 10, 10, .38) 100%); }
.lab-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.lab-halo { position: absolute; left: 50%; top: 51%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.lab-halo--one { width: 300px; height: 300px; background: radial-gradient(circle, rgba(74, 222, 104, .23), transparent 67%); filter: blur(10px); }
.lab-halo--two { width: 580px; height: 580px; border: 1px solid rgba(74, 222, 104, .08); box-shadow: inset 0 0 80px rgba(109, 255, 142, .05); }
.lab-orbit { position: absolute; left: 50%; top: 51%; width: 390px; height: 155px;  border: 1px solid rgba(74, 222, 104, .22); border-radius: 50%; transform: translate(-50%, -50%) rotate(-24deg); animation: lab-orbit 13s linear infinite; }
.lab-orbit--two { width: 300px; height: 480px; transform: translate(-50%, -50%) rotate(65deg);  border-color: rgba(74, 222, 104, .1); animation-duration: 18s; animation-direction: reverse; }
@keyframes lab-orbit { to { transform: translate(-50%, -50%) rotate(336deg); } }
.lab-pulse-ring { position: absolute; left: 50%; top: 51%; width: 170px; height: 170px;  border: 1px solid rgba(74, 222, 104, .6); border-radius: 50%; transform: translate(-50%, -50%) scale(.55); opacity: 0; animation: lab-pulse 3.4s ease-out infinite; }
.lab-pulse-ring--two { animation-delay: 1.7s; }
@keyframes lab-pulse { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.45); } 20% { opacity: .8; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.25); } }
.lab-device-wrap { position: absolute; left: 49%; top: 51%; width: 190px; height: 270px; transform: translate(-50%, -50%); transform-style: preserve-3d; z-index: 3; }
.lab-device-shadow { position: absolute; left: 50%; bottom: -24px; width: 190px; height: 28px; border-radius: 50%; transform: translateX(-50%) rotateX(65deg); background: rgba(0,0,0,.8); filter: blur(13px); }
.lab-device { --device-rotate: 0deg; --device-tilt: 0deg; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--device-rotate)) rotateX(var(--device-tilt)) rotateZ(-2deg); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.lab-device-face { position: absolute; inset: 0;  border: 1px solid rgba(74, 222, 104, .42); border-radius: 16px 16px 11px 11px; backface-visibility: hidden; overflow: hidden; }
.lab-device-face--front { display: flex; flex-direction: column; align-items: center; padding-top: 45px;  background: linear-gradient(135deg, var(--color-green-dark), var(--color-bg) 62%, var(--color-accent)); box-shadow: inset 10px 0 24px rgba(74,222,104,.08), 0 18px 50px rgba(0,0,0,.7); transform: translateZ(22px); }
.lab-device-face--front::before { content: ""; position: absolute; inset: 0; opacity: .27; background: repeating-linear-gradient(115deg, transparent 0 5px, rgba(255,255,255,.05) 6px 7px); }
.lab-device-face--back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;  background: var(--color-accent); transform: rotateY(180deg) translateZ(22px);  color: var(--color-text-muted); font-family: ui-monospace, monospace; font-size: .55rem; letter-spacing: .2em; }
.lab-device-face--back strong { color: var(--lab-bright); font-size: .9rem; }
.lab-device-face--back small { margin-top: 1.5rem; opacity: .5; }
.lab-device-side { position: absolute;  background: var(--color-green-dark);  border: 1px solid rgba(74, 222, 104, .18); }
.lab-device-side--left, .lab-device-side--right { top: 0; width: 44px; height: 100%; }
.lab-device-side--left { left: -22px; transform: rotateY(-90deg); transform-origin: right; }
.lab-device-side--right { right: -22px; transform: rotateY(90deg); transform-origin: left; }
.lab-device-side--top, .lab-device-side--bottom { left: 0; width: 100%; height: 44px; }
.lab-device-side--top { top: -22px; transform: rotateX(90deg); transform-origin: bottom; }
.lab-device-side--bottom { bottom: -22px; transform: rotateX(-90deg); transform-origin: top; }
.lab-device-logo-mark { position: relative; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--lab-bright); border-radius: 17px; color: var(--lab-bright); font-size: 2rem; font-weight: 700; box-shadow: 0 0 25px rgba(74,222,104,.16), inset 0 0 18px rgba(74,222,104,.12); }
.lab-device-wordmark, .lab-device-caption { position: relative; font-family: ui-monospace, monospace; letter-spacing: .23em; }
.lab-device-wordmark { margin-top: 1rem; font-size: .65rem; color: var(--lab-bright); }
.lab-device-caption { margin-top: auto; margin-bottom: 2rem; font-size: .52rem;  color: var(--color-text-muted); }
.lab-nfc-mark { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 2.2rem; transform: rotate(90deg); }
.lab-nfc-mark span { width: 20px; height: 8px; border: 1px solid var(--lab-bright); border-left-color: transparent; border-radius: 50%; }
.lab-nfc-mark span:nth-child(2) { width: 14px; }
.lab-nfc-mark span:nth-child(3) { width: 8px; }
.lab-phone { position: absolute; left: 67%; top: 30%; width: 116px; height: 225px; padding: 6px; border: 1px solid rgba(74, 222, 104, .5); border-radius: 18px;  background: #050505; box-shadow: 0 15px 45px rgba(0,0,0,.7); transform: translate(-50%, -50%) rotate(12deg) translateZ(100px); z-index: 4; transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }
.lab-phone-screen { position: relative; height: 100%; padding: 28px 9px 9px; border-radius: 13px; background: linear-gradient(160deg, #f2fff3, #c9e8ce);  color: #18321e; text-align: center; overflow: hidden; }
.lab-phone-notch { position: absolute; width: 42px; height: 10px; left: 50%; top: 5px; transform: translateX(-50%); border-radius: 10px;  background: #050505; }
.lab-phone-small { display: block; font-size: .42rem; font-weight: 700;  color: var(--color-green-dark); letter-spacing: .15em; }
.lab-google-g { margin: 14px auto 8px; font-size: 1.6rem; font-weight: 700; color: #4285f4; }
.lab-phone-screen strong { font-size: .72rem; line-height: 1.1; display: block; }
.lab-stars {  color: #fbbc04; font-size: .63rem; margin: 10px 0; letter-spacing: -.1em; }
.lab-phone-button { display: block; padding: 5px 3px; border-radius: 5px; background: #1a73e8; color: white; font-size: .42rem; }
.lab-data-stream { position: absolute; z-index: 5; display: flex; align-items: center; gap: .55rem; padding: .45rem .65rem; border: 1px solid rgba(166,255,181,.22);  background: rgba(20, 20, 20, .82); backdrop-filter: blur(8px);  color: var(--color-text-muted); font: .55rem ui-monospace, monospace; transition: opacity .5s, transform .7s; }
.lab-data-stream i { width: 5px; height: 5px; border-radius: 50%; background: var(--lab-bright); box-shadow: 0 0 8px var(--lab-bright); }
.lab-data-stream b { color: var(--lab-bright); font-size: .48rem; }
.lab-data-stream--one { left: 5%; bottom: 23%; }
.lab-data-stream--two { right: 4%; top: 21%; }
.lab-success { position: absolute; z-index: 6; left: 50%; top: 77%; display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translate(-50%, 10px); transition: opacity .6s, transform .6s; color: var(--lab-bright); font: .58rem ui-monospace, monospace; }
.lab-success span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lab-bright); color: var(--lab-ink); font-size: .8rem; }
.lab-success small {  color: var(--color-text-muted); }
.lab-scene[data-step="1"] .lab-device { --device-rotate: 35deg; --device-tilt: -5deg; }
.lab-scene[data-step="2"] .lab-device { --device-rotate: 150deg; --device-tilt: 7deg; }
.lab-scene[data-step="3"] .lab-device { --device-rotate: 360deg; --device-tilt: -4deg; }
.lab-scene[data-step="1"] .lab-phone { transform: translate(-50%, -50%) rotate(5deg) translateZ(120px) translate(-34px, 55px); }
.lab-scene[data-step="2"] .lab-phone { transform: translate(-50%, -50%) rotate(-4deg) translateZ(120px) translate(-72px, 96px); }
.lab-scene[data-step="3"] .lab-phone { transform: translate(-50%, -50%) rotate(-7deg) translateZ(120px) translate(-130px, 110px); opacity: .92; }
.lab-scene[data-step="2"] .lab-data-stream--one { color: var(--lab-bright); }
.lab-scene[data-step="3"] .lab-success { opacity: 1; transform: translate(-50%, 0); }
.lab-scene[data-step="3"] .lab-data-stream { opacity: .45; }
.lab-footnote { display: flex; align-items: center; gap: 1rem; padding: 4rem 0 6rem;  color: var(--color-text-muted); font-size: .6rem; }
.lab-footnote-line { width: 80px; height: 1px; background: var(--lab-line); }

@media (max-width: 899px) {
  .lab-heading { padding-top: 4.5rem; }
  .lab-scroll { display: flex; flex-direction: column; gap: 0; }
  .lab-visual-column { order: -1; width: 100%; }
  .lab-sticky-stage { top: 68px; height: min(76vh, 650px); min-height: 470px; padding-bottom: 1rem; }
  .lab-scene { min-height: 390px; }
  .lab-step { min-height: 72vh; padding: 10vh 0; }
  .lab-device-wrap { transform: translate(-50%, -50%) scale(.78); }
  .lab-phone { transform: translate(-50%, -50%) rotate(12deg) translateZ(100px) scale(.78); }
  .lab-scene[data-step="1"] .lab-phone { transform: translate(-50%, -50%) rotate(5deg) translateZ(120px) translate(-25px, 40px) scale(.78); }
  .lab-scene[data-step="2"] .lab-phone { transform: translate(-50%, -50%) rotate(-4deg) translateZ(120px) translate(-48px, 70px) scale(.78); }
  .lab-scene[data-step="3"] .lab-phone { transform: translate(-50%, -50%) rotate(-7deg) translateZ(120px) translate(-85px, 80px) scale(.78); }
  .lab-stage-topline { font-size: .52rem; }
  .lab-stage-topline span:last-child { display: none; }
  .lab-footnote { padding-bottom: 4rem; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .lab-heading h2 { font-size: 3.55rem; }
  .lab-data-stream { font-size: .45rem; }
  .lab-data-stream--one { left: -8%; }
  .lab-data-stream--two { right: -8%; }
  .lab-device-wrap { left: 43%; }
  .lab-phone { left: 72%; }
  .lab-stage-bottomline { font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lab-orbit, .lab-pulse-ring, .lab-kicker-dot { animation: none; }
  .lab-device, .lab-phone { transition: none; }
}

*/

/* ---------- AUTH SECTION ---------- */
.auth-section {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition);
}

.auth-btn:hover {
  border-color: var(--color-green-light);
  color: var(--color-green-light);
}

.auth-btn svg {
  stroke: currentColor;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 0.8rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-green-light);
}

.user-name {
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.auth-signout-btn:hover {
  background: var(--color-accent);
  color: var(--color-green-light);
}

.auth-signout-btn svg {
  stroke: currentColor;
}

/* ---------- LOGIN PROMPT MODAL ---------- */
.login-prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.login-prompt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.login-prompt-content {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.login-prompt-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-xs);
  transition: color var(--transition);
}

.login-prompt-close:hover {
  color: var(--color-green-light);
}

.login-prompt-close svg {
  stroke: currentColor;
}

.login-prompt-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-prompt-icon svg {
  stroke: var(--color-green-light);
}

.login-prompt-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.login-prompt-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.login-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.login-prompt-google {
  width: 100%;
  justify-content: center;
}

.login-prompt-google svg {
  flex-shrink: 0;
}

.login-prompt-guest {
  width: 100%;
}

/* ---------- PRINT ---------- */
@media print {
  .site-header, .cart-drawer, .cart-toggle, .cookie-consent, .back-to-top, .login-prompt-modal { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- LIGHT GREEN VISUAL SYSTEM ----------
   The content and document structure stay untouched. These styles provide
   the white/green presentation across the shop and legal pages. */
body {
  background: var(--color-bg);
  color: var(--color-text);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(38, 104, 49, 0.06);
}

.header-inner {
  height: 72px;
}

.logo-img {
  height: 54px;
  max-width: 170px;
}

.nav-list a,
.cart-toggle,
.auth-btn,
.cart-close,
.login-prompt-title,
.success-content h1,
.cancel-content h1 {
  color: var(--color-text);
}

.nav-list a:hover,
.auth-btn:hover,
.cart-toggle:hover {
  color: var(--color-primary);
}

.nav-list a {
  position: relative;
}

@media (min-width: 900px) {
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-green-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
  }
  .nav-list a:hover::after { transform: scaleX(1); }
}

.nav-list {
  background: var(--color-surface);
}

.countdown-bar {
  background: var(--color-accent);
  border-bottom-color: var(--color-border);
}

.countdown-label,
.countdown-name {
  color: var(--color-text-muted);
}

.countdown-value,
.countdown-sep {
  color: var(--color-primary);
  text-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(74, 222, 104, 0.18), transparent 20rem),
    var(--color-bg);
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  bottom: -150px;
  border: 24px solid rgba(74, 222, 104, 0.12);
  border-radius: 50%;
}

.hero-inner,
.hero-content,
.hero-image { position: relative; z-index: 1; }

.hero-title,
.section-title {
  color: var(--color-text);
  letter-spacing: -0.035em;
}

.hero-eyebrow,
.about-motto,
.product-price {
  color: var(--color-primary);
}

.hero-subtitle,
.section-intro,
.step-content p,
.product-desc,
.about-content p,
.footer-col p,
.footer-col address,
.impressum-text,
.faq-answer,
.cookie-consent-text p,
.legal-page p,
.legal-page li,
.success-content p,
.cancel-content p {
  color: var(--color-text-muted);
}

.btn-primary,
.product-badge,
.map-badge {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 122, 58, 0.18);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 122, 58, 0.24);
}

.btn-secondary {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: #fff;
}

.btn-secondary:hover {
  background: var(--color-accent);
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
}

.section--how,
.section--faq,
.section--about {
  background: #fff;
}

.section--products {
  background: var(--color-bg);
}

.section--how::before,
.section--about::before {
  background: var(--color-green-light);
}

.step-number,
.step-icon,
.success-icon {
  background: var(--color-green-dark);
  color: var(--color-primary);
}

.step-icon svg,
.success-icon svg {
  stroke: var(--color-primary);
}

.product-card,
.map-card,
.faq-item,
.legal-page .muster-formular,
.user-menu,
.login-prompt-content {
  background: #fff;
  border-color: var(--color-border);
  box-shadow: 0 12px 36px rgba(38, 104, 49, 0.07);
}

.product-card--bundle,
.faq-item[open] {
  border-color: var(--color-green-light);
}

.product-image {
  background: var(--color-accent);
}

.guarantee-banner,
.checkout-notice {
  background: var(--color-accent);
  border-color: #b8dfbe;
}

.guarantee-banner p,
.checkout-notice {
  color: var(--color-text-muted);
}

.guarantee-banner strong,
.checkout-notice strong,
.footer-col h3,
.impressum-summary,
.footer-legal-title,
.legal-page h2,
.legal-page a,
.footer-col a,
.footer-links a:hover,
.back-to-home,
.login-prompt-close:hover {
  color: var(--color-primary);
}

.map-card {
  background: #fff;
}

.map-wrapper iframe {
  filter: saturate(0.78) contrast(0.96);
}

.map-badge {
  box-shadow: 0 8px 20px rgba(45, 122, 58, 0.24);
}

.site-footer {
  background: #14351e;
  color: #d9efdc;
  border-top-color: #c7e5cc;
}

.site-footer .footer-col p,
.site-footer .footer-col address,
.site-footer .footer-copy,
.site-footer .footer-links a,
.site-footer .impressum-text,
.site-footer .impressum-chevron {
  color: #b9d5bf;
}

.site-footer .footer-col h3,
.site-footer .footer-col a,
.site-footer .impressum-summary,
.site-footer .footer-links a:hover {
  color: var(--color-green-light);
}

.site-footer .impressum-text a {
  color: #8ee99c;
}

.footer-legal {
  border-top-color: rgba(216, 239, 220, 0.2);
}

.cart-panel,
.cart-header,
.cart-footer,
.cookie-consent,
.sticky-cta {
  background: #fff;
  border-color: var(--color-border);
}

.cart-panel {
  box-shadow: -12px 0 36px rgba(38, 104, 49, 0.12);
}

.cart-header h2,
.cart-total,
.cookie-consent-text h2 {
  color: var(--color-text);
}

.cart-empty,
.cart-item-remove,
.cookie-consent-text p {
  color: var(--color-text-muted);
}

.back-to-top {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 122, 58, 0.24);
}

.back-to-top svg,
.back-to-top:hover svg {
  stroke: #fff;
}

.back-to-top:hover {
  background: var(--color-primary-hover);
}

.login-prompt-overlay,
.cart-overlay {
  background: rgba(23, 53, 31, 0.35);
}

.login-prompt-icon {
  background: var(--color-accent);
}

.login-prompt-icon svg {
  stroke: var(--color-primary);
}

.success-page,
.cancel-page {
  background: var(--color-bg);
}

@media (max-width: 899px) {
  .site-header {
    z-index: 500;
  }
  .header-inner {
    height: 64px;
    min-height: 64px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
  }
  .logo-link {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-img {
    width: 80px;
    height: 48px;
    max-width: 80px;
    object-fit: contain;
  }
  .cart-toggle {
    flex: 0 0 40px;
    margin-left: 0;
  }
  .auth-section {
    flex: 0 0 auto;
    margin-left: 0.35rem;
  }
  .main-nav {
    flex: 0 0 40px;
    width: 40px;
    margin-left: 0.35rem;
  }
  .nav-list {
    visibility: hidden;
    box-shadow: -10px 0 32px rgba(38, 104, 49, 0.16);
  }
  .nav-list[data-open="true"] {
    visibility: visible;
  }
  .nav-list a { padding: .8rem 0; }
  .countdown-bar {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 0.9rem 0.5rem;
  }
  .countdown-inner {
    gap: 0.55rem;
  }
  .countdown-label {
    flex-basis: 100%;
    font-size: 0.9rem;
  }
  .countdown-timer {
    width: 100%;
    justify-content: space-between;
    gap: 0.15rem;
  }
  .countdown-unit {
    min-width: 0;
    flex: 1 1 0;
  }
  .countdown-value {
    font-size: clamp(1.1rem, 6vw, 1.55rem);
    letter-spacing: 0.04em;
  }
  .countdown-name {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }
  .countdown-sep {
    font-size: 1.2rem;
    margin-top: -0.8rem;
  }
  .hero::before { width: 220px; height: 220px; right: -110px; }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-value { text-shadow: none; }
}

/* ---------- DOT-MATRIX DISPLAY TYPE ---------- */
.logo-img {
  width: 250px;
  height: 250px;
  max-width: 250px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(75%) sepia(45%) saturate(680%) hue-rotate(78deg) brightness(94%) contrast(88%);
}

.hero-title,
.section-title,
.countdown-value,
.countdown-sep,
.counter-value,
.counter-suffix,
.product-price,
.about-motto {
  font-family: "Doto", var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.015em;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.035em;
}

.normal-punctuation {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-normal);
  letter-spacing: normal;
}

.hero-title,
.section-title {
  color: var(--color-primary);
  text-shadow: none;
}

.countdown-value {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-shadow: none;
  animation: none;
}

.countdown-sep {
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.72;
  text-shadow: none;
  animation: none;
}

.product-launch-placeholder {
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--color-green-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(38, 104, 49, 0.07);
}

.product-launch-kicker {
  color: var(--color-primary);
  font-family: "Doto", var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-launch-placeholder h3 {
  color: var(--color-text);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: var(--font-weight-bold);
}

.product-launch-placeholder p {
  max-width: 480px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ---------- LAUNCH WAITLIST ---------- */
.waitlist-card {
  max-width: 800px;
  margin: var(--space-xl) auto 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(38, 104, 49, 0.08);
}

.waitlist-kicker {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  font-size: .78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.waitlist-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.waitlist-card > p {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-sm);
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.waitlist-form input[type="email"]:focus {
  outline: 3px solid rgba(45, 122, 58, .2);
  border-color: var(--color-primary);
}

.waitlist-form button {
  min-height: 48px;
  white-space: nowrap;
}

.waitlist-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--color-text-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.waitlist-consent input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: .15rem;
  accent-color: var(--color-primary);
}

.waitlist-consent a {
  color: var(--color-primary);
}

.waitlist-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.waitlist-message {
  min-height: 1.4em;
  margin: var(--space-md) 0 0;
  font-size: .88rem;
}
.waitlist-message.is-success { color: var(--color-primary); }
.waitlist-message.is-error { color: #a33a3a; }

@media (max-width: 639px) {
  .waitlist-form {
    grid-template-columns: 1fr;
  }
  .waitlist-form button {
    width: 100%;
  }
}

@media (max-width: 899px) {
  .logo-img {
    width: 200px;
    height: 200px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .countdown-value { font-size: 1.35rem; letter-spacing: 0.04em; }
  .countdown-sep { font-size: 1.35rem; }
  .product-launch-placeholder { min-height: 230px; padding: var(--space-lg); }
}

/* ---------- INTERACTION POLISH ---------- */
.hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

.hero-content {
  max-width: 780px;
}

@media (hover: hover) {
  .btn,
  .product-launch-placeholder,
  .step-icon,
  .faq-item,
  .guarantee-banner,
  .map-card,
  .logo-img,
  .trust-item svg,
  .footer-col a {
    transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
  }

  .btn:hover {
    transform: translateY(-3px);
  }

  .product-launch-placeholder:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 18px 42px rgba(38, 104, 49, 0.13);
  }

  .step:hover .step-icon {
    transform: translateY(-4px) rotate(-4deg);
    box-shadow: 0 8px 18px rgba(45, 122, 58, 0.2);
  }

  .faq-item:hover {
    transform: translateX(4px);
    border-color: #a9d8b0;
  }

  .faq-item[open]:hover {
    transform: translateY(-2px);
  }

  .guarantee-banner:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px rgba(38, 104, 49, 0.11);
  }

  .map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(38, 104, 49, 0.12);
  }

  .logo-link:hover .logo-img {
    transform: scale(1.03);
  }

  .trust-item:hover svg {
    transform: scale(1.16);
  }

  .footer-col a:hover {
    transform: translateX(3px);
  }

  .countdown-unit:hover .countdown-value {
    color: var(--color-green-light);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .product-launch-placeholder,
  .step-icon,
  .faq-item,
  .guarantee-banner,
  .map-card,
  .logo-img,
  .trust-item svg,
  .footer-col a {
    transition: none;
  }
}

/* ---------- SUBTLE GLASSMORPHISM ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.66);
  border-bottom-color: rgba(214, 233, 217, 0.72);
  box-shadow: 0 8px 30px rgba(38, 104, 49, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.countdown-bar {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: var(--space-md) auto;
  border: 1px solid rgba(184, 223, 190, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 28px rgba(38, 104, 49, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.product-launch-placeholder,
.guarantee-banner,
.faq-item,
.map-card,
.login-prompt-content {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(184, 223, 190, 0.82);
  box-shadow: 0 14px 34px rgba(38, 104, 49, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.product-launch-placeholder {
  position: relative;
  overflow: hidden;
}

.product-launch-placeholder::before,
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.34), transparent 38%, rgba(74, 222, 104, 0.05));
}

.map-card {
  position: relative;
}

.map-wrapper,
.map-caption {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .countdown-bar {
    width: calc(100% - 1rem);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .countdown-bar,
  .product-launch-placeholder,
  .guarantee-banner,
  .faq-item,
  .map-card,
  .login-prompt-content {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- NFC SIGNAL WAVES ---------- */
.nfc-waves {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
}

.nfc-waves span {
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(76vw, 920px);
  height: min(28vw, 340px);
  border: 1px solid rgba(74, 222, 104, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: nfc-wave-drift 18s ease-in-out infinite;
}

.nfc-waves span:nth-child(2) {
  width: min(64vw, 760px);
  height: min(24vw, 285px);
  border-color: rgba(45, 122, 58, 0.13);
  animation-delay: -4.5s;
  animation-duration: 21s;
}

.nfc-waves span:nth-child(3) {
  width: min(52vw, 620px);
  height: min(20vw, 235px);
  border-color: rgba(74, 222, 104, 0.12);
  animation-delay: -9s;
  animation-duration: 24s;
}

.nfc-waves span:nth-child(4) {
  width: min(40vw, 480px);
  height: min(15vw, 180px);
  border-color: rgba(45, 122, 58, 0.11);
  animation-delay: -13.5s;
  animation-duration: 27s;
}

@keyframes nfc-wave-drift {
  0%, 100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -53%) rotate(-8deg) scale(1.04);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section--how,
.section--faq,
.section--about {
  background: rgba(255, 255, 255, 0.78);
}

.section--products {
  background: rgba(246, 251, 247, 0.78);
}

/* Scroll-reveal coverage for the current placeholder and FAQ components. */
.reveal-stagger .product-launch-placeholder,
.reveal-stagger .faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.is-visible .product-launch-placeholder,
.reveal-stagger.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible .product-launch-placeholder:nth-child(1),
.reveal-stagger.is-visible .faq-item:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.is-visible .product-launch-placeholder:nth-child(2),
.reveal-stagger.is-visible .faq-item:nth-child(2) { transition-delay: 0.22s; }
.reveal-stagger.is-visible .faq-item:nth-child(3) { transition-delay: 0.34s; }
.reveal-stagger.is-visible .faq-item:nth-child(4) { transition-delay: 0.46s; }
.reveal-stagger.is-visible .faq-item:nth-child(5) { transition-delay: 0.58s; }
.reveal-stagger.is-visible .faq-item:nth-child(6) { transition-delay: 0.7s; }

@media (max-width: 640px) {
  .nfc-waves span {
    top: 28%;
    width: 125vw;
    height: 44vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nfc-waves {
    display: none;
  }

  .reveal-stagger .product-launch-placeholder,
  .reveal-stagger .faq-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- POINTER NFC WAVE ---------- */
.pointer-wave {
  --pointer-x: -100px;
  --pointer-y: -100px;
  position: fixed;
  left: var(--pointer-x);
  top: var(--pointer-y);
  width: 26px;
  height: 26px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(74, 222, 104, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(74, 222, 104, 0.08);
  box-shadow: 0 0 18px rgba(74, 222, 104, 0.3), inset 0 0 10px rgba(74, 222, 104, 0.12);
  filter: blur(0.35px);
  transition: opacity 220ms ease;
}

.pointer-wave.is-visible {
  opacity: 1;
}

.pointer-wave::before,
.pointer-wave::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(74, 222, 104, 0.34);
  border-radius: 50%;
  animation: pointer-wave-expand 2.6s ease-out infinite;
}

.pointer-wave::after {
  animation-delay: -1.3s;
}

@keyframes pointer-wave-expand {
  0% {
    opacity: 0.72;
    transform: scale(0.7);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(3.5);
  }
}

@media (hover: none), (pointer: coarse) {
  .pointer-wave {
    display: none;
  }
}

/* ---------- FINAL MOBILE LAYOUT OVERRIDES ----------
   Keep the mobile header and countdown in the viewport and in normal flow. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  width: 100%;
}

@media (max-width: 899px) {
  .site-header,
  .header-inner {
    height: 64px !important;
    min-height: 64px !important;
  }

  .header-inner {
    width: 100%;
    padding: 0 var(--space-md) !important;
    overflow: visible;
  }

  .site-header {
    position: sticky;
    left: 0;
    right: 0;
    background: #fff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .logo-link {
    display: flex;
    align-items: center;
    width: 96px;
    height: 64px;
    overflow: hidden;
  }
  .logo-img {
    display: none !important;
  }
  .logo-link::after {
    content: "tipplink";
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .countdown-bar {
    position: relative;
    z-index: 1;
    display: block;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0.85rem 0.5rem !important;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
  }

  .countdown-inner {
    width: 100%;
    max-width: none;
    padding: 0 !important;
  }

  .hero {
    position: relative;
    z-index: 0;
  }

  /* The mobile navigation is a true viewport-level layer. It starts at the
     exact middle of the screen and stays above the hero, countdown and CTAs. */
  .site-header {
    z-index: 2147483640 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .main-nav {
    position: static !important;
    z-index: 2147483641 !important;
  }
  .nav-list {
    position: fixed !important;
    inset: 0 0 0 50% !important;
    width: 50vw !important;
    max-width: none !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 5.5rem 1.25rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid var(--color-border) !important;
    border-radius: 0 !important;
    box-shadow: -14px 0 36px rgba(23, 53, 31, 0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
    z-index: 2147483647 !important;
    transition: transform 280ms ease, opacity 180ms ease, visibility 0s linear 280ms !important;
  }
  .nav-list[data-open="true"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    transition-delay: 0s !important;
  }
  .nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    display: none !important;
    background: rgba(23, 53, 31, 0.42) !important;
    border: 0 !important;
    z-index: 2147483646 !important;
  }
  .nav-list[data-open="true"] + .nav-backdrop {
    display: block !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pointer-wave,
  .pointer-wave::before,
  .pointer-wave::after {
    animation: none;
    transition: none;
  }
}

/* ---------- SMOOTH FAQ OPEN/CLOSE ---------- */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 var(--space-lg);
  transition: grid-template-rows 360ms ease, padding 360ms ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: var(--space-lg);
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }
}

/* Keep hover motion active after scroll-reveal transforms are applied. */
@media (hover: hover) {
  .reveal-stagger.is-visible .product-launch-placeholder:hover {
    transform: translateY(-5px) scale(1.025);
  }

  .reveal-stagger.is-visible .faq-item:hover {
    transform: translateY(-2px) translateX(4px) scale(1.01);
  }

  .btn:hover {
    transform: translateY(-3px) scale(1.02);
  }

  .guarantee-banner:hover,
  .map-card:hover {
    transform: translateY(-4px) scale(1.012);
  }

  .countdown-unit:hover .countdown-value {
    transform: translateY(-2px) scale(1.06);
  }
}

/* ---------- SOCIAL COUNTER (Follower Instagram / TikTok) ---------- */
.section--community {
  background: var(--color-bg);
}

/* display: grid im Container bzw. flex in den Karten würde das hidden-Attribut aushebeln. */
.section--community[hidden],
.social-counter-item[hidden] {
  display: none;
}

.social-counter {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.social-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(38, 104, 49, 0.07);
}

.social-counter-icon {
  display: inline-flex;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.social-counter-value {
  font-family: "Doto", var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
  color: var(--color-primary);
  /* Gleich breite Ziffern, damit die Zahl beim Hochzählen nicht springt. */
  font-variant-numeric: tabular-nums;
}

.social-counter-label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .social-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Nur eine Plattform aktiv: eine einzelne, mittige Karte statt halbleerer Reihe. */
  .social-counter[data-single="true"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }
}
