/* ==========================
   🎨 DESIGN SYSTEM
========================== */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --text: #212529;
  --muted: #6b7280;
  --bg-light: #f8f9fb;
  --bg-card: #ffffff;
  --border: #ececec;
}


/* ==========================
   BASIS
========================== */
body {
  font-family: system-ui, -apple-system, Arial, sans-serif;
  background: linear-gradient(to bottom, #f8f9fb 0%, #eef2f7 100%);
  margin: 0;
  padding: 0;
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}


/* ==========================
   HEADER
========================== */
header {
  background: linear-gradient(135deg, #1f2a37 0%, #111827 100%);
  box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.12);
}

header img {
  max-width: 100%;
}


/* ==========================
   NAVIGATION
========================== */
nav {
  display: flex;
  gap: 10px;
}

nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #60a5fa;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}


/* ==========================
   TYPO
========================== */
h2 {
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

h4 {
  font-weight: 600;
  margin-top: 10px;
}

p {
  line-height: 1.6;
}


/* ==========================
   HERO
========================== */
.hero-text h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 220px;
  text-align: center;
}


/* ==========================
   BUTTONS
========================== */
.btn {
  transition: all 0.2s ease;
}

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

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0d6efd);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #0b5ed7);
}


/* ==========================
   SECONDARY BUTTON
========================== */
.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 10px;
  font-weight: 600;
  padding: 12px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-secondary-custom:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}


/* ==========================
   CARD
========================== */
.card {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0px 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0px 14px 34px rgba(0, 0, 0, 0.12);
}


/* ==========================
   BESTÄTIGUNG
========================== */
.confirmation-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.confirmation-row:last-child {
  border-bottom: none;
}


/* ==========================
   ANIMATION
========================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================
   RESPONSIVE (FINAL FIX)
========================== */
@media (max-width: 768px) {

  /* HEADER FIX */
  header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header a {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }

  nav a {
    min-width: 140px;
    text-align: center;
    padding: 8px 16px;
  }

  /* HERO */
  .hero-text {
    text-align: center !important;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  /* BUTTONS */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-buttons .btn + .btn {
    margin-top: 10px;
  }

  /* CONFIRMATION */
  .confirmation-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  section {
    margin-bottom: 60px;
  }

}