﻿
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f7fb;color:#1f2d3d;}
/* Header */
header {
  background: linear-gradient(rgba(6,30,60,0.3), rgba(6,30,60,0.3)), url('../pics/hero_bg.jpg') center center / cover no-repeat;
  color:#fff; min-height:70vh; display:flex; flex-direction:column;  justify-content: flex-start; align-items: flex-start; text-align:center; padding: 30px 4%;
}
header h1 {font-size:clamp(2.2rem,2.5vw,1.6rem); max-width:900px; margin-top:28px; line-height:1.6; text-shadow:0 2px 10px rgba(0,0,0,0.4);color:#fff;}
header h2 {font-size:clamp(1.2rem,2.5vw,1.6rem); max-width:900px; margin-top:28px; line-height:1.6; text-shadow:0 2px 10px rgba(0,0,0,0.4);color:#fff;}
header p {font-size:clamp(1.2rem,2.5vw,1.6rem); max-width:900px; margin-top:28px; line-height:1.6; text-shadow:0 2px 10px rgba(0,0,0,0.4);}
.headline {
  display: flex;          /* Flexbox für vertikale Anordnung */
  flex-direction: column; /* Zeilen untereinander */
  align-items: center;    /* zentriert horizontal */
  text-align: center;     /* zusätzlich für Safari/alte Browser */
}

.headline span {
  display: block;         /* zwingt jeden span in eine neue Zeile */
  width: 100%;            /* passt auf kleinen Bildschirmen */
  word-wrap: break-word;  /* lange Wörter umbrechen */
}


/* Navigation */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #0b5fa5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.3s;
}

.menu li a:hover {
  background: #094a84;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobil */
@media(max-width:768px){
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #0b5fa5;
    padding: 10px;
    border-radius: 6px;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu li {
    margin: 10px 0;
  }
}
/* Back Top */
.back-to-top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px; /* Abstand zum Logo oder zu anderen Links */
  cursor: pointer;
  transition: transform 0.3s;
}

.back-to-top-nav:hover svg {
  transform: scale(1.1);
}


/* Welcome */

#welcome-modern {
  background: #ffffff;
  padding: 40px 20px;
  border-bottom: 1px solid #e5e9f0;
  text-align: center; /* <<< HIER MITTIG */
}

.welcome-container {
  max-width: 1100px;
  margin: auto;
}

.welcome-badge {
  display: inline-block;
  background: #e8f2fb;
  color: #0b5fa5;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.welcome-text h1 {
	font-size: clamp(2.2rem, 3.5vw, 3rem);
	color: #0000FF;
	margin-bottom: 18px;
}

.welcome-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f2d3d;
  max-width: 850px;
  margin: 0 auto 15px auto; /* <<< mittig */
}

.welcome-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center; /* <<< Buttons mittig */
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
   display: inline-block;
  padding: 12px 22px;
  background-color: #fff;
  color: #0b5fa5;
  border: 2px solid #0b5fa5;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;

}

.btn-primary:hover {
  background: #094a84;
  color: #fff;

}

.btn-outline {
  border: 2px solid #0b5fa5;
  color: #0b5fa5;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #0b5fa5;
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .welcome-container {
    grid-template-columns: 1fr;
  }

  .welcome-text h1 {
    font-size: 2rem;
  }
}

/* Liste */


.list-container {
  width: 100%;
  padding: 20px 0;
}

.list-container ul {
  max-width: 450px;   /* WICHTIG: begrenze die Breite */
  margin: 0 auto;     /* zentriert den Block */
  list-style: none;
  padding-left: 0;
}

.list-container li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  text-align: left;   /* Text links */
}

.list-container li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: green;
  font-weight: bold;
}


/* Ueber uns */

#ueber_uns-modern {
  background: #ffffff;
  padding: 40px 20px;
  border-bottom: 1px solid #e5e9f0;
  text-align: center; /* <<< HIER MITTIG */
}

.ueber_uns-container {
  max-width: 1100px;
  margin: auto;
}

.ueber_uns-badge {
  display: inline-block;
  background: #e8f2fb;
  color: #0b5fa5;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.ueber_uns-text h1 {
	font-size: clamp(2.2rem, 3.5vw, 3rem);
	color: #0000FF;
	margin-bottom: 18px;
}

.ueber_uns-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f2d3d;
  max-width: 850px;
  margin: 0 auto 15px auto; /* <<< mittig */
}

.ueber_uns-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center; /* <<< Buttons mittig */
  gap: 14px;
  flex-wrap: wrap;
}



