@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Playfair+Display:ital@1&display=swap');

:root {
  --font:       'Manrope', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --bg:         #0b0b0d;
  --amber:      #F97316;
  --white:      #ede9e1;
  --muted:      #6e7785;
  --border:     rgba(255,255,255,0.07);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid-Linien */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Top Bar ── */
.site-header {
  position: relative;
  z-index: 100;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 52px;
}

/* ── Hero – enthält auch Stats und Legal Hint ── */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 28px;
  overflow: hidden;
}

/* Warmer Glow */
.hero-glow {
  position: absolute;
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.09) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 7s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1;    }
}

/* ── Schnipsel-Hülle – begrenzt auf Hero-Korridor ── */
/* mask-image erzeugt weiches Fade oben + unten ohne Opacity-Tweaking */
.snippets-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
}

/* ── Einzelne Schnipsel – dunkles Glas, zentriert ── */
.snippet {
  position: absolute;
  top: 0;
  width: 264px;
  padding: 15px 17px;
  background: rgba(12, 12, 17, 0.74);
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 6px 24px rgba(0,0,0,0.40);
  text-align: center;
  will-change: transform;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.snip-masthead {
  display: block;
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.snip-headline {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(235,228,218,0.90);
  line-height: 1.34;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.snip-body {
  font-size: 0.57rem;
  color: rgba(175,165,150,0.65);
  line-height: 1.52;
}

/* ── Feste Lanes – gleiche Dauer pro Seite, 1/3-Versatz garantiert kein Überholen ── */
/* Links: alle 27s, versetzt um 9s → immer 30vh Abstand */
.snippet.s-l1 { left: 1.5%; animation: lane-up 27s linear   0s infinite; }
.snippet.s-l2 { left: 1.5%; animation: lane-up 27s linear  -9s infinite; }
.snippet.s-l3 { left: 1.5%; animation: lane-up 27s linear -18s infinite; }

/* Rechts: alle 33s, versetzt um 11s → immer 30vh Abstand */
.snippet.s-r1 { right: 1.5%; animation: lane-down 33s linear   0s infinite; }
.snippet.s-r2 { right: 1.5%; animation: lane-down 33s linear -11s infinite; }
.snippet.s-r3 { right: 1.5%; animation: lane-down 33s linear -22s infinite; }

/* Einheitliche Keyframes – mask-image erledigt das Fade, kein opacity nötig */
@keyframes lane-up {
  from { transform: rotate(-2deg) translateY(90vh); }
  to   { transform: rotate(-2deg) translateY(-30vh); }
}

@keyframes lane-down {
  from { transform: rotate(2deg) translateY(-30vh); }
  to   { transform: rotate(2deg) translateY(90vh); }
}

/* ── Hero Content ── */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin-bottom: 22px;
}

/* ── Headline ── */
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.hl-line1 { display: block; }
.hl-line2 { display: block; }
.word-slot { display: inline; }

.word-inner {
  display: inline-block;
  color: var(--amber);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 0 48px rgba(249,115,22,0.44);
}

.letter {
  display: inline-block;
  transition: opacity 0.18s ease, transform 0.20s ease, filter 0.18s ease;
}

.hl-fixed { display: inline; color: #fff; }

/* ── Subheadline ── */
.hero-sub {
  font-size: clamp(0.9rem, 1.55vw, 1.02rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.78;
  max-width: 800px;
  margin-bottom: 24px;
  text-align: center;
}

/* ── CTA ── */
.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  padding: 15px 40px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 24px rgba(249,115,22,0.38), 0 1px 6px rgba(0,0,0,0.35);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(249,115,22,0.54), 0 2px 10px rgba(0,0,0,0.4);
}

.cta-trust {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.025em;
}

/* ── Stats – innerhalb der Hero-Section ── */
.stats-row {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 24px;
  margin-top: 4px;
}

/* Premium Glass-Kacheln */
.stat-card {
  background: rgba(14, 14, 20, 0.68);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 4px 20px rgba(0,0,0,0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 8px 28px rgba(0,0,0,0.40),
    0 0 0 1px rgba(249,115,22,0.10);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 7px;
  text-shadow: 0 0 22px rgba(249,115,22,0.32);
}

.stat-label {
  font-size: 0.56rem;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.52;
}

/* ── Legal Hint – einzeilig auf Desktop ── */
.legal-hint {
  position: relative;
  z-index: 10;
  text-align: center;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.22);
  padding: 12px 24px 0;
  max-width: 820px;
  width: 100%;
  line-height: 1.5;
  white-space: nowrap;
}

/* ── SEO Keyword Strip ── */
.keyword-strip {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px 68px;
  max-width: 900px;
  margin: 0 auto;
}

.keyword-row {
  font-size: 0.70rem;
  font-weight: 500;
  color: rgba(255,255,255,0.32);
  text-align: center;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.kw {
  color: rgba(249,115,22,0.72);
  font-weight: 600;
}

.kw-intro {
  color: rgba(255,255,255,0.48);
  font-weight: 500;
}

.keyword-desc {
  font-size: 0.78rem;
  color: rgba(237,233,225,0.46);
  line-height: 1.84;
  text-align: center;
  max-width: 720px;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 16px 52px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links { display: flex; gap: 22px; }

.footer-links a {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255,255,255,0.19);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-links a:hover { color: rgba(255,255,255,0.42); }

.footer-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.10);
}

/* ── Mobile ── */
@media (max-width: 800px) {
  .site-header { height: 44px; padding: 0 20px; }
  .hero { padding: 20px 20px 20px; }
  .snippet { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .keyword-strip { padding: 28px 20px 44px; }
.site-footer { padding: 14px 20px; flex-direction: column; align-items: flex-start; }
  .legal-hint { white-space: normal; font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .snippet { animation: none !important; display: none; }
  .hero-glow { animation: none; }
  .letter { transition: none !important; }
}

/* ── Legal Pages (Impressum / Datenschutz) ── */
.legal-back {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.26);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.18s;
}

.legal-back:hover { color: rgba(255,255,255,0.52); }

.legal-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.legal-content h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.1;
}

.legal-content h2 {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(237,233,225,0.72);
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.legal-content p {
  font-size: 0.83rem;
  color: rgba(237,233,225,0.50);
  line-height: 1.82;
  margin-bottom: 10px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 10px;
}

.legal-content li {
  font-size: 0.83rem;
  color: rgba(237,233,225,0.50);
  line-height: 1.82;
  padding-left: 14px;
  position: relative;
}

.legal-content li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(249,115,22,0.55);
}

.legal-todo {
  display: inline-block;
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.24);
  color: #F97316;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px 3px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.legal-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 28px 0;
}

.legal-note {
  font-size: 0.80rem;
  color: rgba(237,233,225,0.38);
  line-height: 1.78;
  font-style: italic;
}

.legal-link {
  color: rgba(255,255,255,0.42);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}

.legal-link:hover { color: rgba(255,255,255,0.68); }

@media (max-width: 800px) {
  .legal-content { padding: 20px 20px 48px; }
}
