/* ===================================
   Typography: Headings & Text
   =================================== */

/* ===================================
   Typography System
   =================================== */

/* ---- Base Variables ---- */
:root {
  --lh-heading: 1.2;

  --fs-h1: 3rem;
  --fs-h2: 2.5rem;
  --fs-h3: 1.8rem;
  --fs-h4: 1.3rem;
  --fs-h5: 1.2rem;
  --fs-h6: 1.2rem;

  --mb-lg: 2rem;
  --mb-md: 1.5rem;
  --mb-sm: 1rem;
}

/* ---- Base Heading Style ---- */
h1, h2, h3, h4, h5, h6,
.has-x-large-font-size,
.has-large-font-size,
.has-medium-font-size,
.has-small-font-size {
  line-height: var(--lh-heading);
  font-family: var(--font-primary);
  margin-bottom: var(--mb-sm);
}

/* ---- Semantic Headings ---- */
h1 { font-size: var(--fs-h1); font-weight: 900; margin-bottom: var(--mb-lg); }
h2 { font-size: var(--fs-h2); font-weight: 900; margin-bottom: var(--mb-lg); }
h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--mb-md); }
h4 { font-size: var(--fs-h4); font-weight: 900; margin-bottom: var(--mb-md); }
h5 { font-size: var(--fs-h5); font-weight: 600; }
h6 { font-size: var(--fs-h6); color: var(--color-primary); }

/* ---- WordPress Utility Mapping ---- */
.has-x-large-font-size { font-size: var(--fs-h1)!important; font-weight: 900; }
.has-large-font-size   { font-size: var(--fs-h2)!important; font-weight: 900; }
.has-medium-font-size  { font-size: var(--fs-h3)!important; font-weight: 900; }
.has-small-font-size   { font-size: var(--fs-h5)!important; }


/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.8rem;
    --fs-h3: 1.5rem;
  }
}


a {
  color: var(--color-primary);
  position: relative;
  z-index: 10;
  text-decoration: none;
}
a:hover {
  color: var(--color-text);
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

b, strong {
  font-weight: 900;
}

i, em {
  font-style: italic;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

hr {
  margin: 2rem 0;
}

ul{
  margin-bottom:2rem;
}

ul.no-points {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.3rem;
}


ul li::marker {
  color: var(--color-primary);
  font-size: 1.2em;
}


/* =================================== Project Individuals =================================== */

.color-text{color:var(--color-text);}

.underline-link {
  text-decoration: underline;
  text-underline-offset: 0.2em; /* optional für schöneres Aussehen */
}

.underline-heading{display:block;width:5rem;background:var(--color-primary);border-radius:0.2rem;margin-bottom:4rem;height:0.2rem;margin-left:3rem;}


/* =================================== TABLER ICONS BASE =================================== */

.ti {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  shape-rendering: geometricPrecision;
  stroke-linecap: butt;
  stroke-linejoin: miter;
    stroke-linecap: round;
  stroke-linejoin: round;
}

/* WICHTIG: auf alle Kinder anwenden */
.ti * {
  stroke-width: 0.1rem;
  vector-effect: non-scaling-stroke;
}