/* ========== Basis-Stile ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Tangerine';
  src: url('fonts/Tangerine-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Fredoka-Regular';
  src: url('fonts/Fredoka-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Fredoka-Medium';
  src: url('fonts/Fredoka-Medium.ttf') format('truetype');
  font-weight: 500;
}
 

html { scroll-behavior: smooth; }

body {
  background-color: #ff9f226f;
  transition: background-color 3s ease-in-out;
}


}

#loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.spinner {
  width: 50px; height: 50px;
  border: 6px solid #eee;
  border-top: 6px solid #bb6214;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* ========== Header & Navigation ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

 

.logo {
    font-family: 'Tangerine', cursive;
  font-size: clamp(2.7rem, 3.0vw, 3.4rem);
  color: #e7811b;
  font-weight: bold; 
    text-shadow: 1px 1px 2px rgba(255, 128, 0, 0.8);
}




.logo a {
  text-decoration: none;
  color: inherit;
    font-family: 'Tangerine', cursive;
  font-size: clamp(2.7rem, 3.0vw, 3.4rem);
  color: #e7811b;
  font-weight: bold; 
  text-shadow: 1px 1px 2px rgba(255, 128, 0, 0.8);
}

nav {
  display: flex;
  font-family: 'Fredoka-Regular', sans-serif;
}
nav a {
  margin: 0 1rem;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover {
  color: #ff9429;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
}
.burger div {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ========== Inhalte ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka-Medium', sans-serif;
  font-weight: 500;
  color: #e87a0c;
  text-align: center;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 3.3rem; }

p {
  font-family: 'Fredoka-Regular', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 128, 0, 0.8);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 30px;
}

.abstand { height: 2rem; }

section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70vh;
  color: #cf7113;
}

/* ========== Home / Hero ========== */
.welcome-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 6rem;
  padding: 8px;
}
.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 650px;
}
.image-wrapper img {
  width: 45%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 4s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.logo2 {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Tangerine', cursive;
  font-size: clamp(8.3rem, 10vw, 10rem);
  text-shadow: 2px 2px 4px rgba(255, 128, 0, 0.8);
  animation: colorPulse 4s ease-in-out infinite alternate;
}
@keyframes colorPulse {
  0% { color: rgb(187, 109, 0); }
  100% { color: #ff913d; }
}





.telefonnummer a {
  color: inherit;       /* Farbe vom umgebenden Element übernehmen */
  text-decoration: none; /* Unterstreichung entfernen */
  cursor: pointer;       /* Zeigt an, dass es klickbar ist */
}

.telefonnummer a:hover {
  color: #b05c08;       /* Optional: Farbe beim Hover */
  text-decoration: underline; /* Optional: Unterstreichung beim Hover */
}





/* ========== Galerie ========== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 3s ease, transform 3s ease;
  margin-bottom: 22px;
}
.gallery.show {
  opacity: 1;
  transform: translateY(15px);
}
.gallery img {
  width: 80%;
  max-width: 200px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* ========== Behandlungsübersicht ========== */
.behandlungs-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 10 1rem;
  width: 100%;
  font-family: 'Fredoka-Regular', sans-serif;
}
.behandlungsbereich {
  border: 1px solid #ff9100;
  border-radius: 10px;
  padding: 20px;
  margin: 0 0 20px 0;
  background-color: #fff0fa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
#Leistungen h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}
.behandlungueberschrift {
  font-size: 1.5rem;
  margin: 30px 0 10px;
  text-align: left;
}
.behandlungsliste {
  list-style-position: inside;
}
.behandlungsliste li {
  font-size: 1.65rem;
  font-weight: 400;
  margin: 8px 0 2px;
}
.behandlungsliste p.kleintext {
  font-size: 1.1rem;
  color: #666;
  text-align: left;
  margin-bottom: 10px;
}

/* ========== Kontaktbereich ========== */
.kleintextkontakt {
    font-family: 'Fredoka-Regular', sans-serif;
  font-size: 1.65rem;
  color: #666;
  text-align: center;
  width: 600px;
}
#contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
}
#contact-form button {
  background: #e78a09;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Fredoka-Medium', sans-serif;
  transition: background-color 0.3s;
}
#contact-form button:hover {
  background: #ffc846;
}