/* Sections */
section {max-width:1100px; margin:50px auto; padding:0 20px;}
h2 {color:#0b5fa5; margin-bottom:20px;}

/* Grid Leistungen */
.grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px;}
.grid-item {background:#fff; border-radius:12px; padding:20px; display:flex; flex-direction:column; align-items:center; text-align:center; box-shadow:0 6px 16px rgba(0,0,0,.08);}
.grid-item i {font-size:2.5rem; margin-bottom:12px; color:#0b5fa5;}
.grid-item h3 {margin:10px 0 6px; font-size:1.1rem;}
.grid-item p {margin:0; font-size:0.95rem; line-height:1.4;}

/* Galerie Layout */
.gallery {display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:15px; margin-top:20px;}
.gallery-item {overflow:hidden; border-radius:12px; box-shadow:0 6px 16px rgba(0,0,0,0.08);}
.gallery-item img {width:100%; height:100%; object-fit:cover; transition: transform 0.3s ease;}
.gallery-item img:hover {transform: scale(1.05);}

/* ===== SLIDER ===== */
.hero-slider {
  position:relative;
  width:100%;
  overflow:hidden;
}
.hero-slider { height:70vh; }      /* PC Vollbild */
@media (max-width:600px){ 
  .hero-slider { height:50vh; }     /* Handy halb so groß */
}

.slides {
  display:flex;
  height:100%;
  transition:0.7s ease-in-out;
}

.slide {
  min-width:100%;
  position:relative;
}

.slide img {
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Dunkles Overlay */
.slide::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
}

/* Text auf Bild */
.slide-content {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  text-align:center;
  color:white;
  z-index:2;
}

.slide-content h3 {
  font-size:clamp(2.5rem,5vw,4rem);
  margin-bottom:20px;
}

.slide-content p {
  font-size:1.4rem;
  max-width:700px;
}

/* Button */
.btn {
  display:inline-block;
  margin-top:25px;
  padding:14px 30px;
  background:#ffcc00;
  color:black;
  text-decoration:none;
  border-radius:30px;
  font-weight:bold;
  transition:0.3s;
}

.btn:hover { background:white; }

/* Pfeile */
.arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  color:white;
  background:rgba(0,0,0,0.4);
  padding:10px 18px;
  border-radius:50%;
  cursor:pointer;
  z-index:10;
}

.prev { left:20px; }
.next { right:20px; }

/* Punkte */
.dots {
  position:absolute;
  bottom:25px;
  width:100%;
  text-align:center;
  z-index:10;
}

.dot {
  width:12px;
  height:12px;
  background:#777;
  border-radius:50%;
  display:inline-block;
  margin:6px;
  cursor:pointer;
}

.dot.active { background:white; }





/* Team Spalten */
.team-section {
  padding: 80px 20px;
  background: #f7f9fc;
}

.team-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.team-intro {
  font-weight: 500;
  background:#fff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.team-section p {
  max-width: 900px;
  margin: 0 auto 15px;
  line-height: 1.6;
  text-align: center;
}

.team-cta {
  font-weight: bold;
  margin-top: 20px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* Team Card */
.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.team-card p {
  font-weight: 600;
  margin-bottom: 5px;
}

.team-card span {
  font-size: 0.9rem;
  color: #666;
}

/* Kontakt */
#kontakt-modern {
  background: #f4f7fb;
  padding: 80px 20px;
}

.kontakt-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

#kontakt-modern h2 {
  font-size: 2.2rem;
  color: #0b5fa5;
  margin-bottom: 10px;
}

.kontakt-subtitle {
  color: #555;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.kontakt-card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.kontakt-card h3 {
  color: #0b5fa5;
  margin-bottom: 12px;
}

.kontakt-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.kontakt-card a {
  color: #0b5fa5;
  text-decoration: none;
  font-weight: 600;
}

.kontakt-buttons {
  margin-top: 18px;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  background-color: #fff;
  color: #0b5fa5;
  border: 2px solid #0b5fa5;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background-color: #0b5fa5;
  color: #fff;
}



/* Footer */
footer {
  background-color: #1f2d3d;
  color: #fff;
  padding: 35px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-btn {
  background-color: #0b5fa5;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.footer-btn:hover {
  background-color: #094a84;
  color: #fff;
}

@media(max-width:768px){
  .footer-container {
    flex-direction: column;
  }
}
/* Back to Top */

#backToTop {
  position: fixed;
  bottom: 20px;   /* 👈 Abstand vom unteren Rand */
  right: 20px;    /* 👈 Abstand von der Seite */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 9999;
}
















s