:root {
  --primary: #4a916e;
  --text-color: #565655;
  --text-footer: #565655;
}


/* === FontAwesome Icons === */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome/fontawesome-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === Reset & Basics === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background: white;
  padding-bottom: 150px;
}

a {
  color: #AD4D2A;
}

/* === Typografie: globale Überschriften-Styles === */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 600;
  color: var(--text-color, #333);
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.9rem;
  font-weight: 500;
}


.fa {
  display: inline-block;
  font: normal normal normal 1rem/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.fa-phone:before {
  content: "\f095";
}

.fa-envelope:before {
  content: "\f0e0";
}

/* === Header & Footer === */
header, footer {
  position: sticky;
  width: 100%;
  left: 0;
  z-index: 10;
  transition: opacity 0.5s ease;
}
header { top: 0; }
footer { position: fixed; bottom: 0; }

/* === Transparenz-Klassen === */
.semi-transparent { opacity: 0.8; }
.opaque { opacity: 1; }

/* === SVG-Bereiche === */
.header-svg, .footer-svg {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  flex-wrap: wrap;
}

.header-svg svg,
.footer-svg svg {
  display: block;
  width: 100%;
  height: 150px;
}
.header-svg .logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 90px;
  z-index: 5;
}
.footer-svg svg {
  transform: scaleX(-1);
  transform-origin: center;
}

/* === Footer Inhalt === */
.footer-svg .footer-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
  padding: 3rem 1rem 2rem;
  color: var(--text-footer);
  z-index: 5;
  gap: 1rem;
  text-align: center;
}
.footer-svg .footer-col {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  line-height: 1.4;
}
.footer-svg .footer-col a {
  color: var(--text-footer);
  text-decoration: none;
}
.footer-svg .footer-col a:hover {
  text-decoration: underline;
}
.footer-svg .footer-col .fa-phone {
  margin-right: 0.4rem;
}

/* === Main-Bereich === */
main {
  min-height: calc(100vh - 300px);
  height: auto; /* <<< statt 100vh-basiert */
  display: block; /* <<< kein Flex, kein vertikales Centering */
  padding: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}


/* === Intro-Layout mit Bildern links/rechts === */
.intro-wrapper {
  padding: 0.1rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Wichtig: Für .left-group/.right-group */
}

.intro-center {
  max-width: 600px;
  text-align: center;
  z-index: 2;
}

.intro-logo {
  width: clamp(240px, 30vw, 400px);
  height: auto;
  margin-bottom: 1rem;
}

.intro-center h1 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.intro-center h2 {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  color: var(--text-color);
}

.intro-center p {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  margin: 0 auto;
  color: var(--text-color);
}

/* === Scroll-Logo Animation === */
/* Scroll-Logo Fix */
/* Logo im Ursprungszustand */
/* Ursprüngliches Logo */
/* === Scroll-Logo Animation === */
#scroll-logo {
  transition: all 0.5s ease-in-out;
  position: relative;
  z-index: 4; /* unterhalb der header-svg (z-index: 5) */
}

/* Logo nach dem Scrollen */
#scroll-logo.scrolled {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 180px;
  height: auto;
  transform: scale(0.95);
}



	
/* ====== Core-Content ====== */

.angebot-block {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.2;
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
}

#neu-hinweis {
	color: #a8a8a8;
}


/* Kontakt-Infos */

/* === Kontakt-Links Block === */
.contact-info {
  max-width: 400px;
  margin: 1.1rem auto 1.4rem;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.fa-map-marker {
  font-size: 1.1rem;
  margin-top: 0.05rem;
}

.fa-map-marker:before {
  content: "\f041";
}

.fa-user:before {
  content: "\f007";
}
.fa-female:before {
  content: "\f182";
}


.contact-info a {
  text-decoration: none;
  color: inherit;
}

/* Icons */
.fa-instagram:before {
  content: "\f16d";
}

.fa-facebook:before {
  content: "\f09a";
}

/* ==== BARRIEREFEREIHEIT - VORLESEN */

#vorlesenBtn {
  font-size: 1.1rem;
  padding: 0.6rem 1.0rem;
  background-color: #eee;
  border: 2px solid #999;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  margin-top: 0.8rem;
}

#vorlesenBtn:hover {
  background-color: #ddd;
  border-color: #666;
  transform: scale(1.1);
}

#vorlesenBtn .icon-big {
  font-size: 2.0em;
  line-height: 1;
  display: inline-block;
}



.legal-info hr {
  border: none;
  border-top: 1px solid #ccc;  /* hellgrau */
  margin: 2rem auto 1rem;
  width: 100%;
  max-width: 600px;
}

.legal-info {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  line-height: 1.4;
}

.legal-info strong {
  color: #444;
  font-weight: 600;
}

.legal-info p {
  text-align: center;
}

#barrierefreiheit-hinweis {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}



/* == Oeffnungszeitem = */

.oeffnungszeiten {
  max-width: 400px;
  margin: 1rem auto 3rem;
  padding: 1rem;
  text-align: center;
}

.oeffnungszeiten h2 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-color, #333);
}

.oeffnungszeiten-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oeffnungszeiten-liste li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding: 0.2rem 0;
  
  
  
     /* Weniger vertikaler Abstand */
  font-size: 1rem;
  gap: 0.5rem;         /* Weniger horizontaler Abstand */
}

.oeffnungszeiten-liste li span:first-child {
  font-weight: bold;
  min-width: 120px;
  text-align: left;
  font-size: 0.86rem;
}

.oeffnungszeiten-liste li span:last-child {
  text-align: left;  /* war: right */
  flex: none;
  font-size: 0.86rem;
}

