/* ========================================
   🌿 Physio Synergie – Globales CSS
   Design: Modular, barrierefrei, performant
   ======================================== */

/* === Farbvariablen === */
:root {
  --hover-lila: #f0e6f8;
  --white: #ffffff;
  --light: #f6f8fa;
  --soft-bg: #e9f0f6;
  --primary: #7ab4ea;
  --accent: #3b6ea5;
  --dark: #2e2e2e;
  --gray-light: #d1dce5;
  --shadow: rgba(0, 0, 0, 0.05);
  --transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn,
.btn-cta,
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn:hover,
.btn-cta:hover,
.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}


.btn,
.btn-cta,




/* === Basislayout === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* === Container === */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* === Navigation === */
.header {
  background: var(--white);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light);
  box-shadow: 0 2px 6px var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-img {
  max-height: 110px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  background-color: var(--light);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.nav-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 10px var(--shadow);
}

/* === Hero Section === */
.hero {
  background: linear-gradient(var(--primary), #dceaf6);
  color: var(--white);
  text-align: center;
  padding: 6rem 1rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  clip-path: ellipse(150% 100% at 50% 0%);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* === Buttons === */


.btn-primary:hover {
  background: var(--dark);
  color: var(--white);
}

/* === Sektionen === */
.section {
  padding: 4rem 1rem;
}

/* === Leistungen === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}















/* === Über uns, CTA, Kontakt === */
.praxis, .cta, .kontakt {
  opacity: 0;
  transform: scale(0.95);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.praxis.visible, .cta.visible, .kontakt.visible {
  opacity: 1;
  transform: scale(1);
}

/* === Kontaktformular === */
form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

input, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 184, 178, 0.3);
}

button {
  background-color: var(--accent);
  color: white;
  font-weight: bold;
  border: none;
  justify-self: end;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

button:hover {
  background-color: var(--dark);
}

/* === Footer === */
.footer {
  background-color: var(--light);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}

/* === Sticky CTA mobil === */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--accent);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === Responsive === */
@media (max-width: 768px) {
  .logo-img {
    height: 60px;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* === Dark Mode Support === */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #f0f0f0;
  }

  .header,
  .footer,
  .section,
  

  .nav-btn {
    background-color: #2a2a2a;
    color: #f0f0f0;
  }

  .nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
  }

  

  .btn-primary:hover {
    background: var(--white);
    color: var(--accent);
  }

  input, textarea {
    background-color: #2a2a2a;
    color: #f0f0f0;
    border-color: #444;
  }
}

/* === Fokus-Indikatoren === */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

/* === Button-Microanimationen === */
button:active,
.btn-primary:active {
  transform: scale(0.98);
}

/* === Scroll-Fade-in Animation (mit Verzögerungskette) === */




/* === Lazy-Loading Image Optimization === */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Footer Grid für Desktop === */
@media (min-width: 768px) {
  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* === Navigation Tastaturzugriff (Verbesserung) === */
.nav-btn:focus {
  background-color: var(--accent);
  color: var(--white);
}

/* === Modal ESC funktioniert bereits via JS – keine zusätzliche CSS nötig === */

/* ===========================
   🟦 HERO SECTION
   Erste visuelle Begegnung: ruhig, wertig, einladend
   =========================== */

.hero {
  background: linear-gradient(var(--primary), #dceaf6);
  color: var(--white);
  text-align: center;
  padding: 8rem 1rem 6rem;
  background-size: cover;
  background-position: center;
  clip-path: ellipse(160% 100% at 50% 0%);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}



.btn-primary:hover {
  background: var(--dark);
  color: var(--white);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 1rem 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

/* ===========================
   🟩 LEISTUNGEN – Kachelraster
   Modern, weich, animiert mit Hover-Tiefe
   =========================== */

.section {
  padding: 5rem 1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}















/* Mobile Optimierung */
@media (max-width: 768px) {
  
}

/* ===========================
   🟨 ÜBER UNS – Florina & Philosophie
   Ruhiger Textbereich, klare Lesbarkeit, zentriert
   =========================== */

.praxis {
  background-color: var(--light);
  padding: 5rem 1rem;
  text-align: center;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}

.praxis h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.praxis p {
  max-width: 720px;
  margin: 1.25rem auto;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .praxis h2 {
    font-size: 1.6rem;
  }

  .praxis p {
    font-size: 1rem;
  }
}

/* ===========================
   🟧 CTA – Handlungsaufforderung
   Zentrierter Block, emotionale Wirkung, klarer Button
   =========================== */

.cta {
  background-color: var(--mint);
  color: var(--dark);
  padding: 5rem 1rem;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto 2.5rem;
}

.cta 

.cta .btn-primary:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .cta h2 {
    font-size: 1.6rem;
  }

  .cta p {
    font-size: 1rem;
  }
}

/* ===========================
   🟫 FAQ – Häufige Fragen
   Klar strukturiert, leicht lesbar, bereit für Akkordeon
   =========================== */

#faq {
  background-color: var(--light);
  padding: 5rem 1rem;
  border-top: 1px solid var(--beige);
}

#faq h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.2rem;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--shadow);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.faq-item p {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  #faq h2 {
    font-size: 1.6rem;
  }

  .faq-item h3 {
    font-size: 1.05rem;
  }

  .faq-item p {
    font-size: 1rem;
  }
}

