/* ===========================
   ACare+ Landingpage Styles
   =========================== */

:root {
  --purple: #8c00ff;
  --purple-dark: #500e8e;
  --purple-light: #f3e4fe;
  --gray-bg: #f4f6f9;
  --gradient: linear-gradient(to right, #8c00ff, #500e8e);

  /* ── Type Scale ── */
  --font-base: 'Lato', sans-serif;

  /* Sizes */
  --text-xs:   0.75rem;    /* 12px – labels, captions */
  --text-sm:   0.875rem;   /* 14px – small body, footnotes */
  --text-base: 1.2rem;     /* 19px – Fließtext */
  --text-lg:   1.2rem;     /* 19px – lead text */
  --text-xl:   1.2rem;     /* 19px – kleine Elemente */
  --text-2xl:  1.85rem;    /* 30px – kleine Überschrift */
  --text-3xl:  clamp(1.5rem, 2.5vw, 1.85rem);      /* ~30px – h2 section */
  --text-4xl:  clamp(1.85rem, 3.5vw, 2.5rem);      /* 40px – h1 hero */

  /* Weights — nur Lato Regular & Bold */
  --fw-regular:   400;
  --fw-medium:    400;
  --fw-semibold:  700;
  --fw-bold:      700;
  --fw-extrabold: 700;

  /* Leading */
  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-relaxed:1.75;
}

/* Base */
html {
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: var(--font-base);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: #1a1a1a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   Global Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: #1a1a1a;
  margin-top: 0;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
  line-height: var(--lh-snug);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

p, li {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ===========================
   Globales Deko-Element (oben rechts, über Navbar)
   =========================== */
.deco-element-global {
  position: absolute;
  top: -250px;
  right: -200px;
  width: 900px;
  pointer-events: none;
  z-index: 1031;
}

/* ===========================
   Navigation / Header
   =========================== */
.navbar {
  min-height: 200px;
  background: var(--gradient) !important;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 120px;
  width: auto;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
  background: #fff;
  padding: 90px 0 100px;
  min-height: 520px;
}


.hero-section h1 {
  /* inherits global h1 scale — override only layout specifics */
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.hero-section .subheadline {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hero-section .description {
  font-size: var(--text-base);
  color: #444;
  line-height: var(--lh-relaxed);
  margin-bottom: 3.5rem;
}

.btn-purple {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-purple:hover {
  opacity: 0.9;
  color: #fff;
}

/* ===========================
   Arbeitsweise Section
   =========================== */
.arbeitsweise-section {
  background: #fff;
  padding: 80px 0;
}

.section-title {
  /* inherits global h2 scale */
  color: var(--purple);
  font-weight: var(--fw-regular);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.arbeitsweise-card {
  background: var(--purple-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  text-align: center;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-wrapper img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.arbeitsweise-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
  color: var(--purple-dark);
}

.arbeitsweise-card p {
  color: #555;
  margin: 0;
}

/* ===========================
   Fachkräfte / Arbeitgeber Section
   =========================== */
.zielgruppen-section {
  background: #fff;
  padding: 80px 0 120px;
}

.zielgruppe-box {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.zielgruppen-section .section-title {
  margin-bottom: 2rem;
}

.text-purple {
  color: var(--purple) !important;
}

.zielgruppe-box h2 {
  /* inherits global h2, but scaled down for card context */
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--purple);
  margin-bottom: 1.5rem;
}

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

.zielgruppe-box ul li {
  color: #444;
  padding: 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.2;
}

.zielgruppe-box ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
  font-size: 1rem;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section .deco-element-left {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.6;
  pointer-events: none;
}

.cta-section h2 {
  /* inherits global h2 scale */
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: 2rem;
}

.btn-outline-white {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-white:hover {
  opacity: 0.9;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: #3a006e;
  padding: 1.25rem 0;
}

footer .footer-links {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

footer .footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: #fff;
}

footer .footer-links span {
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.4);
}

footer .footer-made {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

footer .footer-made a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

footer .footer-made a:hover {
  color: #fff;
}

/* ===========================
   Responsive Tweaks
   =========================== */
@media (max-width: 991px) {
  .deco-element-global {
    width: 600px;
    top: -80px;
    right: -60px;
  }

.hero-section {
    padding: 60px 0 80px;
  }
}

@media (max-width: 767px) {
  .deco-element-global {
    display: none;
  }

  .hero-section {
    padding: 50px 0 60px;
    min-height: unset;
  }

  .arbeitsweise-section,
  .cta-section {
    padding: 60px 0;
  }

  .zielgruppen-section {
    padding: 60px 0 100px;
  }

  .zielgruppen-section .col-lg-6:last-child {
    padding-top: 6rem;
  }

  .cta-section .deco-element-left {
    display: none;
  }
}
