:root{
  --bg: #0b0f14;
  --bg-2: #121821;
  --txt: #e8edf3;
  --muted: #d5dfe9;
  --accent: #5cc8ff;
  --card: rgba(255,255,255,0.06);
  --blur: saturate(140%) blur(8px);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--txt); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  min-height: 100vh;
}

/* Hintergrundbild & Overlay */
body::before{
  content: "";
  position: fixed; inset: 0;
  background: url('img/mamahintergrund.jpg') center/cover no-repeat;
  filter: brightness(0.9) contrast(1.05);
  z-index: -2;
}
body::after{
  content: ""; position: fixed; inset: 0;
  background: radial-gradient(1200px 800px at 70% 10%, rgba(92,200,255,0.12), transparent 60%),
              radial-gradient(1200px 800px at 10% 80%, rgba(140,120,255,0.1), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  pointer-events: none; z-index: -1;
}

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: var(--blur);
  background: rgba(10,14,20,0.45); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner{ max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand{ display:flex; align-items:center; gap:10px; font-weight: 800; letter-spacing: .3px; }
.brand .dot{ width:10px; height:10px; border-radius:50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.links{ display:flex; gap: 18px; }
.links a{ color: var(--txt); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; opacity: .9; }
.links a:hover{ background: var(--card); opacity: 1; }
/* Hamburger-Button */
.nav-toggle {
  display: none; /* wird nur auf kleinen Screens angezeigt */
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 999px;
  margin: 4px 0;
}


/* Pfannkuchen-/Hamburger-Button */
.pancake-btn {
  display: none; /* wird nur auf Handy eingeblendet */
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: radial-gradient(circle at 30% 30%, #ffe9a9, #e3a74c 65%, #b8742f 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  color: #3b260e;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pancake-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
}



/* Hero */
.section{ padding: 80px 20px; }
.container{ max-width: 1100px; margin: 0 auto; }
.hero { padding: 120px 20px 80px; }
.hero-card{
  background: var(--card); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px; padding: 48px; box-shadow: var(--shadow);
}

h1{ font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 14px; line-height: 1.05; }
.lead{ color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 70ch; }
.cta{ margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn{ display:inline-flex; align-items:center; gap:10px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); text-decoration:none; color: var(--txt); font-weight: 700; }
.btn.primary{ background: linear-gradient(135deg, var(--accent), #8ea6ff); color: #041018; border: none; }
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }

/* Karussell */
.carousel-wrap { margin-top: 36px; }
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); }
.slides { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; height: 380px; display: grid; place-items: center; }
.slide img{ width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }

.carousel-controls { position:absolute; inset: 0; display:flex; align-items:center; justify-content:space-between; padding: 0 10px; }
.ctrl { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); width:40px; height:40px; border-radius: 10px; display:grid; place-items:center; font-weight:800; cursor:pointer; user-select:none; }
.ctrl:hover{ background: rgba(255,255,255,.2); }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot{ width:8px; height:8px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; }
.dot.active{ background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Über mich */
.about { margin-top: 80px; }
.about-grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.about-card{ background: var(--card); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px; }
.about h2, .contact h2 { margin-top: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.about p{ color: var(--muted); line-height: 1.7; }
.about .img-wrap{ position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.about .img-wrap img{ width: 100%; height: 100%; object-fit: cover; }

/* Kontakt */
.contact{ margin-top: 80px; }
.contact-card{ background: var(--card); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px; }
.contact p{ color: var(--muted); max-width: 70ch; }

/* Impressum */
footer{
  margin-top: 80px; 
  padding: 28px 20px; 
  background: rgba(0, 0, 0, 0);
  border-top: 1px solid rgba(255, 255, 255, 0);
  width: 100%;
}

.footer{ 
  max-width:1100px; 
  margin:0 auto; 
  display:flex; 
  flex-wrap:wrap; 
  gap: 10px; 
  align-items:center; 
  justify-content:space-between; 
  color: var(--muted); 
  font-size: .95rem; 
}

.footer a{ 
  color: var(--txt); 
  opacity:.9; 
}
.footer a:hover{ 
  opacity:1; 
}


/* Responsive */
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
  .slide{ height: 300px; }
  .hero-card{ padding: 28px; }
}

.logo {
    width: 10%;
}





/* Feature (Therapie & Cranio/Achtsamkeit) */
.feature { margin-top: 80px; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.feature .card {
  background: var(--card);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-head h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.kicker { margin: 0 0 14px; color: var(--muted); font-weight: 600; letter-spacing: .2px; opacity: .9; }

.feature p { color: var(--muted); line-height: 1.7; }
.feature h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.feature ul { margin: 0; padding-left: 18px; color: var(--muted); }
.feature li { margin: 6px 0; }

.list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 10px 0 14px;
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge {
  display: inline-flex; align-items: center; padding: 6px 10px;
  border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}

.note {
  margin: 12px 0 16px; font-size: .9rem; color: var(--muted);
  padding: 10px 12px; border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.06); border-radius: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 900px){
  .feature-grid { grid-template-columns: 1fr; }
  .list.two-col { grid-template-columns: 1fr; }
}


/* Social Links */
.social {
  margin-top: 18px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--txt);
  opacity: 0.9;
}
.social a:hover {
  opacity: 1;
}
.social .icon {
  width: 22px;
  height: 22px;
  filter: invert(100%); /* macht das weiße Logo passend zum Dark-Design */
}



.breite{
  width: 77%;
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
  .slide{ height: 300px; }
  .hero-card{ padding: 28px; }

  /* Navbar mobil */
  .nav-inner {
    position: relative;
    padding: 10px 16px; /* etwas kompakter */
  }

  .links {
    position: absolute;
    top: 100%;           /* direkt unter der Navbar */
    right: 16px;
    left: 16px;
    margin-top: 8px;
    flex-direction: column;
    background: var(--card);
    backdrop-filter: var(--blur);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 0;
    box-shadow: var(--shadow);
    display: none;       /* standard: versteckt */
  }

  .links a {
    padding: 10px 14px;
    width: 100%;
  }

  .links.open {
    display: flex;       /* JS fügt diese Klasse hinzu */
  }

  .nav-toggle {
    display: block;      /* Hamburger nur auf Handy anzeigen */
  }
}

/* ========================= */
/*      GALERIE – LAYOUT     */
/* ========================= */

.gallery-card{
  background: var(--card);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  box-shadow: var(--shadow);
}

.gallery-card h2{
  margin-top: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.gallery-intro{
  color: var(--muted);
  margin: 4px 0 14px;
}

/* OBEN: 3 große Bilder, die die Breite ausfüllen */
.gallery-feature{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Unten drunter: Button */
.gallery-more-toggle{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* Schlichter Button, der zum Stil passt */
.gallery-toggle{
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: var(--txt);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-toggle:hover{
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,0.4);
}

/* UNTEN: viele Bilder in 3er-Reihen – anfänglich versteckt */
.gallery-more{
  display: none; /* wird per JS auf grid gesetzt */
  margin-top: 16px;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

/* Wenn geöffnet */
.gallery-more.open{
  display: grid;
}

/* Galerie-Items allgemein */
.gallery-item{
  position: relative;
  padding: 0;
  border: none;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Seitenverhältnis: ca. 4:3, alle gleich hoch */
.gallery-item::before{
  content: "";
  display: block;
  padding-top: 70%;
}

.gallery-item img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease, filter .25s ease;
  filter: contrast(1.03) saturate(1.05);
}

.gallery-item:hover img{
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Oberste 3 sollen etwas "größer" wirken -> mehr Höhe */
.gallery-feature .gallery-item::before{
  padding-top: 80%; /* kannst du auf 60–90% anpassen */
}

/* Responsive */
@media (max-width: 900px){
  .gallery-card{
    padding: 18px;
  }

  .gallery-feature{
    grid-template-columns: 1fr 1fr; /* 2 große Bilder nebeneinander */
  }

  .gallery-more{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .gallery-feature{
    grid-template-columns: 1fr; /* auf Handy: 3 große Bilder untereinander */
  }

  .gallery-more{
    grid-template-columns: 1fr 1fr; /* 2er-Reihe, wirkt leichter */
  }
}

/* ========================= */
/*       LIGHTBOX-OVERLAY    */
/* ========================= */

.gallery-lightbox{
  position: fixed;
  inset: 0;
  display: none; /* per JS -> flex */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.gallery-lightbox.open{
  display: flex;
}

.gallery-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-inner{
  position: relative;
  max-width: min(1100px, 100vw - 32px);
  max-height: min(700px, 100vh - 32px);
  width: 100%;
  background: var(--bg-2);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.9);
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

/* großes Bild */
.gallery-lightbox-main{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  flex: 1;
}

.gallery-lightbox-main img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Close-Button */
.gallery-lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-lightbox-close:hover{
  background: rgba(0,0,0,0.85);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.gallery-lightbox-close span{
  position: absolute;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #f9fafb;
}

.gallery-lightbox-close span:nth-child(1){
  transform: rotate(45deg);
}
.gallery-lightbox-close span:nth-child(2){
  transform: rotate(-45deg);
}

/* Meta / Titel */
.gallery-lightbox-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-lightbox-title{
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-lightbox-sub{
  font-size: 0.8rem;
  opacity: 0.9;
}

.gallery-lightbox-counter{
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
}

/* Navigation */
.gallery-lightbox-nav{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.gallery-lightbox-nav button{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.4);
  padding: 7px 14px;
  color: var(--txt);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-lightbox-nav button:hover{
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.5);
}

/* Mobil */
@media (max-width: 720px){
  .gallery-lightbox-inner{
    border-radius: 16px;
    padding: 12px 10px 10px;
  }

  .gallery-lightbox-main{
    border-radius: 12px;
  }

  .gallery-lightbox-meta{
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-lightbox-nav button{
    flex: 1;
    justify-content: center;
  }
}

/* ========================= */
/*        PHYSIOTRON         */
/* ========================= */

.physiotron-card{
  background: var(--card);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  box-shadow: var(--shadow);
}

.physiotron-card h2{
  margin-top: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.physiotron-intro{
  color: var(--muted);
  margin: 6px 0 18px;
  line-height: 1.7;
  max-width: 80ch;
}

.physiotron-grid{
  display: grid;
  grid-template-columns: auto 1fr; /* Bild nur so breit wie nötig */
  gap: 18px 22px;
  align-items: start;
}

/* ↓ HIER die Größenanpassung */
.physiotron-img{
  max-width: 340px;          /* <<< Bildbreite */
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

.physiotron-img img{
  width: 100%;
  height: auto;              /* keine volle Höhe mehr */
  display: block;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
}

.physiotron-content h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.physiotron-content ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.physiotron-content li{
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 900px){
  .physiotron-grid{
    grid-template-columns: 1fr;
  }

  .physiotron-img{
    max-width: 260px;        /* kleiner auf Mobile */
  }
}

/* Physiotron: h3 direkt unter h2, eng & klar */
.physiotron-card h2{
  margin: 0;
}

.physiotron-card .physiotron-sub{
  margin: 2px 0 12px;     /* wenig Abstand zu h2, etwas zum Text */
  font-size: 1.05rem;     /* bewusst etwas kleiner als h2, aber größer als p */
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}


/* ========================= */
/*           VIDEO           */
/* ========================= */

.video-card{
  background: var(--card);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.video-card h2{
  margin-top: 0;
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

/* Video mittig & größer */
.video-frame{
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px; /* größer als normale Inhalte */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.35);
}

/* 16:9 Verhältnis */
.video-frame::before{
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile */
@media (max-width: 900px){
  .video-card{
    padding: 22px;
  }

  .video-frame{
    max-width: 100%;
  }
}


/* ========================= */
/*           PREISE          */
/* ========================= */

.prices-card{
  background: var(--card);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  box-shadow: var(--shadow);
}

.prices-card h2{
  margin-top: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.prices-intro{
  color: var(--muted);
  margin: 6px 0 18px;
  line-height: 1.7;
  max-width: 80ch;
}

.prices-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.price-item{
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px;
}

.price-item.featured{
  border-color: rgba(92,200,255,0.35);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.price-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-head h3{
  margin: 0;
  font-size: 1.05rem;
}

.price{
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .2px;
  color: var(--txt);
  white-space: nowrap;
}

.price-sub{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.price-list li{
  margin: 6px 0;
}

.prices-note{
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px){
  .prices-grid{
    grid-template-columns: 1fr;
  }
}
