* {
    font-family: "Oswald", "sans-serif";
}

html {
		scroll-behavior: smooth;
}

body {
		overflow-y: scroll;
}

.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6 {
    color: var(--bs-primary);
}

.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6, p {
	hyphens: auto;
}

.h1, h1, .h2, h2, .h3, h3, .nav-link {
	text-transform: uppercase;
}


.bg-primary * {
    color: white;
}

a {
    text-decoration: none;
}



/*------ NAV ------------------------------ */

	@media all and (min-width: 992px) {
		.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s;  }
		.navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; }

  .navbar-nav {
      display: flex;
      flex-direction: row; /* wichtig */
      }  
  
  .navbar-toggler {
    display: none;
  }
}

.navbar-brand {
    display: none;
}

@media all and (max-width: 991px) {

.navbar-toggler {
  display: block;
}
}

.offcanvas-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.offcanvas-header {
    background-image: url("https://typo3.dawesys.de/fileadmin/stadtgefluestersiegende/logo.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 40px; /* Höhe vom Logo */
    margin-left: 30px; 
    margin-top: 0.5rem;         
}


/*------  Nav Kacheln ------------------------- */

	@media all and (min-width: 992px) {
.nav-link {
  padding: 15px;
  border: 15px solid #F8F9FA;
  background-color: #005e6f;
  width: 200px;
  height: 200px;

  display: block; /* wichtig */
  padding-top: 21px; /* Text bleibt oben */ 

  font-size: 220%;
  text-transform: uppercase;
  color: white !important;
  box-sizing: border-box;
}

.dws-seitenstruktur-navbar {
  margin-top: 0 !important;
}

nav {
  display: flex;
  justify-content: center; /* horizontal zentriert */
  gap: 0; /* keine Lücken zwischen Items */
  width: 100%; /* volle Breite des Viewports/Eltern */
  margin-top: -80px; /* optional */
}
  
.nav-link, .nva-link-text {
  color: white;
  text-align: center;
}

.nav-link:hover,
.nav-link:active {
  color: #ffffff !important;
  background-color: #6c757d !important;
}
	}



/*------ Kopfbereich ------------------------------ */

.dws-seitenstruktur-kopfbereich {
  height: 50vh !important;
  overflow: hidden;
}

.dws-contentelement-carousel-item {
  height: 50vh; /* gleiche Höhe wie Kopfbereich */
  overflow: hidden;
}

.dws-contentelement-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* Bild füllt Container */
  object-position: center center; /* Bild bleibt mittig */
}


/* Der äußere Wrapper, der das Logo oben mittig positioniert */
.dws-seitenstruktur-kopfbereich-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: flex-start; /* optional: oben ausrichten */
  z-index: 5;
}

.dws-seitenstruktur-kopfbereich-logo {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
}

.dws-seitenstruktur-kopfbereich-logo img {
  min-width: 300px;   /* Desktop Größe */
  width: 30vw;        /* skaliert auf kleineren Screens */
  height: auto;
}




