  * { margin: 0; padding: 0; box-sizing: border-box;}
    body {font-family: Helvetica, Calibri, arial, sans-serif;
    scroll-behavior: smooth;background:#91aacf;padding-bottom:100px;}

@font-face {
  font-family: 'unicode.impact';
  src: url('fonts/unicode.impact.ttf') format('truetype');
  }

.typewrite{ 
text-decoration: none;font-family: "unicode.impact";
  text-shadow: 0 0.1em 20px rgba(0, 0, 0, 1), 0.05em -0.03em 0 rgba(0, 0, 0, 1),
             0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
             0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
            -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);

  color: white;
  font-size:1.5rem;
}

#typewrite{ 
position:relative;
top:-20px;
left: 0px;
margin-bottom: 0px;
z-index:100;
}


nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #3586ff;
  z-index: 100;
}

.nav-container {
  display: flex;
 justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.logo {
display:inline-block;
position:fixed;
margin-left: 48px;
margin-top:0px;
}

.burger {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* Desktop-Navigation */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color:black;
  font-size: 18px;
  padding:10px;
text-align:center;
}

.nav-links a:hover {
background: #223b50;
color:white;
text-decoration: none;
border-radius: 10px;
padding:10px;
}

.nav-links a.active {
  background: #223b50;
  color: white;
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
}



/* Mobile-Ansicht */
@media (max-width: 767px) {
.burger {
    display: block;
position:relative;
top: 0px;
right: -130px;
}

.nav-links {
    position: fixed;
    top: 60px;
    right: -120%;
    flex-direction: column;
    background-color: #ded5aa;
    width: 100%;
    height: 100vh;
    padding: 30px 50px 0px 30px;
    transition: right 0.4s ease-in-out;
}

.nav-links.active {
    right: 0;
}
}


  header {
  position: relative; /* besser als absolute für Layoutfluss */
margin-top:60px;
  width: 100vw;
 height:100vh;
  background-image: url("images/header.jpg");
  background-repeat: no-repeat;
background-size: cover;
  background-position: center;
  color: white;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


   

.glass-header,.glass-header-termin {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 30px;
}



.glass-header,.glass-header-termin span {
  font-family: "unicode.impact";
  text-shadow: 0 0.1em 20px rgba(0, 0, 0, 1), 0.05em -0.03em 0 rgba(0, 0, 0, 1),
             0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
             0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
            -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);

  color: white;
  font-size:2.5rem;
width: 60%;
margin:0 auto;

}

.glass-header-termin span{
font-size: 2.0rem;

}


.glass-header-termin {
  position: relative;
  top:0%;
  left: 80%;
  height: 60px;
  width: 15%;
padding-top:5px;
padding-left:35px;
}


.button img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.button span {
  text-align: center;
  flex-grow: 1;
}

.button a:link  {
text-decoration:none;
}
.button a:visited  {
text-decoration:none;
}

.button:hover {
  background: #166a9a;
  transition: all 0.2s ease-out;
}

.button::before {
  content: '';
  position: absolute;
  top: 7%;
  left: 0%;
  width: 0px;
  height: 86%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  transform: skewX(-20deg);
}

.button:hover::before {
  animation: sh02 0.5s linear;
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
}
  50% {
    opacity: 1;
}
  to {
    opacity: 0;
    left: 100%;
}
}


a {
text-decoration:none;
font-size: 18px;
color: black;
}
    section {
      padding: 100px 20px;
      min-height: 100vh;
      text-align: center;
     
}
    #home { padding: 0px;}
    #about { background:#aeceff;}
    #services { background:#c2daff;
                background-image: url("images/bg.png");
  background-repeat: no-repeat;
background-size:450px 400px;
  background-position:bottom 50px right 10px;

}
    #contact { background: #d6e6ff;
background-image: url("images/bg1.png");
  background-repeat: no-repeat;
background-size:650px 610px;
  background-position:bottom 250px left 100px;

}

.grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
}

    @media screen and (min-width: 600px) {
.grid {
        grid-template-columns: repeat(2, 1fr);
}
}

    @media screen and (min-width: 900px) {
.grid {
        grid-template-columns: repeat(3, 1fr);
}
}

.card {
 background:#3586ff;
 padding: 15px;
 border-radius: 6px;
 color: white; 
 font-size: 23px;
}


#kontakt{
width: 605px;
display: flex;
flex-direction: column;
margin: 0 auto;
background-color: #3586ff;
padding: 2px 20px 19px 20px;
border: 1px solid #a9c8f0;
}

.button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width:70%;
  height: 60px;
  margin: auto;
  margin-bottom:10px;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1px solid #1192dc;
  font-size: 20px;
  background: #223b50;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in;
 
}

.button img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.button span {
  text-align: center;
  flex-grow: 1;
}

.button a:link  {
text-decoration:none;
}
.button a:visited  {
text-decoration:none;
}

.button:hover {
  background: #2a6bcc;
  transition: all 0.2s ease-out;
}

.button::before {
  content: '';
  position: absolute;
  top: 7%;
  left: 0%;
  width: 0px;
  height: 86%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  transform: skewX(-20deg);
}

