/* =====================================================
   01. DESIGN-VARIABLEN
===================================================== */

:root {
  --bg: #f8fafc;
  --bg-soft: #eef2f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: rgba(15, 23, 42, 0.12);
  --max-width: 1120px;
  --radius: 20px;
}


/* =====================================================
   02. RESET / GRUNDEINSTELLUNGEN
===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   03. LAYOUT
===================================================== */

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.demo-bar {
  background: var(--text);
  color: #ffffff;
  font-size: 0.9rem;
}

.demo-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-bar span {
  color: #cbd5e1;
}

.demo-bar a {
  color: #ffffff;
  font-weight: 800;
}

.demo-bar a:hover {
  color: #bfdbfe;
}

@media (max-width: 600px) {
  .demo-bar-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 10px 0;
    gap: 4px;
  }
}


/* =====================================================
   04. TYPOGRAFIE
===================================================== */

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}


/* =====================================================
   05. HEADER
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.back-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.back-link:hover {
  color: var(--accent-dark);
}

/* =====================================================
   06. BUTTONS
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: #ffffff;
}


/* =====================================================
   07. HERO
===================================================== */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

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

.hero-text {
  max-width: 660px;
  margin-top: 24px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.card-title {
  color: var(--text);
  font-weight: 800;
}

.phone {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  margin: 12px 0;
}

.card-text {
  font-size: 0.95rem;
}


/* =====================================================
   08. LEISTUNGEN
===================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
}

.service-card p {
  margin-top: 12px;
}


/* =====================================================
   09. VORTEILE
===================================================== */

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefit-item span {
  color: var(--accent);
  font-weight: 900;
}


/* =====================================================
   10. ABLAUF
===================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.step span {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.step p {
  margin-top: 12px;
}


/* =====================================================
   11. KONTAKT
===================================================== */

.contact-section {
  padding-bottom: 120px;
}

.contact-box {
  padding: 52px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
}

.contact-box p {
  max-width: 620px;
  margin: 16px auto 30px;
  color: #cbd5e1;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-box .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}


/* =====================================================
   12. FOOTER
===================================================== */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}


/* =====================================================
   13. RESPONSIVE DESIGN
===================================================== */

@media (max-width: 900px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    display: none;
  }
}

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

  .hero {
    min-height: auto;
    padding: 64px 0;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .contact-box {
    padding: 36px 22px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .back-link {
    display: inline-flex;
  }
}