@font-face {
  font-family: "Graphik";
  src: url("/assets/fonts/graphik/Graphik-Regular.woff2") format("woff2"),
       url("/assets/fonts/graphik/Graphik-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("/assets/fonts/graphik/Graphik-Medium.woff2") format("woff2"),
       url("/assets/fonts/graphik/Graphik-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("/assets/fonts/graphik/Graphik-Semibold.woff2") format("woff2"),
       url("/assets/fonts/graphik/Graphik-Semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Mabry Pro";
  src: url("/assets/fonts/mabry-pro/MabryPro-Regular.woff2") format("woff2"),
       url("/assets/fonts/mabry-pro/MabryPro-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mabry Pro";
  src: url("/assets/fonts/mabry-pro/MabryPro-Bold.woff2") format("woff2"),
       url("/assets/fonts/mabry-pro/MabryPro-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

/* Base typography */
body {
  font-family: "Graphik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #222;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Graphik", sans-serif;
  font-weight: 600;
  color: #101013;
  letter-spacing: -0.02em;
}
.hero-title {
  font-family: "Graphik", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
}

/* Mobile headline fix */
@media (max-width: 768px) {
  h1.hero-title,
  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    padding: 0 1rem !important;
    letter-spacing: -0.02em !important;
  }

  .hero-title span {
    display: block !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-title br {
    display: block !important;
  }

  .h2, .md\:h1, .lg\:display-5 {
    word-break: keep-all !important;
    hyphens: none !important;
  }
}

/* Button hover animations */
.btn {
  transition: all 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background-color: #0e745b; /* etwas dunkleres Grün */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn-link.text-primary {
  color: #178d72 !important;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-link.text-primary:hover {
  color: #0e745b !important;
  text-decoration: underline;
  background: transparent !important;
  transform: translateY(-1px);
}
/* =====================================================
   FINAL, STABLE FIX — Pricing module title only
   ===================================================== */

#pricing .section-header h2 {
  text-align: center;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  margin: 0 auto;
  max-width: 800px;
}

/* Explicit mobile-only override */
@media (max-width: 768px) {
  #pricing .section-header h2 {
    font-size: 1.2rem !important;   /* fixed smaller size for long German words */
    line-height: 1.25 !important;
    padding: 0 1rem !important;
    max-width: 90% !important;
  }
}
