/* =========================================================
   A_MMM Edition
   custom.css – Basisdatei
   ========================================================= */

/* ========== GRUNDTYPOGRAFIE ========== */

body {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2f2f2f;
  background-color: #ffffff;
}

p {
  margin-bottom: 1.15em;
}

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

li {
  margin-bottom: 0.45em;
}

/* ========== UEBERSCHRIFTEN ========== */

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;
}

/* ========== LINKS ========== */

a,
a:visited {
  color: #8e4c2e;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #8e4c2e;
  text-decoration: underline;
}

/* ========== NAVIGATION ========== */

nav a,
.menu-item a,
.menu-toggle,
.sp-megamenu-parent > li > a,
.offcanvas-menu .mod-menu a {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1f1f1f !important;
  text-decoration: none !important;
}

nav a:hover,
.menu-item a:hover,
.sp-megamenu-parent > li > a:hover,
.offcanvas-menu .mod-menu a:hover {
  color: #8e4c2e !important;
  text-decoration: none !important;
}

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

/* ========== LOGO ========== */

.logo-image,
.logo-image-phone {
  height: 36px;
}

.logo img,
.sp-default-logo,
.sp-retina-logo {
  max-height: 72px;
  width: auto;
}

/* ========== INHALTSBREITEN ========== */

.item-page,
.blog,
.com-content-article,
.com-content-category-blog {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.edition-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.edition-content {
  max-width: 780px;
  margin: 0 auto 2.5em auto;
  padding: 0 1rem;
}

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

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

/* ========== HERO ========== */

.edition-hero {
  padding: 4rem 0 3rem 0;
}

.edition-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.edition-hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  color: #8e4c2e;
  margin-bottom: 1rem;
}

.edition-claim {
  font-size: 1.35rem;
  line-height: 1.55;
  max-width: 850px;
  color: #333;
  margin-bottom: 1.2rem;
}

.edition-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 860px;
  color: #333;
}

.edition-kicker {
  max-width: 760px;
  font-style: italic;
  color: #4a4a4a;
}

.edition-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ========== BUTTONS ========== */

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary {
  background-color: #8e4c2e;
  color: #ffffff !important;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.25s ease;
}

.btn-primary:hover {
  background-color: #6f3921;
  color: #ffffff !important;
  text-decoration: none;
}

.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;
}

/* ========== EDITION KACHELN ========== */

.edition-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
  margin-bottom: 2.5em;
}

.edition-card {
  background-color: #fdf9f4;
  border-left: 4px solid #8e4c2e;
  padding: 1.35em 1.35em 1.5em 1.35em;
  border-radius: 6px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.035);
}

.edition-card h3 {
  margin-top: 0;
  color: #5a3524;
}

.edition-card p:last-child {
  margin-bottom: 0;
}

/* ========== LEITBEGRIFFE ========== */

.edition-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2em;
  margin-top: 2em;
  margin-bottom: 2.5em;
}

.edition-principle {
  border-top: 2px solid #8e4c2e;
  padding-top: 0.85em;
}

.edition-principle h3 {
  margin-top: 0;
  color: #5a3524;
}

/* ========== INFOBOXEN / CTA ========== */

.info-box,
.edition-box {
  background-color: #fffaf6;
  border-left: 4px solid #8e4c2e;
  padding: 1.5em 2em;
  border-radius: 6px;
  max-width: 780px;
  margin: 3em auto 2em auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.info-box h3,
.edition-box h3 {
  margin-top: 0;
  color: #8e4c2e;
}

.edition-cta {
  background-color: #fdf9f4;
  border-left: 4px solid #8e4c2e;
  padding: 2em;
  margin-top: 3em;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.edition-cta p:last-child,
.info-box p:last-child,
.edition-box p:last-child {
  margin-bottom: 0;
}

/* ========== ZITATE ========== */

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;
}

.subline {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #3f3f3f;
  font-style: italic;
}

/* ========== BILDER / BILDSPRACHE ========== */

.section-image {
  max-width: 820px;
  margin: 1.5rem auto 2rem auto;
  padding: 0 1rem;
}

.section-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  opacity: 0.92;
}

.bild-uebergang {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #777;
  font-style: italic;
  margin: 1.4rem 0 0.7rem 0;
}

/* ========== FORMULARE ========== */

