*{
    margin: 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: default;
}

body{
    margin: 0;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: center;
}



.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d0d0d;
}

.glow {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: top 0s, left 0s;
}




.content{
    width: 1200px;
    color: white;
    z-index: 1;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background-color: #0d0d0d;
}

.inner-header{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.branding{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-placeholder{
    height: 50px;
    width: 50px;
}

.site-title{
    font-size: 22px;
    font-weight: bold;
    width: 125px;
}

.menu{
    display: flex;
    gap: 10px;
    padding: 4px;
}

#menu{
    display: none;
}

.menu-item {
  display: inline-block;
  width: auto;           /* behält individuelle Breiten */
  padding: 3px 7px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: transparent;       /* unsichtbar im Normalzustand */
  border-radius: 5px;
  box-shadow: none;                    /* kein Schatten standardmäßig */
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  color: white;
  cursor: pointer;

  transition: 
    background-color 0.2s ease,       /* sanftes Einblenden */
    box-shadow 0.2s ease,              /* sanftes Einblenden des Schattens */
    transform 0.1s ease;               /* für Klick-Animation */
}

.menu-termin{
    background-color: #00CFFF;
    color: black;
    box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.menu-item:hover {
  background-color: #00CFFF;
  color: black;
  box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.menu-item:active {
  transform: translateY(1px) translateX(1px);          /* nach unten drücken */
  box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* reduzierter Schatten */
}


.small-screen{
    display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  background-color: #0d0d0d;
  transition: right 0.5s ease-in-out;
  padding: 2rem;
  z-index: 1001;
  box-shadow: 0 0 15px #00CFFF;
  border-radius: 10px;
  margin-top: 80px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  font-size: 1.2rem;
}


@media screen and (max-width: 1080px) {

    .inner-header{
        flex-direction: row;
        justify-content: space-between;
        padding: 0 50px;
        align-items: center;
    }

    .menu{
        display: none;
    }

    .small-screen{
        display: block;
    }

    .icons{
        width: 40px;
    }
}

/* Responive Menu */
@media screen and (max-width: 925px) {
  .mobile-menu {
    position: fixed;
    top: 80px; /* Höhe des Headers */
    right: -110%; /* Startposition komplett rechts draußen */
    width: 90%;
    height: calc(100vh - 100px);
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 15px #00CFFF;
    z-index: 1001;
    background-color: #0d0d0d;
    transition: right 0.5s ease-in-out;
    transform: translateX(50%);
  }

  /* Offen: mittig platzieren */
  .mobile-menu.open {
    right: 50%; /* rechte Kante auf Bildschirmmitte */
  }

  .mobile-menu ul {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .mobile-menu ul li a {
    font-size: 1.5rem;
    text-align: center;
  }
}

/* Responive Menu */
@media screen and (max-width: 680px){
    .mobile-menu{
        width: 80%;
    }
}

@media screen and (max-width: 680px){
    .inner-header{
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
        align-items: center;
    }

    .menu{
        display: none;
    }

    .small-screen{
        display: block;
    }
    
    .logo-placeholder{
        height: 30px;
        width: 30px;
    }

    .site-title{
        font-size: 22px;
        font-weight: bold;
    }
}

.home{
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    position: relative;
    left: 50%;
    translate: -50%;
}

.fly-in {
  opacity: 0;
  transform: translateY(10px);
  animation: flyIn 1s ease-out forwards;
}

/* Keyframes für die Bewegung */
@keyframes flyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home h1{
    font-size: 60px;
    text-align: center;
}

.home h1 span{
    color: #00CFFF;
}

.home p{
    font-size: 26px;
    text-align: center;
    color: #ccc;
    margin-top: 40px;
}

.services{
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 90%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.services button{
    font-size: 18px;
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    color: #ccc;
    background-color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: border 0.5s ease, color 0.5s ease;
}

.services button:hover{
    border: 1px solid #00CFFF;
    color: #00CFFF;
}

/* Overlay, das NUR den Hintergrund blur’t (Modal bleibt scharf) */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-visible { 
    opacity: 1; 
}

/* Modals oben drüber */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 3001;
  display: grid;
  place-items: center;
  padding: 24px;
  padding: 24px;
  display: grid;
  place-items: center;
}

/* Panel (Fenster) */
.modal__panel {
  width: 70vw;
  height: 80vh;
  overflow: auto;
  background: #333;
  border: 1px solid #00CFFF;
  border-radius: 15px;
  padding: 30px 35px;
  color: #fff;
  cursor: default;
  box-sizing: border-box;
}

@media screen and (max-width: 580px) {
  .modal__panel{
    width: 90vw;
  }
}

.modal__panel.animate-from-button {
  position: absolute;
  transition: transform 0.4s ease, width 0.4s ease, height 0.4s ease;
  transform-origin: top left;
}

.morphing-overlay {
  position: fixed;
  overflow: hidden;
  z-index: 3001;
  background: #333;
  border-radius: 15px;
  transition: all 0.5s ease;
  will-change: top, left, width, height;
}

/* Close-Button oben rechts */
.modal__close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 3001;
  margin-left: auto;
  display: inline-block;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #bbb;
}
.modal__close:hover { color: #fff; }

/* Body/HTML bei offenem Modal nicht scrollbar */
html.no-scroll, body.no-scroll { overflow: hidden; }

.service-modal-bereich{
  width: 90%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 580px) {
  .service-modal-bereich{
    width: 100%;
  }
}

.service-title{
  text-align: center;
  font-size: 28px;
  color: #00CFFF;
}

.service-kb{
  text-align: center;
  font-size: 20px;
  padding-top: 20px;
  color: #ccc;
}

.subtitle{
  font-size: 18px;
  font-weight: 600;
  padding-top: 30px;
  color: #00CFFF;
}

.erwartung-list{
  padding-left: 1em;
  font-size: 18px;
  padding-top: 10px;
}

.service-txt{
  font-size: 18px;
  padding-top: 10px;
}

hr{
    border: none;              /* Standardrahmen entfernen */
    border-top: 2px solid #ccc; /* eigene Linie */
    margin: 20px 0;            /* Abstand: oben 40px, unten 40px */
}

.service-modal-footer{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-modal-footer-title{
  font-size: 24px;
  font-weight: 600;
}

.service-modal-footer-text{
  font-size: 20px;
  color: #ccc;
}

.service-modal-footer-button{
  font-size: 18px;
  font-weight: 600;
  border-radius: 7px;
  background-color: #00CFFF;
  border: none;
  margin: auto;
  padding: 10px;
  text-decoration: none;
  color: #0d0d0d;
}

span{
  font-weight: 600;
}





.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 85px;
  padding-left: 20px;
  padding-right: 20px;
}

.angaben{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.links{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: -10px;
}

@media screen and (max-width: 700px) {
    .footer{
        flex-direction: column-reverse;
        justify-content: center;
        gap: 20px;
    }
}