/* ============================================================
   Neurobyte Media — One-Pager
   Design-Tokens übernommen aus der Neurobyte-Solution-Website
   (Elfenbein · Gold · Salbei, HELL-only)
   ============================================================ */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/PlayfairDisplay-Variable.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/Inter-Variable.woff2") format("woff2-variations");
}

:root {
  --background: 40 43% 94%;
  --foreground: 36 30% 11%;
  --card: 42 50% 97%;
  --surface: 42 36% 95%;
  --primary: 36 45% 32%;
  --muted-foreground: 38 16% 38%;
  --accent: 38 80% 32%;
  --accent-foreground: 42 50% 97%;
  --fresh: 95 20% 56%;
  --mist: 205 24% 59%;
  --steel: 206 26% 44%;
  --ice: 202 64% 34%;
  --border: 40 25% 84%;
  --radius: 0.625rem;

  --gradient-gold: linear-gradient(135deg, hsl(38 70% 40%) 0%, hsl(44 84% 52%) 45%, hsl(38 72% 42%) 100%);
  --shadow-3: 0 6px 16px hsl(36 30% 11% / 0.08), 0 2px 4px hsl(36 30% 11% / 0.05);
  --shadow-5: 0 24px 56px hsl(36 30% 11% / 0.13), 0 8px 16px hsl(36 30% 11% / 0.07);
  --shadow-gold-glow: 0 8px 40px hsl(38 80% 40% / 0.20), 0 0 1px hsl(38 80% 32% / 0.4);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-feature-settings: "liga" 1, "calt" 1;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: clip;
}

::selection { background: hsl(var(--accent) / 0.25); color: hsl(var(--foreground)); }

a { color: inherit; }
a:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Typo-Helfer ---------- */

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; text-wrap: balance; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1.5px;
  background-image: var(--gradient-gold);
}

.lead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 38rem;
}

/* Gold-Foil-Headline — Unterlängen-Schutz beachten (padding-bottom + neg. margin) */
.text-gold-foil {
  background-image: linear-gradient(
    110deg,
    hsl(36 66% 34%) 0%,
    hsl(42 80% 44%) 28%,
    hsl(46 86% 50%) 45%,
    hsl(42 80% 44%) 62%,
    hsl(36 66% 34%) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-rendering: geometricPrecision;
  transform: translateZ(0);
  animation: gold-shimmer 7s ease-in-out infinite;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  display: inline-block;
  line-height: 1.15;
}
@keyframes gold-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, hsl(var(--border)) 20%, hsl(var(--border)) 80%, transparent);
}
.gold-divider {
  height: 1.5px;
  width: 4rem;
  background-image: var(--gradient-gold);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-block: 1.1rem;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding-block: 0.65rem;
  background: hsl(var(--card) / 0.95);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 2px 6px hsl(36 30% 11% / 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.15rem; text-decoration: none; }
.brand-seal {
  width: 34px;
  aspect-ratio: 1;
  background-color: hsl(var(--steel));
  -webkit-mask: url("/media/brand/n-mark-mask.png") no-repeat center / contain;
  mask: url("/media/brand/n-mark-mask.png") no-repeat center / contain;
  flex-shrink: 0;
}
.brand-wordmark { height: 46px; width: auto; margin-left: -0.5rem; }

.header-cta {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: hsl(var(--accent-foreground));
  background-image: var(--gradient-gold);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  box-shadow: var(--shadow-gold-glow);
  transition: transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

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

.hero {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* warmer Glow oben rechts, dezent */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(38 60% 42% / 0.10), transparent 65%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 1.1rem 0 1.4rem;
}
.hero .lead { margin-bottom: 2.2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn-primary {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: hsl(var(--accent-foreground));
  background-image: var(--gradient-gold);
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-gold-glow);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: hsl(var(--primary));
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.6);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.btn-ghost:hover { border-color: hsl(var(--accent) / 0.5); background: hsl(var(--card)); }

.hero-note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--fresh));
  box-shadow: 0 0 0 4px hsl(var(--fresh) / 0.2);
}

/* Digitale Stele — funktionales „Screen"-Element (bewusst eine Box) */
.stele { display: flex; flex-direction: column; align-items: center; }
.stele-screen {
  width: min(100%, 270px);
  aspect-ratio: 9 / 14;
  border-radius: 1.1rem;
  border: 6px solid hsl(34 16% 12%);
  background: hsl(34 16% 9%);
  box-shadow: var(--shadow-5);
  position: relative;
  overflow: hidden;
}
.stele-foot {
  width: 90px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: hsl(34 16% 14%);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.4rem;
  opacity: 0;
  animation: slide-cycle 12s infinite;
  text-align: left;
}
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
@keyframes slide-cycle {
  0% { opacity: 0; transform: scale(1.03); }
  4%, 30% { opacity: 1; transform: scale(1); }
  36%, 100% { opacity: 0; }
}
.slide .s-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.slide .s-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}
.slide .s-sub { font-size: 0.78rem; opacity: 0.85; }
.slide-gold { background: linear-gradient(160deg, hsl(38 55% 22%), hsl(42 70% 38%)); color: hsl(45 80% 92%); }
.slide-gold .s-eyebrow { color: hsl(46 90% 70%); }
.slide-ice { background: linear-gradient(160deg, hsl(206 40% 18%), hsl(202 55% 34%)); color: hsl(203 70% 92%); }
.slide-ice .s-eyebrow { color: hsl(203 72% 72%); }
.slide-sage { background: linear-gradient(160deg, hsl(95 18% 24%), hsl(95 22% 40%)); color: hsl(90 30% 93%); }
.slide-sage .s-eyebrow { color: hsl(90 35% 75%); }
.stele-caption {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* ---------- Sections (editorial, keine Kästchen-Flut) ---------- */

section { padding-block: clamp(4rem, 9vh, 6.5rem); }
.section-alt { background-color: hsl(var(--surface)); }

.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  margin: 1rem 0 1.1rem;
}
.section-head p { color: hsl(var(--muted-foreground)); font-size: 1.05rem; }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.two-col h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.two-col p + p { margin-top: 0.9rem; }
.two-col p { color: hsl(var(--muted-foreground)); }
.two-col strong { color: hsl(var(--foreground)); font-weight: 600; }

