/* =WordPress Core
-------------------------------------------------------------- */
a, p, h1, h2, h3, h4, h5 {
      word-break: break-word;
}

.vc_row {
    padding: 40px 20px 10px 20px;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

body {
  background: #f0f0f0;
  font-size: 100%;
}

header {
  transition: all 0.4s ease;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

body {
  font-family: 'Raleway', sans-serif;
}

a {
  color: #1f4f7a;
  text-decoration: none;
  transition: all 0.2s linear;
}

a:hover, a:focus  {
  color: rgba(31, 79, 122, .7);
  text-decoration: none;
}

.highlight {
  font-weight: bold;
  color: #1f4f7a;
  font-family: 'Raleway', sans-serif;
}

.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }

.footer-wrapper > .row:last-child {
  border-bottom: 5px solid #1f4f7a;
	margin-left: -30px;
	margin-right: -30px;
}

.footer-wrapper, .sub-footer-wrapper {
  background: #fff;
}

.form-control {
  border-radius: 0;
}

.theme-page-wrapper {
	background: #fff;
	box-shadow: 0 9px 0px 0px white,
	            0 -9px 0px 0px white,
	            6px 0 15px -4px rgba(84, 84, 84, .8),
	           -6px 0 15px -4px rgba(84, 84, 84, .8);
}

.theme-page-wrapper > .theme-content {
  background: #fff;
}

.theme-page-wrapper > .theme-content > .vc_row {
  background: #fff;
  border-bottom: 5px solid #1f4f7a;
}

/* Widget Icon Text */
section.widget_icon_text > .widgeticon > i {
  font-size: 42px;
  color: #1f4f7a;
}

a.sw-btn, button.sw-btn {
  color: #000;
  background-color: #fff;
  border: 3px solid #1f4f7a;
  border-radius: 0px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  transition: border 0.2s linear;
}

a.sw-btn:hover, button.sw-btn:hover {
  border: 3px solid rgba(31, 79, 122, .7);
}

.header-container {
  margin-top: 50px;
  background: #fff;
  padding: 0px;
  border-bottom: 5px solid #1f4f7a;
}

#sw-main-navigation > ul > li > a:hover,
#sw-main-navigation > ul > li > a:focus {
  color: #1f4f7a;
}

#sw-main-navigation > ul > li.current-menu-item > a  {
  color: #1f4f7a;
  font-weight: 600;
}

/* ===============================
   MAIN NAVIGATION – PRETTY STYLE
   =============================== */

/* Align nav vertically with logo */
#sw-main-navigation {
    align-items: center;
}

/* Nav list */
#sw-main-navigation > ul {

    align-items: center;
    gap: 10px; /* space between items */
}

/* Nav items */
/* NAVIGATION – existing styles */
#sw-main-navigation > ul > li {
    padding-right: 10px;
    padding-left: 10px;
    position: relative; /* REQUIRED for underline */
}

#sw-main-navigation > ul > li > a {
    text-transform: uppercase;
    font-size: 21px;
    color: rgba(84, 84, 84, 0.7);
    line-height: 55px;
}

/* Hover + active color */
#sw-main-navigation > ul > li > a:hover,
#sw-main-navigation > ul > li > a:focus {
    color: #1f4f7a;
    background: transparent;
}

#sw-main-navigation > ul > li.current-menu-item > a {
    color: #1f4f7a;
    font-weight: 600;
}

/* ===============================
   SHORT UNDERLINE (FIX)
   =============================== */
#sw-main-navigation > ul > li::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #1f4f7a;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

#sw-main-navigation > ul > li:hover::after,
#sw-main-navigation > ul > li.current-menu-item::after {
    width: 60%;
}

/* ===============================
   MOBILE – keep it clean
   =============================== */
@media (max-width: 767px) {
    #sw-main-navigation > ul {
        gap: 0;
    }

    #sw-main-navigation > ul > li::after {
        display: none;
    }

    #sw-main-navigation > ul > li > a {
        padding: 12px 15px;
        font-size: 16px;
    }
}


