/* =====================
   BASIS
===================== */
* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  overflow-x: hidden;

  background-image: url("../bilder/praxis.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
}


html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}

/* =====================
   HEADER
===================== */
header {
  background: linear-gradient(to right, #2c3e50, #3498db);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

header h1,
header p {
  margin: 0;
}

/* =====================
   CONTAINER
===================== */
.container {
  align-items: stretch;
  flex: 1;
  max-width: 1000px;
  margin-top:  90px;
  padding: 60px 20px;
  margin: 90px auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.container-single {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 20px 60px;
}


.leistungen-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Desktop */
@media (min-width: 768px) {
  .leistungen-container {
    grid-template-columns: repeat(3, 1fr);
  }
}



.big-card {
  align-self: center;
  max-width: 700px;
  width: 100%;
  margin: 60px auto;
  padding: 30px;
  margin: 60px auto;
max-width: 700px;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  display: block;
}












.big-card h3 {
  margin: 0px auto;
}
/* =====================
   NAVIGATION
===================== */
nav {
  background: #2c3e50;
  text-align: center;
  padding: 12px;
}

nav a {
  color: white;
  margin: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

nav a:hover {
  color: #00c3ff;
}

@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav a {
    display: block;
    width: 90%;
    margin: 5px auto;
  }
}

/* =====================
   HERO
===================== */
.hero {
  text-align: center;
  margin: 80px auto;
  max-width: 700px;

  background: rgba(255,255,255,0.95);
  padding: 40px;
  border-radius: 20px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero:hover {
  transform: translateY(-5px);
}

/* =====================
   SECTION BOX
===================== */
.section-box {
  max-width: 700px;
  margin: 40px auto;
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.section-box:hover {
  transform: translateY(-4px);
}

/* =====================
   CARD
===================== */
.card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
  text-align: left;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.card p {
  text-align: left;
}
.card h1,
.card h2,
.card h3 {
  text-align: center;
}


/* =====================
   TEAM
===================== */
.team {
  padding: 40px 20px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  background: rgba(255,255,255,0.95);
  padding: 25px;
  border-radius: 20px;
  width: 260px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: float 4s ease-in-out infinite;
}

.team-card:hover {
  transform: translateY(-6px);
}


.team-title {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.avatar {
  width: 90px;
  height: 90px;
  background: #2f6fd6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

.role {
  color: #0e60e6;
  font-weight: bold;
}

/* =====================
   CONTACT FIX
===================== */
.contact-layout {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-layout .card {
  width: 300px;
}

/* =====================
   BUTTONS
===================== */
.btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 10px auto;
  padding: 14px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: white;
  background: #2f6fd6;
}

.btn:hover {
  transform: translateY(-3px);
}

/* =====================
   CALL BUTTON
===================== */
.call-btn {
  position: fixed;
  bottom: 90px;
  left: 0;
  right: 0;
  width: 80%;
  max-width: 250px;
  margin: 0 auto;
  background: #2f6ecb;
  color: white;
  padding: 10px;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 768px) {
  .call-btn {
    display: none;
  }
}

/* =====================
   ZOOM BUTTON
===================== */
.zoom-top {
  position: fixed;
  top: 90px;
  right: 10px;
  z-index: 1000;
}

@media (min-width: 768px) {
  .zoom-top {
    display: none;
  }
}

/*Whatsapp Button*/


.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 14px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 999;
}



@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 140px; 
  right: 20px;
  }
}







.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* =====================
   FOOTER
===================== */

.footer {
  background-color: #f5f5f5;
  padding: 20px;
  margin-top: auto;   /* DAS IST DER WICHTIGE FIX */
  text-align: center;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

.footer-links a:hover {
  color: #2e9e5b;
  background: red !important;
}