
    :root {
      --bg: #faf7f2;
      --text: white;
      --accent: #1d7cb4;
      --hover: #2f97e2;
      --nav-height: 64px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
 -webkit-tap-highlight-color: transparent; /* handy touch */
    }

    body {
  font-family: 'Roboto';
      color: var(--text);
      scroll-behavior: smooth;
background-image: url(images/bg1.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}

    
@font-face {
  font-family: 'BebasNeue-Regular';
  src: url('fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  }

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hathem Bosteem';
  src: url('fonts/Hathem Bosteem.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CoalhandLuke TRIAL';
  src: url('fonts/CoalhandLuke TRIAL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


    /* ---------------- NAVIGATION ---------------- */

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height:64px;
      background: transparent;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
  justify-content: space-between;
  align-items: center;
      padding: 0 1.5rem;
      z-index: 100;
    }

.logo {
  font-size: 35px;
font-family: 'Hathem Bosteem';
}

nav {
display: flex;
align-items: end;
gap:40px;
    }

    nav a {
      text-decoration: none;
      color: var(--text);
      font-size: 1.25rem;
      position: relative;
    }

    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -3px;
      width: 0;
      height: 4px;
      background: var(--accent);
      transition: width 0.2s ease;
      color: var(--text);
    }

    nav a:hover::after {
      width: 100%;
      
    }
    nav a:hover{
       transform: scale(1.4);
    }

    /* ---------------- HAMBURGER ---------------- */

    .hamburger {
      display: none;
      
      width: 32px;
      height: 32px;
      background:black ;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border-radius: 8px;
      border:2px solid white;
    }

    .hamburger-lines {
      width: 18px;
      height: 14px;
      position: relative;
    }

    .hamburger-lines span {
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--text);
      border-radius: 999px;
      transition: 0.2s ease;
    }

    .hamburger-lines span:nth-child(1) { top: 0; }
    .hamburger-lines span:nth-child(2) { top: 6px; }
    .hamburger-lines span:nth-child(3) { bottom: 0; }

    .hamburger.active span:nth-child(1) {
      top: 6px;
      transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      bottom: 6px;
      transform: rotate(-45deg);
    }

    /* ---------------- MOBILE NAV ---------------- */

.mobile-nav {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: transparent;
  backdrop-filter: blur(10px);
  display: flex;              /* immer flex */
  flex-direction: column;     /* vertikal */
  padding: 8rem 1.5rem;
  gap: 1.2rem;
  z-index: 900;
font-size:35px;
text-align: center;
  /* Animation */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.mobile-nav a {
  background-image: url(images/bg-contact.png);
  background-repeat: no-repeat;
  background-position: center;
  padding:20px;
    font-family: 'BebasNeue-Regular';
  border: 4px solid white;
}
.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

    /* ---------------- ALLGEMEIN ---------------- */
    section {
      width:100vw;
      height: auto;
      padding: 5rem 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      margin: 100px 0px 100px 0px; 
      
    }

    h1, h2 {
    font-family: 'BebasNeue-Regular';
text-decoration-line: overline underline;
      font-size: 380%;
      margin-bottom:100px;
     }

    h2 {
      padding-top:260px;
    }
    p {
      font-size: 20px;
      line-height: 1.6;
      text-align:justify;
    }
    a {
      color:white;
      font-weight:bold;
      text-decoration: none;
    }

    main {
      padding-top: var(--nav-height);
    }
/* ---------------- HOME ---------------- */

#home {
 background-image: url('images/bg2.png');
 background-repeat: no-repeat;
 background-size: cover;
background-position:center top;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  width: 100vw;
      
}
@keyframes glowing-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.button-anfrage {
  font-family: 'BebasNeue-Regular';
  position: absolute;
  top:150px;
  right:100px;
  display: inline-block;
  background: #FFB900;
  border: none;
  border-radius: 25px;
  color: white;
  padding: 10px 20px;
  font-size: 40px;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(90, 97, 158, 0.7);
  animation: glowing-pulse 2s infinite;
}

.button-anfrage::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 30px;
  box-shadow: 0 0 20px rgb(255, 255, 255);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.button-anfrage:hover::before {
  opacity: 1;
}


#home-empfehlung {
position: absolute;
top:80px;
left:15vw;
width:30%;
transform: rotate(10deg);
z-index:100;
}

#home-empfehlung :hover {
cursor:pointer;
transform: scale(1.2); 
}

