/* ═══════════════════════════════════════════════════════════════
   Allrad.dev Website – site.css
   Design: dark-mode tech with orange/amber accent + steel-blue highlights
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:          #0c0e12;
  --bg2:         #14171d;
  --bg3:         #1a1e26;
  --border:      #262b34;
  --border2:     #323844;
  --text:        #eef0f4;
  --text-muted:  #9298a8;
  --text-light:  #5d636f;
  --accent:      #ff7a29;
  --accent2:     #ffa45c;
  --accent-glow: rgba(255,122,41,.25);
  --gold:        #4fb3ff;
  --gold2:       #7ecbff;
  --success:     #34d399;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.7);
  --font:        'Inter', system-ui, sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --nav-h:       68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--gold); }

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

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(255,122,41,.12);
  border: 1px solid rgba(255,122,41,.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
}

.section-title { color: var(--text); margin-bottom: 14px; }
.section-sub   { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; }

/* ── Layout ────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Nav ───────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(12,14,18,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.site-nav.scrolled { background: rgba(12,14,18,.97); }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
}
.logo-text  { font-weight: 800; font-size: 20px; color: var(--text); }
.logo-tag   { font-size: 10px; font-weight: 600; color: var(--accent2); background: rgba(255,122,41,.15); padding: 2px 7px; border-radius: 4px; letter-spacing: .05em; }

.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link  { padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-muted); transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg3); }
.nav-link-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
}
.nav-link-cta:hover { background: var(--accent2); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all .3s; }

.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; background: var(--bg2); border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile-link { padding: 10px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-muted); }
.nav-mobile-link:hover { color: var(--text); background: var(--bg3); }
.nav-mobile-cta { background: var(--accent); color: #fff !important; text-align: center; margin-top: 6px; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(255,122,41,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(79,179,255,.08) 0%, transparent 50%),
    var(--bg);
  z-index: 0;
}

.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { }

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.hero-label-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

.hero-title { margin-bottom: 22px; }
.hero-accent { color: var(--accent2); }

.hero-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9b4d);
  color: #fff; padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  transition: all .25s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 0 24px var(--accent-glow);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 32px var(--accent-glow); color: #fff; }

.btn-secondary {
  background: transparent; color: var(--text); padding: 13px 26px;
  border-radius: var(--radius); font-weight: 600; font-size: 15px;
  border: 1px solid var(--border2); cursor: pointer; transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent2); transform: translateY(-2px); }

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}

.hero-screen {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-screen-bar {
  background: var(--bg3);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.screen-dot { width: 10px; height: 10px; border-radius: 50%; }
.screen-dot.red   { background: #ff5f57; }
.screen-dot.yellow { background: #ffbd2e; }
.screen-dot.green { background: #28c840; }
.screen-url { flex: 1; background: var(--bg); border-radius: 5px; padding: 4px 10px; font-family: var(--mono); font-size: 11px; color: var(--text-light); margin-left: 8px; }

.hero-screen img { width: 100%; }
.hero-screen-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #14171d, #1a1e26);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 13px; font-family: var(--mono);
  text-align: center; padding: 20px;
}

/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 10px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.hero-badge.badge-ai   { bottom: -20px; left: -30px; }
.hero-badge.badge-vibe { top: -20px; right: -20px; }
.badge-icon { font-size: 22px; }

/* ── Stats bar ─────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num  { font-size: 2.2rem; font-weight: 800; color: var(--accent2); font-family: var(--mono); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ── Feature cards ─────────────────────────────────────────────── */
.features-section { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-card:hover::before { opacity: 1; }

.feat-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.feat-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feat-text  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Über Allrad.dev ───────────────────────────────────────────── */
.ai-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255,122,41,.1) 0%, transparent 60%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}

.ai-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 18px;
  transition: all .25s;
}
.ai-card:hover { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }

.ai-logo {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: var(--bg3); border: 1px solid var(--border2);
}
.ai-name  { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.ai-desc  { font-size: 13px; color: var(--text-muted); }

/* ── ECM-Systeme ────────────────────────────────────────────────── */
.integrations-section { background: var(--bg2); }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.integ-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
  transition: all .25s;
}
.integ-card:hover { border-color: var(--accent); }
.integ-icon  { font-size: 2rem; margin-bottom: 10px; display: block; }
.integ-name  { font-weight: 700; font-size: 14px; }
.integ-cat   { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── CTA section ───────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(255,122,41,.15), rgba(79,179,255,.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
}
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-sub   { color: var(--text-muted); margin-bottom: 36px; }

/* ── Impressum / generic page header ──────────────────────────── */
.page-header {
  padding: 140px 0 64px;
  background: linear-gradient(180deg, rgba(255,122,41,.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 14px; }
.page-header p   { color: var(--text-muted); font-size: 1.1rem; }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.footer-ai-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; border: 1px solid var(--border2);
  color: var(--text-muted); background: var(--bg3);
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 4px; }
.footer-link { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-link:hover { color: var(--text); }

.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-light);
  gap: 16px; flex-wrap: wrap;
}
.footer-vibe { color: var(--text-muted); }

/* ── Animations ────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.float { animation: float 4s ease-in-out infinite; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-visual  { display: none; }
  .stats-inner  { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid      { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
