        html { scroll-behavior: smooth; }

 * { margin: 0; padding: 0; box-sizing: border-box; }


/* ============ BASIS ============ */

html, body {
  height: 100%;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============ NAVIGATION ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  z-index: 1000;
}


nav .logo img {
    height: 40px;
    width: auto;
}

nav .logo span {
    font-weight: bold;
    font-size: 1.2em;
    margin-left: 10px;
    color: #000;
}

.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  margin-left: 20px;
  font-weight: 600;
  color: #000;
  transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}
.nav-links a:hover {
  color: #0078d4;
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 2em;
  background: none;
  border: none;
  color: #000;
  z-index: 1100;
}



/* ============ HERO ============ */
.hero {
    background: url("berg.webp") no-repeat center top;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    background-attachment: fixed;
}

.overlay {
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5% 15vh 0;
    text-align: right;
    color: #fff;
}

.hero-message {
    font-size: 3em;
    font-weight: 700;
    text-transform: uppercase;
    white-space: pre-line;
    animation: messageSlideIn 2.5s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ PARALLAX ============ */

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-text {
    font-family: "Quicksand", sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: #0078d4;
    text-align: center;
    max-width: 80%;
}

.quote-text-right {
    font-family: "Quicksand", sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: #0078d4;
    text-align: center;
    max-width: 80%;
    padding-left: 500px;
}

.quote-text-berg {
    font-family: "Quicksand", sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: #329ACF;
    text-align: center;
    max-width: 80%;
    padding-left: 300px;
}

.quote-text-left {
    font-family: "Quicksand", sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: #0078d4;
    text-align: center;
    max-width: 80%;
    padding-right: 400px;
}

/* ============ SEKTIONEN ============ */
section {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}
.section-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    text-align: left;
}
section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #0078d4, #0078d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     }

section p {
    margin-bottom: 20px;
    line-height: 1.6em;
    max-width: 1200px;
    text-align: left;
}
/* ============ CTA BUTTON ============ */
.cta-button {
  display: inline-block;
  padding: 15px 25px;
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #005fa3;
}

.sticky-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #0078d4;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.sticky-btn:hover {
    background-color: #005fa3;
}
/* ============ OFFER ============ */
.offer-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 732px;
    margin-top: 40px;
}

.offer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1em;
}
.offer-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* ============ TEAM ============ */
#team {
    text-align: center;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.team-members .person {
    max-width: 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.person img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.person p {
    text-align: center;
    line-height: 1.6;
}


/* ============ FOOTER ============ */
footer {
    background: #f1f1f1;
    text-align: center;
    padding: 20px;
}
footer a {
    color: #000000;
    text-decoration: none;
    margin: 0 10px;
}



/* ============ FORMULAR ============ */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

input,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
button {
    padding: 10px;
    background-color: #0078d4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #005fa3;
}
/* ============ MAP ============ */

.map {
    width: 100%;
    height: 400px;
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
    section h2 {
        font-size: 1.8em;
        
    }

    .quote-text-right {
    padding-left: 35%;
    } 
    
    .quote-text-berg {
    padding-left: 1px;
        color: #ffffff;
    } 
    
    .quote-text-left {
    padding-right: 30%;
    } 
    
        .quote-text {
    background: rgba(255, 255, 255, 0.6); /* weiß, leicht transparent */
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    }
    
  .hero {
    background-position: center 65%;
    background-size: cover;
    background-attachment: scroll;
  }
    
    .person {
        max-width: 90%;
    }
    
.hero-content {

    padding: 0 2% 15vh 0;

}
.hero-message {
  font-size: 1.85em !important; 
  line-height: 1.3em;
}
    .parallax {
        background-attachment: scroll;
    }
      .menu-toggle {
        display: block;
      }

      .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links a {
        padding: 15px 20px;
        border-top: 1px solid #eee;
      }
    
  }