.text-home {
 padding:20px;
 border-radius: 8px;
 position: absolute;
 margin-top:-100px;
 z-index:0;
}


#home h1{
  font-size: 900% !important;
 text-decoration-line:none;
 padding-bottom:0;
 color:white;
 text-shadow: 2px 2px 2px black;
 text-decoration: underline overline;
 z-index: 0;
 margin-bottom: 0;
}

#home h2{
  font-family: 'Hathem Bosteem';
  position: relative;
  font-size:650% !important;
 padding-top:10px;
  color:var(--accent);
 text-shadow: 2px 2px 2px black;
 z-index: 0;
 text-decoration: none;
}



/* ---------------- ABOUT ---------------- */


    #about h2{
     background-image: url("images/icon-person.webp");
      background-repeat: no-repeat;
      background-size:28vh;
      background-position:center top;
      padding-top: 26vh;
      }

 .inhalt,.inhalt-kontakt {
        width:80%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url(images/bg1.png);
        background-repeat: no-repeat;
        background-size: cover;
        border: 4px solid var(--accent);
box-shadow: rgba(72, 135, 202, 0.8) 0 0 90px 33px;  
       border-radius: 8px;
        padding:50px;
        text-align: center;
      }

      .inhalt img{
        display: block;
        width:200px;
       margin: 0 auto;
       border-radius: 8px;
      }
/* ---------------- SERVICES ---------------- */
.services{
 display: flex;
flex-direction: row; 
     justify-content: center;
      align-items: center;
      gap: 1rem;
}


    #services h2{
     background-image: url("images/icon-leistungen.webp");
      background-repeat: no-repeat;
      background-size:28vh;
      background-position:center top;
      padding-top:200px;
      }
      
      
  .inhalt { 
  max-width: 900px;
   margin: 0 auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
 
.text-block { 
  display: block;
  width: 100%;
  text-align: center;
 }

  .text-block p { 
    margin: 1rem 0; 
  }
                        
   /* Bilder nebeneinander */
 .icon-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap; /* verhindert Umbruch */
  margin: 2rem 0;
}

.wrapper {
  width: 150px;
  flex-shrink: 0;
  text-align: center;
}

.wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tooltip-Container */
.tooltip { 
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltiptext {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 50%;
  bottom: 110%;
  transform: translateX(-50%);
  background-color: rgba(35, 29, 32, 0.8);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
  width: 230px;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  font-size: 20px;
  line-height: 1.4;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ---------------- PROJEKTE ---------------- */

    #projekte h2{
     background-image: url("images/icon-projekte.webp");
      background-repeat: no-repeat;
      background-size:28vh;
      background-position:center top;
      padding:220px 100px;
      }

*,
*::before,
*::after {
  box-sizing: border-box;
}

.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin-top:-150px;
}

.slide-track {
  display: flex;
  gap: 60px;
  /* Breite dynamisch anhand Inhalt */
  width: max-content;
  animation: scroll 40s linear infinite;
  padding:20px;
}

.slide {
  width:450px;
  flex-shrink: 0;
  text-align: center;
}

.slide a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid white;
  transition: transform 0.3s ease;
  display: block;
}

.slide:hover img {
  transform: scale(1.05);
}

