* {box-sizing: border-box;}
body {
    margin: 0; font-family: 'Roboto', sans-serif; color: #42474c;
}

footer {
    background-color: #42474c;
    color: #fff;
}

h1 {color: #00417b;	font-weight: 900; line-height: normal;}
h2 {color: #00417b;}
h3 

p {
	line-height: 1.7;
}

p.italic {
  font-style: italic;
}

.adac {
  font-size: 21px;
  text-align: center;
  background-color:#fc0;
  border-radius: 10px;
  padding: 10px;
}

li::marker {
  color: #00417b;
}

iframe {
   margin: 0;
   padding: 0;
   margin-bottom: -5px;
   border: none; 
   width: 100%;
}

#bg-lightgray {
	background-color: #dfdfdf;
}

#bg-darkgray {
	background-color: #42474c;
}

#bg-lightblue {
	background-color: #e6f3ff;
}

#bg-darkblue {
	background-color: #00417b;
}

.hotline {
z-index: 3;
color: #fff;
font-weight: 900;
font-size: 24px;
text-align: center;
padding-top: 12px;
top: 50%;
left: 50%;
rotate: -4deg;
height: 80px;
width: 200px;
background: #00417b;
border-color: #fff;
border-style: solid;
border-width: thin;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);	
}

.logo {
    background-image: url('./img/Logo_Reinicke.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 300px; 
    height: 78px;
    display: inline-block;
    text-indent: -9999px; /* Versteckt den Text \"Logo\" */
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 55px 10px 55px;
  background-color: #00417b;
  z-index: 3;	
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  z-index: 999;
}

.navbar .nav-links li {
    display: inline;
    z-index: 999;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
	  font-size: 20px;
    font-weight: 600;
    z-index: 999;
}

.navbar .nav-links a:hover {
  color: #BFBFBF;
  border-bottom: 3px solid #e6f3ff;
  z-index: 999;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 4;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
  z-index: 5;	
}

footer {
    padding: 20px 60px 15px 60px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.footer-content h4 {
    margin: 5px 0;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li {
    margin: 5px 0;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-end {
	background-color: #00417b;
	padding: 20px 60px 20px 60px;
}

.address, .opening-hours {
  flex: 1;
}

.opening-hours {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  white-space: nowrap;
}

.opening-hours .block {
  margin-bottom: 20px;
  padding: 25px;
}

.links {
	text-align: center;
	color: #fff;
}

.links a {
	color: #fff;
	text-decoration: none;
}

.links a:hover {
  color: #BFBFBF;
}

.content {
	padding: 2% 7% 2% 7%;
}

.headline {
	position: absolute;
	padding: 3% 0% 0% 3%;
	color: #fff;
	font-size: 5vw;
	font-weight: 700;
	text-shadow: 2px 2px 4px #42474c;
	z-index: 1;
	animation: headline 2s ease 1s 1 normal forwards;
	animation-fill-mode: both;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
	padding: 25px 0px 10px 0px;
}

/* Kachel-Styling */
.team-member {
    width: 275px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
}

/* Profilbild */
.profile-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Name und Position */
.member-info {
    padding: 15px;
}

.name {
    font-weight: bold;
    font-size: 1.2rem;
}

.position {
    font-size: 0.9rem;
    color: #00417b;
    margin-top: 5px;
}

/* Kontakt */
.contact {
    margin-top: 15px;
}

.phone, .email {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
	letter-spacing: -0.02em;
    color: #333;
    margin: 5px 0;
}

.icon {
    margin-right: 8px;
}

details {
	background: #fff; 
	border: none;
	margin-bottom: 1.5rem;
}
summary {
	background: #00417b; 
	color: #fff;
	border-radius: 5px;
	cursor: pointer; 
	padding: 1rem;
}

/* Formular */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #00417b;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #42474c;
}

.row {
	display: table;
    width: 100%;
}

.col-1 {
    display: table-cell;
    padding-right: 5px;
	width: 50%;
}
.col-2 {
    display: table-cell;
    padding-left: 5px;
	width: 50%;
}

.img-center img {
  display: block;
  margin: auto;
  width: 50%;
}
.about {
	padding: 50px 50px 50px 50px;
}

.service {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap; 
}

.image {
  flex: 1 1 50%;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.text {
  flex: 1 1 50%;
}

.text h2 {
  color: #003366;
  margin-bottom: 10px;
}

.text ul {
  margin-top: 10px;
  padding-left: 20px;
}

.text small {
  display: block;
  margin-top: 15px;
  color: #555;
}

#about {
	padding: 0% 15% 0% 15%;
}

.img-row {
	display: flex;
	gap: 35px;
}

@keyframes headline {
	0% {
		opacity: 0;
		transform: translateY(250px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  z-index: -1;
}

.mySlides {display: none; z-index: -2;}
img {vertical-align: middle; z-index: -3;}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 4s;
  z-index: -3;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* ///////// FOR PHONE ///////// */

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

/* Responsive Design */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
	  z-index: 3;
  }
  .navbar {
    padding-right: 10px;
    padding-left: 20px;
  }
  /* Standard: Navigation ausblenden */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #00417b;
    position: absolute;
    top: 79px;
    right: 0px;
    padding: 25px 10px 10px 10px;
    border-radius: 5px;
    z-index: 999;
  }
  /* Aktivierte Navigation */
  .nav-links.active {
    display: flex;
  }
}
@media (max-width: 768px) {	
	.opening-hours {
    flex-direction: column;
    white-space: nowrap;
    padding-right: 5px;
  	}
	.team-member {
    width: 225px;
    }
}
@media (max-width: 768px) {
  .service {
    flex-direction: column;
    text-align: center;
    padding-top: 35px;
    padding-bottom: 15px;
  }
    .service li {
    text-align: left;
  }

  .image, .text {
    flex: none;
    width: 100%;
  }

  .image img {
    width: 80%;
    margin: 0 auto;
  }
}
