/* ======= Grundlegende Resets / Basis-Styling ======= */
* {
  margin: 0px;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  max-width: 1200px; /* Maximale Breite */
  margin: 0 auto; /* Zentriert horizontal */
}

figure {
  text-align: center;  /* Bild + Text zentrieren */
}

figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

.aboutme-logo {
  width: 28%;                /* volle Breite nutzen */
  display: flex;              /* Flexbox aktivieren */
  justify-content: center;    /* horizontal zentrieren */
}

.aboutme-logo img {
  max-width: 250px;
  height: auto;
  display: block;             /* Block-Element für sauberes Verhalten */
}
/* Container für Direktbuchung */
.booking-container {
  max-width: 800px;           
  margin: 2rem auto;          
  padding: 2rem;
  background: #fff;           
  border-radius: 10px;        
  border: 1px solid rgba(0,0,0,0.15);  /* leichte schwarze Umrandung */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  text-align: center;
}

.booking-wrapper {
  display: flex;
  align-items: center;   /* vertikal mittig ausgerichtet */
  justify-content: space-between; /* Abstand zwischen Text und Logo */
  gap: 2rem;             /* Abstand zwischen Blöcken */
}

.booking-container h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.booking-container .cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Toolbar etwas luftiger */
.fc .fc-toolbar-chunk { gap: 8px; }

/* Custom-Button Styling (greift zusätzlich zu deinem bisherigen Button-CSS) */
.fc .fc-nextAvailable-button {
  background: linear-gradient(135deg, #2196F3, #1976D2);
  border: none; color: #fff; border-radius: 24px; padding: 8px 16px;
  font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .1s ease, box-shadow .2s ease;
}
.fc .fc-nextAvailable-button:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.2); }

.footer-logo {   
  width: 100%;
  background: #fff;         /* weißer Hintergrund */
  display: flex;
  justify-content: center;  /* zentriert horizontal */
  align-items: center;
}

html {
  scroll-behavior: smooth; /* sanftes Scrollen */
}

/* sorgt dafür, dass das Ziel nicht unter der Navbar verschwindet */
#contact-form {
  scroll-margin-top: 150px; /* Höhe deiner Navbar anpassen */
}

/* Highlight-Animation beim Anspringen */
@keyframes formHighlight {
  0%   { background-color: rgba(72,175,171,0.15); }
  100% { background-color: transparent; }
}

#contact-form:target {
  animation: formHighlight 1.2s ease-out;
  border-radius: 8px;
}


.footer-logo .logo-image { max-width: 240px; height: auto; }

