/* ==========================================
   Saarverkauf – Schreibtische Landingpage
   ========================================== */

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

:root {
  --color-primary: #1a6fc4;
  --color-primary-dark: #135aab;
  --color-accent: #D4A96A;
  --color-text: #1a202c;
  --color-text-muted: #4a5568;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --font: 'Inter', system-ui, sans-serif;
  --max-width: 1140px;
}

html {
  scroll-behavior: smooth;
}

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

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---- Typography ---- */
h1, h2, h3 {
  line-height: 1.25;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 111, 196, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn-white:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--color-primary);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #fafbff 60%, #fff8f0 100%);
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--color-primary);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-box {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  width: 100%;
  max-width: 460px;
}

.desk-svg {
  width: 100%;
  height: auto;
}

/* ---- Product Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 111, 196, 0.12);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 3px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 60px;
  height: 60px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: "✓";
  color: #38a169;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Benefits ---- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.benefit:hover {
  transform: translateY(-3px);
}

.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d4fa0 100%);
  color: white;
}

.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: white;
}

.cta-inner p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 32px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 1px;
}

.contact-item span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---- Contact Form ---- */
.contact-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 111, 196, 0.12);
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
}

.form-success {
  background: #f0fff4;
  border: 1.5px solid #9ae6b4;
  color: #276749;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer .logo {
  color: white;
}

.footer .logo span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.5;
  margin-top: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-img-box {
    max-width: 380px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .header-inner {
    height: 58px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: 20px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer-links {
    gap: 14px;
  }
}
