*, *::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #31525b;
}

body {
  font-family: "Roboto  Condensed", sans-serif;
  color: #31525b;
  background-color: white;
}

h1{
  font-size: 2.986rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
h2{
  font-size: 2.488rem;
  font-family: "Lora", sans-serif;
  font-weight: 700;
}
h3{
  font-size: 2.074rem;
  font-family: "Lora", sans-serif;
  font-weight: 700;
}
h4{
  font-size: 1.5rem;
  font-family: "Lora", sans-serif;
}
p, a, b, strong{
  font-family: "Roboto  Condensed", sans-serif;
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1{
  font-size: 1.986rem;
  }
  h2{
    font-size: 1.488rem;
  }
  h3{
    font-size: 1.4rem;
  }
  h4{
    font-size: 1.2rem;
  }
  p, a, b, strong{
  font-size: 1rem;
  }
}

/* --------- Header und Nav --------------- */
header{
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center; /* Zentriert Elemente vertikal */
  padding: 0.5em 1em;
  background-color: white;
  top: 0;
  z-index: 1000;
  height: auto;
  border-bottom: 3px solid #9dbca680;
}
header a{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  text-decoration: none;
}
.nav{
  display: flex;
  gap: 2em;
  align-items: center;
  z-index: 999;
}

.nav a{
  font-size: 1.2em;
}
.nav a:hover {
  text-decoration: underline;
}
.hamburger{
  display: none;
  border: none;
  background-color: white;
}
.header img{
  height: 4em;
  margin-left: 1.25rem;
}

@media (max-width: 992px) {
  header {
    padding: 1.25rem 4%;
  }
}

@media (max-width: 768px) {
  .hamburger{
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
  }
  .hamburger::before {
    content: "☰"; /* Standard-Hamburger */
  }
  .hamburger.open::before {
  content: "✖"; /* X-Symbol */
  }
  .nav{
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    width: 100%;
    padding: .5rem 4%;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  .nav.active {
    opacity: 1;
    pointer-events: auto;
    border-bottom: 3px solid #9dbca680;
  }
  .nav a{
    display: block;
    margin: 1.5rem 0;
    font-size: 1.2em;
    color: #31525b;
    background: none;
    border: none;
    padding: 0;
  }
  .nav a.button-kontakt {
    all: unset;
    display: block;
    margin: 1.5rem 0;
    font-size: 1.2em;
    color: #31525b;
    font-weight: 500;
    cursor: pointer;
    font-family: "Roboto Condensed", sans-serif;
  }

  .nav a.button-kontakt:hover {
    text-decoration: underline;
    background: none;
    transform: none;
  }

  .nav a.button-kontakt:active {
    transform: none;
  }

}


/* --------- Buttons --------------- */
.cta-button{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  align-self: flex-start;
  margin-left: 2em;
  padding: 0.75em 1.5em;
  background-color: #fd7336 ;
  color: white;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  &:hover{
    transform: scale(105%);
  }
  &:active{
    transform: scale(100%);
  }
}

.mehr-button{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  padding: 0.75em 1.5em;
  background-color: #fd7336;
  color: white;
  border: none;
  cursor: pointer;
  margin: 24px 0 10px 0;
  border-radius: 5px;

  &:hover{
    transform: scale(105%);
  }
}

.submit-button{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  padding: 0.75em 1.5em;
  width: 500px;
  background-color: #286ca3;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  &:hover{
    background-color: #0B344C;
  }
}

.aboutme-button{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  align-items:center;
  margin-top: 2em;
  padding: 0.75em 1.5em;
  font-size: 16px;
  background-color:#e3c080;
  color: white;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  text-decoration: none;
  &:hover{
    transform: scale(105%);
  }
  &:active{
    transform: scale(100%);
  }
}

.button-kontakt{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  padding: 0.75em 1.5em;
  background-color: white;
  color: #fd7336;
  border: solid #fd7336 0.125em;
  border-radius: 1em;
}

.button-kontakt:hover {
  color: white;
  background-color: #fd7336;
  transform: scale(105%);
}
.button-kontakt:active {
  color: white;
  background-color: #fd7336;
  transform: scale(100%);
}

.button-angebot{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  padding: 0.75em 1.5em;
  color: white;
  background-color: #fd7336;
  border-radius: 20px;
  text-decoration: none;
}

.button-angebot:hover {
  transform: scale(105%);
}
.button-angebot:active {
  transform: scale(100%);
}

/* --------- Hero --------------- */
.hero-section{
  width: 100%;
  background-image: url(/images/buehnenbild_ohne_farbe.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 25em ;
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: left;
}
/* Overlay mit ::before */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #9dbca680; /* grüner Overlay mit 40% Transparenz */
  z-index: 0;
}

/* Inhalt über das Overlay bringen */
.hero-section > * {
  position: relative;
  z-index: 1;
}

.text-container p {
  font-family: "Lora", sans-serif;
  font-size: 1.728rem;
}

.item-container{
  width: 100%;
  height: auto;
  margin: 2em auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 2em;
  .text-container{
    padding: 2em;
    color: white;
    background-color: none;
  }   
} 


@media (max-width: 768px) {
  .hero-section{
    height: 65vh;
  }
  .item-container {
    max-width: 100%;
    margin: 1em;
    padding: 0 1em;
  }

  .text-container p {
    font-size: 1rem;
  }

  h1.main-title {
    font-size: 1.986rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
  .hero-section {
    background-size: 15em auto;
  }
}

/* ---------Icons --------------- */ 
.icons-section{
  height: 10%;
  margin: 0 auto; /* Zentriert die Section */
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10em;
  img{
    width: 7em;
  }
}
@media (max-width: 1024px) {
  .icons-section {
    gap: 4em;
  }

  .icons-section img {
    width: 5em;
  }
}

@media (max-width: 768px) {
  .icons-section {
    flex-direction: column;
    gap: 2em;
  }

  .icons-section img {
    width: 4em;
  }
}

/* --------- About me --------------- */
.about-me-section {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1em;
}


.about-me{
  border: 1px solid white;
  box-shadow: 4px 4px 4px 4px #e3c080,
  4px 4px 4px #e3c080, 
  -4px -4px 4px #e3c080,
  -4px 4px 4px #e3c080, 
  4px -4px 4px #e3c080; 
  border-radius: 30px;
  width: 70%;
  padding: 2em 0 2em 0;
  display: flex; /* Flexbox für übergeordnete Inhalte */
  flex-direction: column; /* Inhalte vertikal stapeln */
  justify-content: center; /* Zentriere Inhalte */
  align-items: center; /* Horizontal zentrieren */
}  

.photo-me{
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 72px;
  height: 72px; 
  margin: 32px 0 16px 0;
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
}
.aboutme-text{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
  text-align: center;
}
.photo-me-beschreibung{
  text-align: center;
}

@media (max-width: 768px) {
  h2{
    font-size: 1.488rem;
  }
}


/* --------- Leistungen --------------- */
.leistungen-section {
  width: 100vw;
  display: flex;
  flex-direction: column; /* Kinder vertikal stapeln */
  align-items: center; /* Horizontale Zentrierung */
  gap: 2.5em; /* Abstand zwischen Sektionen */
  margin: 3.25em 0;
}

.leistungen-title {
  
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Standard (Desktop) */
.alle-leistungen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5em;
  width: 70%;
  justify-content: center;
}

/* Tablet (ab ~900px Breite) */
@media (max-width: 1024px) {
  .alle-leistungen {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphone (ab ~600px Breite) */
@media (max-width: 768px) {
  .alle-leistungen {
    grid-template-columns: 1fr;
  }
}

.leistungen-container{
  box-shadow: 4px 4px 4px 4px #9dbca6,
  4px 4px 4px #9dbca6, 
  -4px -4px 4px #9dbca6,
  -4px 4px 4px #9dbca6, 
  4px -4px 4px #9dbca6;
  border-radius: 20px;
  width: 22em;
  min-height: 22em;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-between; /* Head – Body – Footer-Trennung */
  text-align: left;
}

.leistungen-head {
  color: #9dbca6;
  margin-bottom: 1em;
  font-weight: bold;
  font-size: 1.2em;
}

.leistungen-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leistungen-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.weitere-angebote{
  width: 22em;
  min-height: 24em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;

}

/* --------- Footer --------------- */
footer {
  font-family: "Roboto Condensed", sans-serif;
  * {
    font-family: inherit;
  }
  background-color: #9dbca6;
  color: white;
  padding: 4em;
}

.footer_ohne_logo{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 4em;
  min-height: 17em;
}

.name-header{
  display: flex;
  flex-direction: column;   
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-top: 0;
}

.name-header p{
  color:#0a1e37e4;
  font-weight: 700;
}
.name-header img {
  width: 4em;
  height: auto;
}

footer strong {
  color: white;
  margin-bottom: 1em;
}

.unternehmen,
.social-media {
  display: flex;
  flex-direction: column;
}

.unternehmen ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unternehmen li {
  margin-bottom: 1.2em;
}

.unternehmen a {
  color: white;
  text-decoration: none;
}

.unternehmen a:hover {
  border-bottom: 1px solid white;
}

.social-media a img {
  padding-left: 0.5em;
  width: 2em;
  height: 2em;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-media a img:hover {
  transform: scale(1.15);
}



