/* =========================================================
   A_MMM Institut
   Zusätzliche Stilregeln nur für institut.a-mmm.eu
   ========================================================= */

/* Grundtypografie etwas ruhiger */
body {
  font-size: 18px;
  line-height: 1.7;
  color: #2f2f2f;
  background-color: #ffffff;
}

/* Überschriften institutioneller */
h1, h2, h3, h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: normal;
  color: #2b2b2b;
  margin-top: 1.35em;
  margin-bottom: 0.55em;
}

h1 {
  font-size: 2rem;
  color: #8e4c2e;
  margin-bottom: 0.7em;
}

h2 {
  font-size: 1.45rem;
  color: #3c3c3c;
  margin-top: 2.1em;
}

h3 {
  font-size: 1.2rem;
  color: #5a3524;
}

h4 {
  font-size: 1.05rem;
}

/* Fließtext */
p {
  margin-bottom: 1.15em;
}

ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.45em;
}

/* Navigation etwas ruhiger als auf a-mmm.eu */
nav a,
.menu-item a,
.menu-toggle {
  letter-spacing: 0.03em;
}

nav a:hover,
.menu-item a:hover {
  color: #8e4c2e !important;
}

nav a.current-menu-item,
.menu-item.current-menu-item > a,
.sp-megamenu-parent > li.active > a {
  color: #8e4c2e !important;
  text-decoration: none !important;
  font-weight: 700;
}

/* Logo etwas ruhiger eingebunden */
.logo img,
.sp-default-logo,
.sp-retina-logo {
  max-height: 72px;
  width: auto;
}

/* Inhaltsbreite für Institutseiten */
.item-page,
.blog,
.com-content-article,
.com-content-category-blog {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Einfache Inhaltssektionen */
.section-content {
  max-width: 780px;
  margin: 0 auto 2.5em auto;
  padding: 0 1rem;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 3em auto;
  padding: 0 1rem;
  font-size: 1.05rem;
}

.section-divider {
  margin: 3em auto;
  max-width: 780px;
  border: none;
  border-top: 1px solid #ddd6d1;
}

/* Hero */
.hero-centerblock {
  text-align: center;
  margin-top: 3em;
  margin-bottom: 3em;
}

.hero-centerblock img {
  display: block;
  margin: 1.5em auto 0 auto;
  max-width: 100%;
  height: auto;
}

.hero-kicker {
  max-width: 760px;
  margin: 0 auto;
  font-style: italic;
  color: #4a4a4a;
}

.hero-subline {
  margin-top: 1.2em;
  font-size: 1.05rem;
  color: #4b3a32;
}

/* Ruhige Infobox */
.institut-box {
  background-color: #fcfaf7;
  border-left: 4px solid #8e4c2e;
  padding: 1.25em 1.5em;
  margin: 2em 0;
  border-radius: 4px;
}

.institut-box p:last-child {
  margin-bottom: 0;
}

/* Schlichte Links/Buttons */
.btn-flat {
  display: inline-block;
  margin-top: 0.8em;
  padding: 0.5em 1.1em;
  color: #8e4c2e;
  border: 1px solid #8e4c2e;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-flat:hover {
  background-color: #8e4c2e;
  color: #ffffff !important;
  text-decoration: none;
}

/* Zitate zurückhaltend */
blockquote {
  font-size: 1.12em;
  font-style: italic;
  color: #444;
  border-left: 4px solid #8e4c2e;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background-color: #f8f8f8;
}

/* Footer */
#sp-footer2 .menu a:hover {
  color: #8e4c2e !important;
  text-decoration: none;
}

/* Mobil */
@media (max-width: 768px) {
  body {
    font-size: 17px;
    line-height: 1.6;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .logo img,
  .sp-default-logo,
  .sp-retina-logo {
    max-height: 60px;
  }

  .section-content,
  .section-intro {
    padding: 0 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }

  h1 {
    font-size: 1.45rem;
  }

  h2 {
    font-size: 1.18rem;
  }

  .hero-centerblock {
    margin-top: 2em;
    margin-bottom: 2em;
  }
}