.oeffnungszeiten-liste .geschlossen {
  color: #999;
  font-style: italic;
}


/* === Bildgruppen Positionierung === */
/* === Bildgruppen Positionierung (überarbeitet & optimiert) === */
.image-group {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.img-wrapper {
  opacity: 0;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

.img-wrapper img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.img-wrapper img:hover {
  transform: scale(1.1);
  z-index: 2;
}

/* Animations-Keyframes */
@keyframes mm-fade-slide-tl { 0% { opacity: 0; transform: translate(-20px, -20px); } 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes mm-fade-slide-bl { 0% { opacity: 0; transform: translate(-20px, 20px); } 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes mm-fade-slide-tr { 0% { opacity: 0; transform: translate(20px, -20px); } 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes mm-fade-slide-br { 0% { opacity: 0; transform: translate(20px, 20px); } 100% { opacity: 1; transform: translate(0, 0); } }

/* Animationen zuweisen */
.left-group .delay1 { animation-name: mm-fade-slide-tl; animation-delay: 0.1s; }
.left-group .delay2 { animation-name: mm-fade-slide-bl; animation-delay: 0.3s; }
.right-group .delay3 { animation-name: mm-fade-slide-tr; animation-delay: 0.5s; }
.right-group .delay4 { animation-name: mm-fade-slide-br; animation-delay: 0.7s; }

/* Positionierung */
.left-group { left: 3%; top: 13rem; }
.right-group { right: 3%; top: 13rem; }

.left-group .delay1 img { width: 200px; height: 200px; }
.left-group .delay2 img { width: 120px; height: 120px; margin-left: 2rem; }
.right-group .delay3 img { width: 240px; height: 240px; margin-left: 2rem; }
.right-group .delay4 img { width: 180px; height: 180px; }


/* ====== Bild-Animation ====== */

/* ====== Bild-Animation ====== */

/* Keyframes */
@keyframes mm-fade-slide-tl {
  0%   { opacity: 0; transform: translate(-20px, -20px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes mm-fade-slide-bl {
  0%   { opacity: 0; transform: translate(-20px, 20px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes mm-fade-slide-tr {
  0%   { opacity: 0; transform: translate(20px, -20px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes mm-fade-slide-br {
  0%   { opacity: 0; transform: translate(20px, 20px); }
  100% { opacity: 1; transform: translate(0, 0); }
}


/* Neue Wrapper für Animation */
.img-wrapper {
  display: inline-block;
  opacity: 0;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}


/* Bild bleibt transformierbar (für hover) */
.img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: block;
}
.img-wrapper img:hover {
  transform: scale(1.1);
  z-index: 2;
}


/* Richtung und Verzögerung */
.left-group .img-wrapper:nth-child(1) {
  animation-name: mm-fade-slide-tl;
  animation-delay: 0.1s;
}
.left-group .img-wrapper:nth-child(2) {
  animation-name: mm-fade-slide-bl;
  animation-delay: 0.3s;
}
.right-group .img-wrapper:nth-child(1) {
  animation-name: mm-fade-slide-tr;
  animation-delay: 0.5s;
}
.right-group .img-wrapper:nth-child(2) {
  animation-name: mm-fade-slide-br;
  animation-delay: 0.7s;
}


/* ============== Media Queries ==============  */
/* Mobil: bis 480px */
@media (max-width: 480px) {
  .footer-svg .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-end;
    text-align: center;
  }

  .footer-svg .footer-col {
    min-height: 100px;
  }
}

/* Mobil: bis 600px */
@media (max-width: 600px) {
  .intro-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.1rem 1rem 6rem;
    gap: 1rem;
  }

  .left-group,
  .right-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: static;
    gap: 1rem;
  }

  .right-group {
    margin: 100px 0px 5px 1px;
  }

  .intro-center {
    padding: 1rem 0;
    margin-top: 0;
    text-align: center;
  }

  .image-group img {
    width: 100px;
    height: 100px;
    margin-left: 0 !important;
  }

  .oeffnungszeiten {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .legal-info {
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .intro-logo {
    margin: 0.2rem auto 1rem;
  }
}

/* Tablet: 601px bis 900px */
@media (min-width: 601px) and (max-width: 900px) {
  .left-group,
  .right-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: static;
    margin: 1rem 0;
    gap: 1rem;
  }

  .left-group img,
  .right-group img {
    width: 120px !important;
    height: 120px !important;
    margin: 0 !important;
  }
}

/* Tablet-/Zwischenbreite: 901px bis 1100px */
@media (min-width: 901px) and (max-width: 1100px) {
  .intro-wrapper {
    padding-top: 2rem;
    padding-bottom: 3rem;
    flex-direction: column;
    align-items: center;
  }

  .intro-center {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .left-group,
  .right-group {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 2rem;
    gap: 1.5rem;
  }

  .left-group img,
  .right-group img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .intro-logo {
    margin-bottom: 2rem;
  }
}


@media (min-width: 1024px) and (max-width: 1100px) {
  .intro-wrapper {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .intro-center {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .left-group,
  .right-group {
    flex-direction: column;
    align-items: center;
    margin: 1rem 0 2rem;
    gap: 1rem;
  }

  .left-group img,
  .right-group img {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }

  .intro-logo {
    margin-bottom: 2rem;
  }
}


/* Desktop iPad Pro (horizontal): 1024px bis 1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
  .intro-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .intro-center {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .left-group,
  .right-group {
    align-items: flex-start;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }

  .intro-logo {
    margin-bottom: 2.5rem;
  }
}

