/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('/static/twsbf/fonts/open-sans-v40-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--secondary-color);
}

:root {
  --primary-blue: #2b298a; 
  --secondary-red: #DC3545;
  --light-gray: #F8F9FA;
  --bs-btn-hover-color: #fff;
}

header#header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    padding-bottom: 6px;
    margin-left: -20px;
}

.offcanvas .navbar-nav .dropdown-menu {
  width: 100%;
}

#mobile-menu-logo {
    height: 70px;
}
#header.scrolled {
box-shadow: 10px 0px 10px gray;
}

#header.scrolled nav.navbar {
  height: 75px;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    border: none;
}

.logo-mobile {
  display: none;
}

.clear {
  clear: both;
}
.content-trenner{
  width: 100%;
  height: 35px;
}

/* Custom container width */
.container {
  max-width: 1920px !important;
}

main#main-content {
  max-width: 2000px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 63%;
  left: 0;
  right: 0;
  height: 300px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  z-index: -2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-flex-container {
  display: flex;
  gap: 0;
  height: 657px;
  max-width: 1920px;
  margin: 0 auto;
}

.hero-text-area {
  width: 480px;
  position: relative;
  flex-shrink: 0;
}

.hero-text-area::before {
  content: '';
  position: absolute;
  top: 368px;
  left: -40px;
  right: 0;
  height: 311px;
  background: linear-gradient(135deg, #e60003 0%, #e60003 100%);
  z-index: -1;
  width: 750px;       
}

.hero-image {
  position: relative;
  height: 657px;
  overflow: hidden;
  border-radius: 10px;
  flex-grow: 1;
  margin-right: 40px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-box {
  position: absolute;
  top: 110px;
  left: 40px;
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 525px;
  z-index: 3;
  border: 1px solid #e60003;
  text-align: center;
}

.info-box h2 {
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 2.4rem;
  text-align: center;
}

.info-box p {
  font-size: 1.3rem;
}

img.vdwlogo {
    max-width: 290px;
    margin-top: 20px;
}

.startbox img.vdwlogo {
    max-width: 202px;
    margin-top: 20px;
}


/*.btn-primary-custom {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 10px 30px;
  font-weight: 600;
  color: #fff;
}

.btn-primary-custom:hover {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
}*/

.services-section {
  position: relative;
  padding: 222px 0 0 0;
  margin-bottom: 77px;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 69%;
  left: 0;
  right: 0;
  height: 60px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  z-index: -1;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
  width: 525px;
  border: 1px solid #e60003;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 2.3rem;
}

.service-card h4 {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 1.2rem;
}

.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 50px 0 20px;
}

.footer h4 {
  margin-bottom: 20px;
  font-weight: bold;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: #ffd700;
}

.welcome-text {
  background: white;
  padding: 40px;
  margin: 40px 0;
  border-radius: 10px;
  text-align: center;
  position: absolute;
  bottom: -215px;
  right: 119px;
}

.welcome-text h1 {
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 2.4rem;
}

.welcome-text h2 {
  font-size: 2.4rem;
  font-weight: normal;
}


/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus {
  /*outline: 2px solid #ffd700;
  outline-offset: 2px;*/
}

.navbar-brand img {
  width: 163px;
}

.logo-tw img {
  width: 163px;
  position: relative;
  margin: 30px 0 0 145px;
}

nav.navbar {
  height: 169px;
}

a.nav-link {
  font-size: 1.5rem;
  margin-right: 47px;
}

.services-section .container {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.row-ss {
  display: flex;
  justify-content: space-between;
}

.col-ss {
  flex: 0 0 auto;
  width: 525px;
}

#infoboxen .col-ss {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 50px;
}

footer .container {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.row-footer {
  display: flex;
  justify-content: space-between;
}

.col-footer {

}

footer p, footer a, footer address, footer div {
  font-size: 1.2rem;
}
.cont-wrap {
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  column-gap: 120px;
}
#inhalt-main {
  flex-grow: 1;
  order: 1;
  margin-right: 40px;
}

#inhalt-aside {
  flex: 0 0 400px;

  margin-left: 40px;
}

#infoboxen {
  padding-top: 64px;
}
#infoboxen .service-card {
  width: 100%;
}

.imgleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}
.imgright {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}
.clear {
  clear: both;
}
.absatz-buttons {
	display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.bildgala {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}
.bildgala img {
  display: block;
  width: 100%;
}


.img-container, .img-container a {
  position: relative;
  display: block;
}
.img-icon {
	position: absolute;
  right: 5px;
  bottom: 5px;
  background-color: #1a2c4e;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  border: 1px solid #fff;
}
.img-icon svg {
  color: #fff;
}

.inh-abs-titel {
  padding-bottom: 0.5rem;
}

.bildgala + .absatz-buttons {
  padding-top: 2rem;
}
.inh-abs-text + .bildgala {
  padding-top: 1rem;
}
.inh-abs-text + .absatz-buttons {
  padding-top: 0.5rem;
}
.content-element + .content-element {
  margin-top: 3rem;
}

.hidelogod {
  display: none;
}
.showlogom {
  display: block;
  margin-top: 0 !important;
}

.fs-bg {
  background-color: #eee;
  padding: 20px;
}

/* Öffnungszeiten Fusszeile */
.oez-cont {
  display: flex;
  flex-direction: column;
}
.oez-item {
  display: flex;
  flex-direction: row;
}
.oez-tag {
  flex: 0 0 130px;
}
.oez-zeit {
  flex-grow: 1;
}

@media (max-width: 1800px) {
  .welcome-text {
    bottom: -250px;
  }
}

@media (max-width: 1700px) {
  .row-ss {
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 40px;
  }
  .services-section::before {
    top: 61%;
    height: 130px;
  }
}

@media (min-width: 1600px) { /* MIN-WIDTH */
  .navbar-expand-custom {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-custom .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-custom .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-custom .navbar-toggler {
    display: none;
  }
}

@media (max-width: 1600px) {
  .navbar-expand-custom .navbar-nav {
    flex-direction: column;
  }

  .navbar-expand-custom .navbar-collapse {
    display: none;
  }

  .navbar-expand-custom .navbar-collapse.show {
    display: block;
  }

  .navbar-expand-custom .navbar-toggler {
    display: block;
  }

  .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #f8f9fa;
    border: 0;
    box-shadow: none;
  }

  .logo-mobile {
    display: block;
  }
  .logo-desktop {
    display: none;
  }

  .logo-tw img {
    width: 170px;
    margin: 0px 0 0 212px;
  }
  .navbar-brand img {
    width: 170px;
  }
  nav.navbar {
    height: auto;
  }
  
  #main-content .container {
    margin-top: 0 !important;
  }
  #infoboxen {
    padding-top: 20px;
  }  
}

@media (max-width: 1300px) {
  .hero-flex-container {
    flex-direction: column;
    gap: 20px;
  }
  .hero-text-area {
    order: 2;
    width: auto;
  }
  .hero-image {
    margin-left: 20px;
  }
  .info-box {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 20px;
    width: auto;
  }
  .hero-text-area::before {
    display: none;
  }
  .welcome-text {
    position: relative;
    bottom: 0;
    right: 0;
  }
  .services-section {
    padding: 0;
  }
  .hero-section::before {
    top: 39%;
  }
  .services-section::before {
    top: 51%;
  }

  .row-footer {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  #inhalt-main {
    order: 0;
  }
  .cont-wrap {
    flex-direction: column;
  }
  #inhalt-aside {
      flex: 0 0 100%;
  }
  .logo-tw img {
    margin-left: 30px;
  }
}

@media (max-width: 992px) {
  .bildgala {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hero-flex-container {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .hero-text-area {
    width: 100%;
    order: 2;
  }

  .hero-image {
    order: 1;
    height: 300px;
  }

  .info-box {
    position: static;
    top: auto;
    right: auto;
    margin-top: 0;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section::before {
    height: 200px;
  }

  .services-section::before {
    display: none;
  }

  .col-ss {
    width: 100%;
  }
  .service-card {
    width: 100%;
  }

  .logo-tw img {
    margin-left: 30px;
  }
  
  .bildwechsel {
    width: 100% !important;
  }
}

@media (max-width: 689px) {
  .imgright {
    float: none;
    margin-left: 0;
    margin-bottom: 20px;
    width: 100% !important;
  }
  .imgleft {
    float: none;
    margin-left: 0;
    margin-bottom: 20px;
    width: 100% !important;
  }
  
  .service-card h3 {
    font-size: 1.8rem;
  }  
  .bildgala {
    grid-template-columns: 1fr 1fr;
  }
}


#designbody { background: none; background-color: #fff !important; color: #1b1b1b; font-size: 10pt; font-weight: 400; font-family: Arial, Sans-serif; }
#designbody ul, ol { padding-left: 21px; }
#designbody p { padding-bottom: 1rem; }
.mceContentBody { padding-top: 0!important; }
