/* ==========================================================================
   Design „Nachtschicht“ – Akzent Sonnengelb (#FFC629)
   Dunkle Grundfläche, Markenfarben aus dem Logo (Lila · Blau · Türkis),
   Gelb nur sparsam für Knöpfe, Hervorhebungen und Zähler.
   Wird NACH main.css geladen und überschreibt nur die Optik.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --acc: #FFC629;
  --acc-dark: #F2B400;
  --on-acc: #151935;

  --night: #0E1122;
  --night-2: #151935;
  --night-3: #1C2140;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);

  --color-primary: #7FB2E5;
  --color-primary-dark: #A9CCF0;
  --color-accent: #20c1d5;
  --color-accent-dark: #20c1d5;
  --color-bg: var(--night);
  --color-bg-alt: var(--night-3);
  --color-surface: var(--night-2);
  --color-border: var(--line);
  --color-text: #F3F4FA;
  --color-text-muted: #A9B0C6;
  --color-footer-bg: #090B17;
  --color-footer-text: #C3C9DB;
  --color-badge-bg: rgba(32, 193, 213, 0.14);
  --color-badge-text: #7FE3F0;
  --color-coming-soon-bg: var(--acc);
  --color-coming-soon-text: var(--on-acc);

  --font-heading: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;

  --shadow-card: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-card-hover: 0 24px 50px -20px rgba(0, 0, 0, 0.9);

  --gradient-text: linear-gradient(100deg, #8a4fd0 0%, #4f8fd0 50%, #20c1d5 100%);
}

/* ---------------------------------------------------------------------- */
/* Grundlagen */
/* ---------------------------------------------------------------------- */

body {
  background-color: var(--night);
  background-image:
    radial-gradient(900px circle at 0% 0%, rgba(87, 44, 126, 0.55), transparent 60%),
    radial-gradient(800px circle at 100% 30%, rgba(60, 110, 160, 0.28), transparent 60%),
    radial-gradient(900px circle at 10% 90%, rgba(32, 193, 213, 0.14), transparent 60%);
  color: var(--color-text);
  overflow-x: hidden;
}
html { overflow-x: hidden; }
main { overflow-x: clip; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--color-text);
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
h3 { font-size: 1.4rem; letter-spacing: 0.02em; }

/* Fließtext-Überschriften in Listen/Produktdetails nicht zu laut */
.product-detail h3,
.request-summary h3 { font-size: 1.25rem; }

a { color: var(--color-primary-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline-color: var(--acc); }

.section--alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading h2 .hl { color: var(--acc); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}

.text-acc { color: var(--acc); }
.text-brand {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------- */
/* Header */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 17, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.7rem;
}

.site-header__logo { display: flex; align-items: center; gap: 0.7rem; color: var(--color-text); }
.site-header__logo:hover { text-decoration: none; }
.site-header__logo img { height: 40px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.16em; }
.brand-word small { font-size: 0.62rem; letter-spacing: 0.45em; color: var(--color-text-muted); margin-top: 0.3rem; }

.site-nav a { color: var(--color-text); font-weight: 600; }
.site-nav a:hover { color: var(--acc); }
.site-nav a[aria-current="page"] { color: var(--acc); }

.site-nav__request {
  background: var(--acc);
  color: var(--on-acc) !important;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-weight: 700;
}
.site-nav__request:hover { background: var(--acc-dark); }

.nav-toggle {
  color: var(--color-text);
  border-color: var(--line-strong);
  background: transparent;
}

@media (max-width: 760px) {
  .site-nav.is-open {
    top: 100%;
    background: var(--night-2);
    border-bottom: 1px solid var(--line);
  }
  /* Auf dem Handy übernimmt die feste Anfrage-Leiste unten */
  .site-nav .site-nav__request { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Buttons */
/* ---------------------------------------------------------------------- */

.btn { border-radius: 999px; font-weight: 700; padding: 0.85rem 1.5rem; }
.btn:hover { box-shadow: none; }

.btn--primary,
.btn--accent { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.btn--primary:hover,
.btn--accent:hover { background: var(--acc-dark); color: var(--on-acc); }

.btn--outline,
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--line-strong);
}
.btn--outline:hover,
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); background: transparent; }