.caption {
  margin-top: 10px;
  font-size: 1rem;
  color: white;
  font-weight: 500;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


		/* ---------------- KONTAKT ---------------- */

#contact{
  padding-bottom:200px;
        background-image: url("images/buch.webp");
      background-repeat: no-repeat;
      background-size:40vh;
      background-position:20% 30%;

}
    #contact h2{
     background-image: url("images/icon-contact.webp");
      background-repeat: no-repeat;
      background-size:30vh;
      background-position:center top;
      padding:280px 100px 50px 100px;
      }

.inhalt-kontakt {
        width:50%;
}


   #contact ul {
  display: flex;
  flex-direction: column;
  
  gap: 50px;
  width: 60%;
  list-style-type: none;
  margin:20px auto;
  border: none;
}

.button-kontakt {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  height: 100px;
  padding: 20px 20px;
  border-radius: 8px;
  border: 4px solid white;
 font-size: 20px;
background-image: url(images/bg-contact.png);
background-size: cover;
background-repeat: no-repeat;
  color:white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in;
}
.button-kontakt:hover {
background: linear-gradient(to bottom, #457394 0%,rgba(125,185,232,0) 100%);
}
.button-kontakt .text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  width: auto;   /* Beispielwert */
}

.button-kontakt .inner {
  text-align: left;
}

 /* ---------------- FOOTER ---------------- */

    footer{
      position: fixed;
      bottom:0px;
     height: var(--nav-height);
     width:100%;
      background:transparent;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      gap:30px;
}

     footer a{
      color: var(--text);
     }

     footer a:hover{
       transform: scale(1.4);
     }

   /* ---------------- MODAL OVERLAYS ---------------- */

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      z-index: 2000;
    }

    .modal-overlay.open {
      display: flex;
    }

    .modal-box {
      background: white;
      max-width: 600px;
      width: 100%;
      padding: 2rem;
      border-radius: 12px;
      max-height: 80vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .modal-box ul{
      width:100%;
    }
  .modal-box p {
      font-size: 20px;
      line-height: 1.6;
      color:black;
    }
    .modal-box h2 {
      background-image: url("images/logo.png");
      background-repeat: no-repeat;
      background-size:30vh;
      background-position:center;
      padding-top:200px;
      margin-bottom: 1rem;
      color:black;
      text-align: center;
      border: none;
}

.modal-box h3 {
font-family: 'BebasNeue-Regular';
font-size: 200%;
text-decoration:underline;
margin-bottom: 1rem;
color:black;
text-align: left;
margin-top:40px;
text-shadow: none;
}
.modal-box a:link {
  color: black;
  font-weight:bold;
  text-decoration: underline;
}

.modal-box a:visited {
  color: black;
  font-weight:bold;
}

    .modal-close {
      margin-top: 1.5rem;
      display: inline-block;
      padding: 0.6rem 1.2rem;
      background: var(--accent);
      color: white;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
    }

    .modal-close:hover {
       transform: scale(1.4);
    }




    /* ---------------- RESPONSIVE ---------------- */
 @media (max-width: 1440px) {

#home h2{
  font-size: 500%;
}
 }

 @media (max-width: 880px) {

       nav {
        display: none;
      }
      .hamburger {
        display: flex;
      }

 #home {
 background-image: url("images/bg2-mobile.png");
 background-repeat: no-repeat;
 background-position:right bottom;
background-size:cover;
 } 

#home h2{
  font-size:500% !important;
}


#home-empfehlung {
position: absolute;
top: 120px;
left: 10px;
width:50%;
}

#about h2{
background-size:22vh;
 padding-top: 20vh;
}
.inhalt {
        display: flex;
        justify-content: center;
        align-items: center;
flex-direction: column;
width:100%;
}

.inhalt p{
  width:100%;
}


