*{
    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;
    }
}

.start{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 50px 20px 0;
}

.titel{
    font-size: 65px;
}

.titel span{
    color: #00CFFF;
}

.untertitel{
    font-size: 26px;
    color: #ccc;
    margin-top: 40px;
}

.box-container{
    display: flex;
    flex-direction: row;
    padding-top: 40px;
    gap: 20px;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
}

.box{
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    background: #333;
    align-items: center;
    border-radius: 15px;
    width: 300px;
    gap: 10px;
    border: #444 1px solid;
    box-shadow: inset 0 0 15px #444;
}

.box:hover{
    border: #00CFFF 1px solid;
    box-shadow: 0 0 5px #00CFFF;
}

.boxtitel{
    font-size: 20px;
    font-weight: 600;
}

.boxtext{
    font-size: 16px;
    color: #ccc;
}

.booking-box{
    margin: 50px auto;
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-radius: 15px;
    border: #444 1px solid;
    box-shadow: inset 0 0 15px #444;
    width: 80%;
    background: #333;
}

.booking-box:hover{
    border: #00CFFF 1px solid;
    box-shadow: 0 0 5px #00CFFF;
}

.booking-titel{
    font-size: 32px;
    font-weight: 600;
}

.booking-untertitel{
    font-size: 20px;
    color: #ccc;
    padding-top: 15px;
}

.calendar{
    border: 0.5px solid #888;
    padding: 15px;
    border-radius: 15px;
}

.calendar-table{
  table-layout: fixed;              /* gleich breite Spalten */
  border-collapse: separate;        /* ermöglicht border-spacing */
  border-spacing: 20px 10px;        /* >>> Abstand zwischen den Zellen (X | Y) <<< */
  padding: 0;                     /* innen etwas Luft innerhalb des Rahmens */
}

.calendar-title{
  text-align: left;
  font-weight: 600;                 /* dicke Schrift */
  font-size: 22px;
  padding-bottom: 10px;
}

th.header{
    font-size: 18px;
    color: #ccc;
}

td{
    font-size: 22px;
    padding: 10px;
}

td.today{
  box-shadow: inset 0 0 5px #00CFFF;
  border-radius: 50%;
}

/* Header-Zeile über der Tabelle */
.calendar-header{
  display: flex;
  align-items: center;
  justify-content: space-between;  /* Titel links, Pfeile rechts */
  gap: 12px;
  margin: 8px 10px 10px;
}

.calendar-title{
  margin: 0; 
  font-weight: 600;
  font-size: 22px;
}

/* Pfeil-Container rechts */
.calendar-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons für die Pfeile */
.cal-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #555;
  text-decoration: none;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
}

.cal-btn img{
  width: 18px; 
  height: 18px; 
  pointer-events: none; /* Klick geht auf den Button, nicht auf das Bild */
  display: block;
}

.cal-btn:hover{
  background: rgba(0,207,255,0.15);
  border-color: rgba(0,207,255,0.6);
  box-shadow: 0 0 8px rgba(0,207,255,0.35);
}

.cal-btn:active{
  transform: translateY(1px);
}

/* Optional: Links/Rechts etwas unterscheiden */
.cal-btn.prev img{ transform: translateX(-0.5px); }
.cal-btn.next img{ transform: translateX(0.5px); }



/* Slot-Badges unter der Tageszahl */
.calendar .calendar-table td .slot-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  justify-content: center; /* oder flex-start, wenn du magst */
}

.calendar .calendar-table td .slot-btn{
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(0,207,255,0.15);
  border: 1px solid rgba(0,207,255,0.6);
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}

.calendar .calendar-table td .slot-btn:hover{
  background: rgba(0,207,255,0.25);
  box-shadow: 0 0 8px rgba(0,207,255,0.35);
  transform: translateY(-1px);
}

td.has-slots{
  background-color: lightgreen; 
  border-radius: 12px;            /* optional */
  cursor: pointer;
  color: #000;
}
td.has-slots:hover{
  box-shadow: 0 0 10px lightgreen;
}