.standorte {
  max-width: 900px; margin: 3rem auto; padding: 2rem;
  background: #f9f9f9; border-radius: 10px; text-align: left;
}
.standorte h2 { text-align: center; margin-bottom: 2rem; }
.standort {
  margin-bottom: 2rem; padding: 1.5rem; border-left: 4px solid #28a745;
  background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.standort h3 { margin-top: 0; color: #28a745; }
.standort a { color: #0077cc; text-decoration: none; font-weight: 600; }
.standort a:hover { text-decoration: underline; }
.standort ul { list-style: none; padding-left: 0; margin: .5rem 0 0; }
.standort ul li { margin-bottom: .5rem; }

.contact-section { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.left-column { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 2rem; }

.contact-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #48afab;              /* farbige Umrahmung */
  box-shadow: 0 6px 16px rgba(0,0,0,0.12); /* kräftigerer Schatten */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-box h3 {
  margin-bottom: 1rem;
  color: #48afab; /* Titel auch in Akzentfarbe */
}

.ablauf-list { list-style: none; padding-left: 0; }
.ablauf-list li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.ablauf-list li::before { content: "✔"; position: absolute; left: 0; color: #48afab; font-weight: bold; }

.therapy-list { list-style: none; padding-left: 0; margin: 1rem 0 2rem; }
.therapy-list li { position: relative; margin-bottom: .8rem; padding-left: 1.8rem; line-height: 1.5; }
.therapy-list li::before {
  content: "•"; position: absolute; left: 0; top: 0;
  color: #48afab; font-weight: bold; font-size: 1.2rem;
}

/* Kontaktlinks (Telefon, Mail, Adressen) */
.contact-links a {
  color: #28a745; font-weight: 500; text-decoration: none;
  transition: color .2s, text-decoration .2s;
}
.contact-links a:hover { color: #218838; text-decoration: underline; }

.footer-emergency {
  margin-top: 1.5rem; padding: 1rem; background-color: #2f6e6c;
  border-radius: 5px; color: #fff; text-align: left;
}
.footer-emergency h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.footer-emergency ul { list-style: none; padding: 0; }
.footer-emergency li { margin-bottom: 5px; }

/* ======= Ablauf & Erstgespräch ======= */
#ablauf { text-align: center; }
#ablauf h2 { margin-bottom: 1rem; color: #2c3e50; }
.ablauf-list {
  list-style-position: inside; display: inline-block; text-align: left;
  font-size: 1.1rem; line-height: 1.6; color: #444; margin: 0 auto; padding: 0;
}
.ablauf-list li { margin-bottom: .8rem; }

/* ======= Buttons ======= */
.contact-button {
  background-color: #45a049; color: #fff; padding: 12px 24px; border: none; border-radius: 5px;
  cursor: pointer; font-size: 16px; font-weight: bold; transition: background-color .3s;
}
.contact-button:hover { background-color: #3d8d41; }

/* === FAQ Section === */
.faq-section {
  margin: 2rem auto; padding: 2rem; background: #fff; border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.faq-section h2 { text-align: center; margin-bottom: 1.5rem; color: #2c3e50; }

.faq-section details {
  margin: 1rem auto;         /* oben & unten Abstand zwischen den Fragen */
  max-width: 90%;            /* nicht ganz bis zum Rand */
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1rem 1.25rem;     /* innen: oben/unten + links/rechts Abstand */
  background: #fff;
  transition: background .2s ease;
}

.faq-section details[open] {
  background: #f9f9f9;       /* beim Aufklappen leicht hervorgehoben */
}

.faq-section details[open] { background: #f9f9f9; }
.faq-section summary { cursor: pointer; font-weight: bold; color: #48afab; }
.faq-section div { margin-top: .5rem; color: #555; line-height: 1.5; }

/* Outline-Variante Button */
.btn-outline{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border:2px solid #48afab; border-radius:5px;
  color:#48afab; text-decoration:none; font-weight:bold; transition: all .2s ease;
}
.btn-outline:hover{ background:#48afab; color:#fff; }

/* ======= Container ======= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ======= Titelbild (Hero) ======= */

/*.hero {
  width: 100%; height: 20vh; background-color: #48afab; background-size: cover; background-attachment: fixed;
  position: relative; display: flex; align-items: center; justify-content: left;
}*/

  .hero {
  display: none;
}
.hero .overlay { background-color: #48afab; color: #fff; padding: 2rem; text-align: center; border-radius: 20px; }
.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero-sub { width: 100%; height: 20vh; background-size: cover; background-repeat: no-repeat; }

.text-content p { font-size: 1.3rem; color: #666; margin-bottom: 15px; }
.text-landing p { font-size: 1.3rem; color: #666; margin-bottom: 15px; text-align: center; }

.phone-icon { margin-left: 15px; color: #fff; text-decoration: none; font-size: 1.3rem; transition: color .3s ease; }

/* ======= Spalten-Sektion ======= */
.columns-container {
  display: flex; justify-content: center; gap: 30px; padding: 50px 20px;
  background-color: #fff; flex-wrap: wrap;
}
.column { flex: 1; min-width: 250px; max-width: 300px; text-align: center; padding: 20px; transition: transform .3s ease; }
.column:hover { transform: translateY(-5px); }
.column i { color: #48afab; margin-bottom: 15px; }
.column h3 { font-size: 1.5rem; color: #2c3e50; margin-bottom: 10px; }
.column p { font-size: 1rem; color: #666; }

/* ======= Navigation ======= */
/* 1) Navbar etwas nach unten rücken */
.navbar {
  display: flex;
  align-items: center;                /* vertikal zentriert */
  background-color: rgba(72,175,171,.95);
  color: #fff;
  padding: 1rem 20px;
  position: sticky;
  top: 16px;                          /* Abstand zum oberen Rand */
  z-index: 1000;
    transition: transform .28s ease;
  will-change: transform;
}

.navbar--hidden {
  transform: translateY(-130%); /* komplett nach oben raus */
}

/* Sicherheit: Icons und Links sauber zentrieren */
.navbar .logo,
.navbar .nav-links,
.phone-icon {
  display: inline-flex;
  align-items: center;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;                         /* Startpunkt in der Mitte */
  transform: translateX(-50%);       /* nach links verschieben = zentriert */
  width: 1200px;                     /* gleiche max-breite wie .container */
  max-width: 100%;                   /* auf kleineren Geräten nicht überlaufen */
  height: 16px;                      /* Höhe des Streifens */
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  pointer-events: none;
}
.navbar .logo { flex: 1; font-weight: bold; font-size: 1.2rem; }
.nav-links { list-style: none; display: flex; gap: 1rem; margin-left: auto; }
/* Desktop */
.nav-links li a {
  color: #fff; font-size: 1rem; font-weight: 500; text-decoration: none; transition: color .2s;
}
.nav-links li a:hover { color: #ddd; }

/* Checkbox-Hack */
#menu-toggle { display: none; }
.menu-icon {
  display: none; font-size: 1.5rem; background: none; border: none; color: #fff; cursor: pointer;
}

/* ======= Hauptinhalt ======= */
main {
  padding: 2rem; background-color: #fff; max-width: 1200px; margin: 2rem auto; border-radius: 5px; text-align: justify;
}

/* ======= About Container ======= */
.about-container {
  display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: 2rem; width: 100%;
}

.kontakt-container {
  display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: 2rem; width: 100%;
}

.text-content { flex: 2; min-width: 0; }

.text-content2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* alles am oberen Rand */
}
.profile-image {
  flex: 1; max-width: 294px; width: 100%; border-radius: 5px; object-fit: cover; margin-top: 5px;
}
.logo-image {
  flex: 1; max-width: 310px; width: 100%; height: auto; border-radius: 5px; object-fit: cover; margin-top: 0;
}
.leistung-image, .gruppe-image {
  flex: 1; max-width: 550px; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; margin-top: 0;
  display: flex; justify-content: center; align-items: center; margin-left: auto; margin-right: auto;
}

/* ======= Badges & CTA ======= */
.badges {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 1rem 0;
}
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 15px; background: #48afab; color: #fff;
  font-size: .9rem; font-weight: bold; text-decoration: none; transition: background .3s;
}
.badge:hover { background: #3d8d41; }

.cta-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 20px 0;
}
.cta-row a, .cta-row button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.contact-button, .btn-outline { min-height: 44px; line-height: 1; white-space: nowrap; }
.contact-button i, .btn-outline i { margin-right: 8px; font-size: 16px; }
.slot-hint{ color:#666; font-size:.95rem; margin-top:6px; }
.about-container h2{ font-size:2rem; line-height:1.2; margin-bottom:.4rem; }
.text-landing h2 { text-align: center; margin-bottom: 1rem; }

/* ======= Footer ======= */
footer {
  text-align: right; margin-top: 2rem; padding: 1rem; background-color: #48afab; color: #fff;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ======= Responsive Anpassungen ======= */
@media (max-width: 1500px) {
  /* Layout */
  body { margin: 0 auto; padding: 0 15px; }
  
    html::before {
    width: min(1200px, calc(100% - 30px)); /* 100% minus 2×15px Padding */
  }
  
  main {
    padding: 2rem; background-color: #fff; max-width: 1200px; margin: 2rem auto; border-radius: 5px; text-align: left;
  }
  /*1.Zeile ganz oben über dem Menü ausblenden */
  /*.hero { height: 30vh; background-color: #48afab; }
  .hero-sub { height: 30vh; } */
  
  .hero {
  display: none;
}

.aboutme-logo {
  width: 100%;                /* volle Breite nutzen */
  display: flex;              /* Flexbox aktivieren */
  justify-content: center;    /* horizontal zentrieren */
}

.aboutme-logo img {
  max-width: 250px;
  height: auto;
  display: block;             /* Block-Element für sauberes Verhalten */
}
/* 

  /* Spalten & About */
  .columns-container { flex-direction: column; align-items: center; gap: 20px; }
  .column { max-width: 100%; }
  .about-container { display: flex; flex-direction: column; align-items: center; text-align: left; }
  .profile-image { width: 100%; max-width: 300px; }
  .logo-image { max-width: 300px; }

  /* CTA */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row a, .cta-row button { width: 100%; max-width: 360px; margin: 0 auto; }

  /* Footer Notfallkasten */
  .footer-emergency {
    margin-top: 1.5rem; padding: 1rem; background-color: #2f6e6c; border-radius: 5px; color: #fff; text-align: left;
  }
  .footer-emergency h3 { margin-bottom: .5rem; font-size: 1.2rem; }
  .footer-emergency ul { list-style: none; padding: 0; }
  .footer-emergency li { margin-bottom: 5px; }

  /* FullCalendar: Toolbar */
  .fc .fc-header-toolbar {
    display: flex; flex-wrap: wrap; row-gap: 6px; align-items: center;
  }
  .fc .fc-toolbar-chunk:nth-child(2) {
    order: -1; flex-basis: 100%; display: flex; justify-content: center; margin-bottom: 4px;
  }
  .fc .fc-toolbar-chunk:nth-child(1) {
    order: 0; flex: 1 1 50%; display: flex; justify-content: flex-start;
  }
  .fc .fc-toolbar-chunk:nth-child(3) {
    order: 0; flex: 1 1 50%; display: flex; justify-content: flex-end;
  }

  /* Kontakt-Links */
  .contact-links a {
    color: #28a745; font-weight: 500; text-decoration: none; transition: color .2s, text-decoration .2s;
  }

  /* iOS Auto-Zoom verhindern */
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], select, textarea, button {
    font-size: 16px; line-height: 1.4;
  }
  .modal-content form {
    transform: scale(0.95); transform-origin: top center;
  }
  
    .booking-wrapper {
    flex-direction: column;   /* statt row */
    align-items: flex-start;
  }
  
}

/* ======= NAV-OVERLAY NUR MOBIL (≤ 992px) ======= */
@media (max-width: 992px) {
  /* Burger sichtbar */
  .menu-icon {
    display: flex; flex-direction: column; justify-content: space-around;
    width: 28px; height: 22px; cursor: pointer; z-index: 1100; position: relative;
  }
  .menu-icon span {
    display: block; height: 3px; width: 100%; background: #fff; border-radius: 2px; transition: .3s;
  }
  
    .container {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  

  .about-container {
    display: flex;
    flex-direction: column; /* <- einzige Änderung */
    align-items: center;
    text-align: left;
  }
  
  .kontakt-container {
    display: flex;
    flex-direction: column-reverse; /* <- einzige Änderung */
    align-items: center;
    text-align: left;
  }


  /* Fullscreen-Overlay-Menü */
/* Fullscreen-Overlay-Menü (sauber versteckt) */
.nav-links {
  position: fixed;
  inset: 0;                  /* top/right/bottom/left = 0 */
  width: 100dvw;             /* echte Viewport-Breite */
  height: 100dvh;            /* echte Viewport-Höhe inkl. iOS UI */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  background-color: rgba(72,175,171,0.95);
  transform: translateX(105%);  /* Start komplett draußen (verhindert Rand) */
  transition: transform .4s ease-in-out;
  z-index: 1200;
  overflow-y: auto;
  backface-visibility: hidden;  /* verhindert Subpixel-Kanten */
  -webkit-tap-highlight-color: transparent;
}

#menu-toggle:checked ~ .nav-links {
  transform: translateX(0);
}

  #menu-toggle:checked ~ .nav-links { transform: translateX(0); }

  /* Burger sofort ausblenden, wenn offen */
  #menu-toggle:checked + .menu-icon { display: none; }

  /* Close-X nur mobil & nur wenn offen */
  /* Close-X immer über dem Overlay und sichtbar, wenn offen */
.close-icon {
  display: none;
  position: fixed;
  top: 6px;
  right: 33px;
  font-size: 44px;
  color: #fff;
  cursor: pointer;
  z-index: 1300;             /* über dem Overlay */
  user-select: none;
  line-height: 1;
}
  #menu-toggle:checked ~ .close-icon { display: block; }
  
  body.menu-open {
  overflow: hidden;
  padding-right: 0 !important;
}


  /* Mobile Link-Stil: größer & fett */
  .nav-links li { margin: 10px 0; text-align: center; }
  .nav-links li a {
    font-size: 1.2rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    color: #fff; text-decoration: none;
  }

  /* (optional) Hamburger -> X Animation, falls gewünscht */
  #menu-toggle:checked + .menu-icon span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  #menu-toggle:checked + .menu-icon span:nth-child(2) { opacity: 0; }
  #menu-toggle:checked + .menu-icon span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* ======= NAV RESET FÜR DESKTOP/TABLET (≥ 993px) ======= */
@media (min-width: 993px) {
  .menu-icon { display: none !important; }
  .close-icon { display: none !important; }
  .nav-links {
    position: static; transform: none; height: auto; background: transparent;
    display: flex; flex-direction: row; gap: 1rem; justify-content: flex-end; align-items: center;
  }
}
