/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 2.1
*/


/* ===== Schrift: Bitter (lokal) ===== */
/* bitter - latin-ext (variable, 100-900) */
@font-face {
  font-display: swap;
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 100 900;
  src: url('/wp-content/fonts/bitter-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* bitter - latin (variable, 100-900) */
@font-face {
  font-display: swap;
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 100 900;
  src: url('/wp-content/fonts/bitter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ===== Schriftfarbe und Typografie: Wiesengrün (nur im Seiteninhalt) ===== */
.main-content,
.main-content p, .main-content li, .main-content td, .main-content th,
.main-content dd, .main-content dt, .main-content blockquote {
  color: #2F5320;
}

.main-content h1, .main-content h2, .main-content h3,
.main-content h4, .main-content h5, .main-content h6 {
  color: #2F5320 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bitter', Georgia, serif !important;
  font-style: normal;
}
h1, h2 { font-weight: 700 !important; }
h3, h4, h5, h6 { font-weight: 600; }

.main-content p, .main-content li {
  font-family: 'Bitter', Georgia, serif !important;
  font-style: normal;
  font-weight: 400;
  color: #2F5320 !important;
}

/* Links im Fließtext */
.main-content p a, .main-content li a {
  color: #2F5320 !important;
  text-decoration: underline;
  text-decoration-color: #EDB02E;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.main-content p a:hover, .main-content li a:hover {
  color: #D4462F !important;
}

/* WPBakery-Bearbeitungsmodus: Bedienelemente wieder hell */
body.vc_editor .vc_controls,
body.vc_editor .vc_controls *,
body.vc_editor .vc_element-name,
body.vc_editor .vc_element-name * {
  color: #FFFFFF !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ===== Einzelne Anpassungen ===== */
img.wp-image-6407 {
  margin-top: -20px;
}


/* ===== Header ===== */
body #header-outer,
body[data-header-color="dark"] #header-outer {
  background-color: #F6EEE4 !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}


/* ===== Kein Abstand zwischen Navigation und Bühne ===== */
/* Salient setzt 40px Innenabstand oben in .main-content – entfernen,
   sobald die erste Zeile eine volle Breite hat (Bühne) */
.main-content:has(> .row > .wpb_row.full-width-section:first-child),
.home .main-content,
.page-id-6786 .main-content,
.page-id-6815 .main-content {
  padding-top: 0 !important;
}


/* ===== Bühne mobil: Zeile = exakt Bildhöhe ===== */
@media (max-width: 999px) {
  .wpb_row.first-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    background-color: #F5EEE5 !important;
  }
  .wpb_row.first-section .row-bg-wrap,
  .wpb_row.first-section .row-bg {
    background-color: #F5EEE5 !important;
  }
  .wpb_row.first-section .row-bg {
    background-size: 100% auto !important;
    background-position: center top !important;
  }
  /* Alle Seiten (Start + Unterseiten): Bild 780 × 840 */
  .wpb_row.first-section { height: 107.7vw !important; }
}


/* ===== Footer: Bitter und Rechtliches-Links in der Copyright-Zeile ===== */
#footer-outer,
#footer-outer p,
#footer-outer li,
#footer-outer a,
#footer-outer h4 {
  font-family: 'Bitter', Georgia, serif !important;
}
#footer-outer #copyright p {
  font-size: 14px;
  color: #2F5320 !important;
}
#footer-outer #copyright a {
  margin-left: 22px;
  color: #2F5320 !important;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
}
#footer-outer #copyright a:hover {
  color: #D4462F !important;
  border-bottom-color: #EDB02E;
}


/* ===== Footer schmaler ===== */
#footer-outer #footer-widgets .row,
#footer-outer #footer-widgets > .container > .row {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
}
#footer-outer #footer-widgets .widget,
#footer-outer #footer-widgets .col {
  margin-bottom: 16px !important;
}
#footer-outer #footer-widgets p,
#footer-outer #footer-widgets li {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
#footer-outer #copyright {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
#footer-outer #copyright .row,
#footer-outer #copyright .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#footer-outer #copyright p {
  margin: 0 !important;
}