/* ========== Footer ========== */
footer.footer {
  background: #f1e6f8;
  padding: 30px;
  text-align: center;
  font-size: 1.1rem;
  color: #444;
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 25px;
}
.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}
.footer-links a {
  text-decoration: none;
  color: #3b0753;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: rgba(181, 90, 0, 0.8);
}
.footer-small {
  font-size: 0.9rem;
  color: #999;
}

/* ========== Responsive: Tablets / große Handys ========== */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 2.5rem; }
  .logo2 {
    font-size: clamp(5rem, 8vw, 8rem);
    top: 70%;
  }
  .gallery img {
    max-width: 90%;
  }
  .behandlungsbereich {
     padding: 10px;
    margin: 15px 0;  
    margin: 1px;
  }
}
/* ========== Responsive: Tablets / große Handys ========== */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 2.5rem; }
  .logo2 {
    font-size: clamp(5rem, 8vw, 8rem);
    top: 70%;
  }
  .gallery img {
    max-width: 90%;
  }
  .behandlungsbereich {
       padding: 10px;
    margin: 15px 0;  
 
  }
}

/* ========== Responsive: Smartphones ========== */
@media (max-width: 700px) {
  .burger { display: flex; }
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  nav.active {
    opacity: 1;
    pointer-events: all;
  }
  nav a {
    margin: 15px 0;
    font-size: 1.4rem;
  }
  .welcome-image-container {
    margin-top: 2rem;
    padding: 0;
  }
  .image-wrapper img {
    width: 70%;
  }
  .logo2 {
    font-size: clamp(8rem, 10vw, 12rem);
    top: 65%;
  }
  h1 { font-size: 1.7rem; }
  section { padding: 2rem 1rem; }
  p { padding: 0 1rem; }
  .kleintextkontakt {
    width: 90%;
    font-size: 1.1rem;
    margin: 0 auto 10px;
  }
  .behandlungueberschrift {
    text-align: center;
    font-size: 1.4rem;
  }
  .behandlungsliste li { font-size: 1.4rem; }
  .behandlungsliste p.kleintext {
    font-size: 1rem;
    padding: 0 1rem;
    text-align: left;
  }
  .gallery img { max-width: 60%; }
  footer.footer { font-size: 0.8rem; }
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-links a { font-size: 1.2rem; }
  .telefonnummer {
    display: inline-block;
    font-size: 1.9rem;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* ========== Responsive: sehr kleine Bildschirme ========== */
@media (max-width: 480px) {
  h1,h2,h3,h4 {
    font-size: 1.5rem;
    text-align: center;
  }
  nav a {
    font-size: 1.1rem;
    padding: 0.5rem;
  }
  .burger div {
    width: 35px;
  }
  .logo2 {
    font-size: 7.8rem;
    top: 60%;
  }
  .image-wrapper img {
    width: 90%;
  }
  .behandlungsbereich {
     padding: 10px;
    margin: 15px 0;  
 
  }
  .behandlungsliste li {
    font-size: 1.4rem;
  }


  .behandlungsliste p.kleintext {
    font-size: 1rem;
  }
  #contact-form {
    padding: 20px;
  }
  #contact-form input,
  #contact-form textarea {
    padding: 12px;
    font-size: 1rem;
  }
  footer.footer {
    padding: 20px;
    font-size: 1rem;
  }
  .footer-links {
    gap: 15px;
    flex-direction: column;
  }
  .gallery img {
    max-width: 100%;
    width: 80%;
  }
}

/* ========== Impressum & Datenschutz ========== */
#impressum p, #impressum h2,
#datenschutz p, #datenschutz h2 {
  font-size: 1rem;
  text-align: left;
  line-height: 1.1;
  color: #333;
  padding: 2rem 1rem;
}

@media (max-width: 700px) {
  #impressum p, #impressum h2,
  #datenschutz p, #datenschutz h2 {
    font-size: 0.95rem;
  }
}