/* ---------------------------------------------------------------------- */
/* Hero */
/* ---------------------------------------------------------------------- */

.hero {
  background: transparent;
  border-bottom: 0;
  padding-block: 3.5rem 2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero__intro { max-width: none; margin-bottom: 0; }
.hero__intro h1 { line-height: 0.92; margin-bottom: 1.2rem; }
.hero__slogan { color: #C3C9DB; font-size: 1.1rem; max-width: 46ch; }

.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.hero__perks li::before { content: "✦ "; color: var(--acc); }

.hero__media { position: relative; }

.hero-carousel {
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--night-3);
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.hero-carousel__arrow { background: rgba(14, 17, 34, 0.7); color: #fff; }
.hero-carousel__arrow:hover { background: var(--acc); color: var(--on-acc); }
.hero-carousel__dot { background: rgba(255, 255, 255, 0.4); }
.hero-carousel__dot.is-active { background: var(--acc); }

.hero-sticker {
  position: absolute;
  z-index: 5;
  top: -18px;
  right: -12px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--on-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1;
  transform: rotate(-10deg);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero { padding-block: 2rem 1rem; }
  .hero-sticker { width: 88px; height: 88px; font-size: 0.95rem; top: -12px; right: -4px; }
  .hero-carousel { aspect-ratio: 4 / 3; }
}

/* Schräges Laufband mit Kategorien */
.marquee {
  overflow: hidden;
  background: var(--acc);
  color: var(--on-acc);
  transform: rotate(-1.5deg);
  margin: 2.5rem -1rem 1rem;
  padding: 0.75rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.5rem;
  animation: marquee 32s linear infinite;
}
.marquee__track span::after { content: "✦"; margin-left: 2rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Auch bei „Bewegung reduzieren“ / Energiesparmodus am Handy weiterlaufen, aber deutlich langsamer */
@media (prefers-reduced-motion: reduce) { .marquee .marquee__track { animation: marquee 75s linear infinite !important; } }

/* ---------------------------------------------------------------------- */
/* Über-uns */
/* ---------------------------------------------------------------------- */

.about-block__logo { height: 110px; }

/* ---------------------------------------------------------------------- */
/* Karten & Kategorien */
/* ---------------------------------------------------------------------- */

.card {
  background: var(--night-2);
  border: 1px solid var(--line);
  color: var(--color-text);
}
.card:hover { border-color: rgba(255, 198, 41, 0.55); }
a.card:hover { text-decoration: none; }
.card__title { font-family: var(--font-body); font-weight: 700; text-transform: none; font-size: 1.05rem; letter-spacing: 0; }

.card__image--illustration,
.category-tile--illustration,
.product-gallery__main--illustration {
  background: linear-gradient(135deg, #1E2447 0%, #272E58 100%);
}

.category-tile { border: 1px solid var(--line); min-height: 240px; }
.category-tile::after { background: linear-gradient(180deg, rgba(14,17,34,0) 30%, rgba(14,17,34,0.92) 100%); }
.category-tile:hover { text-decoration: none; border-color: var(--acc); }
.category-tile__label {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.category-tile__badge { border-radius: 999px; font-weight: 700; right: auto; left: var(--space-1); }

.badge { border-radius: 999px; }
.badge--paket { background: var(--acc); color: var(--on-acc); }

.placeholder-tag { background: rgba(255, 255, 255, 0.08); color: var(--color-text-muted); }
.example-image-tag { background: rgba(14, 17, 34, 0.8); }

/* ---------------------------------------------------------------------- */
/* So funktioniert's – große umrandete Zahlen */
/* ---------------------------------------------------------------------- */

.step {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  padding: 1.4rem 0 0;
}
.step__number {
  display: block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acc);
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--color-text-muted); }

/* ---------------------------------------------------------------------- */
/* Produktdetail */
/* ---------------------------------------------------------------------- */

.product-detail h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); }
.product-gallery__main { border: 1px solid var(--line); }
.product-gallery__thumbs img.is-active { border-color: var(--acc); }

.product-price {
  font-family: var(--font-heading);
  color: var(--acc);
  font-size: 2rem;
  text-transform: uppercase;
}
.product-price small { color: var(--color-text-muted); font-size: 0.95rem; text-transform: none; }

.spec-list li { color: #C3C9DB; border-bottom-color: var(--line); }

.notice-box {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--acc);
  color: var(--color-text);
}
.notice-box--error { background: #3a1620; color: #ffc9cf; border-left-color: #ff5d6c; }

/* ---------------------------------------------------------------------- */
/* Anfrage-Seite & Formulare */
/* ---------------------------------------------------------------------- */

.request-item { background: var(--night-2); border: 1px solid var(--line); }
.request-summary { background: var(--night-3); border: 1px solid var(--line); }
.qty-control button { background: var(--night-3); color: var(--color-text); border-color: var(--line-strong); }

.form-field input,
.form-field textarea,
select {
  background: var(--night-3);
  color: var(--color-text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #7D859E; }
input[type="date"] { color-scheme: dark; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--acc); }

.toast { background: var(--acc); color: var(--on-acc); font-weight: 700; }

/* ---------------------------------------------------------------------- */
/* FAQ, Footer, Lightbox */
/* ---------------------------------------------------------------------- */

.faq-item { border-bottom-color: var(--line); }
.faq-item summary {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.05rem;
}
.faq-item summary::after { color: var(--acc); }

.site-footer { border-top: 1px solid var(--line); }
.site-footer a:hover { color: var(--acc); text-decoration: none; }

.google-block h2 .hl { color: var(--acc); }

/* ---------------------------------------------------------------------- */
/* Feste Anfrage-Leiste (nur Handy) */
/* ---------------------------------------------------------------------- */

.cart-bar { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: 92px; }

  .cart-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.6rem 0.6rem 0.7rem;
    border-radius: 20px;
    background: rgba(28, 33, 64, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-strong);
    box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.6);
    color: var(--color-text);
  }
  .cart-bar:hover { text-decoration: none; }

  .cart-bar__icon {
    position: relative;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #572c7e, #3c6ea0 60%, #20c1d5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  .cart-bar__icon svg { width: 22px; height: 22px; }
  .cart-bar__count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--acc);
    color: var(--on-acc);
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1C2140;
  }
  .cart-bar.is-empty .cart-bar__count { display: none; }

  .cart-bar__text { flex: 1; min-width: 0; line-height: 1.25; }
  .cart-bar__text b,
  .cart-bar__text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-bar__text b { font-size: 0.95rem; }
  .cart-bar__text small { color: var(--color-text-muted); font-size: 0.8rem; }

  .cart-bar__go {
    flex: none;
    background: var(--acc);
    color: var(--on-acc);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
  }

  /* Hinweis-Toast über der Leiste anzeigen */
  .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

  /* Auf der Anfrage-Seite selbst braucht es die Leiste nicht */
  body.page-anfrage .cart-bar { display: none; }
  body.page-anfrage { padding-bottom: 0; }
}