#services h2{
  background-size: 22vh;
}
#projekte h2{
  background-size: 16vh;
  padding-top: 160px;
}

  .inhalt-kontakt {
        width:100%;
}
 #contact{
  padding-bottom:200px;
      background-size:25vh;
      background-position:10% 20%;

}
 
    #contact h2{
 padding-top: 170px;
    }

   #contact ul {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  list-style-type: none;
  margin:20px auto;
  border: none;
}
.button-kontakt {
  font-size:16px;
  width:100%;
}



#contact h2{
  background-size: 15vh;
}
#contact ul{
  width:60%;

}
 }

    @media (max-width: 768px) {
      section {
        padding: 2.5rem 1.25rem;
      }

      h2 {
        padding-top:210px;
    }
 .text-home{
 margin-top:-150px; 
 }
#home h2{
  font-size: 450% !important;
}
#home-empfehlung {
top:80px;
left:10px;
width:60%;
}


    #services h2{
 padding-top: 165px;
    }

  }

@media (max-width: 600px) {
  .tooltiptext {
    width: 160px;             
    font-size: 16px;          
    padding: 0.5rem 0.7rem;    
    bottom: 105%;          
  }
}


      @media (max-width: 480px) {

 .button-anfrage {
   margin-top:-50px;
  right:80px;
 }       
#home h1{
  font-size: 400% !important;
}

#home h2{
  font-size: 350% !important;
}
#home-empfehlung {
top:180px;
left:60px;
width:80%;
}
.text-home{
  margin-top: 50px;
}

  #about h2{
 padding-top: 185px;
    }

.services{
 display: flex;
flex-direction: column; 
justify-content: center;
align-items: center;
gap: 1rem;

}

    #services h2{
 padding-top: 145px;
    }

.wrapper {
  width: 90px;
}

    #projekte h2{
 padding-top: 120px;
    }


#contact{
  padding-bottom:200px;
      background-size:20vh;
      background-position:20% 20%;
   

}
    #contact h2{
     background-image: url("images/icon-contact.webp");
      background-repeat: no-repeat;
      background-size:15vh;
      background-position:center top;
      padding:130px 100px 50px 100px;
      }

.inhalt-kontakt {
        width:100%;
}


   #contact ul {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  list-style-type: none;
  margin:20px auto;
  border: none;
}
.button-kontakt {
  font-size:18px;
  width:130%;
  margin-left:-40px;
}
.button-kontakt img{
  width:40px;
}

footer p{
  font-size:16px;
}

     
    }

       @media (max-width: 384px) {

#home h2{
  font-size: 280% !important;
}
#home-empfehlung {
  top:150px;
  left:10px;
}

 #about h2{
  padding-top:170px;
 }

 #services h2{
  background-size: 30vh;
  padding-top:185px;
 }
#contact{
  padding-bottom:200px;
      background-repeat: no-repeat;
      background-size:30vh;
      background-position:30% 23%;
 }

 #contact h2{
  background-size: 20vh;
  padding-top:145px;
}

.button-kontakt{
  font-size: 18px;
}
.button-kontakt .text {
left:58%;
}
footer p{
  margin-left: -30px;
}

       }

        @media (max-width: 360px) {
.logo {
  font-size: 25px;
}
 .text-home{
 margin-top:80px; 
 }

#home h1{
  font-size: 410%;
}

#home h2{
  font-size: 200%;
}
 #about h2{
  padding-top:260px;
 }
 #services h2{
  background-size: 20vh;
  padding-top:220px;
 }

 .wrapper {
  width: 80px;
}

 #projekte h2{
  background-size:20vh;
  padding-top:220px;
 }

#contact{
background-size:20vh;
background-position:50% 30%;
}


  #contact h2{
  background-size:22vh;
  padding-top:250px;
margin-bottom:250px;
 }
#contact ul{
  margin: 0px;
}

.button-kontakt {
  font-size:16px;
  width:140%;
  margin-left:-45px;
}

.button-kontakt img{
  width:30px;
}


footer{
 gap: 15px;
}
footer p{
 font-size: 15px;
}




        }
      
