/
/*
/*    Designed by 'AS Designing'
/*    Web: http://www.asdesigning.com
/*    License: GNU/GPL
/*
/**************************************************************************************/

/* === Grundstruktur === */
h1 { line-height: 40px; margin-bottom: 25px; text-transform: none; }
h2 { line-height: 36px; margin-bottom: 20px; text-transform: none; }
h3 { line-height: 30px; margin-bottom: 20px; text-transform: none; }
h4 { line-height: 25px; margin-bottom: 6px; text-transform: none; }
h5 { line-height: 24px; margin-bottom: 18px; text-transform: none; }
h6 { line-height: 19px; margin-bottom: 18px; text-transform: none; }

h2.contentheading { font-size: 36px; }

/* === Abstände: Hauptinhalt === */
#main-content-row {
  padding: 20px 0 !important;
}

/* === Menüfarben und Breadcrumbs === */
ul.sf-menu > li > a {
  font-size: 1.1em;
  padding: 18px 12px;
}
ul.sf-menu > li > a:hover,
ul.sf-menu > li.active > a {
  background-color: #5D6C89;
/*  border-bottom: 3px solid #fff; */
}
ul.sf-menu ul li a:hover,
ul.sf-menu ul li span:hover,
ul.sf-menu ul li.active > a,
ul.sf-menu ul li.sfHover > a,
ul.sf-menu ul li.active > span,
ul.sf-menu ul li.sfHover > span {
  text-decoration: underline;
}

#breadcrumbs-row .breadcrumb {
  text-transform: none;
  font-size: 15px;
  padding: 6px 0;
  border-top: none;
  line-height: 30px;
}
#lastitem, .breadcrumb > .active {
  color: #5D6C89;
}

/* === Buttons === */
.btn-primary, .btn-small, .contentpane .btn {
  background: #5D6C89;
  max-width: none;
}
.btn-primary:hover, .btn-small:hover {
  background-color: #ffffff;
}

/* === Mobile Buttons === */
@media (max-width: 640px) {
  .btn-primary, .btn-small, .btn-info {
    width: 100%;
  }
}

/* === HERO-BEREICH (Headerbild mit Overlay) === */
#mod-custom152 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.zb-hero {
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}
.zb-hero-image {
  position: relative;
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.zb-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 340px; /* Kompaktere Darstellung */
}
.zb-hero-text {
  position: absolute;
  top: 10%;
  left: 5%;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 25px;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  max-width: 450px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.zb-hero-text h2 {
  font-size: 1.9em;
  line-height: 1.4;
  margin: 0;
  white-space: normal;
}
.zb-hero-subline {
  text-align: center;
  margin-top: 10px !important;
  padding: 0 15px 15px !important;
}
.zb-hero-subline p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #444;
  margin: 0 auto;
  max-width: 800px;
}

/* === Abstandskorrektur für übergeordnete Joomla-Elemente === */
#sp-header,
#sp-component,
#sp-main-body,
#sp-main-body .row,
#sp-main-body .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* === KACHELSTIL === */
.zb-kachelmodul {
  background: #f7f7f7;
  padding: 25px 25px 20px 25px;
  border-radius: 8px;
  min-height: 200px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.zb-kachelmodul:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.zb-kachelmodul h3 {
  font-size: 1.4em;
  margin-bottom: 12px;
}
.zb-kachelmodul p {
  font-size: 1em;
  line-height: 1.6em;
  margin: 0;
}

/* === Footer === */
#footer-row-3 {
  padding: 40px 0 30px;
  background-color: #2f3a4e;
  color: #ccc;
  font-size: 0.95em;
}
#footer-row-3 a {
  color: #fff;
  text-decoration: underline;
}

/* === MOBILE ANPASSUNGEN === */
@media (max-width: 768px) {
  .zb-hero-text h3 {
    font-size: 1.6em;
    line-height: 1.4;
  }
  .zb-hero-text {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 90%;
  }
  .zb-hero-subline p {
    padding: 0 10px;
  }
}

#aside-right #aside-right-top {
    /* background-color: #f3f5f2; */ 
    padding-top: 31px;
}