.price-note { margin: 0.35rem 0 1.6rem; font-size: 0.8rem; color: var(--color-text-muted); }

/* Widerruf */
.footer-widerruf { display: flex; align-items: flex-start; }
.site-footer a.btn-widerruf { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 999px; border: 2px solid var(--acc); color: var(--acc); font-weight: 700; }
.site-footer a.btn-widerruf:hover { background: var(--acc); color: var(--on-acc); }
.legal h2 { margin-top: 2rem; }
.lead-note { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--color-surface); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.95rem; }
.widerruf { max-width: 640px; }
.widerruf-form label { display: block; margin: 0 0 1rem; font-weight: 600; }
.widerruf-form input { display: block; width: 100%; margin-top: 0.35rem; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--color-surface); color: var(--color-text); font: inherit; }
.widerruf-zusammenfassung { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--line); }
.widerruf-zusammenfassung dt { color: var(--color-text-muted); }
.widerruf-zusammenfassung dd { margin: 0; font-weight: 600; word-break: break-word; }
.widerruf-knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.form-error { color: #ff8a80; font-weight: 600; }
.small-note { margin-top: 2rem; color: var(--color-text-muted); font-size: 0.9rem; }
.muster-formular { margin-top: 1.5rem; padding: 0.9rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--color-surface); font-size: 0.92rem; color: var(--color-text-muted); }
.muster-formular summary { cursor: pointer; font-weight: 600; color: var(--color-text); }
.muster-formular ul { margin-top: 0.8rem; }
