/* ==========================================================================
   Photo BlowUp — Editorial Tech Design
   © 2026 Engelmann Software GmbH
   ========================================================================== */

/* ==========================================================================
   LOCAL FONTS (DSGVO-konform, kein externes CDN)
   Schriftdateien werden aus /assets/fonts/ geladen.
   Anleitung zum Download: siehe /assets/fonts/README.md
   ========================================================================== */

/* === Onest (Body) === */
/* Nur regular 400; Browser synthetisiert 300/500/600/700 — minimaler visueller Unterschied bei diesen Stufen */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/onest-v9-latin-regular.woff2') format('woff2');
}

/* === Instrument Serif (Display) === */
/* Nur regular; Browser synthetisiert italic mit Schräglage — bei Display-Größen kaum unterscheidbar */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-v5-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-v5-latin-regular.woff2') format('woff2');
  font-synthesis: style;
}

/* === JetBrains Mono === */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
}

:root {
  /* Refined Editorial-Tech Palette */
  --paper: #F4F1EA;
  --paper-deep: #EBE6DB;
  --ink: #14110D;
  --ink-soft: #3A352D;
  --ink-muted: #5d564a;
  --line: #D8D1C0;
  --line-soft: #E5DFD0;

  --signal: #5fa83a;
  --signal-soft: #DEEFD0;
  --gold: #D9A441;
  --gold-soft: #F0DDA8;
  --moss: #4A5D3A;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: 980px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .num { color: var(--signal); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  display: inline-block;
}

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1280px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand img { width: 28px; height: 28px; }
.brand em { font-style: italic; color: var(--signal); }

.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a {
  color: var(--ink-soft); position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--signal); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.nav-links a:hover::after { transform: scaleX(1); }

.lang-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-soft);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 14.5px;
  letter-spacing: -0.01em; cursor: pointer;
  transition: all 0.25s cubic-bezier(.2,.7,.3,1);
  border: none; text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--signal); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-signal { background: var(--signal); color: var(--paper); }
.btn-signal:hover { background: var(--ink); transform: translateY(-1px); }

/* HERO */
.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; }

.hero-meta {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.hero-meta .divider { width: 1px; height: 14px; background: var(--line); }

.hero-headline {
  font-size: clamp(54px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  font-weight: 400;
}
.hero-headline em { font-style: italic; color: var(--signal); font-weight: 400; display: inline-block; }
.hero-headline .strike { position: relative; display: inline-block; }
.hero-headline .strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%;
  height: 5px; background: var(--signal); transform: rotate(-2deg);
}

.hero-lead {
  font-size: 18px; line-height: 1.55; color: var(--ink-soft);
  max-width: 520px; font-weight: 400;
  margin-bottom: 36px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-spec {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-spec span { display: inline-flex; align-items: center; gap: 6px; }
.hero-spec span::before { content: '✓'; color: var(--signal); font-weight: 700; }

/* HERO VISUAL — Boxshot */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-boxshot {
  will-change: transform;
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(20, 17, 13, 0.25)) drop-shadow(0 12px 24px rgba(20, 17, 13, 0.15));
  animation: boxFloat 6s ease-in-out infinite;
  position: relative; z-index: 2;
}
@keyframes boxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-badge-pct {
  position: absolute;
  top: 4%; right: -4%;
  background: var(--signal);
  color: var(--paper);
  padding: 18px 24px 16px;
  border-radius: 18px;
  z-index: 4;
  transform: rotate(8deg);
  box-shadow: 0 16px 36px rgba(95, 168, 58, 0.35), 0 4px 12px rgba(20, 17, 13, 0.15);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.hero-badge-pct .badge-num {
  font-family: var(--serif); font-style: italic;
  font-size: 64px; line-height: 0.85;
  letter-spacing: -0.04em;
}
.hero-badge-pct .badge-pct {
  font-family: var(--serif); font-style: italic;
  font-size: 28px; margin-top: -4px; opacity: 0.9;
}
.hero-badge-pct .badge-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-top: 8px; opacity: 0.85;
}

.hero-tag-bottom {
  position: absolute;
  bottom: 6%; left: -8%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  box-shadow: 0 16px 36px rgba(20, 17, 13, 0.12);
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
}
.hero-tag-bottom strong { color: var(--ink); font-weight: 600; display: block; }
.hero-tag-bottom .hero-tag-sub {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--ink-muted);
}
.hero-tag-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(158, 228, 110, 0.35);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(158, 228, 110, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(158, 228, 110, 0.15); }
}

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; background: var(--paper-deep); position: relative;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-item {
  font-family: var(--serif); font-size: 26px; font-style: italic;
  color: var(--ink); display: inline-flex; align-items: center; gap: 60px;
}
.marquee-item::after {
  content: '✦'; color: var(--signal); font-style: normal; font-size: 14px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTIONS */
.section { padding: 130px 0; position: relative; }
.section-deep { background: var(--paper-deep); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink .eyebrow { color: rgba(244, 241, 234, 0.5); }
.section-ink .eyebrow .num { color: var(--gold); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; margin-bottom: 80px; align-items: end;
}
.section-head h2 {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.035em; line-height: 0.98;
}
.section-head h2 em { font-style: italic; color: var(--signal); }
.section-head .lead {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.55; max-width: 460px;
}
.section-ink .section-head .lead { color: rgba(244, 241, 234, 0.7); }

/* PROBLEM CARDS */
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.problem {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.problem:last-child { border-right: none; padding-right: 0; }
.problem .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--signal);
  margin-bottom: 24px; display: block;
}
.problem h3 { font-size: 28px; margin-bottom: 12px; line-height: 1.1; }
.problem p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

/* FEATURE LIST EDITORIAL */
.features-editorial { display: grid; grid-template-columns: 1fr; gap: 0; }
.feat-row {
  display: grid; grid-template-columns: 80px 1fr 2fr 1fr;
  gap: 32px; padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: baseline; transition: background 0.3s;
}
.feat-row:last-child { border-bottom: 1px solid var(--line); }
.feat-row:hover {
  background: var(--paper-deep);
  padding-left: 12px; padding-right: 12px;
  margin-left: -12px; margin-right: -12px;
  border-radius: 4px;
}
.feat-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--signal); }
.feat-title {
  font-family: var(--serif); font-size: 28px;
  letter-spacing: -0.02em; line-height: 1.05;
}
.feat-title em { font-style: italic; color: var(--signal); }
.feat-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.feat-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); text-align: right;
}