.contact-form-section form {
  padding: 1.5em;
  background: #f9f9f9;
  border-radius: 1em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.contact-form-section input,
.contact-form-section textarea {
  border-radius: 0.5em;
  padding: 0.5em;
}

/* ========== KLEINE NÜTZLICHE KLASSEN ========== */

.leitbegriff {
  font-weight: bold;
  font-variant: small-caps;
  color: #5a2f1b;
}

.bold-label {
  font-weight: 600;
  color: #3a3a3a;
}

.emphatic-question {
  font-style: italic;
  font-weight: 500;
  color: #4b2e21;
}

/* ========== KLEINE KORREKTUREN ========== */

.article-info {
  display: none !important;
}

.sp-login,
.sp-login a {
  display: none !important;
}

/* ========== FOOTER ========== */

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

/* ========== MOBILE ========== */

@media (max-width: 900px) {
  .edition-card-grid {
    grid-template-columns: 1fr;
  }

  .edition-principles {
    grid-template-columns: 1fr 1fr;
  }
}

@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;
  }

  .edition-hero {
    padding: 2.8rem 0 2rem 0;
  }

  .edition-hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .edition-claim {
    font-size: 1.08rem;
    line-height: 1.6;
  }

  .edition-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .subline {
    font-size: 1.05rem;
    line-height: 1.55;
  }

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

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

  .section-image {
    margin: 1rem auto 1.6rem auto;
    padding: 0 0.9rem;
  }

  .section-image img {
    border-radius: 3px;
    opacity: 0.94;
  }

  .bild-uebergang {
    font-size: 0.88rem;
    margin: 1rem 0 0.55rem 0;
  }
}

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

  h1 {
    font-size: 1.45rem;
  }

  h2 {
    font-size: 1.18rem;
  }

  h3,
  h4 {
    font-size: 1.02rem;
  }

  .edition-principles {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-flat {
    font-size: 0.92rem;
  }

  .info-box,
  .edition-box,
  .edition-cta {
    padding-left: 1em;
    padding-right: 1em;
  }

  .edition-claim {
    font-size: 1rem;
    line-height: 1.55;
  }

  .edition-lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .subline {
    font-size: 1rem;
    line-height: 1.5;
  }

  .section-image {
    margin: 0.9rem auto 1.4rem auto;
    padding: 0 0.8rem;
  }

  .section-image img {
    border-radius: 2px;
  }

  .bild-uebergang {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}
/* ========== FOOTER EDITION ========== */

#sp-footer,
#sp-bottom {
  background: #ffffff !important;
  color: #2f2f2f !important;
  border-top: 1px solid #eee6df;
}

#sp-footer a,
#sp-bottom a {
  color: #8e4c2e !important;
  text-decoration: none;
}

#sp-footer a:hover,
#sp-bottom a:hover {
  color: #8e4c2e !important;
  text-decoration: underline;
}
/* ========== STARTSEITE: AUTOMATISCHEN ARTICLE HEADER AUSBLENDEN ========== */

body.itemid-101 .article-header,
body.itemid-101 .article-details .article-header,
body.itemid-101 .article-social-share,
body.itemid-101 .article-details .article-social-share,
body.itemid-101 .social-share,
body.itemid-101 .article-info {
  display: none !important;
}
.edition-kicker {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e4c2e;
  margin-bottom: 1rem;
}
/* ========== FEINSCHLIFF STARTSEITE / KACHELN ========== */

.edition-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25em;
  margin-top: 2em;
  margin-bottom: 2.5em;
}

.edition-card {
  padding: 1.2em 1.2em 1.4em 1.2em;
}

.edition-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}
/* ========== FEINSCHLIFF STARTSEITE: RUHIGERE KACHELN UND LEITBEGRIFFE ========== */

.edition-principle {
  border-top: none;
  padding-top: 0;
}

.edition-principle h3 {
  color: #8e4c2e;
  margin-bottom: 0.45em;
}

.edition-card {
  border-left: none;
  border: 1px solid #eee3dc;
  background-color: #fdfaf7;
  box-shadow: none;
  padding: 1.35em 1.35em 1.5em 1.35em;
  display: flex;
  flex-direction: column;
}

.edition-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #5a3524;
}

.edition-card p:last-child {
  margin-top: auto;
}
/* ========== FEINSCHLIFF INFOBOXEN RUHIGER ========== */

.edition-box,
.info-box,
.edition-cta {
  border-left: none;
  border: 1px solid #eee3dc;
  background-color: #fdfaf7;
  box-shadow: none;
}
/* ========== RESONANZRAUM BOX RUHIGER ========== */

.edition-box {
  border-left: none;
  border: 1px solid #eee3dc;
  background-color: #fdfaf7;
  box-shadow: none;
}