/* Form-Bereich ohne Rahmen/Hintergrund */
.calendar-details{
  border: none;
  background: transparent;
  box-shadow: none;     /* falls du irgendwo Schatten addest */
}

/* optional: bei geöffnetem Zustand ebenfalls sicherstellen */
.calendar-details.open{
  background: transparent;
  border: none;
  box-shadow: none;
}





.booking-form .times{
  display:flex; 
  flex-wrap:wrap; 
  gap:8px; 
  margin: auto;
  justify-content: center;
  padding-top: 15px;
  max-width: 500px;   /* Container schmaler machen */
  margin: 0 auto;     /* mittig zentrieren */
}

/* Standard-Style für jede Uhrzeit-Option */
.booking-form .time-option {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #00cfff99;
  border-radius: 999px;
  background: #00cfff1f;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  color: #fff;
  margin: 4px;
}

/* Radio-Button unsichtbar */
.booking-form .time-option input[type="radio"] {
  display: none;
}

/* Wenn ausgewählt → gesamte Pille einfärben */
.booking-form .time-option:has(input[type="radio"]:checked) {
  background: #00CFFF;
  color: #000;
  border: 1px solid #00CFFF;
  font-weight: 600;
}

.booking-form .form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;        /* Abstand horizontal */
  row-gap: 16px;           /* Abstand vertikal */
  max-width: 640px;
  margin: 0 auto;          /* zentriert */
  padding-top: 20px;
}

.booking-form label{
  display: flex;
  flex-direction: column;
  gap: 2px;                /* Abstand Labeltext <-> Input */
}



.booking-form .form-grid .full{ 
  grid-column: 1 / -1;      /* sorgt dafür, dass Checkbox & Button volle Breite einnehmen */
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;          /* einheitlich für alle */
  border: 0.5px solid #888;
  border-radius: 15px;         /* einheitlicher Radius */
  background: #333;            /* dunkler Hintergrund */
  color: #fff;                 /* weiße Schrift */
  font-family: inherit;        /* gleiche Schrift wie Rest */
  font-size: 14px;
}

.booking-form select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;
  border: 0.5px solid #888;
  border-radius: 15px;
  background: #333;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.booking-form textarea{
  resize: none;
}

.booking-form .checkbox label {
  display: flex;
  flex-direction: row;      /* nebeneinander statt untereinander */
  align-items: center;      /* vertikal zentrieren */
  gap: 8px;                 /* Abstand zwischen Häkchen und Text */
}

.booking-form .checkbox input[type="checkbox"] {
  width: auto;              /* überschreibt die 100%-Breite von input */
  margin: 0;
}

.booking-form button[disabled]{ 
  opacity:.5; 
  cursor:not-allowed; 
}

.booking-form button{ 
  padding:10px 14px; 
  border-radius:10px; 
  border:1px solid rgba(0,207,255,.7); 
  background:rgba(0,207,255,.2); 
  color:#fff; 
  font-size: 20px;
}

.booking-form button:hover{ 
  background:rgba(0,207,255,.3); 
}

/*Design für Dankespage*/
.thankyou-page {
  display: flex;
  flex-direction: column;     /* Inhalte untereinander */
  align-items: center;        /* horizontal zentrieren */
  justify-content: center;    /* vertikal zentrieren */
  height: 100vh;              /* volle Höhe des Bildschirms */
  text-align: center;         /* Text zentrieren */
  color: white;               /* falls du den Style vom Rest übernehmen willst */
  z-index: 1;
}

.tp-titel{
  font-size: 65px;
}

.tp-titel span{
  color: #00CFFF;
}

.tp-subtitel{
  font-size: 26px;
}

.eins{
  padding-top: 30px;
  padding-bottom: 8px;
}

.zwei{
  padding-bottom: 50px;
}

.buttons {
  display: flex;
  gap: 20px;              /* Abstand zwischen den Buttons */
  justify-content: center;
}

