/* Google Font einbinden */
body {
   font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
  color: #1d1d1f;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

header {
  background: white;
  color: white;
  padding: 20px;
  height: 70px;
  border-radius: 12px; /* Ecken mit 12px Radius abrunden */
  display: flex;
  align-items: center;
  gap: 20px; /* Abstand zwischen Bild und Text */
}
.headline {
  font-size: 28px;      /* Größere Schrift für Außendienst */
  font-weight:lighter;    /* Optional: fett */
  margin-bottom: 8px;   /* Abstand nach der Überschrift */
}
.headline1 {
  font-size: 20px;      /* Größere Schrift für Außendienst */
  font-weight:lighter;    /* Optional: fett */
  margin-bottom: 8px;   /* Abstand nach der Überschrift */
  margin-top: 12px;
}

p {
  margin: 0 0 4px 0;    /* kleiner Abstand zwischen den Absätzen */
  line-height: 1.2;     /* engerer Zeilenabstand */
}
header img {
  height: 100px; /* oder was passt */
}
nav {
  margin-top: 10px;
  color: #159cdb;
}

nav a {
  margin: 0 15px;
  color: #5a5f66;
  text-decoration:#0071e3;
}

nav a:hover {
  color: rgb(1, 7, 100);
}
nav a.active {
  background-color: white;   /* Blau */
  color: #5bc2fd;                /* Weißer Text */
  font-weight: bold;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 12px;
}
.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


.card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease;
}
.card p {
  margin-top: 4px;    /* kleinerer Abstand oben */
  margin-bottom: 4px; /* kleinerer Abstand unten */
  line-height: 1.2;   /* engerer Zeilenabstand innerhalb des Absatzes */
}

.headline {
  font-size: 24px;
  font-weight: lighter;
  margin-bottom: 18px;   /* Abstand unter der Überschrift */
}

.card:hover {
  transform: translateY(-10px);
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9fa;
  color: #1d1d1f;
  margin: 0;
  padding: 40px;

  /*background-image: url("bilder/hafenmünster.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;*/
}


.textfeld {
  background: #fff;
  padding: 50px;
  max-width: auto;
  margin: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}
.highlight {
  font-weight: bold;    /* Fett für AXIB */
  color: #003366;       /* Dunkelblau */
  font-style: italic;   /* Kursiv */
}
.normal-text {
  font-weight: normal;  /* Kein fett */
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h1 .highlight {
  color: #003366;
}

h2 {
  font-weight: normal; /* Standard-Schriftgewicht für Header, also nicht fett */
  margin-top: auto;
  margin-bottom: 10px;
}

.intro {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
 .note {
      font-size: 0.9em;
      color: #666;
      margin-top: 15px;
    }

ul {
  padding-left: 1.5rem;
}

.vorteile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.vorteile div {
  background: #f1f1f3;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.cta {
  margin-top: 2rem;
  font-size: 1.1rem;
  text-align: center;
  font-style: italic;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 24px;
  background: #0071e3;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #005bb5;
}

.slideshow {
  position: relative;
  width: auto;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 15px;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  animation: slideAnimation 12s infinite;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow img:nth-child(2) {
  animation-delay: 4s;
}


@keyframes slideAnimation {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

footer {
  background: white;
  color: #0071e3;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-radius: 12px; /* Ecken mit 12px Radius abrunden */
}


/* Container für Logo + Button */
.header-container {
  display: flex;
  align-items: center; /* Vertikal zentrieren */
  justify-content: space-between; /* Bild links, Button rechts */
  padding-right: 20px; /* optional, Abstand rechts vom Button */
}

/* Logo */
.logo {
  height: 50px;
  width: auto;
}

/* Menü-Button nur auf Mobil anzeigen */
.menu-toggle {
  display: none;
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

/* Navigation auf Desktop */
nav {
  display: block;
  gap: 20px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

nav a.active {
  color: #3498db;
}

/* Standardmäßig: Menü-Button ausblenden */
.menu-toggle {
  display: none;
}

/* Responsive: auf Smartphones */
@media (max-width: 768px) {
  .menu-toggle {
  display: block;
  margin-left: auto;  /* schiebt den Button nach rechts */
  margin-right: 7px; /* Abstand zum rechten Rand */
}

  nav {
    display: none;
    flex-direction: column;
    background-color: #f1f1f1;
    position: absolute;
    top: 80px; /* Abstand unter dem Header */
    left: 0;
    right: 0;
    z-index: 10;
    padding: 10px 20px;
  }

  nav.open {
    display: flex;
  }
}