.button:hover::before {
  animation: sh02 0.5s linear;
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
}
  50% {
    opacity: 1;
}
  to {
    opacity: 0;
    left: 100%;
}
}

footer {
  position: fixed;
  bottom: 30px;
  left: 0;
  width: 100%;
  background-color: #3586ff;
  color: white;
  padding: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;   /* Zentriert horizontal */
  align-items: center;       /* Zentriert vertikal */
  flex-wrap: wrap;           /* Für mehrere Links nebeneinander */
  font-size: 1rem;
  z-index: 100;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #3586ff;
  color: white;
  padding: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;   /* Zentriert horizontal */
  align-items: center;       /* Zentriert vertikal */
  flex-wrap: wrap;           /* Für mehrere Links nebeneinander */
  font-size: 1rem;
  z-index: 100;
}


  footer p{
font-size:18px;
color:white;
}

  footer a{
text-decoration: none;
font-size:14px;
color:black;
}

p {
font-size:25px;
color:black;
}

    h1 {
  font-family: "unicode.impact";
  text-shadow:0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
             0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
            -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);
  margin-bottom: 20px;
  color: white;
  font-size:3.5rem;

        }


 h2 {
  font-family: "unicode.impact";
  text-shadow:0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
             0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
            -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);
  margin-bottom: 20px;
  color: #f4cc16;
  font-size:60px;

        }




  h3 {
font-family: Arial, sans-serif;
  color: white;
  font-size:30px;
 text-shadow:0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
             0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
            -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);
margin-bottom: 20px;
margin-top:10px;
        }



    a.button {
      display: inline-block;
      margin-top: 20px;
      padding: 10px 20px;
      background: #004466;
      color: white;
      text-decoration: none;
      border-radius: 5px;
}
/*wave and animation*/
footer .wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(images/wave.png);
  background-size: 1000px 100px;
}

footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animateWave_02 4s linear infinite;
}
footer .wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 0;
  animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animateWave_02 3s linear infinite;
}

@keyframes animateWave {
  0%{
    background-position-x: 1000px; 
  }
  100%{
    background-position-x: 0px; 
  }
}

@keyframes animateWave_02 {
  0%{
    background-position-x: 0px; 
  }
  100%{
    background-position-x: 1000px; 
  }
}




/* Overlay-Hintergrund */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 999;
}

/* Modal-Fenster */
.modal {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 75vh;       /* Begrenzung der Höhe */
  overflow-y: auto;       /* Scrollbar bei Bedarf */
  padding: 30px;
  border-radius: 8px;
  z-index: 1000;
  display: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
text-align: left;
}


.modal-content {
  position: relative;
  color: black;
}
.modal-content p{
color: black;
}

.modal-content h3{
font-size:25px;
color: #3586ff;
}


.modal-content h2{
font-size:35px;
 color: #f4cc16;
}


.modal-content a{
text-decoration:underline;
font-size:18px;
}
.modal-content a:hover{
text-decoration:none;
font-size:18px;
}

.close {
  position: absolute;
  top: -20px;
  right: 0px;
  font-size: 2.5rem;
  cursor: pointer;
}

#scrollTopBtn {
  position: fixed;
  bottom:60px;
  right: 30px;
  z-index: 999;
  font-size: 1.5rem;
  background-color: #223b50;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 20px;
  cursor: pointer;
  display: none; /* Anfangs versteckt */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #445c72;
}
                                       @media screen and (max-width: 1440px) {

.glass-header,.glass-header-termin span {
 font-size:2.5rem;

}
.glass-header h2 {
 font-size:2.5rem;

}

.glass-header-termin {
  position: relative;
  top:10%;
  left: 70%;
  height: 60px;
  width: 25%;
padding-top:0px;
padding-left:35px;
}
 #contact { background: #cce0e8;
}

}

                                        @media screen and (max-width: 767px) {

img {
max-width: 100%;

}

h1{
 font-size: 35px;

}

h2 {
 font-size: 35px;

}

h3 {
 font-size: 18px;

}

.logo {
margin-left: 0px;
margin-top: 10px;
}

.glass-header {
 width: 100%;

}

.glass-header,.glass-header-termin span {
   font-size: 2.5rem;

}

.glass-header-termin {
  position: relative;
  top:20px;
  left: 50%;
   width: 200px;
  height: 50px;
padding-top:10px;

}

.glass-header-termin span{
font-size: 1.5rem;
}

#services { background: #d9eaf2;
                background-image: url("images/bg.png");
  background-repeat: no-repeat;
background-size:350px 300px;
  background-position:bottom 0px right 20px;
}


.card {
font-size: 18px;
}

#kontakt{
width: 100%;
}

.button {
  width:100%;
  font-size: 16px;
}
  footer p{
font-size:15px;
}



}
                                                      @media screen and (max-width: 375px) {
.glass-header,.glass-header-termin span {
  font-size:25px;

}

h2 {
  font-size:35px;

}


.modal-content h3{
font-size:20px;
}


.glass-header-termin {
  position: relative;
  top:20px;
  left: 50%;
   width: 170px;
  height: 50px;
padding-top:5px;

}
.button {
   height: 70px;
   padding: 10px 10px;
 
}

#services { background: #d9eaf2;
             

}



 
}
