/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* =========================================================
   8ITS – TYPOGRAFIE + FARBLOGIK (Open Sans only)
   Joomla 6 / Helix Ultimate
   ========================================================= */


/* =========================
   1. CI-FARBVARIABLEN
   ========================= */

:root {
  --primary:   #1f344a;   /* Dunkelblau – dominiert */
  --secondary: #4a79a3;   /* Blau – Struktur */
  --tertiary:  #9bb7cf;   /* Hellblau – Flächen */
  --neutral:   #ebeef0;   /* Hellgrau – Background */
  --accent:    #e9a27f;   /* Warmton – sparsam */
}


/* =========================
   2. BODY / GRUNDTEXT
   ========================= */

html { font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--primary);
  background: var(--neutral);
  letter-spacing: 0.15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin-bottom: 1.2em; }
strong { font-weight: 600; }


/* =========================
   3. LINKS
   ========================= */

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

a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================
   4. ÜBERSCHRIFTEN
   ========================= */

/* Headings – 8ITS: ruhig, klar, nicht zu fett */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 0.6em 0;
}

/* H1: groß, aber souverän (nicht 44/700) */
h1 {
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* H2: klare Abschnitts-Headline */
h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.1px;
}

/* H3: Unterüberschrift – nicht so dominant wie H1 */
h3 {
  font-size: 25px;
  font-weight: 400;
  color: #4a79a3;
}

/* H4: kleine Headline/Teaser */
h4 {
  font-size: 18px;
  font-weight: 600;
}

/* H5: Label/kleine Überschrift – definitiv nicht 44px */
h5 {
  font-size: 40px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
}

/* H6: sehr klein, z.B. Meta */
h6 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.2px;
}


/* =========================
   5. NAVIGATION (Helix)
   ========================= */


/* Top-Level Menülinks */
#sp-header .sp-megamenu-parent > li > a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;          /* ruhig */
  font-size: 16px;           /* Empfehlung für saubere Hierarchie */
  letter-spacing: 0.7px;
  text-transform: none;
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease;
}

/* Hover & Active */
#sp-header .sp-megamenu-parent > li > a:hover,
#sp-header .sp-megamenu-parent > li.active > a {
  color: var(--secondary);
  text-decoration: none;
}

/* Dropdown Links */
#sp-header .sp-dropdown li a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--primary);
}

/* Dropdown Hover */
#sp-header .sp-dropdown li a:hover {
  color: var(--secondary);
  text-decoration: none;
}

/* Sub-Submenu ohne linken Schatten */
#sp-header .sp-dropdown .sp-dropdown {
  box-shadow: none;
  border-left: none;
}

/* =========================
   6. BUTTONS
   ========================= */

.btn-primary,
.sppb-btn-primary {
  background-color: #e9a27f;
  border-color: #e9a27f;
  color: #ffffff;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.sppb-btn-primary:hover {
  background-color: #d98d68;
  border-color: #d98d68;
  color: #1f344a;
}

.btn-secondary,
.btn-secondary:visited,
.sppb-btn-secondary,
.sppb-btn-secondary:visited {
  background-color: #ffffff;
  border: 1px solid #45749b;
  color: #45749b;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover,
.sppb-btn-secondary:hover {
  background-color: #365e7f;
  border-color: #365e7f;
  color: #ffffff;
}


/* =========================
   7. RESPONSIVE TYPO
   ========================= */

/* Tablet */
@media (max-width: 992px) {

  body {
    font-size: 16px;
    line-height: 1.7;
  }

  h1 { font-size: 36px; line-height: 1.15; }
  h2 { font-size: 28px; line-height: 1.2; }
  h3 { font-size: 22px; line-height: 1.25; }

}

/* Mobile */
@media (max-width: 576px) {

  body {
    font-size: 16.5px;
    line-height: 1.75;
  }

  h1 {
    font-size: 30px;
    line-height: 1.18;
    letter-spacing: -0.15px;
    margin-bottom: 0.6em;
  }

  h2 {
    font-size: 24px;
    line-height: 1.22;
    margin-bottom: 0.65em;
  }

  h3 {
    font-size: 20px;
    line-height: 1.28;
    margin-bottom: 0.7em;
  }

  h4 { font-size: 18px; }
  h5 { font-size: 30px; }
  h6 { font-size: 15px; }

  .btn {
    padding: 11px 18px;
    font-size: 15px;
  }
}

.highlight {
  color: #e9a27f;
}

.box-soft {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(31, 52, 74, 0.06) !important;
}

.sppb-addon-title-icon[class*="my-"]:before {
    font-family: "fontello" !important;
}