html {
    scroll-behavior: smooth;
}

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F8E6D7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
    display: flex;
    justify-content: flex-end;
    width: 100vw;
}

/* Navigation Styles */
nav {
    /* width: 100%; */ /* Removed width */
    max-width: 900px; /* Adjusted max-width */
    margin: 0 2vw 0 auto; /* Align to the right with a small right margin */
    background: transparent;
    box-shadow: none;
}

/* Main Content Styles */
main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Footer Styles */
footer {
    background: none;
    color: inherit;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

/* Menü-Styling */
nav ul {
    display: flex;
    /* justify-content: center; */ /* Removed centering */
    gap: 0.2rem; /* Further reduced gap */
    list-style: none;
    font-size: 0.9rem; /* Reduced font size */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0.4rem 0; /* Adjusted vertical padding */
    height: 40px; /* Reduced height */
    align-items: center;
    background: transparent;
    width: 100%; /* Ensure ul takes full width of nav */
}
nav ul li {
    white-space: nowrap;
    flex-shrink: 1; /* Allow items to shrink */
}
nav ul li a {
    color: #25777A;
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0.6rem; /* Further reduced horizontal padding */
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    font-size: 0.9rem; /* Match ul font size */
    letter-spacing: 0.01em;
    background: transparent;
}
nav ul li a:hover, nav ul li a.active {
    background: #F68B4B;
    color: #fff;
}

/* Button-Styling */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: #25777A;
    color: #fff;
}
.btn-primary:hover {
    background: #195356;
    color: #fff;
}
.btn-secondary {
    background: #F68B4B;
    color: #fff;
}
.btn-secondary:hover {
    background: #d96e2c;
    color: #fff;
}

/* Global Content Container */
.content-container {
    width: 100%;
    max-width: 1200px;
    /* Oder eine andere passende Breite, die Ihnen gefällt */
    margin: 0 auto;
    padding: 0 2vw;
    /* Zusätzliches inneres Padding */
    box-sizing: border-box;
}

/* Passt das Padding für alle Sektionen an, nur oben/unten */
section {
    max-width: 100%;
    margin: 0;
    padding: 3vw 0;
    /* Horizontal Padding wird vom .content-container übernommen */
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Sektion selbst zentriert den Inhalt */
}

/* Spezifische Anpassungen für einzelne Sektionen, falls nötig */
.hero .content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vorteile .content-container .vorteile-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.mission {
    min-height: 100vh; /* Sicherstellen, dass die Sektion mindestens Bildschirmhöhe hat */
    padding: 4rem 0; /* Vertikales Padding */
    background:#F8E6D7;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Inhalt vertikal zentrieren */
    align-items: center; /* Inhalt horizontal zentrieren */
}

.mission > h2 {
    margin-top: 0; /* Oberen Rand der Überschrift anpassen, falls nötig */
    margin-bottom: 2rem; /* Abstand unter der Überschrift */
    /* Bestehende Schriftgrößen und Farben beibehalten */
}

.mission .content-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den content-container */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2vw;
    box-sizing: border-box;
}

.mission .content-container > div {
     display: grid;
     grid-template-columns: 55% 35%; /* Bild breiter (55%), Text schmaler (35%) */
     gap:2rem;
     width: 100%;
     align-items: stretch;
     justify-content: center;
}

.mission .content-container img {
    width: 100%; /* Bild nimmt volle Breite seiner Grid-Zelle ein */
    border-radius:10px;
    height: 100%; /* Höhe auf 100% der Grid-Zelle */
    object-fit: cover;
}

.mission .content-container > div > div {
    color:#25777A;
    font-size:0.9rem; /* Schriftgröße des Textes weiter verkleinern */
    width: 100%;
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
    height: 100%;
}

/* Bestehende Absatz-Margins beibehalten */
.mission .content-container > div > div p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

.mission .content-container > div > div p:last-child {
    margin-bottom: 0;
}

.ueber-uns .content-container > div {
    display:flex;
    justify-content:space-around;
    align-items:flex-start;
    gap:2rem;
}

.partner .content-container .partner-header {
    display:flex;
    align-items:center;
    gap:2rem;
    margin-bottom:3rem;
}
.partner .content-container .partner-logos {
    display:flex;
    flex-wrap:wrap;
    gap:2rem;
    justify-content:center;
    align-items:center;
    margin-top:2rem;
}

/* Zentrierung für Überschriften in anderen Bereichen */
section > h2, section > h1 {
    text-align: center;
    width: 100%;
}

/* Section Versorgung exakt auf Viewport-Höhe begrenzen */
.versorgung {
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.versorgung img {
    max-height: 60vh;
    width: auto;
    margin: 2rem auto 0 auto;
    display: block;
}

.kontakt {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F68B4B;
    padding: 0;
}
.kontakt-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    padding: 0 2vw;
}
.kontakt-img {
    flex: 0 0 40vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #F68B4B;
    max-width: 40vw;
    min-width: 320px;
    padding-left: 0;
}
.kontakt-img img {
    max-width: 90%;
    max-height: 70vh;
    height: auto;
    display: block;
}
.kontakt-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    background: #F68B4B;
    max-width: 60vw;
    min-width: 320px;
    padding: 0;
    height: auto;
}
.kontakt-logo {
    align-self: flex-end;
    height: 60px;
    margin-bottom: 2.5rem;
}
.kontakt-textblock {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.kontakt-textblock h2 {
    font-size: 2.3rem;
    font-family: Georgia,serif;
    color: #222;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    text-align: right;
}
.kontakt-textblock .btn-primary {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    align-self: flex-end;
}
.kontakt-social {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.kontakt-social a {
    color: #25777A;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    gap: 0.5rem;
}
.kontakt-social a:hover {
    text-decoration: underline;
}

.partner-section-styled {
    background-color: #25777A !important;
    color: #F8E6D7 !important;
    min-height: 100vh !important; /* Mindesthöhe auf 100% der Viewport-Höhe setzen */
    padding: 4rem 0 !important; /* Vertikales Padding beibehalten */
    text-align: center; /* Zentriert den Inhalt der Sektion */
    display: flex !important; /* Flexbox für die Sektion */
    flex-direction: column !important; /* Inhalte vertikal anordnen */
    justify-content: center !important; /* Inhalt vertikal zentrieren */
    align-items: center !important; /* Inhalt horizontal zentrieren */
}

.partner-section-styled .content-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den content-container */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2vw;
    box-sizing: border-box;
}

.partner-section-styled .partner-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Header-Inhalt */
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 800px;
}