/* ALGORITHMS — DARK */
.algo-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.algo {
  padding: 48px 36px;
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 18px; position: relative; overflow: hidden;
  transition: all 0.3s;
}
.algo:hover { background: rgba(244, 241, 234, 0.08); transform: translateY(-4px); }
.algo .algo-num {
  font-family: var(--serif); font-style: italic;
  font-size: 96px; color: var(--gold);
  line-height: 0.85; position: absolute;
  top: 20px; right: 28px; opacity: 0.85;
}
.algo .algo-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 100px; display: block;
}
.algo h3 { font-size: 30px; margin-bottom: 14px; line-height: 1.05; letter-spacing: -0.02em; }
.algo p { font-size: 14.5px; color: rgba(244, 241, 234, 0.7); line-height: 1.55; }
.algo .vis { margin-top: 28px; height: 60px; display: flex; align-items: center; gap: 4px; }
.algo .vis-bar { background: var(--gold); width: 6px; border-radius: 1px; }

/* SCREENSHOT */
.screenshot-stage { position: relative; margin: 0 auto; max-width: 1100px; }
.screenshot-frame {
  background: linear-gradient(180deg, #2a241c 0%, #14110D 100%);
  padding: 14px; border-radius: 22px;
  box-shadow: 0 60px 120px rgba(20, 17, 13, 0.3), 0 20px 40px rgba(20, 17, 13, 0.15);
}
.screenshot-frame img { border-radius: 14px; width: 100%; }
.screenshot-tag {
  position: absolute; background: var(--paper);
  border: 1px solid var(--line); padding: 14px 18px;
  border-radius: 12px; font-size: 13px; color: var(--ink-soft);
  box-shadow: 0 12px 30px rgba(20, 17, 13, 0.1);
  display: flex; align-items: center; gap: 10px;
}
.screenshot-tag strong { color: var(--ink); font-weight: 600; }
.screenshot-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(158, 228, 110, 0.35);
}
.screenshot-tag-1 { top: 60px; left: -50px; }
.screenshot-tag-2 { bottom: 80px; right: -50px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 24px 0 0; border-right: 1px dashed var(--line); position: relative; }
.step:last-child { border-right: none; }
.step-marker {
  font-family: var(--serif); font-style: italic;
  font-size: 80px; line-height: 1; color: var(--signal);
  margin-bottom: 24px; display: block;
}
.step h3 { font-size: 22px; margin-bottom: 10px; line-height: 1.15; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* USE CASES */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.usecase {
  padding: 36px;
  border: 1px solid var(--line);
  margin-left: -1px; margin-top: -1px;
  position: relative; background: var(--paper);
  transition: background 0.3s;
}
.usecase:hover { background: var(--paper-deep); }
.usecase-icon { font-size: 36px; margin-bottom: 28px; display: block; }
.usecase h3 { font-size: 22px; margin-bottom: 8px; line-height: 1.15; }
.usecase p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.usecase .arrow {
  position: absolute; top: 36px; right: 36px;
  font-size: 20px; color: var(--ink-muted);
  transition: all 0.3s;
}
.usecase:hover .arrow { color: var(--signal); transform: translate(3px, -3px); }

/* SPECS */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.spec h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
  margin-bottom: 20px; font-weight: 500;
}
.spec ul { list-style: none; }
.spec li {
  padding: 12px 0; font-size: 14.5px;
  color: rgba(244, 241, 234, 0.85);
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  font-family: var(--sans);
}
.spec li strong {
  font-family: var(--serif); font-size: 17px;
  font-weight: 400; color: var(--gold); font-style: italic;
}

