:root{
  --mi-ink: #2A4E73;         /* dunkles Blau für Überschriften */
  --mi-accent: #1f4b8f;      /* Akzentblau (kann pro Seite überschrieben werden) */
  --mi-accent-soft: #e8f0ff; /* sehr helles Blau (kann pro Seite überschrieben werden) */
}

/*alles blau */
body {
  color: rgba(42, 78, 115, 1.00);
}


/* Headlines */
.mi-page .mi-h1,
.mi-page h2,
.mi-page h3{
  color: var(--mi-ink);
}

/* Links dezent */
.mi-page a{
  color: var(--mi-accent);
  text-decoration: none;
}
.mi-page a:hover{
  text-decoration: underline;
}

/* Seitenlayout: ruhig, lesbar */
.mi-page{
  padding: 1.5rem 0 2.5rem;
}

/* Header */
.mi-header{
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(11, 31, 59, 0.12);
}

.mi-lead{
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(47, 120, 200, 0.82);
}

/* Content-Standardisierung */
.mi-content{
  line-height: 1.65;
}

.mi-content p{
  margin: 0.75rem 0;
}

.mi-content ul,
.mi-content ol{
  margin: 0.75rem 0 0.75rem 1.2rem;
}

.mi-content li{
  margin: 0.25rem 0;
}

.mi-page h2{
  margin-top: 1.9rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--mi-accent);
}

.mi-page h3{
  margin-top: 1.2rem;
}

/* Optional: ruhige Highlight-Box (falls du sie später nutzen willst) */
.mi-soft-panel{
  background: var(--mi-accent-soft);
  border: 1px solid rgba(11, 31, 59, 0.10);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}

/* Quark-Footer direkt stylen (ohne Template-Anpassung) */
#footer{
  border-top: 1px solid rgba(11, 31, 59, 0.12);
  padding: 1.25rem 0;
}

#footer .container{
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer a{
  color: var(--mi-accent);
  text-decoration: none;
}
#footer a:hover{
  text-decoration: underline;
}
@media (max-width: 768px) {

  /* Haupttitel in deinem Layout (statt h1) */
  .mi-page .mi-h1{
    font-size: 1.55rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  /* Abschnittsüberschriften innerhalb .mi-page */
  .mi-page h2{
    font-size: 1.25rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .mi-page h3{
    font-size: 1.10rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}