.partner-section-styled .partner-header h2 {
    color: #F8E6D7 !important;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    text-align: center; /* Zentriert die Überschrift */
    margin: 0;
}

.partner-section-styled .partner-header img {
    height: 60px;
}

.partner-section-styled .partner-logos {
    display: grid !important; /* Grid erzwingen */
    grid-template-columns: repeat(3, 1fr) !important; /* Festes 3-Spalten-Layout erzwingen */
    gap: 2.5rem !important; /* Abstand erzwingen */
    width: 100% !important;
    max-width: 900px !important; /* Maximale Breite erzwingen */
    margin: 0 auto !important; /* Zentrierung erzwingen */
    padding: 0 !important;
    justify-items: center !important; /* Zentrierung im Grid-Feld erzwingen */
    align-items: center !important; /* Vertikale Zentrierung im Grid-Feld erzwingen */
}

.partner-section-styled .partner-logos img {
    background: #F8E6D7 !important;
    border-radius: 8px !important;
    padding: 1rem 1.5rem !important;
    width: 100% !important;
    height: auto !important;
    max-height: 70px !important; /* Maximale Höhe erzwingen */
    object-fit: contain !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Entferne die alten Partner-Styles, da sie durch die neuen überschrieben werden */
.partner {
    width: 100vw;
    min-height: 100vh;
    padding: 4rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem auto 0 auto;
}

.ablauf {
    width: 100vw;
    min-height: 100vh;
    background: #F68B4B;
    padding: 4rem 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.ablauf h2 {
    width: 100%;
    text-align: center;
}
.ablauf-timeline {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    margin: 3rem auto 0 auto;
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.ablauf-timeline-line {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 164px;
    height: 6px;
    background: #25777A;
    border-radius: 3px;
    z-index: 1;
    pointer-events: none;
}
.ablauf-step-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.ablauf-step-group img {
    height: 120px;
    margin-bottom: 32px;
}
.ablauf-dot {
    width: 32px;
    height: 32px;
    background: #25777A;
    border: 6px solid #F68B4B;
    border-radius: 50%;
    margin-top: 0;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}
.ablauf-grid {
    width: 90vw;
    max-width: 1400px;
    margin: 2.5rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
.ablauf-grid > div {
    flex: 1 1 0;
    text-align: center;
}
.ablauf-grid h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.global {
    background: #25777A;
    color: #F8E6D7;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2vw;
    box-sizing: border-box;
}
.global-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}
.global-text h2 {
    font-size: 3.2rem;
    font-family: Georgia,serif;
    color: #F8E6D7;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}
.global-text p {
    font-size: 1.4rem;
    margin-top: 2rem;
    color: #F8E6D7;
}
.global-img {
    flex: 0 0 34vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 34vw;
    height: 100%;
    margin-right: 0;
}
.global-img img {
    max-width: 100%;
    max-height: 60vh;
    height: auto;
    display: block;
}

.scroll-zoom {
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
  will-change: transform;
  transform: scale(1);
}
.scroll-zoom.in-view {
  transform: scale(1.06);
} 

.scroll-fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1);
}
.scroll-fade.in-view {
  opacity: 1;
}

.scroll-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(.22,1,.36,1);
}
.scroll-slide.in-view {
  opacity: 1;
  transform: translateY(0);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
} 

.scroll-zoom-dynamic {
  transition: transform 0.3s cubic-bezier(.22,1,.36,1);
  will-change: transform;
} 

/* Standard-Styles für Navigation und Hamburger-Button */
header {
  position: relative;
}
.hamburger {
  display: none;
  background: none;
  border: none;
        font-size: 2rem;
  color: #25777A;
  position: absolute;
  right: 1rem;
  left: auto;
  top: 1rem;
  z-index: 2001;
  cursor: pointer;
}
.main-nav {
  display: block;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0.4rem 0;
  height: 40px;
  align-items: center;
  background: transparent;
  width: 100%;
}
.main-nav ul li a {
  color: #25777A;
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  background: transparent;
} 

.button-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-content: flex-start;
} 

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2vw;
  box-sizing: border-box;
  gap: 2rem;
}
.hero-text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  max-width: 50%;
  box-sizing: border-box;
}
.hero-logo {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 50%;
  box-sizing: border-box;
}
.hero-logo img {
  width: 98%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  display: block;
}
.button-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-content: flex-start;
  width: 100%;
}
.button-row .btn {
  display: inline-block !important;
  width: auto !important;
  min-width: 0;
}
.hero-text h1 {
  font-size: 3rem;
  color: #25777A;
  font-family: Georgia,serif;
  margin-bottom: 2.5rem;
  line-height: 1.1;
} 