/* TRUST */
.trust-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.trust-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.trust-stat strong {
  font-family: var(--serif); font-style: italic;
  font-size: 88px; line-height: 0.9;
  color: var(--gold); display: block;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.trust-stat span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
}

/* PRICING */
.pricing {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.price { padding: 56px 48px; background: var(--paper); position: relative; }
.price + .price { border-left: 1px solid var(--line); }
.price-featured { background: var(--ink); color: var(--paper); }
.price-featured h3, .price-featured .price-tag em { color: var(--paper); }
.price-featured .price-features li { color: rgba(244, 241, 234, 0.85); border-color: rgba(244, 241, 234, 0.1); }
.price-featured .price-features li::before { color: var(--gold); }
.price-featured .price-note { color: rgba(244, 241, 234, 0.6); }
.price-tag-row { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 12px; }
.price-tag {
  font-family: var(--serif); font-size: 80px;
  line-height: 0.9; letter-spacing: -0.04em;
}
.price-tag em { font-style: italic; color: var(--signal); }
.price-strike {
  text-decoration: line-through;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-muted);
}
.price-featured .price-strike { color: rgba(244, 241, 234, 0.5); }
.price h3 {
  font-size: 22px; font-family: var(--sans);
  font-weight: 500; letter-spacing: -0.01em;
}
.price-note {
  font-size: 13px; color: var(--ink-muted);
  margin-bottom: 32px; font-family: var(--mono); letter-spacing: 0.04em;
}
.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
  padding: 12px 0; font-size: 14.5px;
  color: var(--ink-soft); display: flex;
  align-items: flex-start; gap: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '+'; color: var(--signal); font-weight: 600;
  flex-shrink: 0; font-size: 16px;
}
.price-badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  padding: 6px 12px; border-radius: 999px; font-weight: 500;
}
.price .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); padding: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 32px 0; font-family: var(--serif);
  font-size: 26px; letter-spacing: -0.015em;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between;
  gap: 24px; line-height: 1.2; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--sans);
  font-size: 28px; color: var(--signal);
  font-weight: 300; transition: transform 0.3s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0 32px; color: var(--ink-soft);
  font-size: 16px; line-height: 1.6; max-width: 720px;
}

