/* =========================================================
   Jennys IdeenReich – Farb- und Designgrundlagen
   ========================================================= */

:root {
  --je-petrol: #528999;
  --je-petrol-dunkel: #376a72;

  --je-header-hell: #fbf1ec;
  --je-creme: #f8f3ec;
  --je-beige: #eee1d4;

  --je-braun: #805737;

  --je-text: #4f4a46;
  --je-text-hell: #7f7770;

  --je-linie: #dccbbc;
  --je-weiss: #ffffff;

  --je-inhaltsbreite: 1200px;
}


/* =========================================================
   Grunddarstellung
   ========================================================= */

body {
  color: var(--je-text);
  background-color: var(--je-creme);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}


/* =========================================================
   Überschriften
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--je-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 21px;
}


/* =========================================================
   Links
   ========================================================= */

a {
  color: var(--je-petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--je-petrol-dunkel);
}


/* =========================================================
   Oberer Petrolbereich
   ========================================================= */

#sp-top-bar {
  min-height: 36px;
  background-color: var(--je-petrol);
  color: var(--je-weiss);
  font-size: 12px;
  line-height: 1.2;
}

#sp-top-bar .container,
#sp-top-bar .row,
#sp-top-bar .sp-column {
  min-height: 36px;
}

#sp-top-bar,
#sp-top-bar p,
#sp-top-bar span,
#sp-top-bar a,
#sp-top-bar i {
  color: var(--je-weiss);
}

#sp-top-bar a:hover,
#sp-top-bar a:focus {
  color: var(--je-weiss);
  opacity: 0.85;
}


/* =========================================================
   Heller Header- und Menübereich
   ========================================================= */

#sp-header {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 70px;
  overflow: visible;
  border: 0;
  background-color: var(--je-header-hell);
  box-shadow: none;
}

#sp-header.header-sticky {
  background-color: rgba(251, 241, 236, 0.97);
  box-shadow: 0 2px 10px rgba(79, 74, 70, 0.08);
}

#sp-header .container,
#sp-header .container-inner,
#sp-header .row {
  position: static !important;
  min-height: 70px;
  overflow: visible;
}

#sp-header .row {
  align-items: flex-start;
}


/* =========================================================
   Logo – Desktop-Grundlage
   ========================================================= */

#sp-logo {
  position: absolute;
  top: 10px;
  left: 42px;
  z-index: 130;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

#sp-logo .sp-column,
#sp-logo .logo {
  width: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

#sp-logo .logo {
  display: block;
  padding: 0;
}

#sp-logo .logo img,
#sp-logo img.logo-image {
  display: block;
  width: auto;
  height: 250px !important;
  max-height: none !important;
  margin: 0;
}


/* =========================================================
   Menü – gemeinsame Gestaltung
   ========================================================= */

#sp-menu,
#sp-menu .sp-column,
#sp-header .sp-megamenu-wrapper,
#sp-header .header-modules,
#sp-header .offcanvas-toggler {
  z-index: 110;
}

#sp-header .sp-megamenu-parent {
  margin: 0;
  padding: 0;
}

#sp-header .sp-megamenu-parent > li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0 10px;
  border-radius: 0;
  background-color: transparent;
  color: var(--je-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}


/* =========================================================
   Aktive Menüseite
   ========================================================= */

#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.active > span,
#sp-header .sp-megamenu-parent > li.current-item > a,
#sp-header .sp-megamenu-parent > li.current-item > span,
#sp-header .sp-megamenu-parent > li.current-menu-item > a,
#sp-header .sp-megamenu-parent > li.current-menu-item > span {
  background-color: transparent;
  color: var(--je-petrol) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}


/* =========================================================
   Menü – Petrolblock beim Hovern
   ========================================================= */

#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li:hover > span,
#sp-header .sp-megamenu-parent > li > a:hover,
#sp-header .sp-megamenu-parent > li > a:focus,
#sp-header .sp-megamenu-parent > li > span:hover,
#sp-header .sp-megamenu-parent > li > span:focus,
#sp-header .sp-megamenu-parent > li.active:hover > a,
#sp-header .sp-megamenu-parent > li.active:hover > span {
  background-color: var(--je-petrol);
  color: var(--je-weiss) !important;
  text-decoration: none;
}


/* =========================================================
   Suche – beiger Hintergrund auf allen Geräten
   ========================================================= */