/* Nummerierte Schritte — editorial mit Hairlines statt Karten */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid hsl(var(--border));
}
.step:last-child { border-bottom: 1px solid hsl(var(--border)); }
.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
}
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.45rem; }
.step p { color: hsl(var(--muted-foreground)); max-width: 40rem; }

/* Stadt-Argumente — Liste mit Salbei-Punkten */
.city-list { list-style: none; display: grid; gap: 1.4rem; }
.city-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: baseline;
}
.city-list .tick {
  width: 9px; height: 9px; border-radius: 50%;
  background: hsl(var(--fresh));
  transform: translateY(1px);
}
.city-list strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.city-list span { color: hsl(var(--muted-foreground)); font-size: 0.98rem; }

/* Zwei Zielgruppen */
.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.audience { border-top: 2px solid transparent; padding-top: 1.6rem; position: relative; }
.audience::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 4rem;
  height: 2px;
}
.audience-werben::before { background-image: var(--gradient-gold); }
.audience-standort::before { background: hsl(var(--ice)); }
.audience .a-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.audience-werben .a-kicker { color: hsl(var(--accent)); }
.audience-standort .a-kicker { color: hsl(var(--ice)); }
.audience h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.7rem; }
.audience p { color: hsl(var(--muted-foreground)); margin-bottom: 1.1rem; }
.audience a { font-weight: 600; color: hsl(var(--primary)); text-decoration: none; border-bottom: 1px solid hsl(var(--accent) / 0.5); }
.audience a:hover { color: hsl(var(--accent)); }

/* ---------- Dunkles Espresso-Band (Mutterfirma) ---------- */

.band-dark {
  background: linear-gradient(135deg, hsl(34 16% 7%), hsl(34 18% 10%));
  color: hsl(42 50% 97%);
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  top: 12%; right: 8%;
  width: 16rem; height: 16rem;
  border-radius: 50%;
  border: 1px solid hsl(44 85% 60% / 0.08);
  pointer-events: none;
}
.band-dark .eyebrow { color: hsl(44 85% 60%); }
.band-dark h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin: 1rem 0 1.1rem; }
.band-dark p { color: hsl(40 18% 72%); max-width: 42rem; }
.band-dark .text-gold-foil {
  background-image: linear-gradient(110deg, hsl(40 72% 52%) 0%, hsl(46 92% 70%) 45%, hsl(40 72% 52%) 100%);
  background-size: 220% auto;
}
.band-dark .band-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-weight: 600;
  color: hsl(44 85% 60%);
  text-decoration: none;
  border-bottom: 1px solid hsl(44 85% 60% / 0.4);
  padding-bottom: 2px;
}
.band-dark .band-link:hover { border-bottom-color: hsl(44 85% 60%); }

/* ---------- Kontakt ---------- */

.contact { text-align: center; }
.contact .section-head { margin-inline: auto; }
.contact .cta-row { justify-content: center; margin-top: 0.5rem; }
.contact .contact-mail {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
}
.contact .contact-mail a { color: hsl(var(--primary)); font-weight: 600; text-decoration: none; border-bottom: 1px solid hsl(var(--accent) / 0.5); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(135deg, hsl(34 16% 7%), hsl(34 18% 10%));
  color: hsl(40 18% 72%);
  padding-block: 3rem 2.5rem;
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.15rem; }
.footer-brand .brand-seal { background-color: hsl(206 30% 66%); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid hsl(40 18% 72% / 0.15);
  padding-top: 1.6rem;
}
.site-footer a { color: hsl(42 50% 90%); text-decoration: none; }
.site-footer a:hover { color: hsl(44 85% 60%); }
.footer-links { display: flex; gap: 1.5rem; }

/* ---------- Scroll-Reveals ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .text-gold-foil, .band-dark .text-gold-foil { animation: none; }
  .slide { animation-duration: 18s; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .stele-screen { width: min(60vw, 220px); }
  .hero { padding-top: 7.5rem; }
  .two-col, .audiences { grid-template-columns: 1fr; }
  .step { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
  .brand-wordmark { height: 38px; }
  .header-cta { padding: 0.5rem 0.95rem; font-size: 0.84rem; }
}

/* Schmale Screens: Header muss in 360–430px passen (Wortmarke + CTA) */
@media (max-width: 480px) {
  .brand-seal { width: 26px; }
  .brand-wordmark { height: 28px; margin-left: -0.35rem; }
  .header-cta { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
  .footer-brand .brand-wordmark { height: 32px; }
}