/* CTA */
.cta {
  background: var(--ink); color: var(--paper);
  border-radius: 24px; padding: 100px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(95, 168, 58, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta .eyebrow { color: var(--gold); }
.cta .eyebrow .dot { background: var(--gold); }
.cta h2 {
  color: var(--paper);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  margin: 28px 0 28px;
  letter-spacing: -0.035em; position: relative;
}
.cta h2 em { font-style: italic; color: var(--gold); }
.cta p {
  color: rgba(244, 241, 234, 0.75);
  font-size: 18px; max-width: 560px;
  margin: 0 auto 48px; line-height: 1.55; position: relative;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative;
}
.cta .btn-primary { background: var(--paper); color: var(--ink); }
.cta .btn-primary:hover { background: var(--gold); }
.cta .btn-ghost { color: var(--paper); border-color: var(--paper); }
.cta .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* FOOTER */
footer {
  background: var(--paper-deep);
  padding: 80px 0 32px;
  font-size: 14px; color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.footer-brand .brand { font-size: 24px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); max-width: 320px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 10px;
  font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 24px;
}
.footer-col a {
  display: block; padding: 8px 0;
  font-size: 14px; color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--signal); }
.footer-col button {
  font-family: var(--sans); font-size: 14px;
  background: none; border: none; color: var(--ink-soft);
  cursor: pointer; padding: 8px 0; text-align: left; width: 100%;
}
.footer-col button:hover { color: var(--signal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--ink-muted);
}
.footer-bottom-left { display: flex; align-items: center; gap: 14px; }
.footer-bottom-left img { width: 24px; height: 24px; opacity: 0.65; border-radius: 4px; }

/* MOBILE */
@media (max-width: 880px) {
  .container { padding: 0 22px; }
  .nav { padding: 14px 22px; }
  .nav-links { display: none; }
  .nav-right .lang-pill { display: none; }
  .nav-right .btn { padding: 10px 14px; font-size: 13px; }

  .hero { padding: 50px 0 60px; }
  .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-boxshot { max-width: 100%; }
  .hero-headline { font-size: 56px; line-height: 0.95; }
  .hero-cta { width: 100%; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn {
    flex: 1; justify-content: center; min-width: 0;
    padding: 14px 16px; font-size: 13px;
  }
  .hero-badge-pct { padding: 14px 18px 12px; right: -8%; }
  .hero-badge-pct .badge-num { font-size: 48px; }
  .hero-badge-pct .badge-pct { font-size: 22px; }
  .hero-tag-bottom { left: -4%; padding: 10px 14px; font-size: 12px; }

  .compare-section { margin-top: 60px; }
  .compare-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .compare-handle::before { width: 44px; height: 44px; }

  .marquee-item { font-size: 22px; }

  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .section-head h2 { font-size: 44px; }

  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem { border-bottom: 1px solid var(--line); padding-right: 16px; }
  .problem:nth-child(2n) { border-right: none; }
  .problem:nth-last-child(-n+2) { border-bottom: none; }

  .feat-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .feat-tag { text-align: left; }
  .feat-title { font-size: 26px; }

  .algo-stage { grid-template-columns: 1fr; gap: 16px; }
  .algo { padding: 36px 28px; }
  .algo .algo-num { font-size: 70px; }
  .algo .algo-tag { margin-bottom: 70px; }

  .screenshot-tag { display: none; }

  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .step { border-right: none; padding-right: 0; }
  .step-marker { font-size: 60px; }

  .usecases { grid-template-columns: 1fr; }
  .usecase { margin-left: 0; }

  .specs { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .trust-stage { grid-template-columns: 1fr; gap: 40px; }
  .trust-stat strong { font-size: 64px; }

  .pricing { grid-template-columns: 1fr; }
  .price + .price { border-left: none; border-top: 1px solid var(--line); }
  .price { padding: 40px 32px; }
  .price-tag { font-size: 60px; }

  .faq-item summary { font-size: 20px; padding: 24px 0; gap: 16px; }

  .cta { padding: 70px 28px; border-radius: 18px; }
  .cta h2 { font-size: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 540px;
  background: var(--ink); color: var(--paper);
  padding: 24px; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(20, 17, 13, 0.35);
  z-index: 200;
  display: none;
  font-size: 14px;
  line-height: 1.55;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 {
  color: var(--paper); font-family: var(--sans);
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
}
.cookie-banner p { color: rgba(244, 241, 234, 0.7); margin-bottom: 16px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: 999px; border: none; cursor: pointer;
}
.cookie-actions .btn-accept { background: var(--gold); color: var(--ink); }
.cookie-actions .btn-deny { background: transparent; color: var(--paper); border: 1px solid rgba(244, 241, 234, 0.3); }
.cookie-actions .btn-accept:hover { background: var(--paper); }
.cookie-actions .btn-deny:hover { background: rgba(244, 241, 234, 0.1); }

/* INITIAL ENTRANCE */
.fade-in { animation: fadeIn 1.2s cubic-bezier(.2,.7,.3,1) both; }
.fade-in-d1 { animation-delay: 0.15s; }
.fade-in-d2 { animation-delay: 0.3s; }
.fade-in-d3 { animation-delay: 0.45s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* LANGUAGE SWITCHER */
.lang-switcher { position: relative; }
.lang-pill {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.lang-pill:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.7);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.15);
  z-index: 110;
}
.lang-dropdown.show { display: block; }
.lang-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background 0.15s;
}
.lang-dropdown a:hover {
  background: var(--paper-deep);
  color: var(--ink);
}
.lang-dropdown a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
}
@media (max-width: 880px) {
  .lang-switcher { display: none; }
}

/* FOOTER SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
}
.footer-social a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.footer-social svg { display: block; }

/* IMPRESSUM-SEITE */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.legal-page h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.legal-page .legal-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
  display: inline-block;
}
.legal-page h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 36px 0 12px;
  font-style: normal;
}
.legal-page p { margin-bottom: 12px; line-height: 1.6; color: var(--ink-soft); }
.legal-page address { font-style: normal; line-height: 1.6; color: var(--ink-soft); }
.legal-page a { color: var(--signal); text-decoration: underline; }
.legal-page a:hover { color: var(--ink); }
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.2s;
}
.legal-page .back-link:hover { background: var(--signal); color: var(--paper); }

@media (max-width: 880px) {
  .legal-page { padding: 50px 22px 70px; }
  .legal-page h1 { font-size: 36px; }
}