#sp-header .header-modules form {
  margin: 0;
}

#sp-header .header-modules .input-group,
#sp-header .header-modules .mod-finder,
#sp-header .header-modules .finder,
#sp-header .header-modules .awesomplete {
  background-color: var(--je-beige);
}

#sp-header .header-modules input[type="search"],
#sp-header .header-modules input[type="text"],
#sp-header .header-modules .form-control,
#sp-header .header-modules .awesomplete input {
  min-height: 40px;
  border: 1px solid var(--je-linie) !important;
  border-radius: 0;
  background-color: var(--je-beige) !important;
  color: var(--je-text) !important;
  box-shadow: none !important;
}

#sp-header .header-modules input::placeholder {
  color: var(--je-text-hell);
  opacity: 1;
}

#sp-header .header-modules button,
#sp-header .header-modules .btn,
#sp-header .header-modules .input-group-text {
  min-height: 40px;
  border: 1px solid var(--je-linie) !important;
  border-radius: 0;
  background-color: var(--je-beige) !important;
  color: var(--je-petrol-dunkel) !important;
  box-shadow: none !important;
}

#sp-header .header-modules input:focus {
  border-color: var(--je-petrol) !important;
  outline: none;
  box-shadow: none !important;
}


/* =========================================================
   Startseite – Standardabstände entfernen
   Voraussetzung: Seitenklasse je-startseite
   ========================================================= */

.je-startseite #sp-main-body {
  padding-top: 0;
  padding-bottom: 0;
}

.je-startseite #sp-main-body > .container {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.je-startseite #sp-component,
.je-startseite #sp-component .sp-column,
.je-startseite .article-details,
.je-startseite .com-content-article,
.je-startseite .article-full-image {
  margin-top: 0;
  padding-top: 0;
}

.je-startseite .article-details {
  margin-bottom: 0;
}

.je-startseite .article-header,
.je-startseite .article-info,
.je-startseite .icons,
.je-startseite .pager,
.je-startseite .breadcrumb {
  display: none;
}


/* =========================================================
   Startseite – Hero-Banner
   ========================================================= */

.je-hero {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.je-hero picture {
  display: block;
  width: 100%;
}

.je-hero__image {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   Buttons
   ========================================================= */

.je-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background-color: var(--je-petrol);
  color: var(--je-weiss);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.je-button:hover,
.je-button:focus {
  background-color: var(--je-petrol-dunkel);
  color: var(--je-weiss);
  text-decoration: none;
}


/* =========================================================
   Startseite – Button im Banner
   ========================================================= */

.je-hero__button {
  position: absolute;
  left: 27%;
  bottom: 7%;
  transform: translateX(-50%);
}


/* =========================================================
   Footer und Bottom-Bereich
   ========================================================= */

.je-startseite #sp-bottom,
.je-startseite #sp-footer {
  background-color: var(--je-creme);
  color: var(--je-text);
}


/* =========================================================
   PC und Laptop ab 1200 px
   ========================================================= */

@media (min-width: 1200px) {

  #sp-menu {
    display: block !important;
    position: absolute !important;
    top: 0;
    left: 280px;
    right: 55px;
    width: auto;
    max-width: none;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none;
  }

  #sp-menu > .sp-column {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding-top: 80px;
  }

  #sp-header .sp-megamenu-wrapper {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: auto;
    padding-top: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #sp-header .sp-megamenu-parent {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #sp-header .header-modules {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    margin-left: auto;
    padding-top: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #offcanvas-toggler,
  #sp-header #offcanvas-toggler,
  #sp-header .offcanvas-toggler,
  #sp-header .offcanvas-toggler-left,
  #sp-header .offcanvas-toggler-right {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}


/* =========================================================
   Großer PC ab 1600 px
   ========================================================= */

@media (min-width: 1600px) {

  #sp-logo {
    top: 10px;
    left: 42px;
    transform: none;
  }

  #sp-logo .logo img,
  #sp-logo img.logo-image {
    height: 250px !important;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span,
  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.active > span,
  #sp-header .sp-megamenu-parent > li.current-item > a,
  #sp-header .sp-megamenu-parent > li.current-item > span {
    min-height: 42px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 16px !important;
  }

  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.active > span,
  #sp-header .sp-megamenu-parent > li.current-item > a,
  #sp-header .sp-megamenu-parent > li.current-item > span {
    font-weight: 700 !important;
  }
}


