
/* Grundlegende Einstellungen */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
  font-size: 16px;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#logo {
  width: 400px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
}

nav ul li a.active,
nav ul li a:hover {
  color: #0066CC;
}

/* Burger-Menü */
.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  text-align: center;
  padding: 8rem 1rem;
}

.hero h1 {
  font-family: 'Sen', sans-serif;
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Parallax Container: Defines the section's size and positioning context */
.parallax-container {
  position: relative; /* Establishes a positioning context for child elements */
  min-height: 100vh; /* Makes the section full viewport height */
  overflow: hidden; /* Clips the image if it overflows the container */
}
 
/* Image Wrapper: Controls the image's positioning and size */
.parallax-img-wrapper {
  position: absolute; /* Positions the image relative to .parallax-container */
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* Make the image taller than the container to enable scrolling */
}
 
/* Parallax Image: The star of the show! */
.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Scales the image to cover the wrapper without distortion */
  object-position: center; /* Centers the image */
}
 
/* Foreground Content: Overlays the image */
.parallax-content {
  position: relative; /* Ensures content stays above the image */
  z-index: 1; /* Higher z-index than the image */
  color: white; /* Contrast with the image */
  text-align: center;
  padding: 2rem;
  top: 150px; /* Vertically adjust content */
  transform: translateY(-50%); /* Adjust for centering */
}

.btn-primary {
  background-color: #0066CC;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #3399FF;
}

/* Sections */
section {
  background-color: #F2F2F2;
  padding: 4rem 0;
}

#ueber-mich {
  background-color: #fff;
}

#kontakt, #meine-leistungen {
  background-color: #E5EEF5;
}

.navi {
  margin-top: 30px;
  float: right;
}

.navi a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
}

form p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

input {
  width: -webkit-fill-available;
  padding: 3px 6px;
  font-size: 1.25em;
  border: none;
}

textarea {
  height: 100px;
  width: -webkit-fill-available;
  padding: 3px 6px;
  font-size: 1.25em;
  border: none;
}

#reload-captcha {
  margin-left: 8px;
}

.submit {
  width: auto;
}

/* Cards */
.card {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
}

.card h3 {
  font-family: 'Sen', sans-serif;
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.portrait {
  width: 120px;
  height: 120px;
  object-fit: cover;"
}

/* Footer */
footer {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

footer a {
  color: #3399FF;
  margin-left: 1rem;
  text-decoration: none;
}

footer p {
  margin-top: revert;
}

/* Responsive */
@media (max-width: 992px) {
  #logo {
    width: 200px;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #fff;
    top: 167px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  nav ul.show {
    display: flex;
  }
  .burger {
    display: block;
  }
}