.btn {
  flex: 1;                /* beide nehmen gleich viel Platz ein */
  min-width: 250px;       /* gleiche Mindestbreite */
  text-align: center;     /* Text mittig */
  text-decoration: none;
  font-size: 20px;
  color: white;
  padding: 10px 12px;
  border: 1px solid rgb(0, 207, 255, 0.7);
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover{
  background-color: rgb(0, 207, 255, 0.7);
  box-shadow: 0 0 8px rgb(0, 207, 255, 0.7);
  color: #000;
}


@media (max-width: 1200px){
  .content{
    width: 100%;
    max-width: 100%;
    padding: 0 20px;       /* gleichmäßiger Rand links/rechts */
    box-sizing: border-box;
  }
}

/* Feinschliff speziell für 1024px und kleiner */
@media (max-width: 1024px){
  .start{ padding: 40px 20px 0; }  /* symmetrische Ränder */
  .box-container{
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;       /* Sicherheit */
  }
  .booking-box{
    width: 100%;
    margin-left: auto;
    margin-right: auto;            /* sicher mittig */
  }

  .titel{ font-size: 48px; }
  .untertitel{ font-size: 22px; }

  .booking-box{ width: 90%; }
  .calendar-table{ border-spacing: 14px 8px; }
  td{ font-size: 20px; padding: 8px; }

}

/* iPad Air (9. Gen) Hochformat: 820px */
@media screen and (max-width: 820px) {
  .content {
    width: 100%;
    padding: 0 20px; /* links & rechts Abstand */
    box-sizing: border-box;
  }

  .titel {
    font-size: 48px; /* etwas kleiner als Desktop */
  }

  .untertitel {
    font-size: 22px;
  }

  .box-container {
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Boxen zentrieren */
  }

  .box {
    width: 100%;       /* nimmt volle Breite ein */
    max-width: 500px;  /* aber nicht zu groß */
  }

  .booking-box {
    width: 100%;
    margin: 30px auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .booking-titel {
    font-size: 28px;
  }

  .booking-untertitel {
    font-size: 18px;
  }
}

/* =========================================
   <= 768px  (Tablet / kleines Laptop / großes Phone)
   ========================================= */
@media (max-width: 768px){
  .start{ padding-top: 30px; }

  .titel{ font-size: 38px; }
  .untertitel{ font-size: 18px; }

  /* Boxen untereinander + zentriert */
  .box-container{
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .box{
    width: 100%;
    max-width: 520px;   /* angenehme Lesebreite */
  }

  .booking-titel{ font-size: 26px; }
  .booking-untertitel{ font-size: 16px; }

  .calendar{ padding: 10px; }
  .calendar-title{ font-size: 20px; }
  .calendar-table{ border-spacing: 10px 6px; }
  th.header{ font-size: 16px; }
  td{ font-size: 18px; padding: 5px;}

  /* Formular-Spalten auf 1 Spalte */
  .booking-form .form-grid{
    grid-template-columns: 1fr;
    max-width: 520px;
    padding: 20px 15px 0;
  }

  /* Uhrzeiten-Container etwas schmaler, bleibt zentriert */
  .booking-form .times{
    max-width: 320px;
  }
  .booking-form button{ font-size: 18px;}

  /* Danke-Buttons untereinander */
  .buttons{
    flex-direction: column;
  }
  .btn{
    min-width: 220px;
  }
}

/* =========================================
   <= 480px  (Phones)
   ========================================= */
@media (max-width: 480px){
  .titel{ font-size: 30px; }
  .untertitel{ font-size: 16px; }

  .boxtitel{ font-size: 18px; }
  .boxtext{ font-size: 14px; }

  .calendar-title{ font-size: 18px; }
  th.header{ font-size: 14px; }
  td{ font-size: 16px; }

  /* Danke-Seite Typo verkleinern */
  .tp-titel{ font-size: 36px; }
  .tp-subtitel{ font-size: 16px; }
  .booking-form button{ font-size: 16px;}
}




.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 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;
    }
}

.checkbox a{
  color: #00CFFF;
  text-decoration: none;
}
.checkbox a:hover{
  text-decoration: underline;
}