:root {
  --primary-color: #1983B7;
  --secondary-color: #0fa4a0;
  --bg-light: #f8f9fa;
  --text-dark: #212529;
  --text-light: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* === Header === */
.top-header {
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo {
  max-height: 50px;
}

@media (max-width: 768px) {
  .header-center {
    display: none;
  }
}


.contact-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.contact-link i {
  margin-right: 0.5rem;
}
/* Nur Icons mobil */
@media (max-width: 768px) {
  .header-center span {
    display: none;
  }

  .header-center {
    justify-content: flex-end;
    gap: 1.2rem;
  }

  .contact-link i {
    margin-right: 0;
    font-size: 1.2rem;
  }
}
.header-right {
  position: relative;
}
.cta-final {
  padding: 3rem 1.5rem;
  text-align: center;
  background: #fff;
}

.cta-final h2 {
  font-size: 2rem;
  color: #2c6aa6;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-final p {
  color: #666;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 2px solid #2c6aa6;
  border-radius: 8px;
  background: transparent;
  color: #2c6aa6;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #2c6aa6;
  color: white;
}

.btn-filled {
  padding: 0.75rem 1.5rem;
  background: #2c6aa6;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.btn-filled:hover {
  background: #16548b;
}

.intro-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #fff;
}
.blue-highlight-section {
  background-color: #3982b5; /* leicht dunkler als primary */
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.blue-highlight-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.blue-highlight-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button.white-border {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button.white-border:hover {
  background-color: #fff;
  color: #1983B7;
}

.intro-section h2 {
  color: #1983B7;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.intro-section p {
  margin: 0.5rem 0;
  color: #1983B7;
  font-size: 1.1rem;
  line-height: 1.6;
}

.intro-section .highlight {
  color: #0fa4a0;
  font-weight: bold;
}
.image-slider {
  background: #fff;
  padding: 2rem;
  text-align: center;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slider-track img {
  width: 100%;
  max-width: 1000px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

@media (max-width: 600px) {
  .slider-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.7rem;
  }
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #1983B7;
  color: #1983B7;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #1983B7;
  color: #fff;
}

.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  display: block;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 0;
  background: #1564AC;
  border-radius: 5px;
  flex-direction: column;
  min-width: 180px;
  z-index: 10;
}

.mobile-nav a {
  padding: 1rem;
  color: white;
  text-decoration: none;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.open {
  display: flex;
}

@media (max-width: 767px) {
  .header-center {
    display: none;
  }
}

.header-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem; /* mehr Abstand zwischen Telefon & Mail */
  font-size: 0.9rem;
}

/* === Hero === */
.hero {
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.75rem;
  border-radius: 6px;
}

/* === Dienstleistungen === */
.section {
  padding: 3rem 2rem;
  text-align: center;
}

.section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.feature {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 300px;
  text-align: center;
}

.feature i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* === Testimonials === */
.testimonial-section {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.testimonial {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem auto;
  max-width: 600px;
  padding: 1rem;
  border-left: 4px solid var(--secondary-color);
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonial img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content {
  text-align: left;
}

/* === Kontaktformular === */
.kontakt {
  padding: 2rem;
  background-color: var(--bg-light);
  text-align: center;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: var(--secondary-color);
}

/* === Google Map Section === */
.map-section {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

iframe {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border: none;
  margin-top: 1rem;
}

/* === Footer === */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}
.split-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
}

.split-image {
  flex: 1 1 50%;
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

.split-text {
  flex: 1 1 50%;
  padding: 2rem;
  background-color: #f8f9fa;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover, .btn-secondary:hover {
  background: var(--secondary-color);
  color: white;
}