.no-border {
  border: 0 !important;
  background: #f0f0f0 !important;
  padding: 0 !important;
}

/* ===== FOOTER LINE ABOVE LEGAL LINKS (like your screenshot) ===== */

/* Put the colored line ABOVE Datenschutz/Impressum */
.footer-wrapper > .row:last-child{
  border-bottom: 5px solid #1f4f7a !important;
}

/* Make sure the sub-footer (with legal links) has NO line */
.sub-footer-wrapper{
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #fff !important;
}

/* Right-align Datenschutz/Impressum neatly */
.sub-footer-wrapper ul,
.sub-footer-wrapper .footer-navigation-ul{
  margin: 0 !important;
  padding: 12px 0 18px 0 !important;
  list-style: none !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 28px !important;
}

.sub-footer-wrapper li{
  margin: 0 !important;
  padding: 0 !important;
}

.sub-footer-wrapper a{
  color: rgba(84, 84, 84, 0.85) !important;   /* grey like screenshot */
  text-decoration: none !important;
  font-weight: 400 !important;
  font-size: 13px !important;
}

.sub-footer-wrapper a:hover{
  color: #1f4f7a !important; /* blue hover */
}

#companies-logo {
	    padding-bottom: 20px;
	padding-top: 20px;
}


/* ===============================
   MOBILE MENU BUTTON – CLEAN UP
   =============================== */
/* ===============================
   CENTER MOBILE MENU BUTTON
   =============================== */

/* Center navbar header contents on mobile */
@media (max-width: 767px) {

  .navbar-header {
    display: flex;
    justify-content: center;
  }

  /* Ensure the button itself is centered */
  button.navbar-toggler.sw-btn {
    margin: 0 auto;
  }

}

button.navbar-toggler.sw-btn {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;
    border: 2px solid #1f4f7a;
    background: transparent;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #1f4f7a;
    border-radius: 4px;

    transition: all 0.25s ease;
}

/* Icon bars */
button.navbar-toggler.sw-btn i {
    font-size: 16px;
    line-height: 1;
}

/* Hover / focus */
button.navbar-toggler.sw-btn:hover,
button.navbar-toggler.sw-btn:focus {
    background: #1f4f7a;
    color: #fff;
}

/* Icon color on hover */
button.navbar-toggler.sw-btn:hover i,
button.navbar-toggler.sw-btn:focus i {
    color: #fff;
}

/* Remove ugly focus outline */
button.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Force toggler to show on mobile */
@media (max-width: 991px) {
  button.navbar-toggler.sw-btn {
    display: flex !important;
    margin: 0 auto;
  }

  .navbar-header {
    display: flex;
    justify-content: center;
  }
}

/* Hide toggler on desktop (Bootstrap default, explicit) */
@media (min-width: 992px) {
  button.navbar-toggler.sw-btn {
    display: none !important;
  }
}

/* ===============================
   CENTER SWIPER IMAGE
   =============================== */

/* Center image inside swiper slide */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure image scales nicely */
.swiper-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ===============================
   FIX: MOBILE LOGO NOT FULL WIDTH
   =============================== */

@media (max-width: 991px) {

  /* Center logo container */
  .navbar-header{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-brand{
    margin: 0 auto !important;
    float: none !important;
    text-align: center;
    max-width: 100%;
  }

  /* IMPORTANT: prevent full-width logo */
  .navbar-brand img{
    width: auto !important;
    max-width: 85vw !important;   /* logo never exceeds viewport width */
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
}

/* Header-Layout: vertikal sauber zentrieren */
#sw-header .navbar,
#sw-header .navbar .container-fluid{
  align-items: center;
}

/* Logo: feste Höhe, Breite automatisch, nie verzerren */
#sw-header .navbar-brand img,
#sw-header img.sw-header-logo{
  height: 120px;       /* anpassen: 56–72px */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Optional: Abstand zwischen Logo und Nav */
#sw-header .navbar-brand{
  padding: 0;
  margin-right: 32px;
}

/* falls PNG-Rand vorhanden: optisch kompakter wirken lassen */
#sw-header .navbar-brand{
  line-height: 0;
}