/* =========================================================
   Laptop von 1200 bis 1599 px
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1599px) {

  #sp-logo {
    top: 10px;
    left: 32px;
    transform: none;
  }

  #sp-logo .logo img,
  #sp-logo img.logo-image {
    height: 190px !important;
    max-height: none !important;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span,
  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.active > span,
  #sp-header .sp-megamenu-parent > li.current-item > a,
  #sp-header .sp-megamenu-parent > li.current-item > span {
    min-height: 40px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.active > span,
  #sp-header .sp-megamenu-parent > li.current-item > a,
  #sp-header .sp-megamenu-parent > li.current-item > span {
    font-weight: 700 !important;
  }

  /* Suche etwa einen halben Zentimeter höher. */
  #sp-header .header-modules {
    position: relative;
    top: -18px;
    margin-left: 6px;
  }

  #sp-header .header-modules .mod-finder,
  #sp-header .header-modules .finder,
  #sp-header .header-modules .awesomplete {
    width: 120px;
    max-width: 120px;
  }

  #sp-header .header-modules input {
    min-width: 0;
    max-width: 120px;
  }
}


/* =========================================================
   Tablet und iPad von 768 bis 1199 px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

  #sp-top-bar {
    display: none;
  }

  #sp-header,
  #sp-header .container,
  #sp-header .container-inner,
  #sp-header .row {
    min-height: 92px;
  }

  #sp-logo {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  #sp-logo .logo img,
  #sp-logo img.logo-image {
    height: 112px !important;
    max-height: none !important;
  }

  #sp-header .sp-megamenu-wrapper,
  #sp-header .sp-megamenu-parent {
    display: none !important;
  }

  #sp-header .header-modules,
  #offcanvas-toggler,
  #sp-header #offcanvas-toggler,
  #sp-header .offcanvas-toggler,
  #sp-header .offcanvas-toggler-left,
  #sp-header .offcanvas-toggler-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #sp-header .header-modules,
  #sp-header .offcanvas-toggler {
    padding-top: 22px;
  }

  .je-hero {
    overflow: visible;
  }

  .je-hero__button {
    position: static;
    display: flex;
    width: max-content;
    margin: 18px auto 0;
    transform: none;
  }
}


/* =========================================================
   Mobil bis 767 px
   ========================================================= */

@media (max-width: 767px) {

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 23px;
  }

  h4 {
    font-size: 19px;
  }

  #sp-top-bar {
    display: none;
  }

  #sp-header,
  #sp-header .container,
  #sp-header .container-inner,
  #sp-header .row {
    min-height: 74px;
  }

  #sp-logo {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  #sp-logo .logo img,
  #sp-logo img.logo-image {
    height: 92px !important;
    max-height: none !important;
  }

  #sp-header .sp-megamenu-wrapper,
  #sp-header .sp-megamenu-parent {
    display: none !important;
  }

  #sp-header .header-modules,
  #offcanvas-toggler,
  #sp-header #offcanvas-toggler,
  #sp-header .offcanvas-toggler,
  #sp-header .offcanvas-toggler-left,
  #sp-header .offcanvas-toggler-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #sp-header .header-modules,
  #sp-header .offcanvas-toggler {
    padding-top: 15px;
  }

  .je-button {
    min-width: 155px;
    padding: 11px 22px;
    font-size: 14px;
  }

  .je-hero {
    overflow: visible;
  }

  .je-hero__button {
    position: static;
    display: flex;
    width: max-content;
    margin: 18px auto 0;
    transform: none;
  }
}
/* =========================================================
   Vorübergehender Umbauhinweis auf der Startseite
   ========================================================= */

.je-umbauhinweis {
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 42px auto;
  padding: 30px 34px;
  border-top: 4px solid var(--je-petrol);
  background-color: var(--je-beige);
  text-align: center;
}

.je-umbauhinweis h2 {
  margin: 0 0 16px;
  color: var(--je-petrol-dunkel);
  font-size: 30px;
}

.je-umbauhinweis p {
  max-width: 760px;
  margin: 0 auto 10px;
}

.je-umbauhinweis p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {

  .je-umbauhinweis {
    width: calc(100% - 28px);
    margin: 28px auto;
    padding: 24px 20px;
  }

  .je-umbauhinweis h2 {
    font-size: 25px;
  }
}