/* ==========================================================================
   Pixado — tokens
   ========================================================================== */
:root {
  --bg: #0A0A0A;
  --bg-raised: #131313;
  --bg-card: #161616;
  --border: #262626;
  --border-hover: #3a3a3a;
  --text: #F5F5F4;
  --text-muted: #9A9A94;
  --text-faint: #6b6b66;

  --accent: #FF6A2B;
  --accent-hover: #FF8347;
  --accent-ink: #140900; /* text on accent bg */
  --glow-cool: #3B5BFF;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --radius: 10px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Background atmosphere
   ========================================================================== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.bg-glow--hero {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,106,43,0.16), transparent 70%);
}
.bg-glow--price {
  top: 2400px;
  right: -200px;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,91,255,0.14), transparent 70%);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
  padding-bottom: 6px;
}
.logo-mark { color: var(--accent); }

.build-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--border);
  overflow: hidden;
}
.build-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: build-fill 1.4s 0.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes build-fill {
  to { transform: translateX(0); }
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--text); }

@media (max-width: 860px) {
  .site-nav, .nav-cta.btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover { background: var(--accent-hover); }
.btn--accent:active { transform: translateY(1px); }

.btn--small { padding: 9px 18px; font-size: 0.9rem; }
.btn--large { padding: 15px 30px; font-size: 1rem; }

/* ==========================================================================
   Eyebrow / section rhythm
   ========================================================================== */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section {
  padding: 100px 0;
}
.section--alt { background: var(--bg-raised); }

.section h2 { max-width: 640px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 150px 0 110px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { margin: 32px 0 22px; }
.trust-line {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,106,43,0.1);
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Warum-Pixado
   ========================================================================== */
.warum-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.warum-text p { max-width: 540px; }

.placeholder-photo {
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  max-width: 420px;
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  background: var(--bg-card);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--accent);
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-list h3 { margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Preise
   ========================================================================== */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 2px;
}
.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-note {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.price-footnote {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-grid h2 { max-width: none; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row .optional { color: var(--text-faint); font-weight: 400; }
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 100px; }

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

.form-submit { width: 100%; margin-top: 6px; }
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status[data-state="ok"] { color: #6fd58a; }
.form-status[data-state="error"] { color: #ff6b6b; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-faint);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .warum-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 80px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .card, .price-card, .contact-form { padding: 24px; }
}
