/* 
  Project: Autoankauf 2026 
  Theme: Premium Dark + Electric Blue/Cyan (Image Inspired) + Orange Accents
*/

:root {
  /* Colors */
  --bg-dark: #0b0d0f;
  /* Deepest Black/Blue */
  --bg-card: #15191e;
  /* Slightly lighter for cards */
  --primary-cyan: #66fcf1;
  /* Electric Blue/Cyan from image */
  --primary-cyan-dim: #45a29e;
  --accent-orange: #ff6f00;
  /* Vibrant Orange for high-priority CTA */
  --text-main: #ffffff;
  --text-muted: #c5c6c7;

  /* Gradients */
  --grad-main: linear-gradient(135deg, #1f2833 0%, #0b0d0f 100%);
  --grad-glow: radial-gradient(circle at center, rgba(102, 252, 241, 0.15) 0%, transparent 70%);

  /* Spacing */
  --space-mobile: 1rem;
  --space-desktop: 4rem;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Overrides for 2026 Impact */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.text-highlight {
  color: var(--primary-cyan);
}

/* Buttons: Light Skeuomorphism + 2026 Glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-cyan);
  color: #0b0d0f;
  box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 252, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-accent {
  background: var(--accent-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.5);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-mobile);
}

section {
  padding: 4rem 0;
}

/* Header / Nav */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 13, 15, 0.85);
  /* Glassmorphism */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--primary-cyan);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-cyan);
}

.mobile-icon {
  display: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  /* Header offset */
  display: flex;
  align-items: center;
  background: var(--grad-main);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(102, 252, 241, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Calculator Card */
.calculator-card {
  background: rgba(21, 25, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
}

.calc-input:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-cyan-dim);
}

.icon-box {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-cyan);
}

/* Footer */
footer {
  background: #050607;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    display: none;
    /* Add JS toggle later */
  }

  .mobile-icon {
    display: block;
  }

  /* Floating Sticky Icons - Split Layout (Mobile Only overrides if needed, but keeping global for now) */
  .sticky-buttons {
    position: static;
    z-index: 9999;
  }

  .sticky-btn {
    position: fixed;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    z-index: 10000;
    border: 3px solid rgba(255, 255, 255, 0.2);
  }

  .btn-whatsapp {
    right: 1.5rem;
    background: #25D366;
  }

  .btn-phone {
    left: 1.5rem;
    background: var(--primary-cyan);
  }

  .sticky-btn:hover {
    transform: scale(1.15) translateY(-5px);
  }

  .legal-block {
    font-size: 0.85rem;
    color: #777;
    margin-top: 1rem;
    line-height: 1.6;
  }
}

/* Accessibility Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}