/* CareerCoup — deep indigo + cool slate design tokens */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --primary-lighter: #eef2ff;
  --positive: #059669;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(920px, 92vw);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 520px) {
  .wrap {
    padding-inline: 32px;
  }
}

/* ── Header (CuraCareer-style brand row) ── */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

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

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

.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--primary-hover);
  border: 2px solid var(--border);
  min-height: 48px;
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--surface);
  text-decoration: none;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

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

/* ── Hero ── */

.hero {
  padding: 24px 0 40px;
}

.hero .wrap {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

.step-promise {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--text);
  overflow-wrap: break-word;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.hero-note-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-note-sep {
  opacity: 0.5;
  user-select: none;
}

/* Preview cards (option-card aesthetic) */

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.mock-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.mock-card--accent {
  border-color: var(--primary);
  background: var(--primary-lighter);
  box-shadow: 0 0 0 1px var(--primary);
}

.mock-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-hover);
  margin-bottom: 6px;
}

.mock-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--text);
}

.mock-bar {
  height: 6px;
  border-radius: 100px;
  background: var(--border);
  margin-bottom: 8px;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  width: 72%;
  border-radius: 100px;
  background: var(--primary);
}

.mock-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.mock-row-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.mock-row {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.mock-row:nth-child(1) {
  width: 100%;
}
.mock-row:nth-child(2) {
  width: 88%;
}
.mock-row:nth-child(3) {
  width: 65%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-hover);
}

.mock-row-compact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.mock-row-compact p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ── Sections ── */

section {
  padding: 36px 0 48px;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text);
  max-width: 24rem;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 40rem;
  margin: 0 0 24px;
}

.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-height: auto;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  box-shadow: 0 0 0 1px var(--primary);
}

.feature-icon {
  margin-bottom: 8px;
  color: var(--primary);
}

.feature-icon svg {
  display: block;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Feature bands */

.feature-band {
  display: grid;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.feature-band:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 860px) {
  .feature-band {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .feature-band--reverse .feature-band-text {
    order: 2;
  }

  .feature-band--reverse .feature-band-visual {
    order: 1;
  }
}

.feature-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-band p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.panel {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border: none;
}

.panel--surface {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.panel--surface h4 {
  color: var(--text-secondary);
}

.panel--surface li {
  color: var(--text-secondary);
}

.panel h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Steps */

.steps {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease;
}

.step:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--text);
}

.step p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* CTA */

.cta {
  padding: 32px 0 48px;
}

.cta-box {
  background: var(--primary-lighter);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 36px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--text);
}

.cta-box p {
  margin: 0 auto 20px;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.cta-box .btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Footer — CuraCareer-style light, centered tone */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 28px 0 36px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
  text-align: center;
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: start;
  }
}

.site-footer .brand {
  justify-content: center;
}

@media (min-width: 720px) {
  .site-footer .brand {
    justify-content: flex-start;
  }
}

.site-footer .brand-name {
  color: var(--text);
}

.footer-tagline {
  margin: 8px 0 0;
  max-width: 28rem;
  line-height: 1.55;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (min-width: 720px) {
  .footer-tagline {
    margin-left: 36px;
  }
}

.footer-contact {
  margin: 0;
}

.footer-contact dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.footer-contact dt:first-child {
  margin-top: 0;
}

.footer-contact dd {
  margin: 4px 0 0;
}

.footer-contact a {
  color: var(--primary);
  font-weight: 500;
}

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

.imprint {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.imprint h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.imprint p {
  margin: 0 0 10px;
  max-width: 48rem;
  line-height: 1.65;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.imprint address {
  font-style: normal;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-align: center;
}

.copyright a {
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.copyright a:hover {
  color: var(--text-secondary);
}

/* ── Mobile menu ── */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}

/* ── Cookie consent ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  padding: 20px 0;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
}

/* ── Modals ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  width: min(560px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-body p {
  margin: 0 0 10px;
}

.modal-body address {
  font-style: normal;
  margin-bottom: 12px;
}

.modal-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 4px;
}

.modal-body a {
  color: var(--primary);
}