/* ===========================
   🟥 KONTAKT – Formular & Erreichbarkeit
   Modernes zentriertes Formular mit Schatten, leserlich & klar
   =========================== */

.kontakt {
  background-color: var(--white);
  padding: 5rem 1rem;
  border-top: 1px solid var(--light);
  text-align: center;
}

.kontakt h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.kontakt p {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.kontakt a {
  color: var(--accent);
  text-decoration: none;
}

.kontakt form {
  display: grid;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--light);
  border-radius: 15px;
  box-shadow: 0 6px 18px var(--shadow);
}

.kontakt input,
.kontakt textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.kontakt input:focus,
.kontakt textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 184, 178, 0.3);
}

.kontakt button {
  background-color: var(--accent);
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  justify-self: end;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.kontakt button:hover {
  background-color: var(--dark);
}

@media (max-width: 768px) {
  .kontakt h2 {
    font-size: 1.6rem;
  }

  .kontakt form {
    padding: 1.5rem;
  }
}

/* ===========================
   ⬛ FOOTER – Abschluss & Navigation
   Klarer, kontrastreicher Bereich mit flexibler Desktop-Struktur
   =========================== */

.footer {
  background-color: var(--light);
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.95rem;
  color: var(--dark);
  border-top: 1px solid var(--beige);
}

.footer .container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: var(--dark);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* === Hero Slide-In Effekte === */
.hero h1,
.hero p,
.hero 

.hero.visible h1 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.hero.visible p {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.hero.visible 

/* Ausgangspositionen differenziert */
.hero h1 {
  transform: translateX(-40px);
}

.hero p {
  transform: translateX(40px);
}

.hero 

/* ===========================
   🔰 Fixiertes, überlappendes Logo
   =========================== */

.floating-logo {
  position: fixed;
  top: 0;
  left: 3.5rem;
  transform: translateY(-30%);
  width: 130px;
  z-index: 9999;
  pointer-events: none;
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile – kleiner & zentriert */
@media (max-width: 768px) {
  .floating-logo {
    left: 50%;
    transform: translate(-50%, -10%);
    width: 90px;
  }
}

/* ===========================
   ✅ Logo innerhalb des Containers, nicht fixiert
   =========================== */

.floating-logo {
  position: absolute;
  top: 2.1rem;
  left: 185px;
  width: 120px;
  z-index: 10;
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Mobil kleiner */
@media (max-width: 768px) {
  .floating-logo {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
  }
}

/* ===========================
   🎯 Logo innerhalb Layout-Spalte (zentraler Container)
   =========================== */

.floating-logo {
  position: absolute;
  top: 2.1rem;
  left: 185px;
  width: 100px;
  z-index: 10;
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Mobil kleiner */
@media (max-width: 768px) {
  .floating-logo {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
  }
}

/* === Burger-Menü === */
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .logo-link {
    flex-shrink: 0;
  }

  .nav-container {
    position: relative;
  }
}

/* Logo-Container-Ausrichtung */
.logo-img {
  max-height: 110px;
  height: auto;
  margin-left: 0;
}


.logo-link {
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  padding: 0.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
